2012-04-05 18:27:56 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-06-13 12:20:29 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Dec 30 2017)
|
2012-04-05 18:27:56 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-12-27 17:09:27 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2012-04-05 18:27:56 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "dialog_print_using_printer_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2016-06-03 06:32:24 +00:00
|
|
|
DIALOG_PRINT_USING_PRINTER_BASE::DIALOG_PRINT_USING_PRINTER_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
|
2012-04-05 18:27:56 +00:00
|
|
|
{
|
|
|
|
this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
|
|
|
|
|
|
|
|
wxBoxSizer* bMainSizer;
|
2018-06-13 12:20:29 +00:00
|
|
|
bMainSizer = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
|
|
|
wxBoxSizer* bUpperSizer;
|
|
|
|
bUpperSizer = new wxBoxSizer( wxHORIZONTAL );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
wxStaticBoxSizer* sbLayersSizer;
|
2018-06-13 12:20:29 +00:00
|
|
|
sbLayersSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Included Layers") ), wxVERTICAL );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
wxBoxSizer* bLayerListsSizer;
|
|
|
|
bLayerListsSizer = new wxBoxSizer( wxHORIZONTAL );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2016-06-19 18:29:13 +00:00
|
|
|
wxBoxSizer* bSizer6;
|
|
|
|
bSizer6 = new wxBoxSizer( wxVERTICAL );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2017-07-19 10:53:20 +00:00
|
|
|
m_staticText4 = new wxStaticText( sbLayersSizer->GetStaticBox(), wxID_ANY, _("Copper layers:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2016-06-19 18:29:13 +00:00
|
|
|
m_staticText4->Wrap( -1 );
|
2018-06-13 12:20:29 +00:00
|
|
|
bSizer6->Add( m_staticText4, 0, wxRIGHT|wxLEFT, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2016-06-19 18:29:13 +00:00
|
|
|
wxArrayString m_CopperLayersListChoices;
|
|
|
|
m_CopperLayersList = new wxCheckListBox( sbLayersSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_CopperLayersListChoices, 0 );
|
|
|
|
bSizer6->Add( m_CopperLayersList, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
bLayerListsSizer->Add( bSizer6, 1, wxEXPAND, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2016-06-19 18:29:13 +00:00
|
|
|
wxBoxSizer* bSizer7;
|
|
|
|
bSizer7 = new wxBoxSizer( wxVERTICAL );
|
|
|
|
|
|
|
|
m_staticText5 = new wxStaticText( sbLayersSizer->GetStaticBox(), wxID_ANY, _("Technical layers:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_staticText5->Wrap( -1 );
|
2018-06-13 12:20:29 +00:00
|
|
|
bSizer7->Add( m_staticText5, 0, wxRIGHT|wxLEFT, 5 );
|
2016-06-19 18:29:13 +00:00
|
|
|
|
|
|
|
wxArrayString m_TechnicalLayersListChoices;
|
|
|
|
m_TechnicalLayersList = new wxCheckListBox( sbLayersSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_TechnicalLayersListChoices, 0 );
|
|
|
|
bSizer7->Add( m_TechnicalLayersList, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
bLayerListsSizer->Add( bSizer7, 1, wxEXPAND, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
sbLayersSizer->Add( bLayerListsSizer, 1, wxEXPAND, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-01-05 22:52:48 +00:00
|
|
|
m_Exclude_Edges_Pcb = new wxCheckBox( sbLayersSizer->GetStaticBox(), wxID_ANY, _("Exclude PCB edge layer"), wxDefaultPosition, wxDefaultSize, 0 );
|
2012-04-05 18:27:56 +00:00
|
|
|
m_Exclude_Edges_Pcb->SetToolTip( _("Exclude contents of Edges_Pcb layer from all other layers") );
|
|
|
|
|
|
|
|
sbLayersSizer->Add( m_Exclude_Edges_Pcb, 0, wxALL|wxEXPAND, 5 );
|
|
|
|
|
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
bUpperSizer->Add( sbLayersSizer, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
wxBoxSizer* bScaleSizer;
|
|
|
|
bScaleSizer = new wxBoxSizer( wxVERTICAL );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2017-12-27 17:09:27 +00:00
|
|
|
wxString m_ScaleOptionChoices[] = { _("Fit to page"), _("Scale 0.5"), _("Scale 0.7"), _("Approx. scale 1"), _("Accurate scale 1"), _("Scale 1.4"), _("Scale 2"), _("Scale 3"), _("Scale 4") };
|
2012-04-05 18:27:56 +00:00
|
|
|
int m_ScaleOptionNChoices = sizeof( m_ScaleOptionChoices ) / sizeof( wxString );
|
2018-06-13 12:20:29 +00:00
|
|
|
m_ScaleOption = new wxRadioBox( this, wxID_ANY, _("Approximate Scale"), wxDefaultPosition, wxDefaultSize, m_ScaleOptionNChoices, m_ScaleOptionChoices, 1, wxRA_SPECIFY_COLS );
|
|
|
|
m_ScaleOption->SetSelection( 0 );
|
|
|
|
bScaleSizer->Add( m_ScaleOption, 0, wxALL, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2017-07-19 10:53:20 +00:00
|
|
|
m_FineAdjustXscaleTitle = new wxStaticText( this, wxID_ANY, _("X scale adjust:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2012-04-05 18:27:56 +00:00
|
|
|
m_FineAdjustXscaleTitle->Wrap( -1 );
|
2018-06-13 12:20:29 +00:00
|
|
|
bScaleSizer->Add( m_FineAdjustXscaleTitle, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
m_FineAdjustXscaleOpt = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_FineAdjustXscaleOpt->SetToolTip( _("Set X scale adjust for exact scale plotting") );
|
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
bScaleSizer->Add( m_FineAdjustXscaleOpt, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2017-07-19 10:53:20 +00:00
|
|
|
m_FineAdjustYscaleTitle = new wxStaticText( this, wxID_ANY, _("Y scale adjust:"), wxDefaultPosition, wxDefaultSize, 0 );
|
2012-04-05 18:27:56 +00:00
|
|
|
m_FineAdjustYscaleTitle->Wrap( -1 );
|
2018-06-13 12:20:29 +00:00
|
|
|
bScaleSizer->Add( m_FineAdjustYscaleTitle, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
m_FineAdjustYscaleOpt = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_FineAdjustYscaleOpt->SetToolTip( _("Set Y scale adjust for exact scale plotting") );
|
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
bScaleSizer->Add( m_FineAdjustYscaleOpt, 0, wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
bUpperSizer->Add( bScaleSizer, 0, wxEXPAND, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
wxBoxSizer* bOptionsSizer;
|
|
|
|
bOptionsSizer = new wxBoxSizer( wxVERTICAL );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
wxStaticBoxSizer* sbOptionsSizer;
|
2018-06-13 12:20:29 +00:00
|
|
|
sbOptionsSizer = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Options") ), wxVERTICAL );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
wxGridBagSizer* gbSizer1;
|
|
|
|
gbSizer1 = new wxGridBagSizer( 2, 0 );
|
|
|
|
gbSizer1->SetFlexibleDirection( wxBOTH );
|
|
|
|
gbSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
m_penWidthLabel = new wxStaticText( sbOptionsSizer->GetStaticBox(), wxID_ANY, _("Default pen size:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_penWidthLabel->Wrap( -1 );
|
|
|
|
m_penWidthLabel->SetToolTip( _("Pen size used to draw items that have no pen size specified.\nUsed mainly to draw items in sketch mode.") );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
gbSizer1->Add( m_penWidthLabel, wxGBPosition( 0, 0 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
m_penWidthCtrl = new wxTextCtrl( sbOptionsSizer->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
gbSizer1->Add( m_penWidthCtrl, wxGBPosition( 0, 1 ), wxGBSpan( 1, 1 ), wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
|
|
|
|
|
|
|
|
m_penWidthUnits = new wxStaticText( sbOptionsSizer->GetStaticBox(), wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_penWidthUnits->Wrap( -1 );
|
|
|
|
gbSizer1->Add( m_penWidthUnits, wxGBPosition( 0, 2 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
|
|
|
|
|
|
|
|
m_drillMarksLabel = new wxStaticText( sbOptionsSizer->GetStaticBox(), wxID_ANY, _("Drill marks:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_drillMarksLabel->Wrap( -1 );
|
|
|
|
gbSizer1->Add( m_drillMarksLabel, wxGBPosition( 1, 0 ), wxGBSpan( 1, 1 ), wxBOTTOM|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
wxString m_drillMarksChoiceChoices[] = { _("No drill mark"), _("Small mark"), _("Real drill") };
|
|
|
|
int m_drillMarksChoiceNChoices = sizeof( m_drillMarksChoiceChoices ) / sizeof( wxString );
|
|
|
|
m_drillMarksChoice = new wxChoice( sbOptionsSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_drillMarksChoiceNChoices, m_drillMarksChoiceChoices, 0 );
|
|
|
|
m_drillMarksChoice->SetSelection( 0 );
|
|
|
|
gbSizer1->Add( m_drillMarksChoice, wxGBPosition( 1, 1 ), wxGBSpan( 1, 1 ), wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
m_outputModeLabel = new wxStaticText( sbOptionsSizer->GetStaticBox(), wxID_ANY, _("Output mode:"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_outputModeLabel->Wrap( -1 );
|
|
|
|
gbSizer1->Add( m_outputModeLabel, wxGBPosition( 2, 0 ), wxGBSpan( 1, 1 ), wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
wxString m_outputModeChoices[] = { _("Color"), _("Black and white") };
|
|
|
|
int m_outputModeNChoices = sizeof( m_outputModeChoices ) / sizeof( wxString );
|
|
|
|
m_outputMode = new wxChoice( sbOptionsSizer->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_outputModeNChoices, m_outputModeChoices, 0 );
|
|
|
|
m_outputMode->SetSelection( 0 );
|
|
|
|
gbSizer1->Add( m_outputMode, wxGBPosition( 2, 1 ), wxGBSpan( 1, 1 ), wxBOTTOM|wxRIGHT|wxLEFT|wxEXPAND, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
m_Print_Sheet_Ref = new wxCheckBox( sbOptionsSizer->GetStaticBox(), wxID_FRAME_SEL, _("Print border and title block"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_Print_Sheet_Ref->SetValue(true);
|
|
|
|
m_Print_Sheet_Ref->SetToolTip( _("Print Frame references.") );
|
|
|
|
|
|
|
|
gbSizer1->Add( m_Print_Sheet_Ref, wxGBPosition( 3, 0 ), wxGBSpan( 1, 3 ), wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
m_Print_Mirror = new wxCheckBox( sbOptionsSizer->GetStaticBox(), wxID_ANY, _("Print mirrored"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
gbSizer1->Add( m_Print_Mirror, wxGBPosition( 4, 0 ), wxGBSpan( 1, 3 ), wxBOTTOM|wxRIGHT|wxLEFT, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
gbSizer1->AddGrowableCol( 1 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
sbOptionsSizer->Add( gbSizer1, 1, wxEXPAND, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
bOptionsSizer->Add( sbOptionsSizer, 1, wxEXPAND|wxALL, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
wxString m_PagesOptionChoices[] = { _("One page per layer"), _("All layers on single page") };
|
2012-04-05 18:27:56 +00:00
|
|
|
int m_PagesOptionNChoices = sizeof( m_PagesOptionChoices ) / sizeof( wxString );
|
2018-06-13 12:20:29 +00:00
|
|
|
m_PagesOption = new wxRadioBox( this, wxID_PAGE_MODE, _("Pagination"), wxDefaultPosition, wxDefaultSize, m_PagesOptionNChoices, m_PagesOptionChoices, 1, wxRA_SPECIFY_COLS );
|
2012-04-05 18:27:56 +00:00
|
|
|
m_PagesOption->SetSelection( 0 );
|
2018-06-13 12:20:29 +00:00
|
|
|
bOptionsSizer->Add( m_PagesOption, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
|
|
|
|
|
|
|
|
|
|
|
|
bUpperSizer->Add( bOptionsSizer, 0, wxEXPAND, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
bMainSizer->Add( bUpperSizer, 1, wxEXPAND|wxALL, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
|
|
|
|
bMainSizer->Add( m_staticline1, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 10 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
wxBoxSizer* bButtonsSizer;
|
|
|
|
bButtonsSizer = new wxBoxSizer( wxHORIZONTAL );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
m_buttonOption = new wxButton( this, wxID_PRINT_OPTIONS, _("Page Setup..."), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
m_buttonOption->SetMinSize( wxSize( 120,-1 ) );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
bButtonsSizer->Add( m_buttonOption, 0, wxALL|wxEXPAND, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
m_sdbSizer1 = new wxStdDialogButtonSizer();
|
|
|
|
m_sdbSizer1OK = new wxButton( this, wxID_OK );
|
|
|
|
m_sdbSizer1->AddButton( m_sdbSizer1OK );
|
|
|
|
m_sdbSizer1Apply = new wxButton( this, wxID_APPLY );
|
|
|
|
m_sdbSizer1->AddButton( m_sdbSizer1Apply );
|
|
|
|
m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
|
|
|
|
m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
|
|
|
|
m_sdbSizer1->Realize();
|
2012-04-05 18:27:56 +00:00
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
bButtonsSizer->Add( m_sdbSizer1, 1, wxALL|wxEXPAND, 5 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
|
2018-06-13 12:20:29 +00:00
|
|
|
bMainSizer->Add( bButtonsSizer, 0, wxEXPAND|wxLEFT, 10 );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
this->SetSizer( bMainSizer );
|
|
|
|
this->Layout();
|
2017-12-27 17:09:27 +00:00
|
|
|
bMainSizer->Fit( this );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
this->Centre( wxBOTH );
|
|
|
|
|
|
|
|
// Connect Events
|
2016-06-03 06:32:24 +00:00
|
|
|
m_ScaleOption->Connect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( DIALOG_PRINT_USING_PRINTER_BASE::OnScaleSelectionClick ), NULL, this );
|
|
|
|
m_buttonOption->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_USING_PRINTER_BASE::OnPageSetup ), NULL, this );
|
2018-06-13 12:20:29 +00:00
|
|
|
m_sdbSizer1Apply->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_USING_PRINTER_BASE::OnPrintPreview ), NULL, this );
|
|
|
|
m_sdbSizer1OK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_USING_PRINTER_BASE::OnPrintButtonClick ), NULL, this );
|
2012-04-05 18:27:56 +00:00
|
|
|
}
|
|
|
|
|
2016-06-03 06:32:24 +00:00
|
|
|
DIALOG_PRINT_USING_PRINTER_BASE::~DIALOG_PRINT_USING_PRINTER_BASE()
|
2012-04-05 18:27:56 +00:00
|
|
|
{
|
|
|
|
// Disconnect Events
|
2016-06-03 06:32:24 +00:00
|
|
|
m_ScaleOption->Disconnect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( DIALOG_PRINT_USING_PRINTER_BASE::OnScaleSelectionClick ), NULL, this );
|
|
|
|
m_buttonOption->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_USING_PRINTER_BASE::OnPageSetup ), NULL, this );
|
2018-06-13 12:20:29 +00:00
|
|
|
m_sdbSizer1Apply->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_USING_PRINTER_BASE::OnPrintPreview ), NULL, this );
|
|
|
|
m_sdbSizer1OK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PRINT_USING_PRINTER_BASE::OnPrintButtonClick ), NULL, this );
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
}
|