From e542e141a3c26522c053ee3cfc72314e6109a227 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 30 Mar 2009 00:00:15 +0000 Subject: [PATCH] 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 --- include/wx/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.45.2