git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11567
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/defs.h"
#endif
#include "wx/defs.h"
#endif
-char *
-copystring (const char *s)
-{
- if (s == NULL) s = "";
- size_t len = strlen (s) + 1;
-
- char *news = new char[len];
- memcpy (news, s, len); // Should be the fastest
-
- return news;
-}
-
#ifdef __WXMSW__
// from filefn.cpp
void WXDLLEXPORT wxSplitPath(const char *pszFileName,
#ifdef __WXMSW__
// from filefn.cpp
void WXDLLEXPORT wxSplitPath(const char *pszFileName,
-#endif // MSW
\ No newline at end of file