git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56381
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_headerHeight = 0;
// just like in other ports, an assert will fail if the user doesn't give any type style:
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 ) )
_T("wxListCtrl style should have exactly one mode bit set") );
if ( !wxControl::Create( parent, id, pos, size, style, validator, name ) )