mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-26 09:41:11 +00:00
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
This commit is contained in:
parent
7bcff99d89
commit
720f0ab93f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user