Howdy,
Since the landscape/portrait icons were added to the printer setup
dialog a couple weeks ago, here is a minor patch so that the
landscape/portrait radio buttons cause an immediate change of the icon.
Duane
Index: dlls/commdlg/printdlg.c
===================================================================
RCS file: /home/wine/wine/dlls/commdlg/printdlg.c,v
retrieving revision 1.37
diff -u -r1.37 printdlg.c
--- dlls/commdlg/printdlg.c 2001/02/12 19:42:08 1.37
+++ dlls/commdlg/printdlg.c 2001/02/24 19:52:37
@@ -940,12 +940,20 @@
case rad1: /* Paperorientation */
if (lppd->Flags & PD_PRINTSETUP)
+ {
lpdm->u1.s1.dmOrientation = DMORIENT_PORTRAIT;
+ SendDlgItemMessageA(hDlg, ico1, STM_SETIMAGE, (WPARAM) IMAGE_ICON,
+ (LPARAM)(PrintStructures->hPortraitIcon));
+ }
break;
case rad2: /* Paperorientation */
if (lppd->Flags & PD_PRINTSETUP)
+ {
lpdm->u1.s1.dmOrientation = DMORIENT_LANDSCAPE;
+ SendDlgItemMessageA(hDlg, ico1, STM_SETIMAGE, (WPARAM) IMAGE_ICON,
+ (LPARAM)(PrintStructures->hLandscapeIcon));
+ }
break;
case cmb1: