X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ee169da2b0688749a2e119099f9c7eeb23c933e..7ddb15416407390de67cc26b04e91ea99a521f57:/src/os2/listctrl.cpp diff --git a/src/os2/listctrl.cpp b/src/os2/listctrl.cpp index 3b4cd843ea..9d90a99523 100644 --- a/src/os2/listctrl.cpp +++ b/src/os2/listctrl.cpp @@ -2445,7 +2445,7 @@ bool wxListCtrl::OS2Command ( WXUINT uCmd, WXWORD wId ) { if (uCmd == CN_ENDEDIT) { - wxCommandEvent vEvent( wxEVT_COMMAND_TEXT_UPDATED, wId ); + wxCommandEvent vEvent( wxEVT_TEXT, wId ); vEvent.SetEventObject( this ); ProcessCommand(vEvent); @@ -2674,7 +2674,7 @@ MRESULT wxListCtrl::OS2WindowProc( WXUINT uMsg, { PMYRECORD pRecord = (PMYRECORD)pDragInit->pRecord; - vEventType = wxEVT_COMMAND_LIST_BEGIN_RDRAG; + vEventType = wxEVT_LIST_BEGIN_RDRAG; vEvent.m_itemIndex = pRecord->m_ulItemId; vEvent.m_pointDrag.x = pDragInit->x; vEvent.m_pointDrag.y = pDragInit->y; @@ -2685,7 +2685,7 @@ MRESULT wxListCtrl::OS2WindowProc( WXUINT uMsg, pEditData = (PCNREDITDATA)lParam; if (pEditData) { - vEventType = wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT; + vEventType = wxEVT_LIST_BEGIN_LABEL_EDIT; ConvertFromOS2ListItem( GetHWND() ,(wxListItem &)vEvent.GetItem() ,(PMYRECORD)pEditData->pRecord @@ -2698,7 +2698,7 @@ MRESULT wxListCtrl::OS2WindowProc( WXUINT uMsg, pEditData = (PCNREDITDATA)lParam; if (pEditData) { - vEventType = wxEVT_COMMAND_LIST_END_LABEL_EDIT; + vEventType = wxEVT_LIST_END_LABEL_EDIT; ConvertFromOS2ListItem( GetHWND() ,(wxListItem &)vEvent.GetItem() ,(PMYRECORD)pEditData->pRecord @@ -2716,7 +2716,7 @@ MRESULT wxListCtrl::OS2WindowProc( WXUINT uMsg, wxListItem* pItem = (wxListItem*)&vEvent.GetItem(); PMYRECORD pMyRecord = (PMYRECORD)pNotifyEnter->pRecord; - vEventType = wxEVT_COMMAND_LIST_ITEM_ACTIVATED; + vEventType = wxEVT_LIST_ITEM_ACTIVATED; vEvent.m_itemIndex = pMyRecord->m_ulItemId; pItem->SetText(GetItemText(pMyRecord->m_ulItemId)); pItem->SetData(GetItemData(pMyRecord->m_ulItemId));