From: Václav Slavík Date: Mon, 30 Mar 2009 00:00:15 +0000 (+0000) Subject: compilation fix for wxUSE_UTF8_LOCALE_ONLY case X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e542e141a3c26522c053ee3cfc72314e6109a227 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 --- diff --git a/include/wx/string.h b/include/wx/string.h index 414cfd087f..1dc72edeb7 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -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();