]> git.sur5r.net Git - bacula/bacula/commitdiff
When starting wx-console, the initial key input focus is set into the command window.
authorNicolas Boichat <nicolas@boichat.ch>
Sat, 24 Apr 2004 22:44:08 +0000 (22:44 +0000)
committerNicolas Boichat <nicolas@boichat.ch>
Sat, 24 Apr 2004 22:44:08 +0000 (22:44 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1297 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/wx-console/CHANGELOG
bacula/src/wx-console/wxbmainframe.cpp

index d787d7ba178ec66c7902f9977dc1ac6eba920164..eaa4b0477afec398570482954ab3de37d37827ae 100644 (file)
@@ -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
index f2fda1542d8d6ee2b695b748090cbded518a7e66..be01d4f11bb897e0c8a4498f6565dbdaad758031 100644 (file)
@@ -459,6 +459,7 @@ void wxbMainFrame::DisablePanels(void* except) {
 /* Enable or disable console typing */
 void wxbMainFrame::EnableConsole(bool enable) {
    typeCtrl->Enable(enable);
+   typeCtrl->SetFocus();
 }
 
 /*