X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..624697a4482633ad6ab28ae98f7796bd75381e24:/include/wx/vlbox.h?ds=sidebyside diff --git a/include/wx/vlbox.h b/include/wx/vlbox.h index 62c145e4e2..e746c8f863 100644 --- a/include/wx/vlbox.h +++ b/include/wx/vlbox.h @@ -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;