diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index 30cbfafc96..4271b84c73 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -714,24 +714,6 @@ void wxListBox::OnSize( wxSizeEvent &event) { } -void wxListBox::MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool WXUNUSED(mouseStillDown)) -{ - /* - Boolean wasDoubleClick = false ; - long result ; - - ::GetControlData( (ControlRef) m_macControl , kControlNoPart , kControlListBoxDoubleClickTag , sizeof( wasDoubleClick ) , (char*) &wasDoubleClick , &result ) ; - if ( !wasDoubleClick ) - { - MacDoClick() ; - } - else - { - MacDoDoubleClick() ; - } - */ -} - void wxListBox::MacSetRedraw( bool doDraw ) { // nothing to do in compositing mode