Added todos for changing wxVListBox::OnDraw* virtual functions to non-const (I'm not sure what compatibility issues we'll run into here yet).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bryan Petty
2008-05-05 22:02:01 +00:00
parent c61202de3a
commit 72fa9b54ba

View File

@@ -190,6 +190,8 @@ public:
consists in drawing the selected item with the standard background consists in drawing the selected item with the standard background
colour and drawing a border around the item if it is either selected or colour and drawing a border around the item if it is either selected or
current. current.
@todo Change this function signature to non-const.
*/ */
void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
@@ -204,6 +206,8 @@ public:
region is set to this rectangle before calling this function). region is set to this rectangle before calling this function).
@param n @param n
The index of the item to be drawn. The index of the item to be drawn.
@todo Change this function signature to non-const.
*/ */
virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const; virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const;
@@ -220,6 +224,8 @@ public:
The bounding rectangle for the item. The bounding rectangle for the item.
@param n @param n
The index of the item. The index of the item.
@todo Change this function signature to non-const.
*/ */
virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;