Fix double-click support for wxListBox (#10548)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier 2009-03-08 06:42:52 +00:00
parent b725fa9a8b
commit 01000cbcd5

View File

@ -144,7 +144,7 @@ public :
virtual void UpdateLineToEnd( unsigned int n);
virtual void controlAction(WXWidget slf, void* _cmd, void *sender);
virtual void controlDoubleAction(void* _cmd);
virtual void controlDoubleAction(WXWidget slf, void* _cmd, void *sender);
protected :
wxNSTableView* m_tableView ;
@ -496,7 +496,7 @@ void wxListWidgetCocoaImpl::controlAction(WXWidget slf,void* _cmd, void *sender)
list->HandleLineEvent( sel, false );
}
void wxListWidgetCocoaImpl::controlDoubleAction(void* _cmd)
void wxListWidgetCocoaImpl::controlDoubleAction(WXWidget slf,void* _cmd, void *sender)
{
wxListBox *list = static_cast<wxListBox*> ( GetWXPeer());
wxCHECK_RET( list != NULL , wxT("Listbox expected"));