X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c693edf3bc9539378a7ac56d90d41d89c7dc7579..1de4baa31f17548b32a376a71ce50fee6a3e759c:/include/wx/wxexpr.h diff --git a/include/wx/wxexpr.h b/include/wx/wxexpr.h index adaaa4c7f5..8730ce773b 100644 --- a/include/wx/wxexpr.h +++ b/include/wx/wxexpr.h @@ -12,7 +12,7 @@ #ifndef _WX_WXEXPRH__ #define _WX_WXEXPRH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "wxexpr.h" #endif @@ -50,9 +50,6 @@ typedef bool (*wxExprErrorHandler) (int errorType, char *msg); WXDLLEXPORT_DATA(extern wxExprErrorHandler) currentwxExprErrorHandler; -extern "C" WXDLLEXPORT_DATA(FILE*) yyin; - -extern "C" WXDLLEXPORT int yyparse(void); typedef enum { wxExprNull, @@ -112,7 +109,7 @@ class WXDLLEXPORT wxExpr return value.word; else if (type == wxExprString) return wxString(value.string); - else return wxString(_T("")); + else return wxString(wxT("")); } inline wxString StringValue(void) const { @@ -120,7 +117,7 @@ class WXDLLEXPORT wxExpr return wxString(value.string); else if (type == wxExprWord) return wxString(value.word); - else return wxString(_T("")); + else return wxString(wxT("")); } // Get nth arg of clause (starting from 1)