X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57dde4bd5860cda4666326b611f535dfc28139f2..65ccd2b82604a60a387b4562e6886c7b5471ca03:/include/wx/gtk1/choicdlg.h diff --git a/include/wx/gtk1/choicdlg.h b/include/wx/gtk1/choicdlg.h index 18bab09619..c9f6c4ee66 100644 --- a/include/wx/gtk1/choicdlg.h +++ b/include/wx/gtk1/choicdlg.h @@ -40,9 +40,9 @@ public: const wxStringList& choices, char **clientData = (char **) NULL, long style = wxOK|wxCANCEL|wxCENTRE, const wxPoint& pos = wxDefaultPosition); void SetSelection(int sel) ; - inline int GetSelection(void) const { return m_selection; } - inline wxString GetStringSelection(void) const { return m_stringSelection; } - inline char *GetSelectionClientData(void) const { return m_clientData; } + int GetSelection() const { return m_selection; } + wxString GetStringSelection() const { return m_stringSelection; } + char *GetSelectionClientData() const { return (char *)m_clientData; } void OnOK(wxCommandEvent& event); void OnListBoxDClick(wxCommandEvent& event); @@ -53,7 +53,6 @@ protected: long m_dialogStyle; int m_selection; wxString m_stringSelection; - char* m_clientData; }; WXDLLEXPORT wxString wxGetSingleChoice(const wxString& message, const wxString& caption,