Fix this warning:
./PoPiPaint.py:28: wxPyDeprecationWarning: Using deprecated class PySimpleApp.
wx.PySimpleApp.__init__(self, *args, **kwargs)
import CanvasFrame
-class PoPiPaApp(wx.PySimpleApp):
+class PoPiPaApp(wx.App):
def __init__(self, *args, **kwargs):
self.base_image = kwargs.pop('base_image', None)
- wx.PySimpleApp.__init__(self, *args, **kwargs)
+ wx.App.__init__(self, *args, **kwargs)
def OnInit(self):
# We do not want a resizeable frame!