-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathtitanicApp.cpp
More file actions
43 lines (35 loc) · 823 Bytes
/
Copy pathtitanicApp.cpp
File metadata and controls
43 lines (35 loc) · 823 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
34
35
36
37
38
39
40
41
42
43
/***************************************************************
* Name: titanicApp.cpp
* Purpose: Code for Application Class
* Author: Luke Wren (wren6991@gmail.com)
* Created: 2013-04-30
* Copyright: Luke Wren (http://github.com/Wren6991)
* License:
**************************************************************/
#include "titanicApp.h"
//(*AppHeaders
#include "titanicMain.h"
#include <wx/image.h>
//*)
//IMPLEMENT_APP(titanicApp);
#include <iostream>
bool titanicApp::OnInit()
{
//(*AppInitialize
bool wxsOK = true;
wxInitAllImageHandlers();
if ( wxsOK )
{
titanicFrame* Frame = new titanicFrame(0);
Frame->Show();
SetTopWindow(Frame);
}
//*)
return wxsOK;
}
int main()
{
std::cout << "Hello from main!\n";
char c;
std::cin >> c;
}