Merge pull request #4977 from ligfx/fixwxmainmenubar

DolphinWX: don't refresh MainMenuBar on construction
This commit is contained in:
Anthony 2017-02-27 09:42:01 -08:00 committed by GitHub
commit 0cac00a39c
1 changed files with 0 additions and 2 deletions

View File

@ -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)