X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/59734eb59735bc6d3ed6e1cfd110347b2aacfac1..4fcd60c72f6b90f5063f7000ff5a80a9004055a3:/utils/HelpGen/src/wx_extra_imps.cpp diff --git a/utils/HelpGen/src/wx_extra_imps.cpp b/utils/HelpGen/src/wx_extra_imps.cpp index e4af6ef024..ab8b9fbb2d 100644 --- a/utils/HelpGen/src/wx_extra_imps.cpp +++ b/utils/HelpGen/src/wx_extra_imps.cpp @@ -13,18 +13,6 @@ #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, @@ -78,4 +66,4 @@ const char *wxGetTranslation(const char *str) { return str; } -#endif // MSW \ No newline at end of file +#endif // MSW