X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a047aff270905b377a81657a90f92eb3297157d0..c11420034872e991007a53f351fc24e49cc0519e:/include/wx/vlbox.h?ds=sidebyside diff --git a/include/wx/vlbox.h b/include/wx/vlbox.h index 2301f7c651..72c6170bc2 100644 --- a/include/wx/vlbox.h +++ b/include/wx/vlbox.h @@ -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;