- if style == 0:
- style = wx.NO_BORDER
- wx.PyControl.__init__(self, parent, ID, pos, size, style, validator, name)
+ cstyle = style
+ if cstyle == 0:
+ cstyle = wx.NO_BORDER
+ wx.PyControl.__init__(self, parent, ID, pos, size, cstyle, validator, name)