]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xtitypes.h
Use SelectAll() instead of SetSelection(-1, -1).
[wxWidgets.git] / include / wx / xtitypes.h
index b08b2623679eaca2d046dcf73ee151c45b0b475f..d3fd1432f8bfa41cec5729274d685b31cb75d6c8 100644 (file)
@@ -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<int>(v) },
 
 #define wxEND_FLAGS( e )                                                \
         { NULL, 0 } };                                                 \