From: Václav Slavík Date: Sat, 12 May 2007 17:18:23 +0000 (+0000) Subject: fixed passing of strings to vararg templates in ANSI build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/075ff4102bc3930c46a3f52e311e59ed7742019f fixed passing of strings to vararg templates in ANSI build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/strvararg.cpp b/src/common/strvararg.cpp index 0fdb2052b0..36b6af060b 100644 --- a/src/common/strvararg.cpp +++ b/src/common/strvararg.cpp @@ -73,7 +73,7 @@ wxString wxArgNormalizedString::GetString() const return wxString(wx_reinterpret_cast(const char*, m_ptr)); else #endif - return wxString(wx_reinterpret_cast(const wchar_t*, m_ptr)); + return wxString(wx_reinterpret_cast(const wxChar*, m_ptr)); #endif // !wxUSE_UTF8_LOCALE_ONLY }