X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57fbd4359a6ef6ea37cd90cb61d6848655cf4899..3d2eaa5d5917bedbf5b5a54a24d7559fd1e5df67:/src/gtk/window.cpp diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index ddf29e51e6..bfb8c228f8 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -3904,7 +3904,7 @@ void wxWindowGTK::GtkSendPaintEvents() g_eraseGC = gdk_gc_new( pizza->bin_window ); gdk_gc_set_fill( g_eraseGC, GDK_SOLID ); } - gdk_gc_set_foreground( g_eraseGC, m_backgroundColour.GetColor() ); + gdk_gc_set_foreground( g_eraseGC, GetBackgroundColour().GetColor() ); wxRegionIterator upd( m_clearRegion ); while (upd)