X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f3565a2fb3d678b03cf8547f37e56b1efe786f5..72e4e6a397fd04e6d8e0cc5ae22aaba740c3c8bc:/include/wx/gtk1/choice.h diff --git a/include/wx/gtk1/choice.h b/include/wx/gtk1/choice.h index a00f825872..f3c28565c9 100644 --- a/include/wx/gtk1/choice.h +++ b/include/wx/gtk1/choice.h @@ -21,7 +21,7 @@ class WXDLLIMPEXP_BASE wxArrayString; // wxChoice //----------------------------------------------------------------------------- -class wxChoice : public wxChoiceBase +class WXDLLIMPEXP_CORE wxChoice : public wxChoiceBase { public: wxChoice(); @@ -70,6 +70,9 @@ public: void Clear(); int GetSelection() const; +#if wxABI_VERSION >= 20602 + int GetCurrentSelection() const { return GetSelection(); } +#endif void SetSelection( int n ); virtual int GetCount() const;