// data
//-----------------------------------------------------------------------------
-extern GtkWidget *wxRootWindow;
+extern GtkWidget *wxGetRootWindow();
//----------------------------------------------------------------------------
// misc.
int wxDisplayDepth()
{
- return gdk_window_get_visual( wxRootWindow->window )->depth;
+ return gdk_window_get_visual( wxGetRootWindow()->window )->depth;
}
int wxGetOsVersion(int *majorVsn, int *minorVsn)