compilation fixes for gcc-3.4 + Unicode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-10-31 08:36:06 +00:00
parent 88fd7006f4
commit db6b57fff5

View File

@ -2713,7 +2713,8 @@ void DefaultOnMacro(int macroId, int no_args, bool start)
break;
case ltPOUNDS:
if (start)
TexOutput(_T("£"), true);
// FIXME: this is valid only if the output is iso-8859-1
TexOutput(wxString::FromAscii("£"), true);
break;
case ltSPECIALDOUBLEDOLLAR: // Interpret as center
OnMacro(ltCENTER, no_args, start);