]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/enhmeta.cpp
Send generic wxTreeCtrl wxEVT_COMMAND_TREE_KEY_DOWN events from OnKeyDown rather...
[wxWidgets.git] / src / msw / enhmeta.cpp
index a59f622acc2cdb4f3fcb5b96434d96b1f407e932..97850755eaf74e229b96fac9064fbba1b10ca357 100644 (file)
@@ -92,7 +92,7 @@ void wxEnhMetaFile::Init()
     }
     else // have valid file name, load metafile from it
     {
-        m_hMF = (WXHANDLE)::GetEnhMetaFile(m_filename.fn_str());
+        m_hMF = (WXHANDLE)::GetEnhMetaFile(m_filename.t_str());
         if ( !m_hMF )
         {
             wxLogSysError(_("Failed to load metafile from file \"%s\"."),