PS can output to ta stream (but still need to make output streams more
usable from wxPython...) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,7 +32,8 @@ enum wxPrintMode
|
||||
wxPRINT_MODE_NONE = 0,
|
||||
wxPRINT_MODE_PREVIEW = 1, // Preview in external application
|
||||
wxPRINT_MODE_FILE = 2, // Print to file
|
||||
wxPRINT_MODE_PRINTER = 3 // Send to printer
|
||||
wxPRINT_MODE_PRINTER = 3, // Send to printer
|
||||
wxPRINT_MODE_STREAM = 4 // Send postscript data into a stream
|
||||
};
|
||||
|
||||
|
||||
@@ -92,6 +93,9 @@ public:
|
||||
void SetPrinterTranslation(long x, long y);
|
||||
void SetPrintMode(wxPrintMode printMode);
|
||||
|
||||
wxOutputStream* GetOutputStream();
|
||||
void SetOutputStream(wxOutputStream* outputstream);
|
||||
|
||||
%pythoncode { def __nonzero__(self): return self.Ok() }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user