X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65eb5b0b0b47a1aa2696d9f031caf09c5d1d7469..1ce5dd35ebae68444e0faca73f087c63a8314a05:/src/msw/metafile.cpp diff --git a/src/msw/metafile.cpp b/src/msw/metafile.cpp index f0e7314343..f39c90d320 100644 --- a/src/msw/metafile.cpp +++ b/src/msw/metafile.cpp @@ -94,7 +94,7 @@ wxMetafile::wxMetafile(const wxString& file) M_METAFILEDATA->m_windowsMappingMode = wxMM_ANISOTROPIC; M_METAFILEDATA->m_metafile = 0; - if (!file.IsNull() && (file.Cmp(wxEmptyString) == 0)) + if (!file.empty()) M_METAFILEDATA->m_metafile = (WXHANDLE) GetMetaFile(file); }