X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f3565a2fb3d678b03cf8547f37e56b1efe786f5..e716b9bee14786f7a73da502fbd601c57ce03ebc:/include/wx/gtk/choice.h diff --git a/include/wx/gtk/choice.h b/include/wx/gtk/choice.h index a00f825872..f3c28565c9 100644 --- a/include/wx/gtk/choice.h +++ b/include/wx/gtk/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;