mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
5f736bd8a3
commit
1b34018aa0
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue