X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/28319afe559ccc061d15e5a5cb7208959f5c771e..dd9f8b6bb6935360a8271dc3e8749fb026b601a8:/include/wx/vlbox.h diff --git a/include/wx/vlbox.h b/include/wx/vlbox.h index e746c8f863..aa894553e5 100644 --- a/include/wx/vlbox.h +++ b/include/wx/vlbox.h @@ -269,6 +269,14 @@ protected: // common part of keyboard and mouse handling processing code void DoHandleItemClick(int item, int flags); + // paint the background of the given item using the provided colour if it's + // valid, otherwise just return false and do nothing (this is used by + // OnDrawBackground()) + bool DoDrawSolidBackground(const wxColour& col, + wxDC& dc, + const wxRect& rect, + size_t n) const; + private: // the current item or wxNOT_FOUND //