# File lib/foxtails/FTComboBox.rb, line 23
    def recalc_list
      ## it would be best to just always do this on SEL_LEFTBUTTONPRESS,
      ## but that is mapped to a non-virtual function, and onListClicked
      ## is not available (so we can FXMAPFUNC to our own version which
      ## calls it), and the popup button doesn't go thru this anyway.
      clearItems
      list.each{|item| appendItem(display(item))} if list
        
      item = index(get_target_state)
      setCurrentItem(item || -1)  ## disable if not on list?

      recalc_num_visible
    end