Added missing method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -339,18 +339,28 @@ public:
|
|||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
||||||
|
enum wxPrinterError
|
||||||
|
{
|
||||||
|
wxPRINTER_NO_ERROR = 0,
|
||||||
|
wxPRINTER_CANCELLED,
|
||||||
|
wxPRINTER_ERROR
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
class wxPrinter : public wxObject {
|
class wxPrinter : public wxObject {
|
||||||
public:
|
public:
|
||||||
wxPrinter(wxPrintDialogData* data = NULL);
|
wxPrinter(wxPrintDialogData* data = NULL);
|
||||||
~wxPrinter();
|
~wxPrinter();
|
||||||
|
|
||||||
// bool Abort();
|
|
||||||
void CreateAbortWindow(wxWindow* parent, wxPyPrintout* printout);
|
void CreateAbortWindow(wxWindow* parent, wxPyPrintout* printout);
|
||||||
wxPrintDialogData& GetPrintDialogData();
|
wxPrintDialogData& GetPrintDialogData();
|
||||||
bool Print(wxWindow *parent, wxPyPrintout *printout, int prompt=TRUE);
|
bool Print(wxWindow *parent, wxPyPrintout *printout, int prompt=TRUE);
|
||||||
wxDC* PrintDialog(wxWindow *parent);
|
wxDC* PrintDialog(wxWindow *parent);
|
||||||
void ReportError(wxWindow *parent, wxPyPrintout *printout, const wxString& message);
|
void ReportError(wxWindow *parent, wxPyPrintout *printout, const wxString& message);
|
||||||
bool Setup(wxWindow *parent);
|
bool Setup(wxWindow *parent);
|
||||||
|
bool GetAbort();
|
||||||
|
|
||||||
|
static wxPrinterError GetLastError();
|
||||||
};
|
};
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user