]> git.saurik.com Git - wxWidgets.git/commitdiff
remove unused function GetGdkVisual()
authorPaul Cornett <paulcor@bullseye.com>
Thu, 7 Jan 2010 18:30:18 +0000 (18:30 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Thu, 7 Jan 2010 18:30:18 +0000 (18:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/app.h
src/gtk/app.cpp

index 4b1b2e502915a2063b46e4b8460749b0a529455f..0954cd400bb2df6ebb726b54dbae24bf57358c7e 100644 (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();
index e811ba6d4970ca149e8c1d686bf679f9186ce6c7..72dd08db41d27c55bb9339dc7d4e9e399fea6404 100644 (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_)
 {