X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a3ac83faf3338cd289023345e63df9fa24400a9..b76b015ed9231ffe128ddba9fb35e37b4be9764d:/include/wx/motif/toolbar.h diff --git a/include/wx/motif/toolbar.h b/include/wx/motif/toolbar.h index 590b417b4f..01452609a5 100644 --- a/include/wx/motif/toolbar.h +++ b/include/wx/motif/toolbar.h @@ -48,7 +48,7 @@ class WXDLLEXPORT wxToolBar: public wxToolBarBase // created and used as the pushed/toggled image. // If toggle is TRUE, the button toggles between the two states. wxToolBarTool *AddTool(int toolIndex, const wxBitmap& bitmap, const wxBitmap& pushedBitmap = wxNullBitmap, - bool toggle = FALSE, long xPos = -1, long yPos = -1, wxObject *clientData = NULL, + bool toggle = FALSE, wxCoord xPos = -1, wxCoord yPos = -1, wxObject *clientData = NULL, const wxString& helpString1 = "", const wxString& helpString2 = ""); // Set default bitmap size @@ -64,7 +64,7 @@ class WXDLLEXPORT wxToolBar: public wxToolBarBase // Add all the buttons virtual bool CreateTools(); - virtual void Layout() {} + virtual void LayoutTools() {} // The post-tool-addition call. TODO: do here whatever's // necessary for completing the toolbar construction. @@ -75,6 +75,10 @@ class WXDLLEXPORT wxToolBar: public wxToolBarBase 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;