14DIALOG_PRINT_BASE::DIALOG_PRINT_BASE( wxWindow* parent, wxWindowID 
id, 
const wxString& title, 
const wxPoint& pos, 
const wxSize& size, 
long style ) : 
DIALOG_SHIM( parent, id, title, pos, size, style )
 
   16    this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
 
   18    wxBoxSizer* bMainSizer;
 
   19    bMainSizer = 
new wxBoxSizer( wxVERTICAL );
 
   21    wxBoxSizer* bSizerPrintersPanel;
 
   22    bSizerPrintersPanel = 
new wxBoxSizer( wxVERTICAL );
 
   28    bMainSizer->Add( bSizerPrintersPanel, 0, wxEXPAND, 5 );
 
   30    wxBoxSizer* bleftSizer;
 
   31    bleftSizer = 
new wxBoxSizer( wxVERTICAL );
 
   33    m_checkReference = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Print drawing sheet"), wxDefaultPosition, wxDefaultSize, 0 );
 
   39    wxBoxSizer* bSizerOttputMode;
 
   40    bSizerOttputMode = 
new wxBoxSizer( wxHORIZONTAL );
 
   42    m_staticText1 = 
new wxStaticText( 
this, wxID_ANY, 
_(
"Output mode:"), wxDefaultPosition, wxDefaultSize, 0 );
 
   44    bSizerOttputMode->Add( 
m_staticText1, 0, wxALIGN_CENTER_VERTICAL, 5 );
 
   46    wxString m_colorPrintChoices[] = { 
_(
"Color"), 
_(
"Black and White") };
 
   47    int m_colorPrintNChoices = 
sizeof( m_colorPrintChoices ) / 
sizeof( wxString );
 
   48    m_colorPrint = 
new wxChoice( 
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_colorPrintNChoices, m_colorPrintChoices, 0 );
 
   50    bSizerOttputMode->Add( 
m_colorPrint, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 5 );
 
   53    bleftSizer->Add( bSizerOttputMode, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
 
   55    m_checkBackgroundColor = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Print background color"), wxDefaultPosition, wxDefaultSize, 0 );
 
   59    bleftSizer->Add( 0, 10, 0, wxEXPAND, 5 );
 
   61    m_checkUseColorTheme = 
new wxCheckBox( 
this, wxID_ANY, 
_(
"Use a different color theme for printing:"), wxDefaultPosition, wxDefaultSize, 0 );
 
   65    wxBoxSizer* bSizerTheme;
 
   66    bSizerTheme = 
new wxBoxSizer( wxHORIZONTAL );
 
   68    wxArrayString m_colorThemeChoices;
 
   69    m_colorTheme = 
new wxChoice( 
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_colorThemeChoices, 0 );
 
   73    bSizerTheme->Add( 
m_colorTheme, 1, wxEXPAND|wxLEFT, 20 );
 
   76    bleftSizer->Add( bSizerTheme, 0, wxEXPAND, 5 );
 
   79    bMainSizer->Add( bleftSizer, 1, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 10 );
 
   81    wxBoxSizer* bbuttonsSizer;
 
   82    bbuttonsSizer = 
new wxBoxSizer( wxHORIZONTAL );
 
   84    m_buttonPageSetup = 
new wxButton( 
this, wxID_ANY, 
_(
"Page Setup..."), wxDefaultPosition, wxDefaultSize, 0 );
 
   88    bbuttonsSizer->Add( 20, 0, 1, wxEXPAND, 5 );
 
   99    bbuttonsSizer->Add( 
m_sdbSizer, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
 
  102    bMainSizer->Add( bbuttonsSizer, 0, wxEXPAND|wxLEFT, 10 );
 
  105    this->SetSizer( bMainSizer );
 
  107    bMainSizer->Fit( 
this );