]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/deprecated/wxexpr.cpp
added .chm support for Unix (Markus Sinner)
[wxWidgets.git] / contrib / src / deprecated / wxexpr.cpp
index c859d8bccf66f53129cbc009e4bb7917bb208935..f8450343cbd10c78a9217f3b59ecb2442e9c76d4 100644 (file)
 #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);