- highlight = wxPen(wxSystemSettings_GetSystemColour(
- wxSYS_COLOUR_BTNHIGHLIGHT),1,wxSOLID)
- shadow = wxPen(wxSystemSettings_GetSystemColour(
- wxSYS_COLOUR_BTNSHADOW),1,wxSOLID)
- black = wxPen(wxBLACK,1,wxSOLID)
- w,h = self.GetSizeTuple()
+ highlight = wx.Pen(wx.SystemSettings_GetColour(wx.SYS_COLOUR_BTNHIGHLIGHT), 1, wx.SOLID)
+ shadow = wx.Pen(wx.SystemSettings_GetColour(wx.SYS_COLOUR_BTNSHADOW), 1, wx.SOLID)
+ black = wx.Pen(wx.BLACK,1,wx.SOLID)
+ w,h = self.GetSize()