From 01000cbcd54ef37e9c198bccd96e0096be0a38b7 Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Sun, 8 Mar 2009 06:42:52 +0000 Subject: [PATCH] Fix double-click support for wxListBox (#10548) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/cocoa/listbox.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osx/cocoa/listbox.mm b/src/osx/cocoa/listbox.mm index 45f1126bf4..b1cf9192ef 100644 --- a/src/osx/cocoa/listbox.mm +++ b/src/osx/cocoa/listbox.mm @@ -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 ( GetWXPeer()); wxCHECK_RET( list != NULL , wxT("Listbox expected")); -- 2.45.2