removed tests for WXWIN_COMPATIBILITY_2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -28,10 +28,8 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#define HTML_FILENAME_PATTERN _T("%s_%s.html")
|
#define HTML_FILENAME_PATTERN _T("%s_%s.html")
|
||||||
|
|
||||||
#if !WXWIN_COMPATIBILITY_2_4
|
|
||||||
static inline wxChar* copystring(const wxChar* s)
|
static inline wxChar* copystring(const wxChar* s)
|
||||||
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
|
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
|
||||||
#endif
|
|
||||||
|
|
||||||
extern wxHashTable TexReferences;
|
extern wxHashTable TexReferences;
|
||||||
|
|
||||||
|
@@ -33,10 +33,8 @@
|
|||||||
#include "bmputils.h"
|
#include "bmputils.h"
|
||||||
#include "table.h"
|
#include "table.h"
|
||||||
|
|
||||||
#if !WXWIN_COMPATIBILITY_2_4
|
|
||||||
static inline wxChar* copystring(const wxChar* s)
|
static inline wxChar* copystring(const wxChar* s)
|
||||||
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
|
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
|
||||||
#endif
|
|
||||||
|
|
||||||
wxList itemizeStack;
|
wxList itemizeStack;
|
||||||
static int indentLevel = 0;
|
static int indentLevel = 0;
|
||||||
|
@@ -25,10 +25,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#if !WXWIN_COMPATIBILITY_2_4
|
|
||||||
static inline wxChar* copystring(const wxChar* s)
|
static inline wxChar* copystring(const wxChar* s)
|
||||||
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
|
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Variables accessible from clients
|
* Variables accessible from clients
|
||||||
|
@@ -66,10 +66,8 @@
|
|||||||
#include "tex2rtf.xpm"
|
#include "tex2rtf.xpm"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !WXWIN_COMPATIBILITY_2_4
|
|
||||||
static inline wxChar* copystring(const wxChar* s)
|
static inline wxChar* copystring(const wxChar* s)
|
||||||
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
|
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
|
||||||
#endif
|
|
||||||
|
|
||||||
const float versionNo = float(TEX2RTF_VERSION_NUMBER);
|
const float versionNo = float(TEX2RTF_VERSION_NUMBER);
|
||||||
|
|
||||||
|
@@ -41,10 +41,8 @@ using namespace std;
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "tex2any.h"
|
#include "tex2any.h"
|
||||||
|
|
||||||
#if !WXWIN_COMPATIBILITY_2_4
|
|
||||||
static inline wxChar* copystring(const wxChar* s)
|
static inline wxChar* copystring(const wxChar* s)
|
||||||
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
|
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
|
||||||
#endif
|
|
||||||
|
|
||||||
wxHashTable TexReferences(wxKEY_STRING);
|
wxHashTable TexReferences(wxKEY_STRING);
|
||||||
wxList BibList(wxKEY_STRING);
|
wxList BibList(wxKEY_STRING);
|
||||||
|
@@ -24,10 +24,8 @@
|
|||||||
#include "tex2rtf.h"
|
#include "tex2rtf.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#if !WXWIN_COMPATIBILITY_2_4
|
|
||||||
static inline wxChar* copystring(const wxChar* s)
|
static inline wxChar* copystring(const wxChar* s)
|
||||||
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
|
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
|
||||||
#endif
|
|
||||||
|
|
||||||
long currentBlockId = -1;
|
long currentBlockId = -1;
|
||||||
static TexChunk *descriptionItemArg = NULL;
|
static TexChunk *descriptionItemArg = NULL;
|
||||||
|
Reference in New Issue
Block a user