The code in wxMac's listbox was too ambitious in filtering
out surplus events.s git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -788,8 +788,12 @@ void wxListBox::MacDoClick()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( !hasChanged )
|
if ( !hasChanged )
|
||||||
|
{
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
m_selectionPreImage = aSelections;
|
||||||
|
|
||||||
wxCommandEvent event(wxEVT_COMMAND_LISTBOX_SELECTED, m_windowId);
|
wxCommandEvent event(wxEVT_COMMAND_LISTBOX_SELECTED, m_windowId);
|
||||||
event.SetEventObject( this );
|
event.SetEventObject( this );
|
||||||
|
@@ -788,8 +788,12 @@ void wxListBox::MacDoClick()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( !hasChanged )
|
if ( !hasChanged )
|
||||||
|
{
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
m_selectionPreImage = aSelections;
|
||||||
|
|
||||||
wxCommandEvent event(wxEVT_COMMAND_LISTBOX_SELECTED, m_windowId);
|
wxCommandEvent event(wxEVT_COMMAND_LISTBOX_SELECTED, m_windowId);
|
||||||
event.SetEventObject( this );
|
event.SetEventObject( this );
|
||||||
|
Reference in New Issue
Block a user