]> git.saurik.com Git - wxWidgets.git/commit
Don't set PAGESETUPDLG::hDevNames and hDevMode when using PSD_RETURNDEFAULT.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Feb 2012 15:45:03 +0000 (15:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Feb 2012 15:45:03 +0000 (15:45 +0000)
commitfd76344ecccc8d80f05ebb01cd7f7dd13ef77c3c
tree47c8a591813c76daa179b7221943b1f00810387f
parent0e3b10c509e31c9ee0b435bd611753ecea4f3740
Don't set PAGESETUPDLG::hDevNames and hDevMode when using PSD_RETURNDEFAULT.

If the page setup dialog is used to retrieve the default information, hDevMode
and hDevNames fields must not be set, otherwise PageSetupDlg() function simply
fails because of incorrect parameters passed to it.

Closes #13928.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/printdlg.cpp