1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
#############################################################################
## Name: ext/print/XS/Printer.xs
## Purpose: XS for Wx::Printer
## Author: Mattia Barbon
## Modified by:
## Created: 29/05/2001
## RCS-ID: $Id: Printer.xs 2057 2007-06-18 23:03:00Z mbarbon $
## Copyright: (c) 2001-2004, 2006-2007 Mattia Barbon
## Licence: This program is free software; you can redistribute it and/or
## modify it under the same terms as Perl itself
#############################################################################
#include <wx/print.h>
#include <wx/dc.h>
MODULE=Wx PACKAGE=Wx::Printer
wxPrinter*
wxPrinter::new( data = 0 )
wxPrintDialogData* data
static void
wxPrinter::CLONE()
CODE:
wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
## // thread OK
void
wxPrinter::DESTROY()
CODE:
wxPli_thread_sv_unregister( aTHX_ "Wx::Printer", THIS, ST(0) );
delete THIS;
bool
wxPrinter::GetAbort()
wxPrintDialogData*
wxPrinter::GetPrintDialogData()
CODE:
RETVAL = &THIS->GetPrintDialogData();
OUTPUT:
RETVAL
void
wxPrinter::CreateAbortWindow( parent, printout )
wxWindow* parent
wxPrintout* printout
wxPrinterError
GetLastError()
CODE:
RETVAL = wxPrinter::GetLastError();
OUTPUT:
RETVAL
bool
wxPrinter::Print( parent, printout, prompt = true )
wxWindow* parent
wxPrintout* printout
bool prompt
wxDC*
wxPrinter::PrintDialog( parent )
wxWindow* parent
void
wxPrinter::ReportError( parent, printout, message )
wxWindow* parent
wxPrintout* printout
wxString message
CODE:
THIS->ReportError( parent, printout, message );
bool
wxPrinter::Setup( parent )
wxWindow* parent
|