X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d4ec2a50740e7cd0d9b57113d0a9925b4c9918c..ce5abbf9f5dc0208d9fbc91ad48101f7777299ea:/src/gtk/app.cpp diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index e811ba6d49..72dd08db41 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -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_) {