+ printer_sizer->Add( m_printerListCtrl, 0, wxALL|wxGROW, 5 );
+
+ wxBoxSizer *item1 = new wxBoxSizer( wxHORIZONTAL );
+ main_sizer->Add( item1, 0, wxALL, 5 );
+
+ // printer options (on the left)
+
+ wxBoxSizer *item2 = new wxBoxSizer( wxVERTICAL );
+
+ wxStaticBox *item4 = new wxStaticBox( this, wxPRINTID_STATIC, _("Paper size") );
+ wxStaticBoxSizer *item3 = new wxStaticBoxSizer( item4, wxVERTICAL );
+
+ m_paperTypeChoice = CreatePaperTypeChoice();
+ item3->Add( m_paperTypeChoice, 0, wxALIGN_CENTER|wxALL, 5 );
+
+ item2->Add( item3, 0, wxALIGN_CENTER|wxALL, 5 );
+
+ wxString strs6[] =
+ {
+ _("Portrait"),
+ _("Landscape")
+ };
+ m_orientationRadioBox= new wxRadioBox( this, wxPRINTID_ORIENTATION, _("Orientation"), wxDefaultPosition, wxDefaultSize, 2, strs6, 1, wxRA_SPECIFY_ROWS );
+ item2->Add( m_orientationRadioBox, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
+ wxStaticBox *item8 = new wxStaticBox( this, wxID_ANY, _("Options") );
+ wxStaticBoxSizer *item7 = new wxStaticBoxSizer( item8, wxHORIZONTAL );
+
+ m_colourCheckBox = new wxCheckBox( this, wxPRINTID_PRINTCOLOUR, _("Print in colour") );
+ item7->Add( m_colourCheckBox, 0, wxALIGN_CENTER|wxALL, 5 );
+
+ item2->Add( item7, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
+ item1->Add( item2, 0, wxALIGN_CENTER_HORIZONTAL, 5 );
+
+ // spooling options (on the right)
+
+ wxStaticBox *item11 = new wxStaticBox( this, wxID_ANY, _("Print spooling") );
+ wxStaticBoxSizer *item10 = new wxStaticBoxSizer( item11, wxVERTICAL );
+
+ wxStaticText *item12 = new wxStaticText( this, wxID_ANY, _("Printer command:") );
+ item10->Add( item12, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
+ wxBoxSizer *item13 = new wxBoxSizer( wxHORIZONTAL );
+
+ item13->Add( 20, 20, 0, wxALIGN_CENTER|wxALL, 5 );
+
+ m_printerCommandText = new wxTextCtrl( this, wxPRINTID_COMMAND, wxEmptyString, wxDefaultPosition, wxSize(160,wxDefaultCoord) );
+ item13->Add( m_printerCommandText, 0, wxALIGN_CENTER|wxALL, 5 );
+
+ item10->Add( item13, 0, wxALIGN_CENTER|wxALL, 0 );
+
+ wxStaticText *item15 = new wxStaticText( this, wxID_ANY, _("Printer options:") );
+ item10->Add( item15, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
+ wxBoxSizer *item16 = new wxBoxSizer( wxHORIZONTAL );
+
+ item16->Add( 20, 20, 0, wxALIGN_CENTER|wxALL, 5 );
+
+ m_printerOptionsText = new wxTextCtrl( this, wxPRINTID_OPTIONS, wxEmptyString, wxDefaultPosition, wxSize(160,wxDefaultCoord) );
+ item16->Add( m_printerOptionsText, 0, wxALIGN_CENTER|wxALL, 5 );
+
+ item10->Add( item16, 0, wxALIGN_CENTER|wxALL, 0 );
+
+ item1->Add( item10, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
+
+
+#if wxUSE_STATLINE
+ // static line
+ main_sizer->Add( new wxStaticLine( this, wxID_ANY ), 0, wxEXPAND | wxLEFT|wxRIGHT|wxTOP, 10 );
+#endif
+
+ // buttons