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:
parent
bc8b8220f8
commit
08f600190c
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user