fixed assert failure for a window which doesn't have a set background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3904,7 +3904,7 @@ void wxWindowGTK::GtkSendPaintEvents()
|
|||||||
g_eraseGC = gdk_gc_new( pizza->bin_window );
|
g_eraseGC = gdk_gc_new( pizza->bin_window );
|
||||||
gdk_gc_set_fill( g_eraseGC, GDK_SOLID );
|
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 );
|
wxRegionIterator upd( m_clearRegion );
|
||||||
while (upd)
|
while (upd)
|
||||||
|
@@ -3904,7 +3904,7 @@ void wxWindowGTK::GtkSendPaintEvents()
|
|||||||
g_eraseGC = gdk_gc_new( pizza->bin_window );
|
g_eraseGC = gdk_gc_new( pizza->bin_window );
|
||||||
gdk_gc_set_fill( g_eraseGC, GDK_SOLID );
|
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 );
|
wxRegionIterator upd( m_clearRegion );
|
||||||
while (upd)
|
while (upd)
|
||||||
|
Reference in New Issue
Block a user