diff options
Diffstat (limited to 'tracker_frame.cpp')
-rw-r--r-- | tracker_frame.cpp | 6 |
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 | |||
3 | TrackerFrame::TrackerFrame() | 5 | TrackerFrame::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 | ||
24 | void TrackerFrame::OnAbout(wxCommandEvent &event) { | 30 | void TrackerFrame::OnAbout(wxCommandEvent &event) { |