]> git.saurik.com Git - wxWidgets.git/commitdiff
removed an assert which was broken (looked right though)
authorKarsten Ballüder <ballueder@usa.net>
Thu, 13 May 1999 15:02:26 +0000 (15:02 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Thu, 13 May 1999 15:02:26 +0000 (15:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

user/wxLayout/wxllist.cpp

index b9a048ce77727ae3b91f7b85b5dd40d10e77d00a..89b8c26112001af78d6d4fbd13826043571ff5b5 100644 (file)
@@ -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",