X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef5c70f96f5e06e1c8f8119f51b99dd019583d2b..0f11c2334567bd440bb2676f43d3376badc921f2:/include/wx/gtk/choice.h?ds=sidebyside diff --git a/include/wx/gtk/choice.h b/include/wx/gtk/choice.h index 4a3527f52c..a61d876403 100644 --- a/include/wx/gtk/choice.h +++ b/include/wx/gtk/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(); } void SetSelection(int n); virtual unsigned int GetCount() const;