access-specifier fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-10-13 11:29:37 +00:00
parent 9861dc94bb
commit 551266a969
8 changed files with 206 additions and 190 deletions

View File

@@ -203,22 +203,6 @@ public:
*/
virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
/**
The derived class must implement this function to actually draw the
item with the given index on the provided DC.
@param dc
The device context to use for drawing.
@param rect
The bounding rectangle for the item being drawn (DC clipping
region is set to this rectangle before calling this function).
@param n
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;
/**
This method may be used to draw separators between the lines. The
rectangle passed to it may be modified, typically to deflate it a bit
@@ -237,12 +221,6 @@ public:
*/
virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
/**
The derived class must implement this method to return the height of
the specified item (in pixels).
*/
virtual wxCoord OnMeasureItem(size_t n) const;
/**
Selects or deselects the specified item which must be valid (i.e. not
equal to @c wxNOT_FOUND).
@@ -332,5 +310,29 @@ public:
@see Select()
*/
void Toggle(size_t item);
protected:
/**
The derived class must implement this function to actually draw the
item with the given index on the provided DC.
@param dc
The device context to use for drawing.
@param rect
The bounding rectangle for the item being drawn (DC clipping
region is set to this rectangle before calling this function).
@param n
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;
/**
The derived class must implement this method to return the height of
the specified item (in pixels).
*/
virtual wxCoord OnMeasureItem(size_t n) const;
};