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: https://git.sur5r.net/?a=commitdiff_plain;h=e75efe4a2343d53030128f025b56c48edfddefd4;p=bacula%2Fbacula 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 d787d7ba17..eaa4b0477a 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 f2fda1542d..be01d4f11b 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(); } /*