X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ea48a1f23b2c9763778f60405f051cac8bf781b..3eada58e7aa4284043bbc4aa96fba47c6b91d67a:/include/wx/tbarbase.h diff --git a/include/wx/tbarbase.h b/include/wx/tbarbase.h index cf7eeac27c..b0f77ba9f4 100644 --- a/include/wx/tbarbase.h +++ b/include/wx/tbarbase.h @@ -236,7 +236,7 @@ public: // between the two states. wxToolBarToolBase *AddTool(int id, const wxBitmap& bitmap, - const wxBitmap& pushedBitmap = wxNullBitmap, + const wxBitmap& pushedBitmap, bool toggle = FALSE, wxObject *clientData = NULL, const wxString& shortHelpString = wxEmptyString, @@ -335,7 +335,7 @@ public: virtual void SetToolSeparation(int separation) { m_toolSeparation = separation; } - virtual wxSize GetToolMargins() { return GetToolMargins(); } + virtual wxSize GetToolMargins() { return GetMargins(); } virtual int GetToolPacking() { return m_toolPacking; } virtual int GetToolSeparation() { return m_toolSeparation; } @@ -411,7 +411,7 @@ public: virtual void DoToolbarUpdates(); // Don't want toolbars to accept the focus - bool AcceptsFocus() const { return FALSE; } + virtual bool AcceptsFocus() const { return FALSE; } protected: // to implement in derived classes