2013-05-23 18:45:23 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2022-12-13 20:47:28 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
|
2013-05-23 18:45:23 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-26 14:38:45 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-23 18:45:23 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2022-12-13 20:47:28 +00:00
|
|
|
#include "widgets/std_bitmap_button.h"
|
|
|
|
|
2013-05-23 18:45:23 +00:00
|
|
|
#include "dialog_page_settings_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
DIALOG_PAGES_SETTINGS_BASE::DIALOG_PAGES_SETTINGS_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
|
|
|
|
{
|
|
|
|
this->SetSizeHints( wxDefaultSize, wxDefaultSize );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-23 18:45:23 +00:00
|
|
|
wxBoxSizer* bMainSizer;
|
|
|
|
bMainSizer = new wxBoxSizer( wxVERTICAL );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-23 18:45:23 +00:00
|
|
|
wxBoxSizer* bUpperSizerH;
|
|
|
|
bUpperSizerH = new wxBoxSizer( wxHORIZONTAL );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-28 08:05:10 +00:00
|
|
|
wxBoxSizer* bleftSizer;
|
|
|
|
bleftSizer = new wxBoxSizer( wxVERTICAL );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-28 08:05:10 +00:00
|
|
|
m_staticTextPaper = new wxStaticText( this, wxID_ANY, _("Paper"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextPaper->Wrap( -1 );
|
2023-08-07 12:37:40 +00:00
|
|
|
bleftSizer->Add( m_staticTextPaper, 0, wxALIGN_CENTER_HORIZONTAL|wxTOP|wxRIGHT|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-28 09:49:53 +00:00
|
|
|
m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
|
2023-08-07 12:37:40 +00:00
|
|
|
bleftSizer->Add( m_staticline2, 0, wxEXPAND|wxTOP, 1 );
|
|
|
|
|
|
|
|
|
|
|
|
bleftSizer->Add( 0, 10, 0, wxEXPAND, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-28 08:05:10 +00:00
|
|
|
m_staticTextSize = new wxStaticText( this, wxID_ANY, _("Size:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextSize->Wrap( -1 );
|
|
|
|
bleftSizer->Add( m_staticTextSize, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-23 18:45:23 +00:00
|
|
|
wxString m_paperSizeComboBoxChoices[] = { _("dummy text") };
|
|
|
|
int m_paperSizeComboBoxNChoices = sizeof( m_paperSizeComboBoxChoices ) / sizeof( wxString );
|
2014-02-27 19:53:04 +00:00
|
|
|
m_paperSizeComboBox = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_paperSizeComboBoxNChoices, m_paperSizeComboBoxChoices, 0 );
|
2013-05-23 18:45:23 +00:00
|
|
|
m_paperSizeComboBox->SetSelection( 0 );
|
2013-05-28 08:05:10 +00:00
|
|
|
bleftSizer->Add( m_paperSizeComboBox, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2020-04-19 11:34:01 +00:00
|
|
|
|
|
|
|
bleftSizer->Add( 0, 3, 0, wxEXPAND, 5 );
|
|
|
|
|
2013-05-28 08:05:10 +00:00
|
|
|
m_staticTextOrient = new wxStaticText( this, wxID_ANY, _("Orientation:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextOrient->Wrap( -1 );
|
2020-04-19 11:34:01 +00:00
|
|
|
bleftSizer->Add( m_staticTextOrient, 0, wxRIGHT|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-23 18:45:23 +00:00
|
|
|
wxString m_orientationComboBoxChoices[] = { _("Landscape"), _("Portrait") };
|
|
|
|
int m_orientationComboBoxNChoices = sizeof( m_orientationComboBoxChoices ) / sizeof( wxString );
|
2015-06-14 17:58:57 +00:00
|
|
|
m_orientationComboBox = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_orientationComboBoxNChoices, m_orientationComboBoxChoices, 0 );
|
2013-05-23 18:45:23 +00:00
|
|
|
m_orientationComboBox->SetSelection( 0 );
|
2013-05-28 08:05:10 +00:00
|
|
|
bleftSizer->Add( m_orientationComboBox, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_staticTextCustSize = new wxStaticText( this, wxID_ANY, _("Custom paper size:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-28 08:05:10 +00:00
|
|
|
m_staticTextCustSize->Wrap( -1 );
|
|
|
|
bleftSizer->Add( m_staticTextCustSize, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2020-04-19 11:34:01 +00:00
|
|
|
|
|
|
|
bleftSizer->Add( 0, 2, 0, wxEXPAND, 5 );
|
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
wxFlexGridSizer* fgSizer1;
|
2020-04-19 11:34:01 +00:00
|
|
|
fgSizer1 = new wxFlexGridSizer( 0, 3, 3, 0 );
|
2018-06-14 08:26:11 +00:00
|
|
|
fgSizer1->SetFlexibleDirection( wxBOTH );
|
|
|
|
fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_userSizeYLabel = new wxStaticText( this, wxID_ANY, _("Height:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_userSizeYLabel->Wrap( -1 );
|
2020-04-19 11:34:01 +00:00
|
|
|
fgSizer1->Add( m_userSizeYLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_userSizeYCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_LEFT );
|
2017-12-26 14:38:45 +00:00
|
|
|
#ifdef __WXGTK__
|
2018-06-14 08:26:11 +00:00
|
|
|
if ( !m_userSizeYCtrl->HasFlag( wxTE_MULTILINE ) )
|
2017-12-26 14:38:45 +00:00
|
|
|
{
|
2018-06-14 08:26:11 +00:00
|
|
|
m_userSizeYCtrl->SetMaxLength( -1 );
|
2017-12-26 14:38:45 +00:00
|
|
|
}
|
|
|
|
#else
|
2018-06-14 08:26:11 +00:00
|
|
|
m_userSizeYCtrl->SetMaxLength( -1 );
|
2017-12-26 14:38:45 +00:00
|
|
|
#endif
|
2018-06-14 08:26:11 +00:00
|
|
|
m_userSizeYCtrl->SetToolTip( _("Custom paper height.") );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2020-04-19 11:34:01 +00:00
|
|
|
fgSizer1->Add( m_userSizeYCtrl, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_userSizeYUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_userSizeYUnits->Wrap( -1 );
|
2020-04-19 11:34:01 +00:00
|
|
|
fgSizer1->Add( m_userSizeYUnits, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_userSizeXLabel = new wxStaticText( this, wxID_ANY, _("Width:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_userSizeXLabel->Wrap( -1 );
|
2020-04-19 11:34:01 +00:00
|
|
|
fgSizer1->Add( m_userSizeXLabel, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_userSizeXCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_LEFT );
|
2017-12-26 14:38:45 +00:00
|
|
|
#ifdef __WXGTK__
|
2018-06-14 08:26:11 +00:00
|
|
|
if ( !m_userSizeXCtrl->HasFlag( wxTE_MULTILINE ) )
|
2017-12-26 14:38:45 +00:00
|
|
|
{
|
2018-06-14 08:26:11 +00:00
|
|
|
m_userSizeXCtrl->SetMaxLength( -1 );
|
2017-12-26 14:38:45 +00:00
|
|
|
}
|
|
|
|
#else
|
2018-06-14 08:26:11 +00:00
|
|
|
m_userSizeXCtrl->SetMaxLength( -1 );
|
2017-12-26 14:38:45 +00:00
|
|
|
#endif
|
2018-06-14 08:26:11 +00:00
|
|
|
m_userSizeXCtrl->SetToolTip( _("Custom paper width.") );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2020-04-19 11:34:01 +00:00
|
|
|
fgSizer1->Add( m_userSizeXCtrl, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
m_userSizeXUnits = new wxStaticText( this, wxID_ANY, _("unit"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_userSizeXUnits->Wrap( -1 );
|
2020-04-19 11:34:01 +00:00
|
|
|
fgSizer1->Add( m_userSizeXUnits, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
bleftSizer->Add( fgSizer1, 0, wxEXPAND|wxBOTTOM, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2020-04-19 11:34:01 +00:00
|
|
|
m_PaperExport = new wxCheckBox( this, wxID_ANY, _("Export to other sheets"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
bleftSizer->Add( m_PaperExport, 0, wxALL, 4 );
|
|
|
|
|
2021-09-23 15:44:39 +00:00
|
|
|
|
|
|
|
bleftSizer->Add( 0, 20, 0, wxEXPAND, 5 );
|
2020-04-19 11:34:01 +00:00
|
|
|
|
|
|
|
m_staticTextPreview = new wxStaticText( this, wxID_ANY, _("Preview"), wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-28 08:05:10 +00:00
|
|
|
m_staticTextPreview->Wrap( -1 );
|
2023-08-07 12:37:40 +00:00
|
|
|
bleftSizer->Add( m_staticTextPreview, 0, wxALIGN_CENTER_HORIZONTAL|wxTOP|wxRIGHT|wxLEFT, 5 );
|
2021-09-23 15:44:39 +00:00
|
|
|
|
|
|
|
m_staticline31 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
|
2023-08-07 12:37:40 +00:00
|
|
|
bleftSizer->Add( m_staticline31, 0, wxEXPAND|wxTOP, 1 );
|
|
|
|
|
|
|
|
|
|
|
|
bleftSizer->Add( 0, 12, 0, wxEXPAND, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2019-07-10 22:15:57 +00:00
|
|
|
m_PageLayoutExampleBitmap = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( -1,-1 ), wxFULL_REPAINT_ON_RESIZE|wxBORDER_SIMPLE );
|
2013-05-23 18:45:23 +00:00
|
|
|
m_PageLayoutExampleBitmap->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
|
|
|
|
m_PageLayoutExampleBitmap->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2015-06-15 13:54:58 +00:00
|
|
|
bleftSizer->Add( m_PageLayoutExampleBitmap, 1, wxALL|wxEXPAND, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
|
2021-09-23 15:44:39 +00:00
|
|
|
bUpperSizerH->Add( bleftSizer, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
|
2023-08-07 12:37:40 +00:00
|
|
|
bUpperSizerH->Add( 15, 0, 0, wxEXPAND, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-28 08:05:10 +00:00
|
|
|
wxBoxSizer* bSizerRight;
|
|
|
|
bSizerRight = new wxBoxSizer( wxVERTICAL );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2021-09-23 15:44:39 +00:00
|
|
|
m_staticTextDrawingSheet = new wxStaticText( this, wxID_ANY, _("Drawing Sheet"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextDrawingSheet->Wrap( -1 );
|
2023-08-07 12:37:40 +00:00
|
|
|
bSizerRight->Add( m_staticTextDrawingSheet, 0, wxALIGN_CENTER_HORIZONTAL|wxTOP|wxRIGHT|wxLEFT, 5 );
|
2021-09-23 15:44:39 +00:00
|
|
|
|
|
|
|
m_staticline4 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
|
2023-08-07 12:37:40 +00:00
|
|
|
bSizerRight->Add( m_staticline4, 0, wxEXPAND|wxTOP, 1 );
|
|
|
|
|
|
|
|
|
|
|
|
bSizerRight->Add( 0, 10, 0, wxEXPAND, 5 );
|
2021-09-23 15:44:39 +00:00
|
|
|
|
|
|
|
wxBoxSizer* bSizerFilename;
|
|
|
|
bSizerFilename = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
|
|
|
wxBoxSizer* bSizerfileSelection;
|
|
|
|
bSizerfileSelection = new wxBoxSizer( wxHORIZONTAL );
|
|
|
|
|
|
|
|
m_staticText30 = new wxStaticText( this, wxID_ANY, _("File:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticText30->Wrap( -1 );
|
2023-01-08 18:15:20 +00:00
|
|
|
bSizerfileSelection->Add( m_staticText30, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP, 5 );
|
2021-09-23 15:44:39 +00:00
|
|
|
|
|
|
|
m_textCtrlFilePicker = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
2023-01-08 18:15:20 +00:00
|
|
|
bSizerfileSelection->Add( m_textCtrlFilePicker, 1, wxALIGN_CENTER_VERTICAL|wxLEFT|wxTOP, 5 );
|
2021-09-23 15:44:39 +00:00
|
|
|
|
2022-12-13 20:47:28 +00:00
|
|
|
m_browseButton = new STD_BITMAP_BUTTON( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
|
2023-01-08 18:15:20 +00:00
|
|
|
bSizerfileSelection->Add( m_browseButton, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxTOP, 5 );
|
2021-09-23 15:44:39 +00:00
|
|
|
|
|
|
|
|
2023-01-08 18:15:20 +00:00
|
|
|
bSizerFilename->Add( bSizerfileSelection, 1, wxBOTTOM|wxEXPAND, 5 );
|
2021-09-23 15:44:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
bSizerRight->Add( bSizerFilename, 0, wxEXPAND|wxALL, 5 );
|
|
|
|
|
|
|
|
|
|
|
|
bSizerRight->Add( 0, 10, 0, wxEXPAND, 5 );
|
|
|
|
|
2019-07-10 22:15:57 +00:00
|
|
|
m_staticTextTitleBlock = new wxStaticText( this, wxID_ANY, _("Title Block Parameters"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextTitleBlock->Wrap( -1 );
|
2023-08-07 12:37:40 +00:00
|
|
|
bSizerRight->Add( m_staticTextTitleBlock, 0, wxALIGN_CENTER_HORIZONTAL|wxTOP|wxRIGHT|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-28 09:49:53 +00:00
|
|
|
m_staticline3 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
|
2023-08-07 12:37:40 +00:00
|
|
|
bSizerRight->Add( m_staticline3, 0, wxEXPAND|wxTOP, 1 );
|
|
|
|
|
|
|
|
|
|
|
|
bSizerRight->Add( 0, 10, 0, wxEXPAND, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-23 18:45:23 +00:00
|
|
|
wxBoxSizer* SheetInfoSizer;
|
|
|
|
SheetInfoSizer = new wxBoxSizer( wxHORIZONTAL );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-23 18:45:23 +00:00
|
|
|
m_TextSheetCount = new wxStaticText( this, wxID_ANY, _("Number of sheets: %d"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_TextSheetCount->Wrap( -1 );
|
|
|
|
SheetInfoSizer->Add( m_TextSheetCount, 0, wxALL, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
|
2013-05-23 18:45:23 +00:00
|
|
|
SheetInfoSizer->Add( 5, 5, 1, wxEXPAND, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-23 18:45:23 +00:00
|
|
|
m_TextSheetNumber = new wxStaticText( this, wxID_ANY, _("Sheet number: %d"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_TextSheetNumber->Wrap( -1 );
|
|
|
|
SheetInfoSizer->Add( m_TextSheetNumber, 0, wxALL, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
bSizerRight->Add( SheetInfoSizer, 0, wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
wxFlexGridSizer* fgSizer2;
|
|
|
|
fgSizer2 = new wxFlexGridSizer( 0, 3, 0, 0 );
|
|
|
|
fgSizer2->AddGrowableCol( 1 );
|
|
|
|
fgSizer2->SetFlexibleDirection( wxBOTH );
|
|
|
|
fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
|
|
|
|
|
|
|
|
m_staticTextDate = new wxStaticText( this, wxID_ANY, _("Issue Date:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-28 09:49:53 +00:00
|
|
|
m_staticTextDate->Wrap( -1 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_staticTextDate, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
wxBoxSizer* bSizerDate;
|
|
|
|
bSizerDate = new wxBoxSizer( wxHORIZONTAL );
|
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_TextDate = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-23 18:45:23 +00:00
|
|
|
m_TextDate->SetMinSize( wxSize( 100,-1 ) );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2023-01-08 18:15:20 +00:00
|
|
|
bSizerDate->Add( m_TextDate, 3, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_ApplyDate = new wxButton( this, wxID_ANY, _("<<<"), wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT );
|
2023-01-08 18:15:20 +00:00
|
|
|
bSizerDate->Add( m_ApplyDate, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_PickDate = new wxDatePickerCtrl( this, wxID_ANY, wxDefaultDateTime, wxDefaultPosition, wxDefaultSize, wxDP_DEFAULT );
|
2020-11-10 20:56:20 +00:00
|
|
|
bSizerDate->Add( m_PickDate, 2, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
|
2023-01-08 18:15:20 +00:00
|
|
|
fgSizer2->Add( bSizerDate, 0, wxBOTTOM|wxEXPAND|wxTOP, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_DateExport = new wxCheckBox( this, wxID_ANY, _("Export to other sheets"), wxDefaultPosition, wxDefaultSize, 0 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_DateExport, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
|
|
|
|
|
|
|
|
m_staticTextRev = new wxStaticText( this, wxID_ANY, _("Revision:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-28 08:05:10 +00:00
|
|
|
m_staticTextRev->Wrap( -1 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_staticTextRev, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_TextRevision = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-28 08:05:10 +00:00
|
|
|
m_TextRevision->SetMinSize( wxSize( 100,-1 ) );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
fgSizer2->Add( m_TextRevision, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_RevisionExport = new wxCheckBox( this, wxID_ANY, _("Export to other sheets"), wxDefaultPosition, wxDefaultSize, 0 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_RevisionExport, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
|
|
|
|
|
|
|
|
m_staticTextTitle = new wxStaticText( this, wxID_ANY, _("Title:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-28 09:49:53 +00:00
|
|
|
m_staticTextTitle->Wrap( -1 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_staticTextTitle, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_TextTitle = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-23 18:45:23 +00:00
|
|
|
m_TextTitle->SetMinSize( wxSize( 360,-1 ) );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
fgSizer2->Add( m_TextTitle, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
|
|
|
|
|
2013-05-23 18:45:23 +00:00
|
|
|
m_TitleExport = new wxCheckBox( this, wxID_ANY, _("Export to other sheets"), wxDefaultPosition, wxDefaultSize, 0 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_TitleExport, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
|
|
|
|
|
|
|
|
m_staticTextCompany = new wxStaticText( this, wxID_ANY, _("Company:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextCompany->Wrap( -1 );
|
|
|
|
fgSizer2->Add( m_staticTextCompany, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_TextCompany = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-23 18:45:23 +00:00
|
|
|
m_TextCompany->SetMinSize( wxSize( 360,-1 ) );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
fgSizer2->Add( m_TextCompany, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
|
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_CompanyExport = new wxCheckBox( this, wxID_ANY, _("Export to other sheets"), wxDefaultPosition, wxDefaultSize, 0 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_CompanyExport, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
|
|
|
|
|
|
|
|
m_staticTextComment1 = new wxStaticText( this, wxID_ANY, _("Comment1:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-28 09:49:53 +00:00
|
|
|
m_staticTextComment1->Wrap( -1 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_staticTextComment1, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_TextComment1 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-23 18:45:23 +00:00
|
|
|
m_TextComment1->SetMinSize( wxSize( 360,-1 ) );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
fgSizer2->Add( m_TextComment1, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
|
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_Comment1Export = new wxCheckBox( this, wxID_ANY, _("Export to other sheets"), wxDefaultPosition, wxDefaultSize, 0 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_Comment1Export, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
|
|
|
|
|
|
|
|
m_staticTextComment2 = new wxStaticText( this, wxID_ANY, _("Comment2:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-28 09:49:53 +00:00
|
|
|
m_staticTextComment2->Wrap( -1 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_staticTextComment2, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_TextComment2 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-23 18:45:23 +00:00
|
|
|
m_TextComment2->SetMinSize( wxSize( 360,-1 ) );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
fgSizer2->Add( m_TextComment2, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
|
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_Comment2Export = new wxCheckBox( this, wxID_ANY, _("Export to other sheets"), wxDefaultPosition, wxDefaultSize, 0 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_Comment2Export, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
|
|
|
|
|
|
|
|
m_staticTextComment3 = new wxStaticText( this, wxID_ANY, _("Comment3:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-28 09:49:53 +00:00
|
|
|
m_staticTextComment3->Wrap( -1 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_staticTextComment3, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_TextComment3 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-23 18:45:23 +00:00
|
|
|
m_TextComment3->SetMinSize( wxSize( 360,-1 ) );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
fgSizer2->Add( m_TextComment3, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
|
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_Comment3Export = new wxCheckBox( this, wxID_ANY, _("Export to other sheets"), wxDefaultPosition, wxDefaultSize, 0 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_Comment3Export, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
|
|
|
|
|
|
|
|
m_staticTextComment4 = new wxStaticText( this, wxID_ANY, _("Comment4:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-28 09:49:53 +00:00
|
|
|
m_staticTextComment4->Wrap( -1 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_staticTextComment4, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_TextComment4 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
2013-05-23 18:45:23 +00:00
|
|
|
m_TextComment4->SetMinSize( wxSize( 360,-1 ) );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
fgSizer2->Add( m_TextComment4, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT|wxEXPAND, 5 );
|
|
|
|
|
2015-06-14 17:58:57 +00:00
|
|
|
m_Comment4Export = new wxCheckBox( this, wxID_ANY, _("Export to other sheets"), wxDefaultPosition, wxDefaultSize, 0 );
|
2019-08-21 16:58:29 +00:00
|
|
|
fgSizer2->Add( m_Comment4Export, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 5 );
|
|
|
|
|
|
|
|
m_staticTextComment5 = new wxStaticText( this, wxID_ANY, _("Comment5:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextComment5->Wrap( -1 );
|
|
|
|
fgSizer2->Add( m_staticTextComment5, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_TextComment5 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_TextComment5->SetMinSize( wxSize( 360,-1 ) );
|
|
|
|
|
|
|
|
fgSizer2->Add( m_TextComment5, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_Comment5Export = new wxCheckBox( this, wxID_ANY, _("Export to other sheets"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
fgSizer2->Add( m_Comment5Export, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_staticTextComment6 = new wxStaticText( this, wxID_ANY, _("Comment6:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextComment6->Wrap( -1 );
|
|
|
|
fgSizer2->Add( m_staticTextComment6, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_TextComment6 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_TextComment6->SetMinSize( wxSize( 360,-1 ) );
|
|
|
|
|
|
|
|
fgSizer2->Add( m_TextComment6, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_Comment6Export = new wxCheckBox( this, wxID_ANY, _("Export to other sheets"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
fgSizer2->Add( m_Comment6Export, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_staticTextComment7 = new wxStaticText( this, wxID_ANY, _("Comment7:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextComment7->Wrap( -1 );
|
|
|
|
fgSizer2->Add( m_staticTextComment7, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_TextComment7 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_TextComment7->SetMinSize( wxSize( 360,-1 ) );
|
|
|
|
|
|
|
|
fgSizer2->Add( m_TextComment7, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_Comment7Export = new wxCheckBox( this, wxID_ANY, _("Export to other sheets"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
fgSizer2->Add( m_Comment7Export, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_staticTextComment8 = new wxStaticText( this, wxID_ANY, _("Comment8:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextComment8->Wrap( -1 );
|
|
|
|
fgSizer2->Add( m_staticTextComment8, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_TextComment8 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_TextComment8->SetMinSize( wxSize( 360,-1 ) );
|
|
|
|
|
|
|
|
fgSizer2->Add( m_TextComment8, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_Comment8Export = new wxCheckBox( this, wxID_ANY, _("Export to other sheets"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
fgSizer2->Add( m_Comment8Export, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_staticTextComment9 = new wxStaticText( this, wxID_ANY, _("Comment9:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticTextComment9->Wrap( -1 );
|
|
|
|
fgSizer2->Add( m_staticTextComment9, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_TextComment9 = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_TextComment9->SetMinSize( wxSize( 360,-1 ) );
|
|
|
|
|
|
|
|
fgSizer2->Add( m_TextComment9, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
m_Comment9Export = new wxCheckBox( this, wxID_ANY, _("Export to other sheets"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
fgSizer2->Add( m_Comment9Export, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
|
2021-09-23 15:44:39 +00:00
|
|
|
bSizerRight->Add( fgSizer2, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
|
2021-09-23 15:44:39 +00:00
|
|
|
bUpperSizerH->Add( bSizerRight, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
bMainSizer->Add( bUpperSizerH, 1, wxEXPAND|wxRIGHT|wxLEFT, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2015-06-14 17:58:57 +00: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();
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2023-01-08 18:15:20 +00:00
|
|
|
bMainSizer->Add( m_sdbSizer, 0, wxALL|wxEXPAND, 5 );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
|
|
|
|
2013-05-23 18:45:23 +00:00
|
|
|
this->SetSizer( bMainSizer );
|
|
|
|
this->Layout();
|
2017-12-26 14:38:45 +00:00
|
|
|
bMainSizer->Fit( this );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-23 18:45:23 +00:00
|
|
|
// Connect Events
|
|
|
|
m_paperSizeComboBox->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnPaperSizeChoice ), NULL, this );
|
|
|
|
m_orientationComboBox->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnPageOrientationChoice ), NULL, this );
|
2018-06-14 08:26:11 +00:00
|
|
|
m_userSizeYCtrl->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnUserPageSizeYTextUpdated ), NULL, this );
|
|
|
|
m_userSizeXCtrl->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnUserPageSizeXTextUpdated ), NULL, this );
|
2021-09-23 15:44:39 +00:00
|
|
|
m_browseButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnWksFileSelection ), NULL, this );
|
2013-05-23 18:45:23 +00:00
|
|
|
m_TextDate->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnDateTextUpdated ), NULL, this );
|
|
|
|
m_ApplyDate->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnDateApplyClick ), NULL, this );
|
2013-05-28 08:05:10 +00:00
|
|
|
m_TextRevision->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnRevisionTextUpdated ), NULL, this );
|
2013-05-23 18:45:23 +00:00
|
|
|
m_TextTitle->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnTitleTextUpdated ), NULL, this );
|
|
|
|
m_TitleExport->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnCheckboxTitleClick ), NULL, this );
|
|
|
|
m_TextCompany->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnCompanyTextUpdated ), NULL, this );
|
|
|
|
m_TextComment1->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment1TextUpdated ), NULL, this );
|
|
|
|
m_TextComment2->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment2TextUpdated ), NULL, this );
|
|
|
|
m_TextComment3->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment3TextUpdated ), NULL, this );
|
|
|
|
m_TextComment4->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment4TextUpdated ), NULL, this );
|
2019-08-21 16:58:29 +00:00
|
|
|
m_TextComment5->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment5TextUpdated ), NULL, this );
|
|
|
|
m_TextComment6->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment6TextUpdated ), NULL, this );
|
|
|
|
m_TextComment7->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment7TextUpdated ), NULL, this );
|
|
|
|
m_TextComment8->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment8TextUpdated ), NULL, this );
|
|
|
|
m_TextComment9->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment9TextUpdated ), NULL, this );
|
2015-06-14 17:58:57 +00:00
|
|
|
m_sdbSizerOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnOkClick ), NULL, this );
|
2013-05-23 18:45:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
DIALOG_PAGES_SETTINGS_BASE::~DIALOG_PAGES_SETTINGS_BASE()
|
|
|
|
{
|
|
|
|
// Disconnect Events
|
|
|
|
m_paperSizeComboBox->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnPaperSizeChoice ), NULL, this );
|
|
|
|
m_orientationComboBox->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnPageOrientationChoice ), NULL, this );
|
2018-06-14 08:26:11 +00:00
|
|
|
m_userSizeYCtrl->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnUserPageSizeYTextUpdated ), NULL, this );
|
|
|
|
m_userSizeXCtrl->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnUserPageSizeXTextUpdated ), NULL, this );
|
2021-09-23 15:44:39 +00:00
|
|
|
m_browseButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnWksFileSelection ), NULL, this );
|
2013-05-23 18:45:23 +00:00
|
|
|
m_TextDate->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnDateTextUpdated ), NULL, this );
|
|
|
|
m_ApplyDate->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnDateApplyClick ), NULL, this );
|
2013-05-28 08:05:10 +00:00
|
|
|
m_TextRevision->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnRevisionTextUpdated ), NULL, this );
|
2013-05-23 18:45:23 +00:00
|
|
|
m_TextTitle->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnTitleTextUpdated ), NULL, this );
|
|
|
|
m_TitleExport->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnCheckboxTitleClick ), NULL, this );
|
|
|
|
m_TextCompany->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnCompanyTextUpdated ), NULL, this );
|
|
|
|
m_TextComment1->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment1TextUpdated ), NULL, this );
|
|
|
|
m_TextComment2->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment2TextUpdated ), NULL, this );
|
|
|
|
m_TextComment3->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment3TextUpdated ), NULL, this );
|
|
|
|
m_TextComment4->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment4TextUpdated ), NULL, this );
|
2019-08-21 16:58:29 +00:00
|
|
|
m_TextComment5->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment5TextUpdated ), NULL, this );
|
|
|
|
m_TextComment6->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment6TextUpdated ), NULL, this );
|
|
|
|
m_TextComment7->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment7TextUpdated ), NULL, this );
|
|
|
|
m_TextComment8->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment8TextUpdated ), NULL, this );
|
|
|
|
m_TextComment9->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnComment9TextUpdated ), NULL, this );
|
2015-06-14 17:58:57 +00:00
|
|
|
m_sdbSizerOK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PAGES_SETTINGS_BASE::OnOkClick ), NULL, this );
|
2019-08-21 16:58:29 +00:00
|
|
|
|
2013-05-23 18:45:23 +00:00
|
|
|
}
|