Use better title by default in wxDocPrintout.
Use the document name instead of the default "Printout" if no title is explicitly specified when creating wxDocPrintout. Closes #12885. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -922,7 +922,7 @@ private:
|
||||
class WXDLLIMPEXP_CORE wxDocPrintout : public wxPrintout
|
||||
{
|
||||
public:
|
||||
wxDocPrintout(wxView *view = NULL, const wxString& title = _("Printout"));
|
||||
wxDocPrintout(wxView *view = NULL, const wxString& title = wxString());
|
||||
|
||||
// implement wxPrintout methods
|
||||
virtual bool OnPrintPage(int page);
|
||||
|
Reference in New Issue
Block a user