Make wxPORTRAIT and wxLANDSCAPE elements of wxPrintOrientation enum.

Change wxPrintData::SetOrientation() to take wxPrintOrientation instead of
int.

Closes #11393.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-12-08 16:35:47 +00:00
parent 6087ca88c1
commit af7e24c33e
11 changed files with 31 additions and 15 deletions

View File

@@ -21,7 +21,7 @@ public:
wxPrinterDCImpl(const wxString& driver, const wxString& device,
const wxString& output,
bool interactive = true,
int orientation = wxPORTRAIT);
wxPrintOrientation orientation = wxPORTRAIT);
virtual ~wxPrinterDC();
wxRect GetPaperRect() const;