]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/tools/XRCed/params.py
fix for correct type of checklist box items
[wxWidgets.git] / 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()):
         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()
             # Add ignored flags
             self.SetValue(value)
             self.SetModified()