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