]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/ribbon/toolbar.h
fixing warning and compile error against 10.4
[wxWidgets.git] / include / wx / ribbon / toolbar.h
index ae11bc7dc7d4092aa8a3750e5ae6983228f2532c..206d2691ad562f0b751882b046336efead98e7d8 100644 (file)
@@ -88,10 +88,10 @@ public:
     virtual void SetRows(int nMin, int nMax = -1);
 
     virtual bool IsSizingContinuous() const;
-    virtual wxSize DoGetBestSize() const;
 
 protected:
     friend class wxRibbonToolBarEvent;
+    virtual wxSize DoGetBestSize() const;
     wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
 
     void OnEraseBackground(wxEraseEvent& evt);