-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappmain.cpp
More file actions
33 lines (27 loc) · 708 Bytes
/
appmain.cpp
File metadata and controls
33 lines (27 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/***************************************************************
* Name: ByzApp.cpp
* Purpose: Code for Application Class
* Author: Petru (petrimetri@gmail.com)
* Created: 2013-08-10
* Copyright: Petru ()
* License:
**************************************************************/
#include "mainwindow.h"
#include <wx/image.h>
#include "appmain.h"
#include <wx/notifmsg.h>
IMPLEMENT_APP(MainApp);
bool MainApp::OnInit()
{
bool wxsOK = true;
wxInitAllImageHandlers();
if ( wxsOK )
{
MainWindow* Frame = new MainWindow(0);
MessageViewer = new MessageWindow();
Frame->Show();
MessageViewer->Show();
SetTopWindow(Frame);
}
return wxsOK;
}