diff options
| author | Mathew Maidment <mathew1800@gmail.com> | 2016-04-03 11:26:14 -0400 |
|---|---|---|
| committer | Mathew Maidment <mathew1800@gmail.com> | 2016-04-03 11:26:14 -0400 |
| commit | 23f6c645258bbd1811e56c06106f234fc7cc412f (patch) | |
| tree | c891be689dabd4c7b384e6f9ad161f5bf8cf7a44 /Source/Core/DolphinWX/FrameTools.cpp | |
| parent | 12c393ed60a36f2e8fea34e9bf08a478c3534279 (diff) | |
| parent | 564341ab3d473196e04bb249e86064358cc009e8 (diff) | |
Merge pull request #3733 from EmptyChaos/wx-playbtn-fix
WXGUI: Fix disabled play button not fading
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 45a9c397be..4923f4b80b 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -1792,13 +1792,15 @@ void CFrame::UpdateGUI() { m_ToolBar->DeleteTool(IDM_PLAY); m_ToolBar->InsertTool(position, IDM_PLAY, _("Pause"), m_Bitmaps[Toolbar_Pause], - wxNullBitmap, wxITEM_NORMAL, _("Pause")); + WxUtils::CreateDisabledButtonBitmap(m_Bitmaps[Toolbar_Pause]), + wxITEM_NORMAL, _("Pause")); } else { m_ToolBar->DeleteTool(IDM_PLAY); m_ToolBar->InsertTool(position, IDM_PLAY, _("Play"), m_Bitmaps[Toolbar_Play], - wxNullBitmap, wxITEM_NORMAL, _("Play")); + WxUtils::CreateDisabledButtonBitmap(m_Bitmaps[Toolbar_Play]), + wxITEM_NORMAL, _("Play")); } m_ToolBar->Realize(); } |
