]> git.saurik.com Git - wxWidgets.git/blob - utils/HelpGen/src/wx_extra_imps.cpp
HelpGen is a prototype of the tool for automatic generation of the .tex files
[wxWidgets.git] / utils / HelpGen / src / wx_extra_imps.cpp
1 ////////////////////
2 //
3 // craeted by Alex
4 //
5 ////////////////////
6
7 // For compilers that support precompilation, includes "wx.h".
8 #include "wx/wxprec.h"
9
10 #include <memory.h>
11
12 #ifndef WX_PRECOMP
13 #include "wx/defs.h"
14 #endif
15
16 char *
17 copystring (const char *s)
18 {
19 if (s == NULL) s = "";
20 size_t len = strlen (s) + 1;
21
22 char *news = new char[len];
23 memcpy (news, s, len); // Should be the fastest
24
25 return news;
26 }
27
28 const char *wxGetTranslation(const char *str)
29 {
30 return str;
31 }