X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56f5d962ad563d79930c01b51434fb1ca6d189d6..eec92d76f8798c69f117315a7b41d08b769e31e0:/utils/wxPython/src/gtk/controls.py?ds=inline diff --git a/utils/wxPython/src/gtk/controls.py b/utils/wxPython/src/gtk/controls.py index 2ede7c105f..df2650c7aa 100644 --- a/utils/wxPython/src/gtk/controls.py +++ b/utils/wxPython/src/gtk/controls.py @@ -15,9 +15,6 @@ class wxControlPtr(wxWindowPtr): def __init__(self,this): self.this = this self.thisown = 0 - def CreateControl(self, *_args, **_kwargs): - val = apply(controlsc.wxControl_CreateControl,(self,) + _args, _kwargs) - return val def Command(self, *_args, **_kwargs): val = apply(controlsc.wxControl_Command,(self,) + _args, _kwargs) return val @@ -45,6 +42,12 @@ class wxButtonPtr(wxControlPtr): def SetDefault(self, *_args, **_kwargs): val = apply(controlsc.wxButton_SetDefault,(self,) + _args, _kwargs) return val + def SetBackgroundColour(self, *_args, **_kwargs): + val = apply(controlsc.wxButton_SetBackgroundColour,(self,) + _args, _kwargs) + return val + def SetForegroundColour(self, *_args, **_kwargs): + val = apply(controlsc.wxButton_SetForegroundColour,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) class wxButton(wxButtonPtr):