From 720f0ab93f61b31ba051467ef00d9bb8a0a85b85 Mon Sep 17 00:00:00 2001 From: Michael Maltese Date: Sun, 26 Feb 2017 17:49:23 -0800 Subject: [PATCH] DolphinWX: don't refresh MainMenuBar on construction On startup, wxWidgets pops up an assertion error: > ./src/osx/menu_osx.cpp(648): assert ""IsAttached()"" failed in > Refresh(): can't refresh unatteched menubar --- Source/Core/DolphinWX/MainMenuBar.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Core/DolphinWX/MainMenuBar.cpp b/Source/Core/DolphinWX/MainMenuBar.cpp index 6cf1240b30..d2de7ed69e 100644 --- a/Source/Core/DolphinWX/MainMenuBar.cpp +++ b/Source/Core/DolphinWX/MainMenuBar.cpp @@ -28,8 +28,6 @@ MainMenuBar::MainMenuBar(MenuType type, long style) : wxMenuBar{style}, m_type{t { BindEvents(); AddMenus(); - - MainMenuBar::Refresh(false); } void MainMenuBar::Refresh(bool erase_background, const wxRect* rect)