git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10923
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
!(wxIsShiftDown() || wxIsCtrlDown()) )
{
eventType = wxEVT_COMMAND_LIST_ITEM_ACTIVATED;
!(wxIsShiftDown() || wxIsCtrlDown()) )
{
eventType = wxEVT_COMMAND_LIST_ITEM_ACTIVATED;
- event.m_itemIndex = lItem;
event.m_code = wxCharCodeMSWToWX(wVKey);
}
event.m_code = wxCharCodeMSWToWX(wVKey);
}
+ event.m_itemIndex =
+ event.m_item.m_itemId = lItem;
+
if ( lItem != -1 )
{
// fill the other fields too
if ( lItem != -1 )
{
// fill the other fields too