X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/582381212ea2b8e70e47b85a5d74c352e360fda3..cee14ca0c5e9d4d525172f44bab921323becb962:/src/os2/region.cpp 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; }