X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16edee16a7c3d346b9eab1672a4c696cb0cf6e24..bb8051f2fd7356b9072e87d3060aaf6abfa04ca3:/include/wx/gtk/choice.h diff --git a/include/wx/gtk/choice.h b/include/wx/gtk/choice.h index 70fea3819b..d2b9f17600 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(); @@ -104,10 +104,12 @@ private: // allocate it if it's needed (hence using pointer) wxSortedArrayString *m_strings; +public: // this circumvents a GTK+ 2.0 bug so that the selection is // invalidated properly int m_selection_hack; - + +private: DECLARE_DYNAMIC_CLASS(wxChoice) };