]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
Now its possible to run wxHTML without wxSockets
[wxWidgets.git] / src / generic / listctrl.cpp
index 7dc0dd3c52f9836eea60718d01c1d8aecbddfb03..65f568eb3ba43c0b5570ef1a92ed962538f33ada 100644 (file)
@@ -1146,7 +1146,7 @@ void wxListMainWindow::DeleteLine( wxListLineData *line )
 void wxListMainWindow::EditLabel( long item )
 {
     wxNode *node = m_lines.Nth( item );
-    wxCHECK_MSG( node, (wxTextCtrl *)NULL, _T("wrong index in wxListCtrl::Edit()") );
+    wxCHECK_RET( node, _T("wrong index in wxListCtrl::Edit()") );
     
     m_currentEdit = (wxListLineData*) node->Data();