Fixed hwndOwner issue in Win32 PrinterJob #546

git-svn-id: svn://ultimatepp.org/upp/trunk@6568 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-11-16 18:08:24 +00:00
parent 5f736bd8a3
commit 1b34018aa0

View file

@ -58,7 +58,7 @@ bool PrinterJob::Execute0(bool dodlg)
dlg.nMaxPage = to;
if(from != to)
dlg.Flags |= PD_ALLPAGES;
dlg.hwndOwner = GetActiveWindow();
dlg.hwndOwner = 0;
dlg.Flags |= PD_RETURNDEFAULT;
dlg.nCopies = 1;
if(!PrintDlg(&dlg)) return false;