]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/vlbox.h
Better fix
[wxWidgets.git] / include / wx / vlbox.h
index e746c8f863cf893f27b81a4af83e5157b2fcd750..aa894553e5b8a35f1df232312684d00691794323 100644 (file)
@@ -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
     //