made msw wxRegion(wxRect&) constructor consistant with other wxRegion constructors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ron Lee 2000-03-02 10:47:38 +00:00
parent 1cab5b8d99
commit bc2e39e366

View File

@ -101,7 +101,7 @@ wxRegion::wxRegion(const wxPoint& topLeft, const wxPoint& bottomRight)
wxRegion::wxRegion(const wxRect& rect)
{
m_refData = new wxRegionRefData;
M_REGION = ::CreateRectRgn(rect.GetLeft(), rect.GetTop(), rect.GetRight(), rect.GetBottom());
M_REGION = ::CreateRectRgn(rect.x, rect.y, rect.x + rect.width, rect.y + rect.height);
}
/*