Use better title by default in wxDocPrintout.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 6 Feb 2011 01:01:09 +0000 (01:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 6 Feb 2011 01:01:09 +0000 (01:01 +0000)
commit302674fe1712a4abfa00203f91d13cb977007c8c
tree9ae2bbbf7f2c8507ad30ecb92a1cbf409e34806e
parenta5c468483d43741305217e0a9acc42c7154dd166
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
include/wx/docview.h
src/common/docview.cpp