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:
parent
8d2474f486
commit
bba965d6d6
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user