X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d78bbe6376738a5bcf518ac6250c82b90dacc12..0d853c5412a1628f1bcad5f9043050e7cf105ac7:/src/generic/listctrl.cpp 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 ) {