From 802e382ff1f4e700a7fafd5c8a400668c5959bbf Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 18 May 2007 15:19:35 +0000 Subject: [PATCH 1/1] compilation fix after wxString changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/metafile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/metafile.cpp b/src/msw/metafile.cpp index cca6815690..29c08d30f2 100644 --- a/src/msw/metafile.cpp +++ b/src/msw/metafile.cpp @@ -191,7 +191,7 @@ wxMetafileDC::wxMetafileDC(const wxString& file, int xext, int yext, int xorg, i m_maxY = -10000; if ( !file.empty() && wxFileExists(file) ) wxRemoveFile(file); - m_hDC = (WXHDC) CreateMetaFile(file.empty() ? NULL : file.c_str()); + m_hDC = (WXHDC) CreateMetaFile(file.empty() ? NULL : file.wx_str()); m_ok = true; -- 2.45.2