#pragma hdrstop
#endif
+#if wxUSE_PROLOGIO
+
#include <stdarg.h>
#include <ctype.h>
#include <string.h>
wxNode *node = string_list->First();
while (node)
{
- char *string = (char *)node->Data();
+ wxChar *string = (wxChar*)node->GetData();
wxExpr *expr = new wxExpr(wxExprString, wxString(string));
listExpr->Append(expr);
node = node->Next();
if (term->Type() == wxExprList)
{
- wxExpr *value = term->AttributeValue("id");
+ wxExpr *value = term->AttributeValue(wxT("id"));
if (value->Type() == wxExprInteger && value->IntegerValue() == id)
found = term;
}
char *wxmake_word(char *str)
{
- wxExpr *x = new wxExpr(wxExprWord, str);
+ wxExpr *x = new wxExpr(wxExprWord, wxString(str, wxConvLibc).c_str());
return (char *)x;
}
void syntax_error(char *WXUNUSED(s))
{
if (currentwxExprErrorHandler)
- (void)(*(currentwxExprErrorHandler))(WXEXPR_ERROR_SYNTAX, "syntax error");
+ (void)(*(currentwxExprErrorHandler))(WXEXPR_ERROR_SYNTAX, (char *)"syntax error");
if (thewxExprDatabase) thewxExprDatabase->noErrors += 1;
}
#endif
#endif
+#endif
+ // wxUSE_PROLOGIO