+ 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, -1, _("Print spooling") );
+ wxStaticBoxSizer *item10 = new wxStaticBoxSizer( item11, wxVERTICAL );
+
+ wxStaticText *item12 = new wxStaticText( this, -1, _("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, wxT(""), wxDefaultPosition, wxSize(160,-1) );
+ item13->Add( m_printerCommandText, 0, wxALIGN_CENTER|wxALL, 5 );
+
+ item10->Add( item13, 0, wxALIGN_CENTER|wxALL, 0 );
+
+ wxStaticText *item15 = new wxStaticText( this, -1, _("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, wxT(""), wxDefaultPosition, wxSize(160,-1) );
+ 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, -1 ), 0, wxEXPAND | wxLEFT|wxRIGHT|wxTOP, 10 );
+#endif
+
+ // buttons
+
+ main_sizer->Add( CreateButtonSizer( wxOK|wxCANCEL), 0, wxCENTER|wxALL, 10 );
+
+ SetAutoLayout( true );
+ SetSizer( main_sizer );
+
+ main_sizer->Fit( this );
+ Centre(wxBOTH);