Eric Jensen
2014-05-03 10:37:35 UTC
Hi.
I just noticed that wxRichTextPrinting::PreviewBuffer returns
immediately. As it displays a preview frame that looks like a modal
dialog and also behaves like one, i would have expected that this call
only returns after the preview window was closed by the user.
Is that intentional?
The reason i'm asking is, that i expected this method to return true
when the document was printed and false when not. But the way it is
now, i don't know if the document was printed at all. I'd like to know
this in order to update my global wxPageSetupDialogData instance with
the (eventually changed) data.
Eric
I just noticed that wxRichTextPrinting::PreviewBuffer returns
immediately. As it displays a preview frame that looks like a modal
dialog and also behaves like one, i would have expected that this call
only returns after the preview window was closed by the user.
Is that intentional?
The reason i'm asking is, that i expected this method to return true
when the document was printed and false when not. But the way it is
now, i don't know if the document was printed at all. I'd like to know
this in order to update my global wxPageSetupDialogData instance with
the (eventually changed) data.
Eric
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users