]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/metafile.cpp
Also allow key events for Shift-Tab when wxWANTS_CHARS style is used
[wxWidgets.git] / src / msw / metafile.cpp
index f0e731434386f91f2de0a68b441bdc618f89e5c0..f39c90d32075c75875581e975c3e6166025f2d33 100644 (file)
@@ -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);
 }