X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc12b1f12a26bfa569bbfe2af10af3e5352b6fd4..77c8efc8c37da6d6a5e2e8022d21d1cd7d76371d:/include/wx/generic/choicdgg.h diff --git a/include/wx/generic/choicdgg.h b/include/wx/generic/choicdgg.h index 230757b01f..39ac21ef33 100644 --- a/include/wx/generic/choicdgg.h +++ b/include/wx/generic/choicdgg.h @@ -143,7 +143,7 @@ public: void SetSelection(int sel); int GetSelection() const { return m_selection; } wxString GetStringSelection() const { return m_stringSelection; } - void* GetSelectionData() { return m_clientData; } + void* GetSelectionData() const { return m_clientData; } #if WXWIN_COMPATIBILITY_2_8 // Deprecated overloads taking "char**" client data. @@ -208,8 +208,8 @@ public: // NB: no need to make it return wxChar, it's untyped wxDEPRECATED_ACCESSOR ( - char* GetSelectionClientData(), - (char*)GetClientData() + char* GetSelectionClientData() const, + (char*)GetSelectionData() ) #endif // WXWIN_COMPATIBILITY_2_8