GUI: Added file monitor log

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4185 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-09-03 20:00:09 +00:00
parent 2b1022f152
commit a69eb43019
13 changed files with 50 additions and 25 deletions

View File

@ -437,10 +437,14 @@ void CLogWindow::OnLogTimer(wxTimerEvent& WXUNUSED(event))
if (!m_LogAccess) return;
//m_Log->Freeze();
int MsgSz = msgQueue.size();
UpdateLog();
// Better auto scroll
m_Log->ScrollLines(1);
m_Log->ShowPosition( m_Log->GetLastPosition() );
if (MsgSz > 0)
{
m_Log->ScrollLines(1);
m_Log->ShowPosition( m_Log->GetLastPosition() );
}
//m_Log->Thaw();
}