X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b766d97fd5b199f4eb6443e9f9dc3052792f5e9..9f4de6b2cf06f53a98b28f53640f3b9ec8cf4182:/src/common/wxexpr.cpp diff --git a/src/common/wxexpr.cpp b/src/common/wxexpr.cpp index 6f67df37a2..d868716226 100644 --- a/src/common/wxexpr.cpp +++ b/src/common/wxexpr.cpp @@ -20,6 +20,8 @@ #pragma hdrstop #endif +#if 1 // wxUSE_PROLOGIO + #include #include #include @@ -1255,7 +1257,7 @@ void process_command(char * cexpr) 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; } @@ -1272,3 +1274,5 @@ WXDLLEXPORT char *strdup(const char *s) #endif #endif +#endif + // wxUSE_PROLOGIO