diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-04-20 21:51:23 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-04-20 21:51:30 -0400 |
| commit | ebe022226517937436c5fd2593ef2972d93fd0c6 (patch) | |
| tree | e630e9ff12c0ac5861b3a2b05eb0947477d931bc /Source/Core/DolphinWX/FrameTools.cpp | |
| parent | 571eee86485789872c1ad81676fbaf9d7cf659b7 (diff) | |
FrameTools: Use AppendRadioItem for constructing the frameskip menu
Same thing, less code.
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 4f62909422..f2210e50d5 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -170,7 +170,7 @@ wxMenuBar* CFrame::CreateMenu() wxMenu *skippingMenu = new wxMenu; emulationMenu->AppendSubMenu(skippingMenu, _("Frame S&kipping")); for (int i = 0; i < 10; i++) - skippingMenu->Append(IDM_FRAME_SKIP_0 + i, wxString::Format("%i", i), wxEmptyString, wxITEM_RADIO); + skippingMenu->AppendRadioItem(IDM_FRAME_SKIP_0 + i, wxString::Format("%i", i)); skippingMenu->Check(IDM_FRAME_SKIP_0 + SConfig::GetInstance().m_FrameSkip, true); Movie::SetFrameSkipping(SConfig::GetInstance().m_FrameSkip); |
