]> git.saurik.com Git - wxWidgets.git/commitdiff
applied wxListCtrl label editing patch
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 27 Oct 2001 22:24:59 +0000 (22:24 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 27 Oct 2001 22:24:59 +0000 (22:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;
-                    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;