Added Refresh() to OnMouse.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder 1999-05-10 11:06:56 +00:00
parent a2053b27b3
commit 0abb488549

View 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;