Fix for wxGTK compilation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ron Lee 2004-12-22 07:18:16 +00:00
parent 9adf429992
commit 392857fb78

View File

@ -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