More-or-less finished reasonably cool wxToolBar class with tooltips.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -70,10 +70,19 @@ class WXDLLEXPORT wxToolBar: public wxToolBarBase
|
||||
// necessary for completing the toolbar construction.
|
||||
bool Realize() { return CreateTools(); };
|
||||
|
||||
// Implementation
|
||||
void DestroyPixmaps();
|
||||
int FindIndexForWidget(WXWidget w);
|
||||
WXWidget FindWidgetForIndex(int index);
|
||||
|
||||
protected:
|
||||
// List of widgets in the toolbar, indexed by tool index
|
||||
wxList m_widgets;
|
||||
|
||||
// List of pixmaps to destroy when tools are recreated or
|
||||
// or toolbar is destroyed.
|
||||
wxList m_pixmaps;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user