compilation fix after wxString changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -191,7 +191,7 @@ wxMetafileDC::wxMetafileDC(const wxString& file, int xext, int yext, int xorg, i
|
|||||||
m_maxY = -10000;
|
m_maxY = -10000;
|
||||||
if ( !file.empty() && wxFileExists(file) )
|
if ( !file.empty() && wxFileExists(file) )
|
||||||
wxRemoveFile(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;
|
m_ok = true;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user