allow border flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,7 +21,9 @@ class GenStaticBitmap(wx.PyControl):
|
|||||||
pos = wx.DefaultPosition, size = wx.DefaultSize,
|
pos = wx.DefaultPosition, size = wx.DefaultSize,
|
||||||
style = 0,
|
style = 0,
|
||||||
name = "genstatbmp"):
|
name = "genstatbmp"):
|
||||||
wx.PyControl.__init__(self, parent, ID, pos, size, style|wx.NO_BORDER,
|
if not style & wx.BORDER_MASK:
|
||||||
|
style = style | wx.BORDER_NONE
|
||||||
|
wx.PyControl.__init__(self, parent, ID, pos, size, style,
|
||||||
wx.DefaultValidator, name)
|
wx.DefaultValidator, name)
|
||||||
self._bitmap = bitmap
|
self._bitmap = bitmap
|
||||||
self.InheritAttributes()
|
self.InheritAttributes()
|
||||||
|
Reference in New Issue
Block a user