From 29a1e530866c16c3e0b7e69a1bfd418e4284fcde Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 18 May 2012 10:35:08 +0000 Subject: [PATCH] fixing c++11 build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/xtitypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/xtitypes.h b/include/wx/xtitypes.h index b08b262367..d3fd1432f8 100644 --- a/include/wx/xtitypes.h +++ b/include/wx/xtitypes.h @@ -236,7 +236,7 @@ void wxFlagsToString( wxString &s, const e& data ) #define wxBEGIN_FLAGS( e ) \ wxEnumMemberData s_enumDataMembers##e[] = { -#define wxFLAGS_MEMBER( v ) { wxT(#v), v }, +#define wxFLAGS_MEMBER( v ) { wxT(#v), static_cast(v) }, #define wxEND_FLAGS( e ) \ { NULL, 0 } }; \ -- 2.45.2