X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec5d77998a16fbdf328ec689a48449c84f0d4336..bcd3d8d9e26e41615d26d457ba0e2b84b80a0356:/src/gtk1/utilsgtk.cpp?ds=inline diff --git a/src/gtk1/utilsgtk.cpp b/src/gtk1/utilsgtk.cpp index f1f809c5d3..611d02bf16 100644 --- a/src/gtk1/utilsgtk.cpp +++ b/src/gtk1/utilsgtk.cpp @@ -46,7 +46,7 @@ // data //----------------------------------------------------------------------------- -extern GtkWidget *wxRootWindow; +extern GtkWidget *wxGetRootWindow(); //---------------------------------------------------------------------------- // misc. @@ -117,7 +117,7 @@ bool wxColourDisplay() int wxDisplayDepth() { - return gdk_window_get_visual( wxRootWindow->window )->depth; + return gdk_window_get_visual( wxGetRootWindow()->window )->depth; } int wxGetOsVersion(int *majorVsn, int *minorVsn)