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:
parent
a2053b27b3
commit
0abb488549
@ -169,7 +169,8 @@ wxLayoutWindow::OnMouse(int eventId, wxMouseEvent& event)
|
|||||||
if(obj && eventId == WXLOWIN_MENU_LCLICK)
|
if(obj && eventId == WXLOWIN_MENU_LCLICK)
|
||||||
{
|
{
|
||||||
m_llist->MoveCursorTo(cursorPos);
|
m_llist->MoveCursorTo(cursorPos);
|
||||||
m_ScrollToCursor = true; //FIXME: needed? DoPaint(m_llist->GetUpdateRect());
|
m_ScrollToCursor = true;
|
||||||
|
Refresh();
|
||||||
}
|
}
|
||||||
if(!m_doSendEvents) // nothing to do
|
if(!m_doSendEvents) // nothing to do
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user