gdk_window_get_colormap -> gdk_drawable_get_colormap

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp 2006-04-04 18:56:39 +00:00
parent bc8b8220f8
commit 08f600190c

View File

@ -1054,7 +1054,7 @@ void wxListBox::DoApplyWidgetStyle(GtkRcStyle *style)
GdkWindow *window = gtk_tree_view_get_bin_window(m_treeview);
if (window)
{
m_backgroundColour.CalcPixel( gdk_window_get_colormap( window ) );
m_backgroundColour.CalcPixel( gdk_drawable_get_colormap( window ) );
gdk_window_set_background( window, m_backgroundColour.GetColor() );
gdk_window_clear( window );
}