diff options
| author | Stevoisiak <Stevoisiak@gmail.com> | 2015-02-15 14:43:31 -0500 |
|---|---|---|
| committer | Stevoisiak <Stevoisiak@gmail.com> | 2015-02-25 10:48:21 -0500 |
| commit | 93b16a4a2d5f3e6d467d1315c461aff12852b26c (patch) | |
| tree | 0993e6ce422ae33a850466e8da285421a462e79f /Source/Core/DolphinWX/PatchAddEdit.cpp | |
| parent | b8edd8aedc75ae4e2abd8c5558af94e98c7bebcb (diff) | |
Formatting/Whitespace Cleanup
Various fixes to formatting and whitespace
Diffstat (limited to 'Source/Core/DolphinWX/PatchAddEdit.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/PatchAddEdit.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Source/Core/DolphinWX/PatchAddEdit.cpp b/Source/Core/DolphinWX/PatchAddEdit.cpp index 6b02f252e0..9b4b201a47 100644 --- a/Source/Core/DolphinWX/PatchAddEdit.cpp +++ b/Source/Core/DolphinWX/PatchAddEdit.cpp @@ -70,8 +70,8 @@ void CPatchAddEdit::CreateGUIControls(int _selection) EntrySelection = new wxSpinButton(this); EntrySelection->Bind(wxEVT_SPIN, &CPatchAddEdit::ChangeEntry, this); - EntrySelection->SetRange(0, (int)tempEntries.size()-1); - EntrySelection->SetValue((int)tempEntries.size()-1); + EntrySelection->SetRange(0, (int)tempEntries.size() - 1); + EntrySelection->SetValue((int)tempEntries.size() - 1); wxArrayString wxArrayStringFor_EditPatchType; for (int i = 0; i < 3; ++i) @@ -92,19 +92,19 @@ void CPatchAddEdit::CreateGUIControls(int _selection) EntryRemove->Disable(); wxBoxSizer* sEditPatchName = new wxBoxSizer(wxHORIZONTAL); - sEditPatchName->Add(EditPatchNameText, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); - sEditPatchName->Add(EditPatchName, 1, wxEXPAND|wxALL, 5); + sEditPatchName->Add(EditPatchNameText, 0, wxALIGN_CENTER_VERTICAL | wxALL, 5); + sEditPatchName->Add(EditPatchName, 1, wxEXPAND | wxALL, 5); sEditPatch->Add(sEditPatchName, 0, wxEXPAND); sbEntry = new wxStaticBoxSizer(wxVERTICAL, this, wxString::Format(_("Entry 1/%d"), (int)tempEntries.size())); currentItem = 1; wxGridBagSizer* sgEntry = new wxGridBagSizer(0, 0); - sgEntry->Add(EditPatchType, wxGBPosition(0, 0), wxGBSpan(1, 2), wxEXPAND|wxALL, 5); - sgEntry->Add(EditPatchOffsetText, wxGBPosition(1, 0), wxGBSpan(1, 1), wxALIGN_CENTER_VERTICAL|wxALL, 5); - sgEntry->Add(EditPatchOffset, wxGBPosition(1, 1), wxGBSpan(1, 1), wxEXPAND|wxALL, 5); - sgEntry->Add(EditPatchValueText, wxGBPosition(2, 0), wxGBSpan(1, 1), wxALIGN_CENTER_VERTICAL|wxALL, 5); - sgEntry->Add(EditPatchValue, wxGBPosition(2, 1), wxGBSpan(1, 1), wxEXPAND|wxALL, 5); - sgEntry->Add(EntrySelection, wxGBPosition(0, 2), wxGBSpan(3, 1), wxEXPAND|wxALL, 5); + sgEntry->Add(EditPatchType, wxGBPosition(0, 0), wxGBSpan(1, 2), wxEXPAND | wxALL, 5); + sgEntry->Add(EditPatchOffsetText, wxGBPosition(1, 0), wxGBSpan(1, 1), wxALIGN_CENTER_VERTICAL | wxALL, 5); + sgEntry->Add(EditPatchOffset, wxGBPosition(1, 1), wxGBSpan(1, 1), wxEXPAND | wxALL, 5); + sgEntry->Add(EditPatchValueText, wxGBPosition(2, 0), wxGBSpan(1, 1), wxALIGN_CENTER_VERTICAL | wxALL, 5); + sgEntry->Add(EditPatchValue, wxGBPosition(2, 1), wxGBSpan(1, 1), wxEXPAND | wxALL, 5); + sgEntry->Add(EntrySelection, wxGBPosition(0, 2), wxGBSpan(3, 1), wxEXPAND | wxALL, 5); sgEntry->AddGrowableCol(1); wxBoxSizer* sEntryAddRemove = new wxBoxSizer(wxHORIZONTAL); @@ -113,8 +113,8 @@ void CPatchAddEdit::CreateGUIControls(int _selection) sbEntry->Add(sgEntry, 0, wxEXPAND); sbEntry->Add(sEntryAddRemove, 0, wxEXPAND); - sEditPatch->Add(sbEntry, 0, wxEXPAND|wxALL, 5); - sEditPatch->Add(CreateButtonSizer(wxOK | wxCANCEL), 0, wxEXPAND|wxLEFT|wxRIGHT|wxBOTTOM, 5); + sEditPatch->Add(sbEntry, 0, wxEXPAND | wxALL, 5); + sEditPatch->Add(CreateButtonSizer(wxOK | wxCANCEL), 0, wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM, 5); SetSizerAndFit(sEditPatch); SetFocus(); } |
