-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
53 lines (36 loc) · 1008 Bytes
/
Copy pathmain.cpp
File metadata and controls
53 lines (36 loc) · 1008 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
44
45
46
47
48
49
50
51
52
53
#include <iostream>
#include <wx/wx.h>
#include "DataReader.h"
class MyApp : public wxApp
{
public:
virtual bool OnInit();
};
bool MyApp::OnInit()
{
//Communicate *communicate = new Communicate(wxT("Widgets communicate"));
//communicate->Show(true);
//menu
//SimpleMenu *menu = new SimpleMenu(wxT("Simple Menu"));
//menu->Show(true);
//submenu
//SubMenu *smenu = new SubMenu(wxT("Submenu"));
//smenu->Show(true);
//toolbar (don't use)
//Toolbar *toolbar = new Toolbar(wxT("Toolbar"));
//toolbar->Show(true);
//Sizer
//Sizer *sizer = new Sizer(wxT("Sizer"));
//sizer->Show(true);
//Border (box sizer)
//Border *border = new Border(wxT("Border"));
//border->Show(true);
//align
//Align *align = new Align(wxT("Align"));
//align->Show(true);
//datareader
DataReader *datareader = new DataReader(wxT("DataLoader"));
datareader->Show(true);
return true;
}
IMPLEMENT_APP(MyApp)