X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15030c51b82f20647699ee704b9c170651b43ae8..fd657b8a5907c8584db84c85535ce281bdd65193:/wxPython/src/msw/stattool.py diff --git a/wxPython/src/msw/stattool.py b/wxPython/src/msw/stattool.py index bd566c13f7..0c74eee1b4 100644 --- a/wxPython/src/msw/stattool.py +++ b/wxPython/src/msw/stattool.py @@ -7,6 +7,8 @@ from windows import * from gdi import * +from fonts import * + from clip_dnd import * from controls import * @@ -46,6 +48,12 @@ class wxStatusBarPtr(wxWindowPtr): def SetStatusWidths(self, *_args, **_kwargs): val = apply(stattoolc.wxStatusBar_SetStatusWidths,(self,) + _args, _kwargs) return val + def PushStatusText(self, *_args, **_kwargs): + val = apply(stattoolc.wxStatusBar_PushStatusText,(self,) + _args, _kwargs) + return val + def PopStatusText(self, *_args, **_kwargs): + val = apply(stattoolc.wxStatusBar_PopStatusText,(self,) + _args, _kwargs) + return val def SetMinHeight(self, *_args, **_kwargs): val = apply(stattoolc.wxStatusBar_SetMinHeight,(self,) + _args, _kwargs) return val @@ -185,8 +193,8 @@ class wxToolBarBasePtr(wxControlPtr): def DoAddTool(self, *_args, **_kwargs): val = apply(stattoolc.wxToolBarBase_DoAddTool,(self,) + _args, _kwargs) return val - def InsertTool(self, *_args, **_kwargs): - val = apply(stattoolc.wxToolBarBase_InsertTool,(self,) + _args, _kwargs) + def DoInsertTool(self, *_args, **_kwargs): + val = apply(stattoolc.wxToolBarBase_DoInsertTool,(self,) + _args, _kwargs) return val def AddControl(self, *_args, **_kwargs): val = apply(stattoolc.wxToolBarBase_AddControl,(self,) + _args, _kwargs) @@ -194,6 +202,9 @@ class wxToolBarBasePtr(wxControlPtr): def InsertControl(self, *_args, **_kwargs): val = apply(stattoolc.wxToolBarBase_InsertControl,(self,) + _args, _kwargs) return val + def FindControl(self, *_args, **_kwargs): + val = apply(stattoolc.wxToolBarBase_FindControl,(self,) + _args, _kwargs) + return val def AddSeparator(self, *_args, **_kwargs): val = apply(stattoolc.wxToolBarBase_AddSeparator,(self,) + _args, _kwargs) return val @@ -359,7 +370,7 @@ class wxToolBarBasePtr(wxControlPtr): # 2.3.3. They are renamed to have 'Label' in the name so as to be # able to keep backwards compatibility with using the above # methods. Eventually these should migrate to be the methods used - # primarily and loose the 'Label' in the name... + # primarily and lose the 'Label' in the name... def AddLabelTool(self, id, label, bitmap, bmpDisabled = wxNullBitmap,