diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index fe9aceb..db7653c 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
@@ -4,12 +4,15 @@ | |||
4 | #include <wx/wx.h> | 4 | #include <wx/wx.h> |
5 | #endif | 5 | #endif |
6 | 6 | ||
7 | #include "logger.h" | ||
7 | #include "tracker_config.h" | 8 | #include "tracker_config.h" |
8 | #include "tracker_frame.h" | 9 | #include "tracker_frame.h" |
9 | 10 | ||
10 | class TrackerApp : public wxApp { | 11 | class TrackerApp : public wxApp { |
11 | public: | 12 | public: |
12 | virtual bool OnInit() { | 13 | virtual bool OnInit() { |
14 | wxLog::SetActiveTarget(new Logger()); | ||
15 | |||
13 | GetTrackerConfig().Load(); | 16 | GetTrackerConfig().Load(); |
14 | 17 | ||
15 | TrackerFrame *frame = new TrackerFrame(); | 18 | TrackerFrame *frame = new TrackerFrame(); |