From b2d47401b20483ef0217b272960803a6a2a335da Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 5 Mar 2014 23:02:34 -0500 Subject: Remove some superfluous arguments from some wx control creations wx has these as default parameters. --- Source/Core/DolphinWX/PatchAddEdit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinWX/PatchAddEdit.cpp') diff --git a/Source/Core/DolphinWX/PatchAddEdit.cpp b/Source/Core/DolphinWX/PatchAddEdit.cpp index ac72e67453..c7e8e0677b 100644 --- a/Source/Core/DolphinWX/PatchAddEdit.cpp +++ b/Source/Core/DolphinWX/PatchAddEdit.cpp @@ -73,7 +73,7 @@ void CPatchAddEdit::CreateGUIControls(int _selection) wxStaticText* EditPatchOffsetText = new wxStaticText(this, ID_EDITPATCH_OFFSET_TEXT, _("Offset:")); EditPatchOffset = new wxTextCtrl(this, ID_EDITPATCH_OFFSET); EditPatchOffset->SetValue(wxString::Format(wxT("%08X"), tempEntries.at(0).address)); - EntrySelection = new wxSpinButton(this, ID_ENTRY_SELECT, wxDefaultPosition, wxDefaultSize, wxVERTICAL); + EntrySelection = new wxSpinButton(this, ID_ENTRY_SELECT); EntrySelection->SetRange(0, (int)tempEntries.size()-1); EntrySelection->SetValue((int)tempEntries.size()-1); wxArrayString wxArrayStringFor_EditPatchType; -- cgit v1.2.3