]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dcscreen.cpp
gdk_cursor_destroy -> gdk_cursor_unref
[wxWidgets.git] / src / gtk / dcscreen.cpp
index c4a198a6186da9898f098423a6f80c82aa1cf3dc..3e0d46d5bb1d3baf80d6801f9093107a99da1a0c 100644 (file)
@@ -35,7 +35,7 @@ wxScreenDC::wxScreenDC()
 {
     m_ok = FALSE;
     m_cmap = gdk_colormap_get_system();
-    m_window = GDK_ROOT_PARENT();
+    m_window = gdk_get_default_root_window();
 
     m_context = gdk_pango_context_get();
     // Note: The Sun customised version of Pango shipping with Solaris 10