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 {
shortHelp, longHelp, clientData)
"
+ // TODO?
+ //wxToolBarToolBase *AddTool (wxToolBarToolBase *tool);
+ //wxToolBarToolBase *InsertTool (size_t pos, wxToolBarToolBase *tool);
wxToolBarToolBase *AddControl(wxControl *control);
wxToolBarToolBase *InsertControl(size_t pos, wxControl *control);
}
}
+ // returns tool pos, or wxNOT_FOUND if tool isn't found
+ int GetToolPos(int id) const;
bool GetToolState(int id);
bool GetToolEnabled(int id);