X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fbackgroundmgr.cpp;h=55e611b766560c452c18ba86b1ba6024135f1870;hp=58bd9029a428f1acd6684d6b419b09039a26b341;hb=08c1ec110dc7936c2bbd1c619bd2cf3618c6b4cc;hpb=de411914da8b157958e9caae917bf1edeafbb713 diff --git a/src/backgroundmgr.cpp b/src/backgroundmgr.cpp index 58bd902..55e611b 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.18 2001/03/11 17:55:29 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,8 @@ BackgroundManager::OnAddTask (wxCommandEvent& event) resizeWindow(); if (m_iNumTasks == 1) { + m_pCanvas->SetFocus(); Show(true); - theApp->getLog()->SetFocus(); } }