]> git.saurik.com Git - wxWidgets.git/commitdiff
Added Refresh() to OnMouse.
authorKarsten Ballüder <ballueder@usa.net>
Mon, 10 May 1999 11:06:56 +0000 (11:06 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Mon, 10 May 1999 11:06:56 +0000 (11:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

user/wxLayout/wxlwindow.cpp

index c3571af0db951c6761cf98f6e229c76f88a22d58..326ea7a458b0b20170540cbe25b8b13447d7bd85 100644 (file)
@@ -169,7 +169,8 @@ wxLayoutWindow::OnMouse(int eventId, wxMouseEvent& event)
    if(obj && eventId == WXLOWIN_MENU_LCLICK)
    {
       m_llist->MoveCursorTo(cursorPos);
-      m_ScrollToCursor = true; //FIXME: needed? DoPaint(m_llist->GetUpdateRect()); 
+      m_ScrollToCursor = true;
+      Refresh();
    }
    if(!m_doSendEvents) // nothing to do
       return;