// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __GTKCHOICEH__
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);
// 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)
};