projects
/
PoPiPaint.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use the deprecated wx.PySimpleApp class
[PoPiPaint.git]
/
PoPiPaint.py
diff --git
a/PoPiPaint.py
b/PoPiPaint.py
index
090126f
..
683f2a1
100755
(executable)
--- a/
PoPiPaint.py
+++ b/
PoPiPaint.py
@@
-22,10
+22,10
@@
import wx
import CanvasFrame
import CanvasFrame
-class PoPiPaApp(wx.
PySimple
App):
+class PoPiPaApp(wx.App):
def __init__(self, *args, **kwargs):
self.base_image = kwargs.pop('base_image', None)
def __init__(self, *args, **kwargs):
self.base_image = kwargs.pop('base_image', None)
- wx.
PySimple
App.__init__(self, *args, **kwargs)
+ wx.App.__init__(self, *args, **kwargs)
def OnInit(self):
# We do not want a resizeable frame!
def OnInit(self):
# We do not want a resizeable frame!