Silence warnings in headers with MSC -W4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -748,7 +748,7 @@ struct wxArgNormalizer<const wxUniChar&> : public wxArgNormalizer<wchar_t>
|
||||
{
|
||||
wxArgNormalizer(const wxUniChar& s,
|
||||
const wxFormatString *fmt, unsigned index)
|
||||
: wxArgNormalizer<wchar_t>(s.GetValue(), fmt, index) {}
|
||||
: wxArgNormalizer<wchar_t>(wx_truncate_cast(wchar_t, s.GetValue()), fmt, index) {}
|
||||
};
|
||||
|
||||
// for wchar_t, default handler does the right thing
|
||||
|
Reference in New Issue
Block a user