]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/gtk/controls.py
Fixes to get library to compile
[wxWidgets.git] / utils / wxPython / src / gtk / controls.py
index 2ede7c105f95daf736a852d73b811024f752b7c4..df2650c7aa4a6c52afe4d35c364a92fdd7004b42 100644 (file)
@@ -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 "<C wxButton instance at %s>" % (self.this,)
 class wxButton(wxButtonPtr):