]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wxexpr.cpp
added wxFont::IsFixedWidth(), documented it and implemented for wxGTK/Motif
[wxWidgets.git] / src / common / wxexpr.cpp
index 6f67df37a2286570e2a54615f1e34c10dce00330..01784063b201679dadd4d948c9236fdd6438926f 100644 (file)
@@ -1255,7 +1255,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;
 }