Compilation fix for WXWIN_COMPATIBILITY_2_4==1.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-09-11 16:41:14 +00:00
parent 8d2474f486
commit bba965d6d6
4 changed files with 8 additions and 0 deletions

View File

@@ -32,8 +32,10 @@
#include "wx/deprecated/expr.h"
#include "wx/deprecated/wxexpr.h"
#if !WXWIN_COMPATIBILITY_2_4
static inline wxChar* copystring(const wxChar* s)
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
#endif
extern "C" void add_expr(char *);
extern "C" void LexFromFile(FILE *fd);