Fixed orientation of radioboxes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5c721b14c6
commit
a8a4906b88
@ -2104,7 +2104,7 @@ wxPostScriptPrintDialog::wxPostScriptPrintDialog (wxWindow *parent, const wxStri
|
||||
|
||||
|
||||
wxRadioBox *radio0 = new wxRadioBox(this, wxID_PRINTER_ORIENTATION, "Orientation: ", wxPoint(5, yPos), wxSize(-1,-1),
|
||||
2,orientation,2,0);
|
||||
2,orientation,2,wxRA_SPECIFY_ROWS);
|
||||
radio0->SetSelection((int)wxThePrintSetupData->GetPrinterOrientation() - 1);
|
||||
|
||||
// @@@ Configuration hook
|
||||
@ -2119,7 +2119,7 @@ wxPostScriptPrintDialog::wxPostScriptPrintDialog (wxWindow *parent, const wxStri
|
||||
wxRadioBox *radio1 = new wxRadioBox(this, wxID_PRINTER_MODES, _("PostScript:"),
|
||||
wxPoint(150, yPos),
|
||||
wxSize(-1,-1), features,
|
||||
print_modes, features, 0);
|
||||
print_modes, features, wxRA_SPECIFY_ROWS);
|
||||
|
||||
#ifdef __WXMSW__
|
||||
radio1->Enable(0, FALSE);
|
||||
|
Loading…
Reference in New Issue
Block a user