From: Karsten Ballüder Date: Thu, 13 May 1999 15:02:26 +0000 (+0000) Subject: removed an assert which was broken (looked right though) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/47ff78ff4f31fbf7c798fefd5512313d31119073 removed an assert which was broken (looked right though) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/user/wxLayout/wxllist.cpp b/user/wxLayout/wxllist.cpp index b9a048ce77..89b8c26112 100644 --- a/user/wxLayout/wxllist.cpp +++ b/user/wxLayout/wxllist.cpp @@ -1598,10 +1598,6 @@ wxLayoutList::Draw(wxDC &dc, if(bottom != -1 && line->GetPosition().y > bottom) break; line = line->GetNextLine(); } - // can only be 0 if we are on the first line and have no next line - wxASSERT(m_CursorSize.x != 0 || (m_CursorLine && - m_CursorLine->GetNextLine() == NULL && - m_CursorLine == m_FirstLine)); InvalidateUpdateRect(); WXLO_DEBUG(("Selection is %s : l%d,%ld/%ld,%ld",