Guessing the right size ftw

This commit is contained in:
HomeWorld
2010-11-12 21:13:22 +02:00
parent 1c6e9eec4d
commit 3a7110a2e8

View File

@@ -1283,7 +1283,7 @@ class PFBitmapFrame(wx.Frame):
self.timer = wx.Timer(self,wx.ID_ANY) self.timer = wx.Timer(self,wx.ID_ANY)
self.direction = 1 self.direction = 1
self.transp = 0 self.transp = 0
self.SetSize((bitmap.GetWidth(),bitmap.GetHeight())) self.SetMinSize((bitmap.GetWidth(),bitmap.GetHeight()))
if 'wxMSW' in wx.PlatformInfo: if 'wxMSW' in wx.PlatformInfo:
self.SetRoundShape() self.SetRoundShape()
else: else: