]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/metafile.cpp
Added (untested) support for sub-locales.
[wxWidgets.git] / src / msw / metafile.cpp
index 921cac0ab584e35cc25b9fbf6634fd8ce0880230..d750762bb69ac4df2a46b97fc9edc80dd30b4adb 100644 (file)
@@ -72,7 +72,7 @@ wxMetafile::wxMetafile(const wxString& file)
 
     M_METAFILEDATA->m_windowsMappingMode = MM_ANISOTROPIC;
     M_METAFILEDATA->m_metafile = 0;
-    if (!file.IsNull() && file == "")
+    if (!file.IsNull() && (file.Cmp("") == 0))
         M_METAFILEDATA->m_metafile = (WXHANDLE) GetMetaFile(file);
 }