2019-01-06 03:58:40 +00:00
///////////////////////////////////////////////////////////////////////////
2019-01-20 01:45:17 +00:00
// C++ code generated with wxFormBuilder (version Jan 5 2019)
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 ) ;
2019-01-20 01:45:17 +00:00
m_staticText1 = new wxStaticText ( this , wxID_ANY , _ ( " Temp " ) , 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 ) ;
2019-01-20 01:45:17 +00:00
m_defaultRb = new wxRadioButton ( this , wxID_ANY , _ ( " temp1 " ) , wxDefaultPosition , wxDefaultSize , wxRB_GROUP ) ;
2019-01-06 03:58:40 +00:00
m_defaultRb - > SetValue ( true ) ;
2019-01-20 01:45:17 +00:00
m_defaultRb - > SetToolTip ( _ ( " Temp " ) ) ;
2019-01-06 03:58:40 +00:00
bSizer2 - > Add ( m_defaultRb , 0 , wxBOTTOM | wxLEFT | wxRIGHT , 5 ) ;
2019-01-20 01:45:17 +00:00
m_customRb = new wxRadioButton ( this , wxID_ANY , _ ( " temp2 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_customRb - > SetToolTip ( _ ( " Temp " ) ) ;
2019-01-06 03:58:40 +00:00
bSizer2 - > Add ( m_customRb , 0 , wxBOTTOM | wxLEFT | wxRIGHT , 5 ) ;
2019-01-20 01:45:17 +00:00
m_emptyRb = new wxRadioButton ( this , wxID_ANY , _ ( " temp3 " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_emptyRb - > SetToolTip ( _ ( " Temp " ) ) ;
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 ) ;
2019-01-20 01:45:17 +00:00
m_staticText2 = new wxStaticText ( this , wxID_ANY , _ ( " temp " ) , 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_staticline1 = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
bSizer2 - > Add ( m_staticline1 , 0 , wxEXPAND | wxALL , 5 ) ;
m_sdbSizer1 = new wxStdDialogButtonSizer ( ) ;
m_sdbSizer1OK = new wxButton ( this , wxID_OK ) ;
m_sdbSizer1 - > AddButton ( m_sdbSizer1OK ) ;
m_sdbSizer1 - > Realize ( ) ;
bSizer2 - > Add ( m_sdbSizer1 , 1 , wxEXPAND , 5 ) ;
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
}