mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
More work on making dialogs close when escape is pressed, and some general GUI code clean up.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7360 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -82,7 +82,7 @@ WiimoteConfigDiag::WiimoteConfigDiag(wxWindow* const parent, InputPlugin& plugin
|
||||
wxButton* const cancel_button = new wxButton(this, wxID_CANCEL, _("Cancel"), wxDefaultPosition);
|
||||
_connect_macro_(cancel_button, WiimoteConfigDiag::Cancel, wxEVT_COMMAND_BUTTON_CLICKED, this);
|
||||
|
||||
wxBoxSizer* const button_sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||
wxSizer* const button_sizer = CreateButtonSizer(wxNO_DEFAULT);
|
||||
button_sizer->Add(cancel_button, 0, wxALIGN_RIGHT | wxRIGHT, 5);
|
||||
button_sizer->Add(ok_button, 0, wxALIGN_RIGHT);
|
||||
|
||||
|
Reference in New Issue
Block a user