51
51
52
52
#include " util/ScreenSaver/ScreenSaver.h"
53
53
54
- const wxString kDirectSound (wxT( " DirectSound" ) );
55
- const wxString kXAudio27 (wxT( " XAudio2.7" ) );
56
- const wxString kXAudio2 (wxT( " XAudio2" ) );
57
- const wxString kCubeb (wxT( " Cubeb" ) );
58
-
59
- const wxString kPropertyPersistentId (wxT( " PersistentId" ) );
60
- const wxString kPropertyMiiName (wxT( " MiiName" ) );
61
- const wxString kPropertyBirthday (wxT( " Birthday" ) );
62
- const wxString kPropertyGender (wxT( " Gender" ) );
63
- const wxString kPropertyEmail (wxT( " Email" ) );
64
- const wxString kPropertyCountry (wxT( " Country" ) );
54
+ const wxString kDirectSound (" DirectSound" );
55
+ const wxString kXAudio27 (" XAudio2.7" );
56
+ const wxString kXAudio2 (" XAudio2" );
57
+ const wxString kCubeb (" Cubeb" );
58
+
59
+ const wxString kPropertyPersistentId (" PersistentId" );
60
+ const wxString kPropertyMiiName (" MiiName" );
61
+ const wxString kPropertyBirthday (" Birthday" );
62
+ const wxString kPropertyGender (" Gender" );
63
+ const wxString kPropertyEmail (" Email" );
64
+ const wxString kPropertyCountry (" Country" );
65
65
66
66
wxDEFINE_EVENT (wxEVT_ACCOUNTLIST_REFRESH, wxCommandEvent);
67
67
@@ -211,7 +211,7 @@ wxPanel* GeneralSettings2::AddGeneralPage(wxNotebook* notebook)
211
211
212
212
box_sizer->Add (m_mlc_path, 1 , wxALL | wxEXPAND, 5 );
213
213
214
- auto * change_path = new wxButton (box, wxID_ANY, wxT ( " ..." ) );
214
+ auto * change_path = new wxButton (box, wxID_ANY, " ..." );
215
215
change_path->Bind (wxEVT_BUTTON, &GeneralSettings2::OnMLCPathSelect, this );
216
216
change_path->SetToolTip (_ (" Select a custom mlc path\n The mlc path is used to store Wii U related files like save games, game updates and dlc data" ));
217
217
box_sizer->Add (change_path, 0 , wxALL, 5 );
@@ -369,7 +369,7 @@ wxPanel* GeneralSettings2::AddAudioPage(wxNotebook* notebook)
369
369
m_audio_latency = new wxSlider (box, wxID_ANY, 2 , 0 , IAudioAPI::kBlockCount - 1 , wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL);
370
370
m_audio_latency->SetToolTip (_ (" Controls the amount of buffered audio data\n Higher values will create a delay in audio playback, but may avoid audio problems when emulation is too slow" ));
371
371
audio_general_row->Add (m_audio_latency, 0 , wxEXPAND | wxALL, 5 );
372
- auto latency_text = new wxStaticText (box, wxID_ANY, wxT ( " 24ms" ) );
372
+ auto latency_text = new wxStaticText (box, wxID_ANY, " 24ms" );
373
373
audio_general_row->Add (latency_text, 0 , wxALIGN_CENTER_VERTICAL | wxALL | wxALIGN_RIGHT, 5 );
374
374
m_audio_latency->Bind (wxEVT_SLIDER, &GeneralSettings2::OnLatencySliderChanged, this , wxID_ANY, wxID_ANY, new wxControlObject (latency_text));
375
375
m_audio_latency->Bind (wxEVT_SLIDER, &GeneralSettings2::OnAudioLatencyChanged, this );
@@ -408,7 +408,7 @@ wxPanel* GeneralSettings2::AddAudioPage(wxNotebook* notebook)
408
408
audio_tv_row->Add (new wxStaticText (box, wxID_ANY, _ (" Volume" )), 0 , wxALIGN_CENTER_VERTICAL | wxALL, 5 );
409
409
m_tv_volume = new wxSlider (box, wxID_ANY, 100 , 0 , 100 , wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL);
410
410
audio_tv_row->Add (m_tv_volume, 0 , wxEXPAND | wxALL, 5 );
411
- auto audio_tv_volume_text = new wxStaticText (box, wxID_ANY, wxT ( " 100%" ) );
411
+ auto audio_tv_volume_text = new wxStaticText (box, wxID_ANY, " 100%" );
412
412
audio_tv_row->Add (audio_tv_volume_text, 0 , wxALIGN_CENTER_VERTICAL | wxALL | wxALIGN_RIGHT, 5 );
413
413
414
414
m_tv_volume->Bind (wxEVT_SLIDER, &GeneralSettings2::OnSliderChangedPercent, this , wxID_ANY, wxID_ANY, new wxControlObject (audio_tv_volume_text));
@@ -449,7 +449,7 @@ wxPanel* GeneralSettings2::AddAudioPage(wxNotebook* notebook)
449
449
audio_pad_row->Add (new wxStaticText (box, wxID_ANY, _ (" Volume" )), 0 , wxALIGN_CENTER_VERTICAL | wxALL, 5 );
450
450
m_pad_volume = new wxSlider (box, wxID_ANY, 100 , 0 , 100 );
451
451
audio_pad_row->Add (m_pad_volume, 0 , wxEXPAND | wxALL, 5 );
452
- auto audio_pad_volume_text = new wxStaticText (box, wxID_ANY, wxT ( " 100%" ) );
452
+ auto audio_pad_volume_text = new wxStaticText (box, wxID_ANY, " 100%" );
453
453
audio_pad_row->Add (audio_pad_volume_text, 0 , wxALIGN_CENTER_VERTICAL | wxALL | wxALIGN_RIGHT, 5 );
454
454
455
455
m_pad_volume->Bind (wxEVT_SLIDER, &GeneralSettings2::OnSliderChangedPercent, this , wxID_ANY, wxID_ANY, new wxControlObject (audio_pad_volume_text));
@@ -490,7 +490,7 @@ wxPanel* GeneralSettings2::AddAudioPage(wxNotebook* notebook)
490
490
audio_input_row->Add (new wxStaticText (box, wxID_ANY, _ (" Volume" )), 0 , wxALIGN_CENTER_VERTICAL | wxALL, 5 );
491
491
m_input_volume = new wxSlider (box, wxID_ANY, 100 , 0 , 100 );
492
492
audio_input_row->Add (m_input_volume, 0 , wxEXPAND | wxALL, 5 );
493
- auto audio_input_volume_text = new wxStaticText (box, wxID_ANY, wxT ( " 100%" ) );
493
+ auto audio_input_volume_text = new wxStaticText (box, wxID_ANY, " 100%" );
494
494
audio_input_row->Add (audio_input_volume_text, 0 , wxALIGN_CENTER_VERTICAL | wxALL | wxALIGN_RIGHT, 5 );
495
495
496
496
m_input_volume->Bind (wxEVT_SLIDER, &GeneralSettings2::OnSliderChangedPercent, this , wxID_ANY, wxID_ANY, new wxControlObject (audio_input_volume_text));
@@ -747,7 +747,7 @@ wxPanel* GeneralSettings2::AddAccountPage(wxNotebook* notebook)
747
747
m_account_grid->SetMinSize ({ 300 , -1 });
748
748
// m_account_grid->Append(new wxPropertyCategory("Main"));
749
749
750
- auto * persistent_id_gprop = m_account_grid->Append (new wxStringProperty (wxT ( " PersistentId" ) , kPropertyPersistentId ));
750
+ auto * persistent_id_gprop = m_account_grid->Append (new wxStringProperty (" PersistentId" , kPropertyPersistentId ));
751
751
persistent_id_gprop->SetHelpString (_ (" The persistent id is the internal folder name used for your saves" ));
752
752
m_account_grid->SetPropertyReadOnly (persistent_id_gprop);
753
753
@@ -757,7 +757,7 @@ wxPanel* GeneralSettings2::AddAccountPage(wxNotebook* notebook)
757
757
wxPGChoices gender;
758
758
gender.Add (_ (" Female" ), 0 );
759
759
gender.Add (_ (" Male" ), 1 );
760
- m_account_grid->Append (new wxEnumProperty (" Gender" , kPropertyGender , gender));
760
+ m_account_grid->Append (new wxEnumProperty (_ ( " Gender" ) , kPropertyGender , gender));
761
761
762
762
m_account_grid->Append (new wxStringProperty (_ (" Email" ), kPropertyEmail ));
763
763
@@ -821,7 +821,7 @@ wxPanel* GeneralSettings2::AddDebugPage(wxNotebook* notebook)
821
821
822
822
debug_row->Add (new wxStaticText (panel, wxID_ANY, _ (" GDB Stub port" ), wxDefaultPosition, wxDefaultSize, 0 ), 0 , wxALIGN_CENTER_VERTICAL | wxALL, 5 );
823
823
824
- m_gdb_port = new wxSpinCtrl (panel, wxID_ANY, wxT ( " 1337" ) , wxDefaultPosition, wxDefaultSize, 0 , 1000 , 65535 );
824
+ m_gdb_port = new wxSpinCtrl (panel, wxID_ANY, " 1337" , wxDefaultPosition, wxDefaultSize, 0 , 1000 , 65535 );
825
825
m_gdb_port->SetToolTip (_ (" Changes the port that the GDB stub will use, which you can use by either starting Cemu with the --enable-gdbstub option or by enabling it the Debug tab." ));
826
826
827
827
debug_row->Add (m_gdb_port, 0 , wxALL | wxEXPAND, 5 );
0 commit comments