]> 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 62c145e4e2a5dc4cbc7528b5d495ac5cbbe38dec..72c6170bc2aeb215c72a2311ee27e5d87bd8c4c0 100644 (file)
@@ -202,6 +202,8 @@ public:
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 
 protected:
+       virtual wxBorder GetDefaultBorder() const { return GetDefaultBorderForControl(); }
+
     // 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;