From 0abb48854946ed50cb13e58583563bb126ec5461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karsten=20Ball=C3=BCder?= Date: Mon, 10 May 1999 11:06:56 +0000 Subject: [PATCH] Added Refresh() to OnMouse. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- user/wxLayout/wxlwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/user/wxLayout/wxlwindow.cpp b/user/wxLayout/wxlwindow.cpp index c3571af0db..326ea7a458 100644 --- a/user/wxLayout/wxlwindow.cpp +++ b/user/wxLayout/wxlwindow.cpp @@ -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;