Commit 48b37437 authored by eric pellegrini's avatar eric pellegrini
Browse files

The checklist of the ComboCheckBox is now expandable when popped up

parent d06a82bd
Pipeline #4265 passed with stages
in 16 minutes and 8 seconds
......@@ -42,7 +42,8 @@ class ComboCheckbox(wx.CheckListBox,wx.combo.ComboPopup):
return self
def GetAdjustedSize(self, minWidth, prefHeight, maxHeight):
return self.GetSize()
size = self.GetControl().GetSize()
return wx.Size(minWidth, size[1])
def GetStringValue(self):
return self.GetCheckedStrings()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment