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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user