X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f40fdaa339e19bbdf60c9c065c82daae4ca77b36..eba99da4c0563e6508761272a1e1f1b791d0af6b:/include/wx/gtk/choice.h diff --git a/include/wx/gtk/choice.h b/include/wx/gtk/choice.h index 8732297d19..a00f825872 100644 --- a/include/wx/gtk/choice.h +++ b/include/wx/gtk/choice.h @@ -104,6 +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) };