blob: fe6d3af59cda4c368832301fb592dcd71f8d6ca9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include "appMain.h"
#include <wx/window.h>
#include <wx/app.h>
using namespace FreeFileSync;
bool AppMainWindow::mainWndAct = false;
void FreeFileSync::AppMainWindow::setMainWindow(wxWindow* window)
{
wxTheApp->SetTopWindow(window);
wxTheApp->SetExitOnFrameDelete(true);
assert (!mainWndAct);
mainWndAct = true;
}
bool AppMainWindow::mainWindowWasSet()
{
return mainWndAct;
}
|