From: Nicolas Boichat Date: Sat, 24 Apr 2004 22:44:08 +0000 (+0000) Subject: When starting wx-console, the initial key input focus is set into the command window. X-Git-Tag: Release-1.34.3~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e75efe4a2343d53030128f025b56c48edfddefd4;p=thirdparty%2Fbacula.git When starting wx-console, the initial key input focus is set into the command window. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1297 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/wx-console/CHANGELOG b/bacula/src/wx-console/CHANGELOG index d787d7ba1..eaa4b0477 100644 --- a/bacula/src/wx-console/CHANGELOG +++ b/bacula/src/wx-console/CHANGELOG @@ -1,4 +1,6 @@ 24-04-2003 : + - wxbMainFrame : When starting wx-console, the initial key + input focus is set into the command window. - wxbMainFrame : the user is now prompted when an unexpected "question" is asked). - wxbRestorePanel : configure is allowed to change fileset diff --git a/bacula/src/wx-console/wxbmainframe.cpp b/bacula/src/wx-console/wxbmainframe.cpp index f2fda1542..be01d4f11 100644 --- a/bacula/src/wx-console/wxbmainframe.cpp +++ b/bacula/src/wx-console/wxbmainframe.cpp @@ -459,6 +459,7 @@ void wxbMainFrame::DisablePanels(void* except) { /* Enable or disable console typing */ void wxbMainFrame::EnableConsole(bool enable) { typeCtrl->Enable(enable); + typeCtrl->SetFocus(); } /*