- m_setupButton = new wxButton(this, wxPRINTID_SETUP, _("Setup..."), wxPoint(160, 25), wxSize(100, -1));
+ wxStaticBoxSizer *topsizer = new wxStaticBoxSizer(
+ new wxStaticBox( this, wxID_ANY, _( "Printer options" ) ), wxHORIZONTAL );
+ m_printToFileCheckBox = new wxCheckBox( this, wxPRINTID_PRINTTOFILE, _("Print to File") );
+ topsizer->Add( m_printToFileCheckBox, 0, wxCENTER|wxALL, 5 );
+
+ topsizer->Add( 60,2,1 );
+
+ m_setupButton = new wxButton(this, wxPRINTID_SETUP, _("Setup...") );
+ topsizer->Add( m_setupButton, 0, wxCENTER|wxALL, 5 );
+
+ mainsizer->Add( topsizer, 0, wxLEFT|wxTOP|wxRIGHT, 10 );
+
+ // 2) middle row with radio box