From 4960f9fc9aab2b2205197813c041ce0681c4df9b Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 4 May 2007 11:10:06 +0000 Subject: [PATCH] compilation fix for --enable-utf8 --disable-utf8only case git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/strvararg.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/wx/strvararg.h b/include/wx/strvararg.h index 729b41069b..05460711d7 100644 --- a/include/wx/strvararg.h +++ b/include/wx/strvararg.h @@ -142,6 +142,7 @@ private: #endif // !wxUSE_UNICODE_WCHAR #if wxUSE_UNICODE && !wxUSE_UTF8_LOCALE_ONLY +public: operator const wchar_t*() const { return wx_const_cast(wxFormatString*, this)->AsWChar(); } private: -- 2.50.0