summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp
diff options
context:
space:
mode:
authorSimon McFarlane <simon@piston.pw>2015-04-27 23:07:47 -0700
committerSimon McFarlane <simon@piston.pw>2015-04-28 01:17:43 -0700
commit8f56138ec45a72ad4ef865f472adc87292d23005 (patch)
treec0b046580de495eb5c274634906407bd228fdd77 /Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp
parentdf7c9664da6fb89b23fc7d1ad90d35d3f9bc4b78 (diff)
Use wxStaticText::Wrap rather than manually inserting newlines
Diffstat (limited to 'Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp')
-rw-r--r--Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp b/Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp
index 8dd69d1e3f..4ce88c4c4d 100644
--- a/Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp
+++ b/Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp
@@ -29,14 +29,15 @@ void AdvancedConfigPane::InitializeGUI()
m_clock_override_slider->Bind(wxEVT_SLIDER, &AdvancedConfigPane::OnClockOverrideSliderChanged, this);
wxStaticText* const clock_override_description = new wxStaticText(this, wxID_ANY,
- _("Higher values can make variable-framerate games\n"
- "run at a higher framerate, at the expense of CPU.\n"
- "Lower values can make variable-framerate games\n"
+ _("Higher values can make variable-framerate games "
+ "run at a higher framerate, at the expense of CPU. "
+ "Lower values can make variable-framerate games "
"run at a lower framerate, saving CPU.\n\n"
- "WARNING: Changing this from the default (100%)\n"
- "can and will break games and cause glitches.\n"
- "Do so at your own risk. Please do not report\n"
- "bugs that occur with a non-default clock.\n"));
+ "WARNING: Changing this from the default (100%) "
+ "can and will break games and cause glitches. "
+ "Do so at your own risk. Please do not report "
+ "bugs that occur with a non-default clock. "));
+ clock_override_description->Wrap(400);
wxBoxSizer* const clock_override_checkbox_sizer = new wxBoxSizer(wxHORIZONTAL);
clock_override_checkbox_sizer->Add(m_clock_override_checkbox);