X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/59734eb59735bc6d3ed6e1cfd110347b2aacfac1..59ae507561b72fc57a553b73ca54ea375dadaa0d:/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..fcc09b2d79 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, @@ -73,9 +61,4 @@ const char *wxLocale::GetString(const char *szOrigString, return szOrigString; } -#else // !MSW -const char *wxGetTranslation(const char *str) -{ - return str; -} -#endif // MSW \ No newline at end of file +#endif // MSW