]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed orientation of radioboxes.
authorKarsten Ballüder <ballueder@usa.net>
Wed, 20 Jan 1999 21:16:47 +0000 (21:16 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Wed, 20 Jan 1999 21:16:47 +0000 (21:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/postscrp.cpp

index 1d22267c6ff9dcef56eacfc1b0a3a55fe96e16bf..0400cc25b3afaa8522a5257f59faa584de97833b 100644 (file)
@@ -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);