2013-05-25 23:36:44 -05:00
///////////////////////////////////////////////////////////////////////////
2016-01-04 19:31:35 -05:00
// C++ code generated with wxFormBuilder (version Dec 28 2015)
2013-05-25 23:36:44 -05:00
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
# include "dialog_hotkeys_editor_base.h"
///////////////////////////////////////////////////////////////////////////
2013-09-21 19:09:08 +02:00
HOTKEYS_EDITOR_DIALOG_BASE : : HOTKEYS_EDITOR_DIALOG_BASE ( wxWindow * parent , wxWindowID id , const wxString & title , const wxPoint & pos , const wxSize & size , long style ) : DIALOG_SHIM ( parent , id , title , pos , size , style )
2013-05-25 23:36:44 -05:00
{
this - > SetSizeHints ( wxDefaultSize , wxDefaultSize ) ;
2016-01-05 13:46:45 -05:00
m_mainSizer = new wxBoxSizer ( wxVERTICAL ) ;
2013-05-25 23:36:44 -05:00
2014-10-15 21:17:46 -04:00
m_staticText1 = new wxStaticText ( this , wxID_ANY , _ ( " Select a row and press a new key combination to alter the binding. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticText1 - > Wrap ( 400 ) ;
2016-01-05 13:46:45 -05:00
m_mainSizer - > Add ( m_staticText1 , 0 , wxALL | wxEXPAND , 5 ) ;
2013-05-25 23:36:44 -05:00
wxBoxSizer * b_buttonsSizer ;
2014-10-15 21:17:46 -04:00
b_buttonsSizer = new wxBoxSizer ( wxHORIZONTAL ) ;
2013-05-25 23:36:44 -05:00
2016-01-04 19:31:35 -05:00
m_resetButton = new wxButton ( this , wxID_RESET , _ ( " Reset " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
b_buttonsSizer - > Add ( m_resetButton , 0 , wxALL | wxEXPAND , 5 ) ;
b_buttonsSizer - > Add ( 0 , 0 , 1 , wxEXPAND , 5 ) ;
2015-10-16 10:53:57 +02:00
m_sdbSizer = new wxStdDialogButtonSizer ( ) ;
m_sdbSizerOK = new wxButton ( this , wxID_OK ) ;
m_sdbSizer - > AddButton ( m_sdbSizerOK ) ;
m_sdbSizerCancel = new wxButton ( this , wxID_CANCEL ) ;
m_sdbSizer - > AddButton ( m_sdbSizerCancel ) ;
m_sdbSizer - > Realize ( ) ;
2013-05-25 23:36:44 -05:00
2015-10-16 10:53:57 +02:00
b_buttonsSizer - > Add ( m_sdbSizer , 0 , wxEXPAND | wxTOP | wxBOTTOM , 5 ) ;
2013-05-25 23:36:44 -05:00
2013-09-21 19:09:08 +02:00
2016-01-05 13:46:45 -05:00
m_mainSizer - > Add ( b_buttonsSizer , 0 , wxALIGN_RIGHT | wxEXPAND , 5 ) ;
2013-05-25 23:36:44 -05:00
2013-09-21 19:09:08 +02:00
2016-01-05 13:46:45 -05:00
this - > SetSizer ( m_mainSizer ) ;
2013-05-25 23:36:44 -05:00
this - > Layout ( ) ;
// Connect Events
2016-01-04 19:31:35 -05:00
m_resetButton - > Connect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( HOTKEYS_EDITOR_DIALOG_BASE : : ResetClicked ) , NULL , this ) ;
2013-05-25 23:36:44 -05:00
}
HOTKEYS_EDITOR_DIALOG_BASE : : ~ HOTKEYS_EDITOR_DIALOG_BASE ( )
{
// Disconnect Events
2016-01-04 19:31:35 -05:00
m_resetButton - > Disconnect ( wxEVT_COMMAND_BUTTON_CLICKED , wxCommandEventHandler ( HOTKEYS_EDITOR_DIALOG_BASE : : ResetClicked ) , NULL , this ) ;
2013-05-25 23:36:44 -05:00
}