- bool m_initialized;
-
- gint m_idleTag;
-#if wxUSE_THREADS
- gint m_wakeUpTimerTag;
-#endif
- unsigned char *m_colorCube;
-
- // used by the the wxGLApp and wxGLCanvas class for GL-based X visual
- // selection; this is actually an XVisualInfo*
- void *m_glVisualInfo;
+ guint m_idleTag;
+ // temporarily disable idle events
+ void SuspendIdleCallback();
+
+ // Used by the the wxGLApp and wxGLCanvas class for GL-based X visual
+ // selection.
+ void *m_glVisualInfo; // this is actually an XVisualInfo*
+ void *m_glFBCInfo; // this is actually an GLXFBConfig*
+ // This returns the current visual: either that used by wxRootWindow
+ // or the XVisualInfo* for SGI.
+ GdkVisual *GetGdkVisual();