From 9dd9a75dbe275ea707162557102d83a10e41a0ba Mon Sep 17 00:00:00 2001 From: Christian Widmer Date: Wed, 16 Dec 2015 00:03:17 +0100 Subject: [PATCH] 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! --- Source/Core/DolphinWX/FrameTools.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index da1301fb13..341d9fd8f6 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -1804,6 +1804,7 @@ void CFrame::UpdateGUI() m_ToolBar->InsertTool(position, IDM_PLAY, _("Play"), m_Bitmaps[Toolbar_Play], wxNullBitmap, wxITEM_NORMAL, _("Play")); } + m_ToolBar->Realize(); } }