X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/005f5d1878c1d344e79e3c43b2790332dcea68f3..1c405bb51093fc7812fb66e7d47faac5707e02b5:/src/gtk/app.cpp diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index 8d6ae8f814..86a0258e1b 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -479,7 +479,7 @@ GdkVisual *wxApp::GetGdkVisual() GdkVisual *visual = NULL; if (m_glVisualInfo) - visual = gdkx_visual_get( ((XVisualInfo *) wxTheApp->m_glVisualInfo)->visualid ); + visual = gdkx_visual_get( ((XVisualInfo *) m_glVisualInfo)->visualid ); else visual = gdk_window_get_visual( wxGetRootWindow()->window );