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: