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:
Robin Dunn
2005-03-02 20:42:17 +00:00
parent 4afab8bd72
commit 7f2a8ba844

View File

@@ -21,7 +21,9 @@ class GenStaticBitmap(wx.PyControl):
pos = wx.DefaultPosition, size = wx.DefaultSize,
style = 0,
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)
self._bitmap = bitmap
self.InheritAttributes()