X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4483a6ed9778ecc0fe21f97c4680cccf822e08c5..efa5f7095fbdca6026a4fb5cf1be3d6eb0df8893:/wxPython/wx/tools/XRCed/params.py 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()