// ************************************************************************** // * This file is part of the FreeFileSync project. It is distributed under * // * GNU General Public License: http://www.gnu.org/licenses/gpl.html * // * Copyright (C) 2008-2011 ZenJu (zhnmju123 AT gmx.de) * // ************************************************************************** // #include "app_main.h" #include #include using namespace ffs3; bool AppMainWindow::mainWndActive = false; void ffs3::AppMainWindow::setMainWindow(wxWindow* window) { wxTheApp->SetTopWindow(window); wxTheApp->SetExitOnFrameDelete(true); mainWndActive = true; } bool AppMainWindow::mainWindowWasSet() { return mainWndActive; }