summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Antonio Ospite [Fri, 3 Oct 2014 10:06:29 +0000 (12:06 +0200)]
Fix setting the view size
SetInitialSize() also sets the min size which is needed because the view
is added to a sizer.
Antonio Ospite [Fri, 3 Oct 2014 09:59:16 +0000 (11:59 +0200)]
Don't use the deprecated wx.PySimpleApp class
Fix this warning:
./PoPiPaint.py:28: wxPyDeprecationWarning: Using deprecated class PySimpleApp.
wx.PySimpleApp.__init__(self, *args, **kwargs)
Antonio Ospite [Fri, 3 Oct 2014 09:56:12 +0000 (11:56 +0200)]
Fix importing the publisher class
Use the new name directly to fix errors like this one:
Traceback (most recent call last):
File "./PoPiPaint.py", line 22, in <module>
import CanvasFrame
File ".../CanvasFrame.py", line 22, in <module>
import CanvasModel
File ".../CanvasModel.py", line 21, in <module>
from wx.lib.pubsub import Publisher as pub
ImportError: cannot import name Publisher
Antonio Ospite [Wed, 16 Apr 2014 21:33:53 +0000 (23:33 +0200)]
Fix the frame title
Antonio Ospite [Wed, 16 Apr 2014 11:37:49 +0000 (13:37 +0200)]
Initial import