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 }