From: Roman Rolinsky Date: Fri, 14 Oct 2005 16:16:37 +0000 (+0000) Subject: fix for correct type of checklist box items X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/efa5f7095fbdca6026a4fb5cf1be3d6eb0df8893?ds=inline fix for correct type of checklist box items git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/tools/XRCed/params.py b/wxPython/wx/tools/XRCed/params.py index d9f4e62357..848f2793ac 100644 --- a/wxPython/wx/tools/XRCed/params.py +++ b/wxPython/wx/tools/XRCed/params.py @@ -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()