X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e65a6cc1ec5537dc7f19f89e10cdfaae54adb264..2e14066008229145e2da7b9f05a478ce38631f83:/src/os2/metafile.cpp diff --git a/src/os2/metafile.cpp b/src/os2/metafile.cpp index 755d4658cc..04ac44c04a 100644 --- a/src/os2/metafile.cpp +++ b/src/os2/metafile.cpp @@ -142,7 +142,7 @@ wxMetafileDCImpl::wxMetafileDCImpl(wxDC *owner, const wxString& file) m_maxY = -10000; // m_title = NULL; - if (!file.IsNull() && wxFileExists(file)) + if ( wxFileExists(file) ) wxRemoveFile(file); // TODO