No real changes, just remove an unused line from wxOSX wxListBox code.

Don't create a wxEVT_LISTBOX event unnecessarily, this is done by the helper
HandleLineEvent() function called from here.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-11-09 22:08:53 +00:00
parent 9a368ea1cc
commit 331babd2d9

View File

@@ -302,8 +302,6 @@ protected:
wxListBox *list = static_cast<wxListBox*> ( impl->GetWXPeer());
wxCHECK_RET( list != NULL , wxT("Listbox expected"));
wxCommandEvent event( wxEVT_LISTBOX, list->GetId() );
if ((row < 0) || (row > (int) list->GetCount())) // OS X can select an item below the last item
return;