remove unused function GetGdkVisual()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2010-01-07 18:30:18 +00:00
parent 06497cba66
commit 31f4ed4aa3
2 changed files with 0 additions and 19 deletions

View File

@ -64,10 +64,6 @@ public:
// 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();

View File

@ -277,21 +277,6 @@ bool wxApp::OnInitGui()
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_)
{