X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2dc104421c340091342156d6b01f61f1ccff438..e3b71cb8839390d529b43147c2fdb8fcca94f851:/wxPython/src/_toolbar.i diff --git a/wxPython/src/_toolbar.i b/wxPython/src/_toolbar.i index f377951263..0c9ad075ce 100644 --- a/wxPython/src/_toolbar.i +++ b/wxPython/src/_toolbar.i @@ -384,10 +384,12 @@ public: +MustHaveApp(wxToolBar); + class wxToolBar : public wxToolBarBase { public: - %addtofunc wxToolBar "self._setOORInfo(self)" - %addtofunc wxToolBar() "" + %pythonAppend wxToolBar "self._setOORInfo(self)" + %pythonAppend wxToolBar() "" wxToolBar(wxWindow *parent, wxWindowID id, @@ -405,6 +407,9 @@ public: const wxString& name = wxPyToolBarNameStr); wxToolBarToolBase *FindToolForPosition(wxCoord x, wxCoord y); + + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); }; //---------------------------------------------------------------------------