From fd2913d40bcd329236025a84c0509d897b8ee2e0 Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 26 May 2003 19:05:23 +0000 Subject: Redraw console after it has been changed. git-svn-id: http://svn.leocad.org/trunk@340 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- win/Mainfrm.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'win/Mainfrm.cpp') diff --git a/win/Mainfrm.cpp b/win/Mainfrm.cpp index 0ea978c..7c88533 100644 --- a/win/Mainfrm.cpp +++ b/win/Mainfrm.cpp @@ -80,6 +80,8 @@ static void mainframe_console_func (LC_CONSOLE_LEVEL level, const char* text, vo line = ctrl.GetLineCount (); index = ctrl.LineIndex (line - 1); ctrl.SetSel (index, index); + + ctrl.InvalidateRect(NULL, FALSE); } ///////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3