]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/gtk/windows.py
new wxMenu stuff and thread implementations
[wxWidgets.git] / utils / wxPython / src / gtk / windows.py
index 0b8675206515f16d7244ecea31ac89e3b95974a5..e496e1ce4a6cba18cfbd225a2ca23ba46d0c00fc 100644 (file)
@@ -328,6 +328,9 @@ class wxWindowPtr(wxEvtHandlerPtr):
     def SetAutoLayout(self, *_args, **_kwargs):
         val = apply(windowsc.wxWindow_SetAutoLayout,(self,) + _args, _kwargs)
         return val
+    def GetAutoLayout(self, *_args, **_kwargs):
+        val = apply(windowsc.wxWindow_GetAutoLayout,(self,) + _args, _kwargs)
+        return val
     def SetBackgroundColour(self, *_args, **_kwargs):
         val = apply(windowsc.wxWindow_SetBackgroundColour,(self,) + _args, _kwargs)
         return val
@@ -569,6 +572,12 @@ class wxScrolledWindowPtr(wxPanelPtr):
     def ViewStart(self, *_args, **_kwargs):
         val = apply(windowsc.wxScrolledWindow_ViewStart,(self,) + _args, _kwargs)
         return val
+    def CalcScrolledPosition(self, *_args, **_kwargs):
+        val = apply(windowsc.wxScrolledWindow_CalcScrolledPosition,(self,) + _args, _kwargs)
+        return val
+    def CalcUnscrolledPosition(self, *_args, **_kwargs):
+        val = apply(windowsc.wxScrolledWindow_CalcUnscrolledPosition,(self,) + _args, _kwargs)
+        return val
     def __repr__(self):
         return "<C wxScrolledWindow instance at %s>" % (self.this,)
 class wxScrolledWindow(wxScrolledWindowPtr):
@@ -707,6 +716,9 @@ class wxMenuBarPtr(wxEvtHandlerPtr):
         val = apply(windowsc.wxMenuBar_GetMenu,(self,) + _args, _kwargs)
         if val: val = wxMenuPtr(val) 
         return val
+    def Refresh(self, *_args, **_kwargs):
+        val = apply(windowsc.wxMenuBar_Refresh,(self,) + _args, _kwargs)
+        return val
     def __repr__(self):
         return "<C wxMenuBar instance at %s>" % (self.this,)
 class wxMenuBar(wxMenuBarPtr):