]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/lboxcmn.cpp
merged in the commit from the 2.2 branch
[wxWidgets.git] / src / common / lboxcmn.cpp
index 78cf5a377ba648238ee2f25796d78b8010928401..642b324e9b1ab4559310d0df957e0b9e5ce90757 100644 (file)
@@ -84,7 +84,7 @@ bool wxListBoxBase::SetStringSelection(const wxString& s, bool select)
 
 void wxListBoxBase::Command(wxCommandEvent& event)
 {
-    SetSelection(event.m_commandInt, event.m_extraLong);
+    SetSelection(event.m_commandInt, event.m_extraLong != 0);
     (void)ProcessEvent(event);
 }