X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c615d6491f417f4d9ee3c672de4130c94cfe4eda..1ddb6d28576c3ab21f80d8a3815fcccb1545961c:/src/generic/listctrl.cpp diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 55d5764827..c42fded26c 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -5046,7 +5046,7 @@ bool wxGenericListCtrl::Create(wxWindow *parent, m_headerHeight = 0; // just like in other ports, an assert will fail if the user doesn't give any type style: - wxASSERT_MSG( !(style & wxLC_MASK_TYPE), + wxASSERT_MSG( (style & wxLC_MASK_TYPE), _T("wxListCtrl style should have exactly one mode bit set") ); if ( !wxControl::Create( parent, id, pos, size, style, validator, name ) )