X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e02c72fa45b840601743e11bc6550481a36fa437..8084f8b7c6dd538fce55d2542e9b2e70bc69f760:/include/wx/vlbox.h?ds=inline diff --git a/include/wx/vlbox.h b/include/wx/vlbox.h index f5ce8b88c5..e746c8f863 100644 --- a/include/wx/vlbox.h +++ b/include/wx/vlbox.h @@ -15,7 +15,7 @@ #include "wx/vscroll.h" // base class #include "wx/bitmap.h" -class WXDLLEXPORT wxSelectionStore; +class WXDLLIMPEXP_FWD_CORE wxSelectionStore; #define wxVListBoxNameStr _T("wxVListBox") @@ -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;