]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
don't use deprecated toolbar API
[wxWidgets.git] / src / gtk / listbox.cpp
index 5f504233bd644bf81d09132aa7142079efd097d2..79f85977bbd71fd96afcd937124e809a453ac1e2 100644 (file)
@@ -504,6 +504,15 @@ void wxListBox::GtkEnableEvents()
     UpdateOldSelections();
 }
 
+
+void wxListBox::Update()
+{
+    wxWindow::Update();
+    
+    if (m_treeview)
+        gdk_window_process_updates(GTK_WIDGET(m_treeview)->window, TRUE);
+}
+
 // ----------------------------------------------------------------------------
 // adding items
 // ----------------------------------------------------------------------------