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:
Francesco Montorsi
2008-03-09 16:24:26 +00:00
parent 1fee6e2577
commit 328f5751e8
193 changed files with 2525 additions and 2513 deletions

View File

@@ -104,12 +104,12 @@ public:
/**
Returns array with indexes of selected items.
*/
wxArrayInt GetSelection();
wxArrayInt GetSelection() const;
/**
Sets selected items from the array of selected items' indexes.
*/
void SetSelections(const wxArrayInt& selections);
void SetSelections(const wxArrayInt& selections) const;
/**
Shows the dialog, returning either wxID_OK or wxID_CANCEL.
@@ -222,22 +222,22 @@ public:
/**
Returns the index of selected item.
*/
int GetSelection();
int GetSelection() const;
/**
Returns the client data associated with the selection.
*/
char* GetSelectionClientData();
char* GetSelectionClientData() const;
/**
Returns the selected string.
*/
wxString GetStringSelection();
wxString GetStringSelection() const;
/**
Sets the index of the initially selected item.
*/
void SetSelection(int selection);
void SetSelection(int selection) const;
/**
Shows the dialog, returning either wxID_OK or wxID_CANCEL.