Handle deprecated wxBG_STYLE_COLOUR background style correctly in wxGTK
This commit is contained in:
@@ -5251,6 +5251,7 @@ void wxWindowGTK::GTKSendPaintEvents(const GdkRegion* region)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case wxBG_STYLE_ERASE:
|
case wxBG_STYLE_ERASE:
|
||||||
|
case wxBG_STYLE_COLOUR:
|
||||||
{
|
{
|
||||||
#ifdef __WXGTK3__
|
#ifdef __WXGTK3__
|
||||||
wxGTKCairoDC dc(cr, static_cast<wxWindow*>(this), GetLayoutDirection());
|
wxGTKCairoDC dc(cr, static_cast<wxWindow*>(this), GetLayoutDirection());
|
||||||
|
|||||||
Reference in New Issue
Block a user