]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/src/msw/stattool.py
wxPython 2.1b1 for wxMSW (wxGTK coming soon)
[wxWidgets.git] / utils / wxPython / src / msw / stattool.py
index 550d3d9a224f3f463b4a8369b7f262b35a3a0c9e..364ce8dda22c36cc41f652996e5f5556db33eb0e 100644 (file)
@@ -186,6 +186,10 @@ class wxToolBarPtr(wxControlPtr):
         val = apply(stattoolc.wxToolBar_AddTool,(self.this,arg0,arg1.this,)+args)
         val = wxToolBarToolPtr(val)
         return val
+    def AddSimpleTool(self,arg0,arg1,*args):
+        val = apply(stattoolc.wxToolBar_AddSimpleTool,(self.this,arg0,arg1.this,)+args)
+        val = wxToolBarToolPtr(val)
+        return val
     def EnableTool(self,arg0,arg1):
         val = stattoolc.wxToolBar_EnableTool(self.this,arg0,arg1)
         return val
@@ -203,6 +207,9 @@ class wxToolBarPtr(wxControlPtr):
         val = wxSizePtr(val)
         val.thisown = 1
         return val
+    def SetToolBitmapSize(self,arg0):
+        val = stattoolc.wxToolBar_SetToolBitmapSize(self.this,arg0.this)
+        return val
     def GetMaxSize(self):
         val = stattoolc.wxToolBar_GetMaxSize(self.this)
         val = wxSizePtr(val)
@@ -229,9 +236,6 @@ class wxToolBarPtr(wxControlPtr):
     def Realize(self):
         val = stattoolc.wxToolBar_Realize(self.this)
         return val
-    def SetToolBitmapSize(self,arg0):
-        val = stattoolc.wxToolBar_SetToolBitmapSize(self.this,arg0.this)
-        return val
     def SetToolLongHelp(self,arg0,arg1):
         val = stattoolc.wxToolBar_SetToolLongHelp(self.this,arg0,arg1)
         return val