gdk_window_get_visual -> gdk_drawable_get_visual

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp
2006-04-04 13:13:04 +00:00
parent 509da4510f
commit 22a3bce465
3 changed files with 4 additions and 4 deletions

View File

@@ -543,7 +543,7 @@ GdkVisual *wxApp::GetGdkVisual()
if (m_glVisualInfo)
visual = gdkx_visual_get( ((XVisualInfo *) m_glVisualInfo)->visualid );
else
visual = gdk_window_get_visual( wxGetRootWindow()->window );
visual = gdk_drawable_get_visual( wxGetRootWindow()->window );
wxASSERT( visual );