mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-09-21 20:01:40 +02:00
DolphinWX: Fix items vanishing from toolbar
Commit 33487ab5f2
introduced a regression
where items would vanish from the toolbar. This adds a call to Realize()
after the reinsertions of the play/pause button as required per
documentation.
Thanks to Simonwayneee for noticing this!
This commit is contained in:
parent
749fc3bccc
commit
9dd9a75dbe
1 changed files with 1 additions and 0 deletions
|
@ -1804,6 +1804,7 @@ void CFrame::UpdateGUI()
|
||||||
m_ToolBar->InsertTool(position, IDM_PLAY, _("Play"), m_Bitmaps[Toolbar_Play],
|
m_ToolBar->InsertTool(position, IDM_PLAY, _("Play"), m_Bitmaps[Toolbar_Play],
|
||||||
wxNullBitmap, wxITEM_NORMAL, _("Play"));
|
wxNullBitmap, wxITEM_NORMAL, _("Play"));
|
||||||
}
|
}
|
||||||
|
m_ToolBar->Realize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue