Add Get|SetPrintMode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2011-10-04 21:37:06 +00:00
parent ba7df825c9
commit dc36332879

View File

@@ -271,7 +271,6 @@ enum wxPrintBin
long GetPrinterTranslateX() const ; long GetPrinterTranslateX() const ;
long GetPrinterTranslateY() const ; long GetPrinterTranslateY() const ;
// wxPRINT_MODE_PREVIEW, wxPRINT_MODE_FILE, wxPRINT_MODE_PRINTER // wxPRINT_MODE_PREVIEW, wxPRINT_MODE_FILE, wxPRINT_MODE_PRINTER
wxPrintMode GetPrintMode() const ;
void SetPrinterCommand(const wxString& command) ; void SetPrinterCommand(const wxString& command) ;
void SetPrinterOptions(const wxString& options) ; void SetPrinterOptions(const wxString& options) ;
@@ -284,7 +283,6 @@ enum wxPrintBin
void SetPrinterTranslateX(long x) ; void SetPrinterTranslateX(long x) ;
void SetPrinterTranslateY(long y) ; void SetPrinterTranslateY(long y) ;
void SetPrinterTranslation(long x, long y) ; void SetPrinterTranslation(long x, long y) ;
void SetPrintMode(wxPrintMode printMode) ;
@endcode @endcode
@library{wxcore} @library{wxcore}
@@ -450,6 +448,9 @@ public:
wxString GetFilename() const; wxString GetFilename() const;
void SetFilename( const wxString &filename ); void SetFilename( const wxString &filename );
wxPrintMode GetPrintMode() const ;
void SetPrintMode(wxPrintMode printMode) ;
}; };