Merge pull request #4977 from ligfx/fixwxmainmenubar
DolphinWX: don't refresh MainMenuBar on construction
This commit is contained in:
commit
0cac00a39c
|
@ -29,8 +29,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…
Reference in New Issue