X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fbackgroundmgr.cpp;h=274165ed07e816552c74637f5a6e216f8e58cec7;hb=9ff5b5165b2c8871bd4b29ccd5ca794638414615;hp=58bd9029a428f1acd6684d6b419b09039a26b341;hpb=758774f7a87d488faa7412a04d07e4cce140b66c;p=ctsim.git diff --git a/src/backgroundmgr.cpp b/src/backgroundmgr.cpp index 58bd902..274165e 100644 --- a/src/backgroundmgr.cpp +++ b/src/backgroundmgr.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2001 Kevin Rosenberg ** -** $Id: backgroundmgr.cpp,v 1.17 2001/03/11 12:37:34 kevin Exp $ +** $Id: backgroundmgr.cpp,v 1.19 2001/03/13 04:44:25 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -151,8 +151,9 @@ BackgroundManager::OnAddTask (wxCommandEvent& event) resizeWindow(); if (m_iNumTasks == 1) { + m_pCanvas->SetFocus(); + pGauge->SetFocus(); Show(true); - theApp->getLog()->SetFocus(); } }