X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8b8dda73001819104b83776e4c014369c013ce8..bb0054cda81e7a6a6e1f33f4b47e46f529110f14:/utils/wxPython/src/msw/stattool.py diff --git a/utils/wxPython/src/msw/stattool.py b/utils/wxPython/src/msw/stattool.py index 550d3d9a22..364ce8dda2 100644 --- a/utils/wxPython/src/msw/stattool.py +++ b/utils/wxPython/src/msw/stattool.py @@ -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