]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/deprecated/resource.cpp
added .chm support for Unix (Markus Sinner)
[wxWidgets.git] / contrib / src / deprecated / resource.cpp
index d6ff9e7fe209d6febaf6fb041d57ba12a70d647e..4c148bb0087f77d65d05cbcdbbd5b54ea1768e52 100644 (file)
 #include "wx/deprecated/resource.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
 
 // Forward (private) declarations
 bool wxResourceInterpretResources(wxResourceTable& table, wxExprDatabase& db);