]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
Change wxNotebook selection before sending page changed event in wxMSW.
[wxWidgets.git] / src / gtk / listbox.cpp
index b17d1a32c65e73766c71d21ce4513f48321ade58..09b0b4a12ae711b64966e4f98d801580dff21c3d 100644 (file)
@@ -433,7 +433,7 @@ void wxListBox::Update()
     wxWindow::Update();
 
     if (m_treeview)
-        gdk_window_process_updates(GTK_WIDGET(m_treeview)->window, TRUE);
+        gdk_window_process_updates(gtk_widget_get_window(GTK_WIDGET(m_treeview)), true);
 }
 
 // ----------------------------------------------------------------------------