Helps Borland compile further in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -131,7 +131,10 @@ extern WXDLLEXPORT wxLocale* wxGetLocale();
|
|||||||
inline const wxMB2WXbuf wxGetTranslation(const wxChar *sz)
|
inline const wxMB2WXbuf wxGetTranslation(const wxChar *sz)
|
||||||
{
|
{
|
||||||
wxLocale *pLoc = wxGetLocale();
|
wxLocale *pLoc = wxGetLocale();
|
||||||
return pLoc ? pLoc->GetString(sz) : (const wxMB2WXbuf)sz;
|
if (pLoc)
|
||||||
|
return pLoc->GetString(sz);
|
||||||
|
else
|
||||||
|
return (const wxMB2WXbuf)sz;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -454,6 +454,7 @@ size_t WXDLLEXPORT wcslen(const wchar_t *s);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef wxNEED_WX_STRING_H
|
#ifdef wxNEED_WX_STRING_H
|
||||||
|
int WXDLLEXPORT wxStrcmp(const wxChar *psz1, const wxChar *psz2);
|
||||||
size_t WXDLLEXPORT wxStrlen(const wxChar *s);
|
size_t WXDLLEXPORT wxStrlen(const wxChar *s);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user