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