From cb880c618ce031c95009b848cdf62dd61751c858 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 6 Jun 2024 15:06:09 -0400 Subject: Fixed achievements pane not refreshing properly --- src/tracker_frame.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/tracker_frame.cpp b/src/tracker_frame.cpp index a15a6b4..107ae49 100644 --- a/src/tracker_frame.cpp +++ b/src/tracker_frame.cpp @@ -75,9 +75,8 @@ TrackerFrame::TrackerFrame() Bind(STATE_CHANGED, &TrackerFrame::OnStateChanged, this); Bind(STATUS_CHANGED, &TrackerFrame::OnStatusChanged, this); - achievements_pane_ = new AchievementsPane(this); - wxChoicebook *choicebook = new wxChoicebook(this, wxID_ANY); + achievements_pane_ = new AchievementsPane(choicebook); choicebook->AddPage(achievements_pane_, "Achievements"); notebook_ = new wxNotebook(this, wxID_ANY); -- cgit 1.4.1