]> git.sur5r.net Git - bacula/bacula/commitdiff
blank screen problem on Win32. My changes might lead to the same problem on Linux...
authorThorsten Engel <thorsten.engel@matrix-computer.com>
Mon, 7 Nov 2005 14:06:13 +0000 (14:06 +0000)
committerThorsten Engel <thorsten.engel@matrix-computer.com>
Mon, 7 Nov 2005 14:06:13 +0000 (14:06 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2557 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/wx-console/wxbmainframe.cpp

index 3e8623c58c8487f63f4f66f812b2fe445065af4e..a94a6e8e1fc42304fa61976aacf13644b515d1c5 100644 (file)
@@ -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);