From 6728f876775a5074bcb2208683d3f36d0c28c1a7 Mon Sep 17 00:00:00 2001 From: Simon McFarlane Date: Wed, 29 Apr 2015 21:49:58 -0700 Subject: [PATCH] Add size to CPU clock override slider Fixes slider having 0 width on wxGTK --- Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp b/Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp index 4ce88c4c4d..ed47796667 100644 --- a/Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp +++ b/Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp @@ -22,7 +22,7 @@ AdvancedConfigPane::AdvancedConfigPane(wxWindow* parent, wxWindowID id) void AdvancedConfigPane::InitializeGUI() { m_clock_override_checkbox = new wxCheckBox(this, wxID_ANY, _("Enable CPU Clock Override")); - m_clock_override_slider = new wxSlider(this, wxID_ANY, 100, 0, 150); + m_clock_override_slider = new wxSlider(this, wxID_ANY, 100, 0, 150, wxDefaultPosition, wxSize(200,-1)); m_clock_override_text = new wxStaticText(this, wxID_ANY, ""); m_clock_override_checkbox->Bind(wxEVT_CHECKBOX, &AdvancedConfigPane::OnClockOverrideCheckBoxChanged, this);