mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +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
1 changed files with 0 additions and 2 deletions
|
@ -28,8 +28,6 @@ MainMenuBar::MainMenuBar(MenuType type, long style) : wxMenuBar{style}, m_type{t
|
||||||
{
|
{
|
||||||
BindEvents();
|
BindEvents();
|
||||||
AddMenus();
|
AddMenus();
|
||||||
|
|
||||||
MainMenuBar::Refresh(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainMenuBar::Refresh(bool erase_background, const wxRect* rect)
|
void MainMenuBar::Refresh(bool erase_background, const wxRect* rect)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue