mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
DolphinWX: Fix items vanishing from toolbar
Commit 33487ab5f20309e33b4734dbea9201b5b0d893a2 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
@ -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…
x
Reference in New Issue
Block a user