]> git.saurik.com Git - wxWidgets.git/commitdiff
removed tests for WXWIN_COMPATIBILITY_2_4
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Mar 2007 17:00:47 +0000 (17:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Mar 2007 17:00:47 +0000 (17:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/tex2rtf/src/htmlutil.cpp
utils/tex2rtf/src/rtfutils.cpp
utils/tex2rtf/src/tex2any.cpp
utils/tex2rtf/src/tex2rtf.cpp
utils/tex2rtf/src/texutils.cpp
utils/tex2rtf/src/xlputils.cpp

index fb72dcf0d53ab7d7d16b9907b9e0917c40cb0a46..c78636b4675904c8f4e28575b45d2ff16f975b2a 100644 (file)
 #include <stdio.h>
 #define HTML_FILENAME_PATTERN _T("%s_%s.html")
 
-#if !WXWIN_COMPATIBILITY_2_4
 static inline wxChar* copystring(const wxChar* s)
     { return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
-#endif
 
 extern wxHashTable TexReferences;
 
index 6dc426cdba6b2b9fbf70ec44cedab80abfa04cb6..7bd7636c42e1e06dc2170bb1d3e67fb7cd3975c5 100644 (file)
 #include "bmputils.h"
 #include "table.h"
 
-#if !WXWIN_COMPATIBILITY_2_4
 static inline wxChar* copystring(const wxChar* s)
     { return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
-#endif
 
 wxList itemizeStack;
 static int indentLevel = 0;
index 33466d1a935858375195c9665614f1350ace020a..01db1ed0327b6a34e8eef4c8af807315a180e285 100644 (file)
 #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
index 6e117564396e0060ef148942a3828149525da21a..b560cd0c0444cc99f8d21bc7977dc87b6c10bdc3 100644 (file)
 #include "tex2rtf.xpm"
 #endif
 
-#if !WXWIN_COMPATIBILITY_2_4
 static inline wxChar* copystring(const wxChar* s)
     { return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
-#endif
 
 const float versionNo = float(TEX2RTF_VERSION_NUMBER);
 
index 0735b069947699e2028886ad2861b470667a1462..44e97bf26720f9c1a6965869b41a727ebb711fdb 100644 (file)
@@ -41,10 +41,8 @@ using namespace std;
 #include <ctype.h>
 #include "tex2any.h"
 
-#if !WXWIN_COMPATIBILITY_2_4
 static inline wxChar* copystring(const wxChar* s)
     { return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
-#endif
 
 wxHashTable TexReferences(wxKEY_STRING);
 wxList BibList(wxKEY_STRING);
index 39408d89662835f9dfd5327d6c1db198a86ad538..1a56cd04d9381b3cbaf57a8ed583d94bea139a62 100644 (file)
 #include "tex2rtf.h"
 #include <ctype.h>
 
-#if !WXWIN_COMPATIBILITY_2_4
 static inline wxChar* copystring(const wxChar* s)
     { return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
-#endif
 
 long currentBlockId = -1;
 static TexChunk *descriptionItemArg = NULL;