From b85177031b4fdb4d7bb4db8083d213374bd5e980 Mon Sep 17 00:00:00 2001 From: Thorsten Engel Date: Mon, 7 Nov 2005 14:06:13 +0000 Subject: [PATCH] blank screen problem on Win32. My changes might lead to the same problem on Linux now... git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2557 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/wx-console/wxbmainframe.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bacula/src/wx-console/wxbmainframe.cpp b/bacula/src/wx-console/wxbmainframe.cpp index 3e8623c58c..a94a6e8e1f 100644 --- a/bacula/src/wx-console/wxbmainframe.cpp +++ b/bacula/src/wx-console/wxbmainframe.cpp @@ -579,7 +579,7 @@ void wxbMainFrame::Print(wxString str, int status) consoleCtrl->AppendText(consoleBuffer); consoleBuffer = wxT(""); SetStatusText(_("Console thread terminated.")); -#ifndef HAVE_WIN32 +#ifdef HAVE_WIN32 consoleCtrl->PageDown(); #else consoleCtrl->ScrollLines(1); @@ -627,7 +627,7 @@ void wxbMainFrame::Print(wxString str, int status) if (status == CS_DISCONNECTED) { consoleCtrl->AppendText(consoleBuffer); consoleBuffer = wxT(""); -#ifndef HAVE_WIN32 +#ifdef HAVE_WIN32 consoleCtrl->PageDown(); #else consoleCtrl->ScrollLines(1); @@ -708,7 +708,7 @@ void wxbMainFrame::Print(wxString str, int status) if (status == CS_DEBUG) { consoleCtrl->AppendText(consoleBuffer); consoleBuffer = wxT(""); -#ifndef HAVE_WIN32 +#ifdef HAVE_WIN32 consoleCtrl->PageDown(); #else consoleCtrl->ScrollLines(1); @@ -730,7 +730,7 @@ void wxbMainFrame::Print(wxString str, int status) consoleCtrl->AppendText(consoleBuffer); consoleBuffer = wxT(""); -#ifndef HAVE_WIN32 +#ifdef HAVE_WIN32 consoleCtrl->PageDown(); #else consoleCtrl->ScrollLines(1); -- 2.39.5