fixing width/height (were negative) thanks to Werner Smekal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
05d65177f8
commit
f51afd8f40
@ -89,8 +89,8 @@ wxRegion::wxRegion(long x, long y, long w, long h)
|
||||
wxRegion::wxRegion(const wxPoint& topLeft, const wxPoint& bottomRight)
|
||||
{
|
||||
m_refData = new wxRegionRefData(topLeft.x , topLeft.y ,
|
||||
topLeft.x - bottomRight.x ,
|
||||
topLeft.y - bottomRight.y);
|
||||
bottomRight.x - topLeft.x,
|
||||
bottomRight.y - topLeft.y);
|
||||
}
|
||||
|
||||
wxRegion::wxRegion(const wxRect& rect)
|
||||
|
Loading…
Reference in New Issue
Block a user