]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/listbox.h
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git] / include / wx / gtk / listbox.h
index da536fe9c2726a9a266e3200f33ad2299fbd9f5e..5ffaa706c4e9cc6136f742fb4d58beb97f87897c 100644 (file)
@@ -76,8 +76,6 @@ public:
 
     // implementation from now on
 
-    void GtkDisableEvents();
-    void GtkEnableEvents();
     void GtkAddItem( const wxString &item, int pos=-1 );
     int GtkGetIndex( GtkWidget *item ) const;
     GtkWidget *GetConnectWidget();
@@ -96,7 +94,9 @@ public:
     bool       m_hasCheckBoxes;
 #endif // wxUSE_CHECKLISTBOX
 
-    int      m_prevSelection;
+    int        m_prevSelection;
+    bool       m_blockEvent;
+    
 protected:
     virtual wxSize DoGetBestSize() const;