git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63091
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// implementation only from now on
// -------------------------------
- // This returns the current visual: either that used by wxRootWindow
- // or the XVisualInfo* for SGI.
- GdkVisual *GetGdkVisual();
-
// check for pending events, without interference from our idle source
bool EventsPending();
bool DoIdle();
return true;
}
-GdkVisual *wxApp::GetGdkVisual()
-{
- GdkVisual *visual = NULL;
-
- XVisualInfo *xvi = (XVisualInfo *)GetXVisualInfo();
- if ( xvi )
- visual = gdkx_visual_get( xvi->visualid );
- else
- visual = gdk_drawable_get_visual( wxGetRootWindow()->window );
-
- wxASSERT( visual );
-
- return visual;
-}
-
// use unusual names for the parameters to avoid conflict with wxApp::arg[cv]
bool wxApp::Initialize(int& argc_, wxChar **argv_)
{