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