+ printToFileCheckBox = new wxCheckBox(this, wxPRINTID_PRINTTOFILE, _("Print to File"), wxPoint(20, 25) );
+
+ setupButton = new wxButton(this, wxPRINTID_SETUP, _("Setup..."), wxPoint(160, 25), wxSize(100, -1));
+
+ wxString *choices = new wxString[2];
+ choices[0] = _("All");
+ choices[1] = _("Pages");
+
+ fromText = (wxTextCtrl*)NULL;
+
+ if(printData.GetFromPage() != 0)
+ {
+ rangeRadioBox = new wxRadioBox(this, wxPRINTID_RANGE, _("Print Range"),
+ wxPoint(5, 80), wxSize(-1, -1), 2, choices, 1, wxRA_VERTICAL);
+ rangeRadioBox->SetSelection(1);
+ }
+
+ if(printData.GetFromPage() != 0)
+ {
+ (void) new wxStaticText(this, wxPRINTID_STATIC, _("From:"), wxPoint(5, 135));
+
+ fromText = new wxTextCtrl(this, wxPRINTID_FROM, "", wxPoint(45, 130), wxSize(40, -1));
+
+ (void) new wxStaticText(this, wxPRINTID_STATIC, _("To:"), wxPoint(100, 135));
+
+ toText = new wxTextCtrl(this, wxPRINTID_TO, "", wxPoint(133, 130), wxSize(40, -1));
+ }
+
+ (void) new wxStaticText(this, wxPRINTID_STATIC, _("Copies:"), wxPoint(200, 135));