X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8461e4c253d4cec65e8f0320246a56d22555eb5e..445365141a2b028acbd779aa352bf664d930cfb5:/include/wx/gtk/app.h diff --git a/include/wx/gtk/app.h b/include/wx/gtk/app.h index e031a2ce9f..3e3d10661e 100644 --- a/include/wx/gtk/app.h +++ b/include/wx/gtk/app.h @@ -76,9 +76,12 @@ public: #endif unsigned char *m_colorCube; - // used by the the wxGLApp and wxGLCanvas class for GL-based X visual + // Used by the the wxGLApp and wxGLCanvas class for GL-based X visual // selection; this is actually an XVisualInfo* void *m_glVisualInfo; + // This returns the current visual: either that used by wxRootWindow + // or the XVisualInfo* for SGI. + GdkVisual *GetGdkVisual(); private: // true if we're inside an assert modal dialog