X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/233f573883834b6c86ad5a9d72fdb6a260f74f81..8a07956565ddccd1720abf4e510945593128d774:/src/osx/carbon/region.cpp diff --git a/src/osx/carbon/region.cpp b/src/osx/carbon/region.cpp index 2d5fad8569..7362c13aac 100644 --- a/src/osx/carbon/region.cpp +++ b/src/osx/carbon/region.cpp @@ -200,7 +200,7 @@ bool wxRegion::DoOffset(wxCoord x, wxCoord y) //! Union /e region with this. bool wxRegion::DoCombine(const wxRegion& region, wxRegionOp op) { - wxCHECK_MSG( region.Ok(), false, wxT("invalid wxRegion") ); + wxCHECK_MSG( region.IsOk(), false, wxT("invalid wxRegion") ); // Don't change shared data if (!m_refData) @@ -288,7 +288,7 @@ bool wxRegion::IsEmpty() const return true ; } -const WXHRGN wxRegion::GetWXHRGN() const +WXHRGN wxRegion::GetWXHRGN() const { return M_REGION ; }