- // 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();
+#if wxUSE_LIBHILDON || wxUSE_LIBHILDON2
+ // Maemo-specific method: get the main program object
+ HildonProgram *GetHildonProgram();
+#endif // wxUSE_LIBHILDON || wxUSE_LIBHILDON2
+
+ // implementation only from now on
+ // -------------------------------
+
+ // check for pending events, without interference from our idle source
+ bool EventsPending();
+ bool DoIdle();