diff options
Diffstat (limited to 'win/tkWinGDI.c')
-rw-r--r-- | win/tkWinGDI.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/win/tkWinGDI.c b/win/tkWinGDI.c index 36514b8..a82fcbd 100644 --- a/win/tkWinGDI.c +++ b/win/tkWinGDI.c @@ -4744,12 +4744,6 @@ static int PrintSelectPrinter( pd.hwndOwner = GetDesktopWindow(); pd.Flags = PD_HIDEPRINTTOFILE | PD_DISABLEPRINTTOFILE | PD_NOSELECTION; - /* Handle user cancellation. */ - if (PrintDlgW(&pd) == 0){ - Tcl_AppendResult(interp, "User cancelled", NULL); - return TCL_OK; - } - if (PrintDlgW(&pd) == TRUE) { /*Get document info.*/ |