X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63f7d5022e786be61c0226314dac98739f49a426..1f0acb435592470b421b80df854fbbb08cd2853f:/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