//---------------------------------------------------------------------------
-%{
- DECLARE_DEF_STRING(ToolBarNameStr);
-%}
+MAKE_CONST_WXSTRING_NOSWIG(ToolBarNameStr);
+
//---------------------------------------------------------------------------
%newgroup;
public:
// wxToolBarToolBase(wxToolBarBase *tbar = (wxToolBarBase *)NULL,
// int id = wxID_SEPARATOR,
-// const wxString& label = wxEmptyString,
+// const wxString& label = wxPyEmptyString,
// const wxBitmap& bmpNormal = wxNullBitmap,
// const wxBitmap& bmpDisabled = wxNullBitmap,
// wxItemKind kind = wxITEM_NORMAL,
// wxObject *clientData = (wxObject *) NULL,
-// const wxString& shortHelpString = wxEmptyString,
-// const wxString& longHelpString = wxEmptyString)
+// const wxString& shortHelpString = wxPyEmptyString,
+// const wxString& longHelpString = wxPyEmptyString)
// ~wxToolBarToolBase();
int GetId();
+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,
const wxString& name = wxPyToolBarNameStr);
wxToolBarToolBase *FindToolForPosition(wxCoord x, wxCoord y);
+
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
};
//---------------------------------------------------------------------------