]> git.saurik.com Git - wxWidgets.git/commitdiff
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)
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


No differences found