X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e65a6cc1ec5537dc7f19f89e10cdfaae54adb264..04fa04d8067d235ab45b5bc05b65f0679634b541:/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