2019-01-06 03:58:40 +00:00
///////////////////////////////////////////////////////////////////////////
2023-01-08 18:15:20 +00:00
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
2019-01-06 03:58:40 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
2019-01-20 01:45:17 +00:00
# include "dialog_global_lib_table_config_base.h"
2019-01-06 03:58:40 +00:00
///////////////////////////////////////////////////////////////////////////
2019-01-20 01:45:17 +00:00
DIALOG_GLOBAL_LIB_TABLE_CONFIG_BASE : : DIALOG_GLOBAL_LIB_TABLE_CONFIG_BASE ( wxWindow * parent , wxWindowID id , const wxString & title , const wxPoint & pos , const wxSize & size , long style ) : DIALOG_SHIM ( parent , id , title , pos , size , style )
2019-01-06 03:58:40 +00:00
{
this - > SetSizeHints ( wxDefaultSize , wxDefaultSize ) ;
wxBoxSizer * bSizer1 ;
bSizer1 = new wxBoxSizer ( wxHORIZONTAL ) ;
bSizer2 = new wxBoxSizer ( wxVERTICAL ) ;
2020-10-20 19:26:33 +00:00
m_staticText1 = new wxStaticText ( this , wxID_ANY , _ ( " dummy " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-01-06 03:58:40 +00:00
m_staticText1 - > Wrap ( 500 ) ;
bSizer2 - > Add ( m_staticText1 , 0 , wxALL , 5 ) ;
bSizer2 - > Add ( 0 , 0 , 0 , wxALL | wxEXPAND , 5 ) ;
2020-10-20 19:26:33 +00:00
m_defaultRb = new wxRadioButton ( this , wxID_ANY , _ ( " dummy " ) , wxDefaultPosition , wxDefaultSize , wxRB_GROUP ) ;
2019-01-06 03:58:40 +00:00
m_defaultRb - > SetValue ( true ) ;
2020-10-20 19:26:33 +00:00
m_defaultRb - > SetToolTip ( _ ( " dummy " ) ) ;
2019-01-06 03:58:40 +00:00
bSizer2 - > Add ( m_defaultRb , 0 , wxBOTTOM | wxLEFT | wxRIGHT , 5 ) ;
2020-10-20 19:26:33 +00:00
m_customRb = new wxRadioButton ( this , wxID_ANY , _ ( " dummy " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_customRb - > SetToolTip ( _ ( " dummy " ) ) ;
2019-01-06 03:58:40 +00:00
bSizer2 - > Add ( m_customRb , 0 , wxBOTTOM | wxLEFT | wxRIGHT , 5 ) ;
2020-10-20 19:26:33 +00:00
m_emptyRb = new wxRadioButton ( this , wxID_ANY , _ ( " dummy " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_emptyRb - > SetToolTip ( _ ( " dummy " ) ) ;
2019-01-06 03:58:40 +00:00
bSizer2 - > Add ( m_emptyRb , 0 , wxBOTTOM | wxLEFT | wxRIGHT , 5 ) ;
bSizer2 - > Add ( 0 , 0 , 0 , wxALL | wxEXPAND , 5 ) ;
2020-10-20 19:26:33 +00:00
m_staticText2 = new wxStaticText ( this , wxID_ANY , _ ( " dummy " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-01-06 03:58:40 +00:00
m_staticText2 - > Wrap ( - 1 ) ;
bSizer2 - > Add ( m_staticText2 , 0 , wxALL , 5 ) ;
m_filePicker1 = new wxFilePickerCtrl ( this , wxID_ANY , wxEmptyString , _ ( " Select a file " ) , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxFLP_DEFAULT_STYLE | wxFLP_FILE_MUST_EXIST | wxFLP_OPEN ) ;
m_filePicker1 - > Enable ( false ) ;
bSizer2 - > Add ( m_filePicker1 , 0 , wxBOTTOM | wxEXPAND | wxLEFT | wxRIGHT , 5 ) ;
m_sdbSizer1 = new wxStdDialogButtonSizer ( ) ;
m_sdbSizer1OK = new wxButton ( this , wxID_OK ) ;
m_sdbSizer1 - > AddButton ( m_sdbSizer1OK ) ;
2023-03-19 11:30:53 +00:00
m_sdbSizer1Cancel = new wxButton ( this , wxID_CANCEL ) ;
m_sdbSizer1 - > AddButton ( m_sdbSizer1Cancel ) ;
2019-01-06 03:58:40 +00:00
m_sdbSizer1 - > Realize ( ) ;
2023-01-08 18:15:20 +00:00
bSizer2 - > Add ( m_sdbSizer1 , 1 , wxEXPAND | wxTOP , 5 ) ;
2019-01-06 03:58:40 +00:00
bSizer1 - > Add ( bSizer2 , 1 , wxALL | wxEXPAND , 5 ) ;
this - > SetSizer ( bSizer1 ) ;
this - > Layout ( ) ;
bSizer1 - > Fit ( this ) ;
this - > Centre ( wxBOTH ) ;
// Connect Events
2019-01-20 01:45:17 +00:00
m_defaultRb - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_GLOBAL_LIB_TABLE_CONFIG_BASE : : onUpdateDefaultSelection ) , NULL , this ) ;
m_filePicker1 - > Connect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_GLOBAL_LIB_TABLE_CONFIG_BASE : : onUpdateFilePicker ) , NULL , this ) ;
2019-01-06 03:58:40 +00:00
}
2019-01-20 01:45:17 +00:00
DIALOG_GLOBAL_LIB_TABLE_CONFIG_BASE : : ~ DIALOG_GLOBAL_LIB_TABLE_CONFIG_BASE ( )
2019-01-06 03:58:40 +00:00
{
// Disconnect Events
2019-01-20 01:45:17 +00:00
m_defaultRb - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_GLOBAL_LIB_TABLE_CONFIG_BASE : : onUpdateDefaultSelection ) , NULL , this ) ;
m_filePicker1 - > Disconnect ( wxEVT_UPDATE_UI , wxUpdateUIEventHandler ( DIALOG_GLOBAL_LIB_TABLE_CONFIG_BASE : : onUpdateFilePicker ) , NULL , this ) ;
2019-01-06 03:58:40 +00:00
}