about summary refs log tree commit diff stats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..fe9aceb --- /dev/null +++ b/src/main.cpp
@@ -0,0 +1,21 @@
1#include <wx/wxprec.h>
2
3#ifndef WX_PRECOMP
4#include <wx/wx.h>
5#endif
6
7#include "tracker_config.h"
8#include "tracker_frame.h"
9
10class TrackerApp : public wxApp {
11 public:
12 virtual bool OnInit() {
13 GetTrackerConfig().Load();
14
15 TrackerFrame *frame = new TrackerFrame();
16 frame->Show(true);
17 return true;
18 }
19};
20
21wxIMPLEMENT_APP(TrackerApp);