X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63f7d5022e786be61c0226314dac98739f49a426..f1a73c6a816aeba155e88c628a0a778a2fe068bd:/include/wx/gtk1/combobox.h diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index 079d0f56d0..1d4149e3a8 100644 --- a/include/wx/gtk1/combobox.h +++ b/include/wx/gtk1/combobox.h @@ -92,7 +92,7 @@ public: virtual void SetSelection(int n); virtual void SetString(unsigned int n, const wxString &text); - wxString GetValue() const; + wxString GetValue() const { return DoGetValue(); } void SetValue(const wxString& value); void WriteText(const wxString& value); @@ -169,7 +169,8 @@ protected: virtual wxSize DoGetBestSize() const; - // implement wxTextEntry pure virtual method + // implement wxTextEntry pure virtual methods + virtual wxString DoGetValue() const; virtual wxWindow *GetEditableWindow() { return this; } // Widgets that use the style->base colour for the BG colour should