further wxPenStyle/wxBrushStyle fixes for builds with compat off (partially by Marcin Wojdyr)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1399,7 +1399,7 @@ void wxWindowBase::ClearBackground()
|
||||
// wxGTK uses its own version, no need to add never used code
|
||||
#ifndef __WXGTK__
|
||||
wxClientDC dc((wxWindow *)this);
|
||||
wxBrush brush(GetBackgroundColour(), wxSOLID);
|
||||
wxBrush brush(GetBackgroundColour(), wxBRUSHSTYLE_SOLID);
|
||||
dc.SetBackground(brush);
|
||||
dc.Clear();
|
||||
#endif // __WXGTK__
|
||||
|
Reference in New Issue
Block a user