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:
Václav Slavík 2001-10-15 22:54:44 +00:00
parent a9a05059b9
commit fa7cdd7f48

View File

@ -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);
}
}