X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9b4d680d72930c31fe14dd63421a85d97ccd739..2f70baea2fa2aa1fbcdceb0121eea1cb5c9bedf0:/src/osx/carbon/metafile.cpp diff --git a/src/osx/carbon/metafile.cpp b/src/osx/carbon/metafile.cpp index 6e8905e6b4..dde3a496b9 100644 --- a/src/osx/carbon/metafile.cpp +++ b/src/osx/carbon/metafile.cpp @@ -274,7 +274,7 @@ wxSize wxMetaFile::GetSize() const { wxSize dataSize = wxDefaultSize; - if (Ok()) + if (IsOk()) { dataSize.x = M_METAFILEDATA->GetWidth(); dataSize.y = M_METAFILEDATA->GetHeight();