allow specifying the size of wxDCTemp and do specify it for the one used with wxEraseEvents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4365,7 +4365,7 @@ void wxWindowMSW::OnPaint(wxPaintEvent& event)
|
||||
|
||||
bool wxWindowMSW::HandleEraseBkgnd(WXHDC hdc)
|
||||
{
|
||||
wxDCTemp dc(hdc);
|
||||
wxDCTemp dc(hdc, GetClientSize());
|
||||
|
||||
dc.SetHDC(hdc);
|
||||
dc.SetWindow((wxWindow *)this);
|
||||
|
Reference in New Issue
Block a user