X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/582381212ea2b8e70e47b85a5d74c352e360fda3..e3dbf5934e997729c6f4f5154b1b7f29d5d22149:/src/os2/region.cpp?ds=sidebyside diff --git a/src/os2/region.cpp b/src/os2/region.cpp index 2e65b85d01..5404bf64db 100644 --- a/src/os2/region.cpp +++ b/src/os2/region.cpp @@ -225,7 +225,7 @@ wxObjectRefData *wxRegion::CreateData() const return new wxRegionRefData; } -wxObjectRefData *wxRegion::CloneData(wxObjectRefData *data) const +wxObjectRefData *wxRegion::CloneData(const wxObjectRefData *data) const { return new wxRegionRefData(*(wxRegionRefData *)data); } @@ -414,7 +414,7 @@ void wxRegion::GetBox( ,&vRect ); x = vRect.xLeft; - y = vRect.yTop; + y = vRect.yBottom; vWidth = vRect.xRight - vRect.xLeft; vHeight = vRect.yTop - vRect.yBottom; }