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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user