@Credits to Xaviou from wxDev.fr.
You can try overriding the "OnBeginDocument" method in your wxPrintout derived class.
The default code is the following (the "OnBeginDocument" is virtual) in wx-src/common/prntbase.cpp:584 :
bool wxPrintout::OnBeginDocument(int WXUNUSED(startPage), int WXUNUSED(endPage))
{
return GetDC()->StartDoc(_("Printing ") + m_printoutTitle);
}
I think that if you provide yours with the correct text, it should be ok.
Regards Xav'
Edit : Tested on an app of mine that do printing stuff, and it works...
Worked for me too