]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
Committing in .
[wxWidgets.git] / src / msw / listctrl.cpp
index cb7aa2ca90ad0b17396c9afa44014de649e308a7..c527a6f0d387454d4ee9c8f77f168e48f9d382fb 100644 (file)
@@ -1632,7 +1632,7 @@ bool wxListCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result)
                 {
                     eventType = wxEVT_COMMAND_LIST_END_LABEL_EDIT;
                     LV_DISPINFO *info = (LV_DISPINFO *)lParam;
                 {
                     eventType = wxEVT_COMMAND_LIST_END_LABEL_EDIT;
                     LV_DISPINFO *info = (LV_DISPINFO *)lParam;
-                    wxConvertFromMSWListItem(GetHwnd(), event.m_item, info->item);
+                    wxConvertFromMSWListItem(NULL, event.m_item, info->item);
                     if ( info->item.pszText == NULL || info->item.iItem == -1 )
                         return FALSE;
 
                     if ( info->item.pszText == NULL || info->item.iItem == -1 )
                         return FALSE;