Also restore const-ness of GetSelectionClientData() lost in r70514.
Closes #14001.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70642
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void SetSelection(int sel);
int GetSelection() const { return m_selection; }
wxString GetStringSelection() const { return m_stringSelection; }
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.
#if WXWIN_COMPATIBILITY_2_8
// Deprecated overloads taking "char**" client data.
// NB: no need to make it return wxChar, it's untyped
wxDEPRECATED_ACCESSOR
(
// 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
)
#endif // WXWIN_COMPATIBILITY_2_8