Operating system: Windows 7 64-bit wxPython version: 4.0.1 Stock or custom build: stock Python version: 2.7.14 Stock or custom build: stock
Description of the problem:
The wx.lib.mixins.listctrl.CheckListCtrlMixin creates and sets a wx.Imagelist which doesn't get destroyed and thus is leaking 4 GDI Objects on every run. Changing SetImageList to AssignImageList fixes this. An alternative solution would be binding the wx.EVT_WINDOW_DESTROY Event and calling the Destroy-method manually.