More WX Python 4 changes

This commit is contained in:
2018-09-03 08:33:05 -05:00
parent 3e43f67ee2
commit 72348008a2
3 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ class basicPost(widgetUtils.BaseDialog):
return box
def create_photo_viewer(self):
self.image = wx.StaticBitmap(self.panel, bitmap=wx.EmptyBitmap(1280, 860), size=(604, 604))
self.image = wx.StaticBitmap(self.panel, bitmap=wx.Bitmap(1280, 860), size=(604, 604))
self.sizer.Add(self.image, 1, wx.ALL, 10)
self.previous_photo = wx.Button(self.panel, wx.NewId(), _(u"Previous photo"))
self.view_photo = wx.Button(self.panel, wx.NewId(), _(u"View in full screen"))