]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed passing of strings to vararg templates in ANSI build
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 12 May 2007 17:18:23 +0000 (17:18 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 12 May 2007 17:18:23 +0000 (17:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/strvararg.cpp

index 0fdb2052b0bcecb5ef2a290b0b049b105ef59acb..36b6af060b3fe9fe380d4a820727d5f3e3ffa14a 100644 (file)
@@ -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
 }