Handle deprecated wxBG_STYLE_COLOUR background style correctly in wxGTK

This commit is contained in:
Paul Cornett
2021-12-30 11:34:22 -08:00
parent 419501771b
commit 654c51f085

View File

@@ -5251,6 +5251,7 @@ void wxWindowGTK::GTKSendPaintEvents(const GdkRegion* region)
break;
case wxBG_STYLE_ERASE:
case wxBG_STYLE_COLOUR:
{
#ifdef __WXGTK3__
wxGTKCairoDC dc(cr, static_cast<wxWindow*>(this), GetLayoutDirection());