Replace wxPrintout::SetIsPreview() with SetPreview().
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 May 2010 12:19:59 +0000 (12:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 May 2010 12:19:59 +0000 (12:19 +0000)
commit1bd122ddfa1d4d3e5f87ecb1e7dd317439fb6593
tree1f628cca742f1a4578f55eb438980e3cbb6a1040
parent5009cb6accf219ec5ce6010b9b1ea88bece64e03
Replace wxPrintout::SetIsPreview() with SetPreview().

Unlike the old function just indicating whether a printout is being used for
previewing, the new one associates the preview object with it. This can be
useful if we need to access the window used for the preview, for example.

Also remove a bunch of apparently unnecessary SetIsPreview(false) calls as
printing (and not previewing) is already the default.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/prntbase.h
interface/wx/print.h
src/common/prntbase.cpp
src/generic/printps.cpp
src/gtk/gnome/gprint.cpp
src/gtk/print.cpp
src/msw/printwin.cpp
src/osx/core/printmac.cpp