From: Vadim Zeitlin Date: Sat, 8 Nov 2003 12:28:48 +0000 (+0000) Subject: removed assert which became incorrect after last change X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cd318cd31b8fd9876af7ba5f4878b90f446bd0f5 removed assert which became incorrect after last change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 889007ba50..33b696bd23 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -2261,8 +2261,6 @@ wxListLineData *wxListMainWindow::GetDummyLine() const wxCoord wxListMainWindow::GetLineHeight() const { - wxASSERT_MSG( HasFlag(wxLC_REPORT), _T("only works in report mode") ); - // we cache the line height as calling GetTextExtent() is slow if ( !m_lineHeight ) {