git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38543
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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 );
GdkPixmap *dstpix = NULL;
if (GetPixmap())
{
- GdkVisual *visual = gdk_window_get_visual( GetPixmap() );
+ GdkVisual *visual = gdk_drawable_get_visual( GetPixmap() );
if (visual == NULL)
visual = wxTheApp->GetGdkVisual();
if (GetPixmap())
{
- GdkVisual *visual = gdk_window_get_visual( GetPixmap() );
+ GdkVisual *visual = gdk_drawable_get_visual( GetPixmap() );
if (visual == NULL)
visual = wxTheApp->GetGdkVisual();
int wxDisplayDepth()
{
- return gdk_window_get_visual( wxGetRootWindow()->window )->depth;
+ return gdk_drawable_get_visual( wxGetRootWindow()->window )->depth;
}
wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo()