X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa61d3525370a9b9fa8c797d9b7f89d96994db5f..8a7e4b38b8fa4d31b805a0cf1779a9b95142f05b:/include/wx/gtk1/choice.h diff --git a/include/wx/gtk1/choice.h b/include/wx/gtk1/choice.h index 7369005ed9..9d80932e74 100644 --- a/include/wx/gtk1/choice.h +++ b/include/wx/gtk1/choice.h @@ -45,7 +45,7 @@ public: Create(parent, id, pos, size, choices, style, validator, name); } - ~wxChoice(); + virtual ~wxChoice(); bool Create( wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, @@ -66,7 +66,6 @@ public: void Clear(); int GetSelection() const; - int GetCurrentSelection() const { return GetSelection(); } virtual void SetSelection(int n); virtual unsigned int GetCount() const;