inline wxToolBar(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
long style = wxNO_BORDER|wxTB_HORIZONTAL,
- const wxString& name = wxToolBarNameStr)
+ const wxString& name = wxToolBarNameStr):
+ m_widgets(wxKEY_INTEGER)
+
{
Create(parent, id, pos, size, style, name);
}
bool Realize() { return CreateTools(); };
protected:
+ // List of widgets in the toolbar, indexed by tool index
+ wxList m_widgets;
DECLARE_EVENT_TABLE()
};