Search found 3 matches

by Rob190
Sun Jun 14, 2020 9:52 pm
Forum: C++ Development
Topic: wxPrintout(): Where does the wxPrinterDC come from?
Replies: 3
Views: 241

Re: wxPrintout(): Where does the wxPrinterDC come from?

That could actually be anything derived from wxDC. Somewhere in the docs or sample it does actually say it's a wxPrinterDC or wxMemoryDC depending on whether it's a print or a print preview. I'm still unsure where it comes from though. A DC must somehow be associated with the device but how does tha...
by Rob190
Sun Jun 14, 2020 9:06 pm
Forum: C++ Development
Topic: wxPrintout(): Where does the wxPrinterDC come from?
Replies: 3
Views: 241

wxPrintout(): Where does the wxPrinterDC come from?

The docomentation says:

wxDC* wxPrintout::GetDC ( ) const: "Returns the device context associated with the printout (given to the printout at start of printing or previewing)."

So how do I do that? The printer sample code doesn't have a single instance of wxPrinterDC.

Rob.
by Rob190
Sun Jun 14, 2020 8:57 pm
Forum: General Forum Issues
Topic: Error "The submitted form was invalid"
Replies: 12
Views: 3034

Re: Error "The submitted form was invalid"

Happened to me just now. Nothing worked, not even posting to the admins. It also appears my account was deleted to had to re-register. No matter. Back now.

Rob.