Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #816 from Sonicadvance1/fix-not-button
Fix the Not button showing up in the advanced control dialog.
  • Loading branch information
Sonicadvance1 committed Aug 16, 2014
2 parents 239e04d + 9afc169 commit 7a2fe73
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Source/Core/DolphinWX/InputConfigDiag.cpp
Expand Up @@ -564,9 +564,6 @@ wxStaticBoxSizer* ControlDialog::CreateControlChooser(GamepadPage* const parent)
wxButton* const select_button = new wxButton(this, -1, _("Select"));
select_button->Bind(wxEVT_BUTTON, &ControlDialog::SetSelectedControl, this);

wxButton* const not_button = new wxButton(this, -1, _("! NOT"));
not_button->Bind(wxEVT_BUTTON, &ControlDialog::AppendControl, this);

wxButton* const or_button = new wxButton(this, -1, _("| OR"));
or_button->Bind(wxEVT_BUTTON, &ControlDialog::AppendControl, this);

Expand All @@ -581,9 +578,11 @@ wxStaticBoxSizer* ControlDialog::CreateControlChooser(GamepadPage* const parent)
{
// TODO: check if && is good on other OS
wxButton* const and_button = new wxButton(this, -1, _("&& AND"));
wxButton* const not_button = new wxButton(this, -1, _("! NOT"));
wxButton* const add_button = new wxButton(this, -1, _("+ ADD"));

and_button->Bind(wxEVT_BUTTON, &ControlDialog::AppendControl, this);
not_button->Bind(wxEVT_BUTTON, &ControlDialog::AppendControl, this);
add_button->Bind(wxEVT_BUTTON, &ControlDialog::AppendControl, this);

button_sizer->Add(and_button, 1, 0, 5);
Expand Down

0 comments on commit 7a2fe73

Please sign in to comment.