about summary refs log tree commit diff stats
path: root/tracker_frame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker_frame.cpp')
-rw-r--r--tracker_frame.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tracker_frame.cpp b/tracker_frame.cpp index 83f42a6..0c3827e 100644 --- a/tracker_frame.cpp +++ b/tracker_frame.cpp
@@ -1,7 +1,11 @@
1#include "tracker_frame.h" 1#include "tracker_frame.h"
2 2
3#include "tracker_panel.h"
4
3TrackerFrame::TrackerFrame() 5TrackerFrame::TrackerFrame()
4 : wxFrame(nullptr, wxID_ANY, "Lingo Archipelago Tracker") { 6 : wxFrame(nullptr, wxID_ANY, "Lingo Archipelago Tracker") {
7 ::wxInitAllImageHandlers();
8
5 wxMenu *menuFile = new wxMenu(); 9 wxMenu *menuFile = new wxMenu();
6 menuFile->Append(wxID_EXIT); 10 menuFile->Append(wxID_EXIT);
7 11
@@ -19,6 +23,8 @@ TrackerFrame::TrackerFrame()
19 23
20 Bind(wxEVT_MENU, &TrackerFrame::OnAbout, this, wxID_ABOUT); 24 Bind(wxEVT_MENU, &TrackerFrame::OnAbout, this, wxID_ABOUT);
21 Bind(wxEVT_MENU, &TrackerFrame::OnExit, this, wxID_EXIT); 25 Bind(wxEVT_MENU, &TrackerFrame::OnExit, this, wxID_EXIT);
26
27 new TrackerPanel(this);
22} 28}
23 29
24void TrackerFrame::OnAbout(wxCommandEvent &event) { 30void TrackerFrame::OnAbout(wxCommandEvent &event) {