about summary refs log tree commit diff stats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-05-14 12:53:59 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-05-14 12:53:59 -0400
commitbee4194f9e12c9d2210a5ecba7249bdfe3f3deda (patch)
tree1212b2f05cea09e4fbf8f1a3c57418fb3e92fc36 /src/main.cpp
parentdff1d7382f2af91e50561bfdb9eb83773ac7c010 (diff)
downloadlingo-ap-tracker-bee4194f9e12c9d2210a5ecba7249bdfe3f3deda.tar.gz
lingo-ap-tracker-bee4194f9e12c9d2210a5ecba7249bdfe3f3deda.tar.bz2
lingo-ap-tracker-bee4194f9e12c9d2210a5ecba7249bdfe3f3deda.zip
Switch to wx logging
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
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
10class TrackerApp : public wxApp { 11class 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();