X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d522606d0a1dfd22bcdc1a386b3dca01fa985e3..413baa20a1d96d2e886bffc0b06ff97f6d8c472b:/include/wx/gtk/choice.h?ds=sidebyside diff --git a/include/wx/gtk/choice.h b/include/wx/gtk/choice.h index 17ae9edeb2..a00f825872 100644 --- a/include/wx/gtk/choice.h +++ b/include/wx/gtk/choice.h @@ -83,7 +83,7 @@ public: protected: wxList m_clientList; // contains the client data for the items - void ApplyWidgetStyle(); + void DoApplyWidgetStyle(GtkRcStyle *style); virtual int DoAppend(const wxString& item); virtual int DoInsert(const wxString& item, int pos); @@ -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) };