Re[2]: Problem using wxHtmlEasyPrinting
Vadim Zeitlin <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 15 May 2023 15:54:47 -0700 David Connet wrote:
DC> On 5/15/2023 9:55 AM, David Connet wrote:
DC> > Something happened between 3.2.2 and trunk - I can no longer bring up
DC> > the print dialog on Windows (10 and 11) when clicking 'Print' from the
DC> > Preview window. Tracing in, I can see in printdlg.cpp that it has
DC> > changed from calling PrintDlg to PrintDlgEx - when that is called, I
DC> > get an E_INVALIDARG return code. I've tried tracing, but got lost...
DC> >
DC> > Any ideas on what to look for?
DC> >
DC> > Dave
DC> >
DC> Ah ha!
DC>
DC> In the past, I did not set the from/to range (or min/max) - and
DC> defaulted to all-pages. With moving to PrintDlgEx, that no longer works.
Thanks for finding this, I was just going to reply that this is probably
related to the page range changes.
DC> This is something that should probably be called out in release notes...
I think this should rather be fixed as there is no reason to break the
existing code, especially as this is non-obvious to fix. Could you please
open an issue for this? If you could attach a patch to the printing sample
showing how to break it with the current master, it would be very useful
too.
TIA!
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
signature.asc
(application/pgp-signature, 196 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iEYEABECAAYFAmRiuOIACgkQBupB3k9sHoYMiACfTOVN2/g+aJU3jXIsXdLZ1GM6 3aUAmwd4TLt0wH/j9Zi/l7Zt5andMvq4 =sVIX -----END PGP SIGNATURE-----