diff -r 365f866ee120 -r 9958cf865da0 Beremiz.py --- a/Beremiz.py Wed Apr 12 19:32:38 2023 +0200 +++ b/Beremiz.py Wed Apr 12 21:05:00 2023 +0200 @@ -104,7 +104,7 @@ def CreateApplication(self): - BeremizAppType = wx.App if wx.VERSION >= (3, 0, 0) else wx.PySimpleApp + BeremizAppType = wx.App class BeremizApp(BeremizAppType): def OnInit(_self): # pylint: disable=no-self-argument @@ -113,8 +113,6 @@ self.app = BeremizApp(redirect=self.debug) self.app.SetAppName('beremiz') - if wx.VERSION < (3, 0, 0): - wx.InitAllImageHandlers() def ShowSplashScreen(self): class Splash(AdvancedSplash):