From: Vadim Zeitlin Date: Mon, 26 Jul 1999 10:48:56 +0000 (+0000) Subject: compile fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0252777919a6bc7dc379cb178e864963cacedc10 compile fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 445a8b05c9..56e6b6c1ac 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -20,7 +20,7 @@ #include "wx/dcscreen.h" #include "wx/app.h" -#include "wx/generic/listctrl.h" +#include "wx/listctrl.h" #include "wx/generic/imaglist.h" //----------------------------------------------------------------------------- @@ -1142,7 +1142,7 @@ void wxListMainWindow::DeleteLine( wxListLineData *line ) wxTextCtrl *wxListMainWindow::EditLabel( long item ) { wxNode *node = m_lines.Nth( item ); - wxCHECK_RET( node, _T("wrong index in wxListCtrl::Edit()") ); + wxCHECK_MSG( node, (wxTextCtrl *)NULL, _T("wrong index in wxListCtrl::Edit()") ); m_currentEdit = (wxListLineData*) node->Data();