-inline wchar_t *wxWcsdupReplacement(const wchar_t *wcs)
-{
- const size_t siz = (wxWcslen(wcs) + 1)*sizeof(wchar_t);
- wchar_t *wcsCopy = (wchar_t *)malloc(siz);
- memcpy(wcsCopy, wcs, siz);
- return wcsCopy;
-}
-
-DEFINE_BUFFER(wxWCharBuffer, wchar_t, wxWcsdupReplacement);