]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/tex2rtf/src/tex2any.cpp
Cleaned up some comments, reorganized some code
[wxWidgets.git] / utils / tex2rtf / src / tex2any.cpp
index 64fee2941bdee280afd28aebf0a5ebb7aea6c551..2e5df17be9c157c8707aacd1e1d18409de66b986 100644 (file)
@@ -21,7 +21,6 @@
 #endif
 
 #ifndef WX_PRECOMP
 #endif
 
 #ifndef WX_PRECOMP
-#include "wx/wx.h"
 #endif
 
 #include <ctype.h>
 #endif
 
 #include <ctype.h>
 #include <stdlib.h>
 #include <time.h>
 
 #include <stdlib.h>
 #include <time.h>
 
+#if !WXWIN_COMPATIBILITY_2_4
+static inline wxChar* copystring(const wxChar* s)
+    { return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
+#endif
+
 /*
  * Variables accessible from clients
  *
 /*
  * Variables accessible from clients
  *