X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fded56b375bf7a4687af1cdb182899614c1b2a8..b434e3f0989ebe34e6c09452272897863dee3b23:/wxPython/src/gtk/stattool.py diff --git a/wxPython/src/gtk/stattool.py b/wxPython/src/gtk/stattool.py index 78a95dbfcd..4703ba24a2 100644 --- a/wxPython/src/gtk/stattool.py +++ b/wxPython/src/gtk/stattool.py @@ -241,6 +241,9 @@ class wxToolBarBasePtr(wxControlPtr): def SetToolClientData(self, *_args, **_kwargs): val = stattoolc.wxToolBarBase_SetToolClientData(self, *_args, **_kwargs) return val + def GetToolPos(self, *_args, **_kwargs): + val = stattoolc.wxToolBarBase_GetToolPos(self, *_args, **_kwargs) + return val def GetToolState(self, *_args, **_kwargs): val = stattoolc.wxToolBarBase_GetToolState(self, *_args, **_kwargs) return val @@ -474,33 +477,6 @@ def wxPreToolBar(*_args,**_kwargs): return val -class wxToolBarSimplePtr(wxToolBarBasePtr): - def __init__(self,this): - self.this = this - self.thisown = 0 - def Create(self, *_args, **_kwargs): - val = stattoolc.wxToolBarSimple_Create(self, *_args, **_kwargs) - return val - def FindToolForPosition(self, *_args, **_kwargs): - val = stattoolc.wxToolBarSimple_FindToolForPosition(self, *_args, **_kwargs) - return val - def __repr__(self): - return "<%s.%s instance; proxy of C++ wxToolBarSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) -class wxToolBarSimple(wxToolBarSimplePtr): - def __init__(self,*_args,**_kwargs): - self.this = stattoolc.new_wxToolBarSimple(*_args,**_kwargs) - self.thisown = 1 - self._setOORInfo(self) - - - -def wxPreToolBarSimple(*_args,**_kwargs): - val = wxToolBarSimplePtr(stattoolc.new_wxPreToolBarSimple(*_args,**_kwargs)) - val.thisown = 1 - val._setOORInfo(val) - return val - - #-------------- FUNCTION WRAPPERS ------------------ @@ -512,3 +488,14 @@ def wxPreToolBarSimple(*_args,**_kwargs): wxTOOL_STYLE_BUTTON = stattoolc.wxTOOL_STYLE_BUTTON wxTOOL_STYLE_SEPARATOR = stattoolc.wxTOOL_STYLE_SEPARATOR wxTOOL_STYLE_CONTROL = stattoolc.wxTOOL_STYLE_CONTROL +wxTB_HORIZONTAL = stattoolc.wxTB_HORIZONTAL +wxTB_VERTICAL = stattoolc.wxTB_VERTICAL +wxTB_3DBUTTONS = stattoolc.wxTB_3DBUTTONS +wxTB_FLAT = stattoolc.wxTB_FLAT +wxTB_DOCKABLE = stattoolc.wxTB_DOCKABLE +wxTB_NOICONS = stattoolc.wxTB_NOICONS +wxTB_TEXT = stattoolc.wxTB_TEXT +wxTB_NODIVIDER = stattoolc.wxTB_NODIVIDER +wxTB_NOALIGN = stattoolc.wxTB_NOALIGN +wxTB_HORZ_LAYOUT = stattoolc.wxTB_HORZ_LAYOUT +wxTB_HORZ_TEXT = stattoolc.wxTB_HORZ_TEXT