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