]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/vlbox.h
fixed wxSpinCtrl's client size computation in wxMSW to return something sensible
[wxWidgets.git] / include / wx / vlbox.h
index 62c145e4e2a5dc4cbc7528b5d495ac5cbbe38dec..e746c8f863cf893f27b81a4af83e5157b2fcd750 100644 (file)
@@ -202,6 +202,8 @@ public:
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 
 protected:
+    virtual wxBorder GetDefaultBorder() const { return wxBORDER_THEME; }
+
     // 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;