diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-03-05 23:02:34 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-03-05 23:02:34 -0500 |
| commit | b2d47401b20483ef0217b272960803a6a2a335da (patch) | |
| tree | 6bb3218b61658aac04e049d0de32e2d585696049 /Source/Core/DolphinWX/PatchAddEdit.cpp | |
| parent | e5b250fa792ab48f8c4d6adb94c544312f13acd1 (diff) | |
Remove some superfluous arguments from some wx control creations
wx has these as default parameters.
Diffstat (limited to 'Source/Core/DolphinWX/PatchAddEdit.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/PatchAddEdit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
