How to create a CheckListBox in wx python that allows multiple selections - wxComboBox
<p>I am trying to create a collapsible checkbox using wx python 2.9.5.0 with Python 2.7 that allows multiple options to be checked.</p>

<p><a href="https://stackoverflow.com/questions/2906110/is-it-possible-to-make-an-accordion-style-check-list-in-wxpython">The following qustion seems to get close,</a> but it's missing a few major things. It references the "<a href="http://wxpython.org/Phoenix/docs/html/ComboCtrl.html#comboctrl" rel="nofollow noreferrer">ComboCtrl example in the demo</a>". However, when I tried to run that sample, I got an error that wx doesn't have an attribute ComboCtrl. That was fixed by calling wx.combo.ComboCtrl. However, I can't seem to find ListViewComboPopup() in any combination of wx or wx.combo. </p>

<p>Where does that ListViewComboPopup() function live?</p>

<p>For Reference, here is my current attempt at the code:</p>

<pre><code>class MyFrame ( wx.Frame ):
    def __init__( self, parent ):
        wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = wx.EmptyString, pos = wx.DefaultPosition, size = wx.Size( 500,300 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL )

        self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )

        bSIZER = wx.BoxSizer( wx.VERTICAL )

        comboCtrl = combo.ComboCtrl(self, wx.ID_ANY, "")
        popupCtrl = wx.combo.ListViewComboPopup()

        # It is important to call SetPopupControl() as soon as possible
        comboCtrl.SetPopupControl(popupCtrl)
        # Populate using wx.ListView methods
        popupCtrl.InsertItem(popupCtrl.GetItemCount(), "First Item")
        popupCtrl.InsertItem(popupCtrl.GetItemCount(), "Second Item")
        popupCtrl.InsertItem(popupCtrl.GetItemCount(), "Third Item")

        bSIZER.Add( comboCtrl, 1, wx.ALL, 

        self.SetSizer( bSIZER )
        self.Layout()

        self.Centre( wx.BOTH )

    def __del__( self ):
        pass
</code></pre>

<p>Running that gives the following error:
    AttributeError: 'module' object has no attribute 'ListViewComboPopup'</p>

<p>Once I get this working, I'm still a few steps from creating the drop down menu with multiple options, but I this is the big current stumbling block. </p>