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:
Christian Widmer 2015-12-16 00:03:17 +01:00
parent 749fc3bccc
commit 9dd9a75dbe
1 changed files with 1 additions and 0 deletions

View File

@ -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();
} }
} }