fixed off-by-one error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a9a05059b9
commit
fa7cdd7f48
@ -322,7 +322,7 @@ void wxDC::Clear()
|
||||
SetBrush(m_backgroundBrush);
|
||||
SelectBrush();
|
||||
GetSize(&w, &h);
|
||||
m_MGLDC->fillRect(0, 0, w-1, h-1);
|
||||
m_MGLDC->fillRect(0, 0, w, h);
|
||||
SetBrush(oldb);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user