add const qualifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -158,7 +158,7 @@ public:
|
||||
@see wxControlWithItems::GetSelection, wxControlWithItems::GetStringSelection,
|
||||
wxControlWithItems::SetSelection
|
||||
*/
|
||||
int GetSelections(wxArrayInt& selections);
|
||||
int GetSelections(wxArrayInt& selections) const;
|
||||
|
||||
/**
|
||||
Returns the item located at @e point, or @c wxNOT_FOUND if there
|
||||
@@ -173,7 +173,7 @@ public:
|
||||
@returns Item located at point, or wxNOT_FOUND if unimplemented or the
|
||||
item does not exist.
|
||||
*/
|
||||
int HitTest(const wxPoint point);
|
||||
int HitTest(const wxPoint point) const;
|
||||
|
||||
//@{
|
||||
/**
|
||||
@@ -202,7 +202,7 @@ public:
|
||||
|
||||
@returns @true if the given item is selected, @false otherwise.
|
||||
*/
|
||||
bool IsSelected(int n);
|
||||
bool IsSelected(int n) const;
|
||||
|
||||
//@{
|
||||
/**
|
||||
|
Reference in New Issue
Block a user