Detlef Riekenberg : comdlg32: Remove unused code for the Button psh1.
Alexandre Julliard
julliard at winehq.org
Thu Jan 7 13:08:35 CST 2010
Module: wine
Branch: master
Commit: aa389201e5b16b454932db497e69613100c94ad9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=aa389201e5b16b454932db497e69613100c94ad9
Author: Detlef Riekenberg <wine.dev at web.de>
Date: Wed Jan 6 23:52:11 2010 +0100
comdlg32: Remove unused code for the Button psh1.
---
dlls/comdlg32/printdlg.c | 23 -----------------------
1 files changed, 0 insertions(+), 23 deletions(-)
diff --git a/dlls/comdlg32/printdlg.c b/dlls/comdlg32/printdlg.c
index 149694a..5bf776f 100644
--- a/dlls/comdlg32/printdlg.c
+++ b/dlls/comdlg32/printdlg.c
@@ -1561,24 +1561,6 @@ static LRESULT PRINTDLG_WMCommandA(HWND hDlg, WPARAM wParam,
}
break;
-#if 0
- case psh1: /* Print Setup */
- {
- PRINTDLG16 pdlg;
-
- if (!PrintStructures->dlg.lpPrintDlg16) {
- FIXME("The 32bit print dialog does not have this button!?\n");
- break;
- }
-
- memcpy(&pdlg,PrintStructures->dlg.lpPrintDlg16,sizeof(pdlg));
- pdlg.Flags |= PD_PRINTSETUP;
- pdlg.hwndOwner = HWND_16(hDlg);
- if (!PrintDlg16(&pdlg))
- break;
- }
- break;
-#endif
case psh2: /* Properties button */
{
HANDLE hPrinter;
@@ -1733,11 +1715,6 @@ static LRESULT PRINTDLG_WMCommandW(HWND hDlg, WPARAM wParam,
}
break;
- case psh1: /* Print Setup */
- {
- ERR("psh1 is called from 16bit code only, we should not get here.\n");
- }
- break;
case psh2: /* Properties button */
{
HANDLE hPrinter;
More information about the wine-cvs
mailing list