]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
don't use deprecated toolbar API
[wxWidgets.git] / src / gtk / listbox.cpp
index 9f07a408c2afbe2b2e35e35d358a1687b60ab3ea..79f85977bbd71fd96afcd937124e809a453ac1e2 100644 (file)
@@ -510,7 +510,7 @@ void wxListBox::Update()
     wxWindow::Update();
     
     if (m_treeview)
-        gdk_window_process_updates(m_wxwindow->window, TRUE);
+        gdk_window_process_updates(GTK_WIDGET(m_treeview)->window, TRUE);
 }
 
 // ----------------------------------------------------------------------------