#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,
{
return str;
}
-#endif // MSW
\ No newline at end of file
+#endif // MSW