input handler should coreesponding the widget instance, wxListBox and wxCheckListBox has its own input handler, so create it differenctly