Compilation fix for WXWIN_COMPATIBILITY_2_4==1.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-09-11 16:41:14 +00:00
parent 8d2474f486
commit bba965d6d6
4 changed files with 8 additions and 0 deletions

View File

@ -35,8 +35,10 @@
#include <math.h>
#include <string.h>
#if !WXWIN_COMPATIBILITY_2_4
static inline wxChar* copystring(const wxChar* s)
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
#endif
IMPLEMENT_DYNAMIC_CLASS(wxPropertyValue, wxObject)

View File

@ -57,8 +57,10 @@
#include <math.h>
#include <string.h>
#if !WXWIN_COMPATIBILITY_2_4
static inline wxChar* copystring(const wxChar* s)
{ return wxStrcpy(new wxChar[wxStrlen(s) + 1], s); }
#endif
// ----------------------------------------------------------------------------
// Property text edit control

View File

@ -89,8 +89,10 @@
#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);

View File

@ -32,8 +32,10 @@
#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);