X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8461e4c253d4cec65e8f0320246a56d22555eb5e..c822ad5a5e30a21ca3340af644bf79804cf7c777:/include/wx/gtk1/app.h?ds=sidebyside diff --git a/include/wx/gtk1/app.h b/include/wx/gtk1/app.h index e031a2ce9f..3e3d10661e 100644 --- a/include/wx/gtk1/app.h +++ b/include/wx/gtk1/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