]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/vlbox.h
fix warnings in EventsSuppressor ctor from gcc with -O option
[wxWidgets.git] / include / wx / vlbox.h
index 2301f7c651b020ac61de115336a980f598409c2d..72c6170bc2aeb215c72a2311ee27e5d87bd8c4c0 100644 (file)
@@ -201,9 +201,9 @@ public:
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 
+protected:
        virtual wxBorder GetDefaultBorder() const { return GetDefaultBorderForControl(); }
 
-protected:
     // the derived class must implement this function to actually draw the item
     // with the given index on the provided DC
     virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;