X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..2a4a928df7ec1b05c457b088f8719ba6f67ee041:/src/msw/enhmeta.cpp diff --git a/src/msw/enhmeta.cpp b/src/msw/enhmeta.cpp index a59f622acc..97850755ea 100644 --- a/src/msw/enhmeta.cpp +++ b/src/msw/enhmeta.cpp @@ -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\"."),