use bool expression rather than implicit conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -117,7 +117,7 @@ void wxCheckListBox::SetValueCallback( unsigned int n, wxListWidgetColumn* col ,
|
||||
{
|
||||
if ( col == m_checkColumn )
|
||||
{
|
||||
Check( n, value.GetIntValue() );
|
||||
Check( n, value.GetIntValue() != 0 );
|
||||
|
||||
wxCommandEvent event( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, GetId() );
|
||||
event.SetInt( n );
|
||||
|
||||
Reference in New Issue
Block a user