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:
parent
9adf429992
commit
392857fb78
@ -1561,7 +1561,7 @@ bool wxPostScriptDC::StartDoc( const wxString& message )
|
|||||||
m_printData.SetFilename(filename);
|
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)
|
if (!m_pstream)
|
||||||
{
|
{
|
||||||
@ -1971,7 +1971,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string,
|
|||||||
{
|
{
|
||||||
afmName = data->GetFontMetricPath();
|
afmName = data->GetFontMetricPath();
|
||||||
afmName << wxFILE_SEP_PATH << name;
|
afmName << wxFILE_SEP_PATH << name;
|
||||||
afmFile = wxFopen(afmName.fn_str(),wxT("r"));
|
afmFile = wxFopen(afmName,wxT("r"));
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__UNIX__) && !defined(__VMS__)
|
#if defined(__UNIX__) && !defined(__VMS__)
|
||||||
@ -1985,7 +1985,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string,
|
|||||||
<< wxT("afm") << wxFILE_SEP_PATH
|
<< wxT("afm") << wxFILE_SEP_PATH
|
||||||
#endif
|
#endif
|
||||||
<< name;
|
<< name;
|
||||||
afmFile = wxFopen(afmName.fn_str(),wxT("r"));
|
afmFile = wxFopen(afmName,wxT("r"));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user