compilation fix for wxUSE_UTF8_LOCALE_ONLY case

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2009-03-30 00:00:15 +00:00
parent 62e68ee3c6
commit e542e141a3

View File

@@ -4015,7 +4015,7 @@ inline const char* wxCStrData::AsChar() const
inline const wxScopedCharBuffer wxCStrData::AsCharBuf() const
{
#if !wxUSE_UNICODE
#if !wxUSE_UNICODE || wxUSE_UTF8_LOCALE_ONLY
return wxScopedCharBuffer::CreateNonOwned(AsChar());
#else
return AsString().mb_str();