X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d57be459406c2830f6abc9d99ae99166c6d133b..a43a4f9d4d4a7f107e81bc7de0c1eea729593ee2:/include/wx/motif/toolbar.h diff --git a/include/wx/motif/toolbar.h b/include/wx/motif/toolbar.h index f3c98e8d1e..f93c142d21 100644 --- a/include/wx/motif/toolbar.h +++ b/include/wx/motif/toolbar.h @@ -70,10 +70,23 @@ 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); + + WXWidget GetTopWidget() const; + WXWidget GetClientWidget() const; + WXWidget GetMainWidget() const; + 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() };