]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for correct type of checklist box items
authorRoman Rolinsky <rolinsky@femagsoft.com>
Fri, 14 Oct 2005 16:16:37 +0000 (16:16 +0000)
committerRoman Rolinsky <rolinsky@femagsoft.com>
Fri, 14 Oct 2005 16:16:37 +0000 (16:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/tools/XRCed/params.py

index d9f4e623574ce1450c5806c0136bb72dd623323c..848f2793ac6d85a82e82d22337830e5f135fe446 100644 (file)
@@ -598,7 +598,7 @@ class ParamContentCheckList(ParamContent):
         if dlg.ShowModal() == wxID_OK:
             value = []
             for i in range(dlg.list.GetCount()):
-                value.append((dlg.list.GetString(i), dlg.list.IsChecked(i)))
+                value.append((dlg.list.GetString(i), int(dlg.list.IsChecked(i))))
             # Add ignored flags
             self.SetValue(value)
             self.SetModified()