X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9cbf6f6ea3ce56a15841a4f773bffef71c92c398..faeb124b61f0bcf5c1b3bad809bca1ba27b42519:/wxPython/src/stattool.i diff --git a/wxPython/src/stattool.i b/wxPython/src/stattool.i index e2b4183a11..e89fa20891 100644 --- a/wxPython/src/stattool.i +++ b/wxPython/src/stattool.i @@ -91,6 +91,20 @@ enum wxToolBarToolStyle wxTOOL_STYLE_CONTROL }; +enum { + wxTB_HORIZONTAL, + wxTB_VERTICAL, + wxTB_3DBUTTONS, + wxTB_FLAT, + wxTB_DOCKABLE, + wxTB_NOICONS, + wxTB_TEXT, + wxTB_NODIVIDER, + wxTB_NOALIGN, + wxTB_HORZ_LAYOUT, + wxTB_HORZ_TEXT, +}; + class wxToolBarToolBase : public wxObject { @@ -382,6 +396,8 @@ public: } } + // returns tool pos, or wxNOT_FOUND if tool isn't found + int GetToolPos(int id) const; bool GetToolState(int id); bool GetToolEnabled(int id);