From 392857fb785286e989254bbcc34c2c28292420a0 Mon Sep 17 00:00:00 2001 From: Ron Lee Date: Wed, 22 Dec 2004 07:18:16 +0000 Subject: [PATCH] Fix for wxGTK compilation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/dcpsg.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index c978aa2b24..d1c5ef0ef7 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -1561,7 +1561,7 @@ bool wxPostScriptDC::StartDoc( const wxString& message ) m_printData.SetFilename(filename); } - m_pstream = wxFopen( m_printData.GetFilename().fn_str(), wxT("w+") ); + m_pstream = wxFopen( m_printData.GetFilename(), wxT("w+") ); if (!m_pstream) { @@ -1971,7 +1971,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string, { afmName = data->GetFontMetricPath(); afmName << wxFILE_SEP_PATH << name; - afmFile = wxFopen(afmName.fn_str(),wxT("r")); + afmFile = wxFopen(afmName,wxT("r")); } #if defined(__UNIX__) && !defined(__VMS__) @@ -1985,7 +1985,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string, << wxT("afm") << wxFILE_SEP_PATH #endif << name; - afmFile = wxFopen(afmName.fn_str(),wxT("r")); + afmFile = wxFopen(afmName,wxT("r")); } #endif -- 2.45.2