diff --git a/wxPython/src/_extras.py b/wxPython/src/_extras.py index 42a5e6f774..0e72a395d9 100644 --- a/wxPython/src/_extras.py +++ b/wxPython/src/_extras.py @@ -811,6 +811,7 @@ class wxPySimpleApp(wxApp): def __init__(self, flag=0): wxApp.__init__(self, flag) def OnInit(self): + wxInitAllImageHandlers() return true diff --git a/wxPython/src/msw/wx.py b/wxPython/src/msw/wx.py index e24903f359..99f4db2edf 100644 --- a/wxPython/src/msw/wx.py +++ b/wxPython/src/msw/wx.py @@ -1736,6 +1736,7 @@ class wxPySimpleApp(wxApp): def __init__(self, flag=0): wxApp.__init__(self, flag) def OnInit(self): + wxInitAllImageHandlers() return true