2 * This file was generated automatically by ExtUtils::ParseXS version 2.2202 from the
3 * contents of Print.xs. Do not edit this file, edit Print.xs instead.
5 * ANY CHANGES MADE HERE WILL BE LOST!
9 /////////////////////////////////////////////////////////////////////////////
10 // Name: ext/print/Print.xs
11 // Purpose: XS for Print Framework
12 // Author: Mattia Barbon
14 // Created: 04/05/2001
15 // RCS-ID: $Id: Print.xs 2700 2009-12-13 11:25:50Z mbarbon $
16 // Copyright: (c) 2001-2002, 2004-2006, 2008-2009 Mattia Barbon
17 // Licence: This program is free software; you can redistribute it and/or
18 // modify it under the same terms as Perl itself
19 /////////////////////////////////////////////////////////////////////////////
21 #define PERL_NO_GET_CONTEXT
23 #include "cpp/wxapi.h"
27 #ifndef PERL_UNUSED_VAR
28 # define PERL_UNUSED_VAR(var) if (0) var = var
31 #ifndef PERL_ARGS_ASSERT_CROAK_XS_USAGE
32 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE assert(cv); assert(params)
34 /* prototype to pass -Wmissing-prototypes */
36 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params);
39 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
41 const GV *const gv = CvGV(cv);
43 PERL_ARGS_ASSERT_CROAK_XS_USAGE;
46 const char *const gvname = GvNAME(gv);
47 const HV *const stash = GvSTASH(gv);
48 const char *const hvname = stash ? HvNAME(stash) : NULL;
51 Perl_croak(aTHX_ "Usage: %s::%s(%s)", hvname, gvname, params);
53 Perl_croak(aTHX_ "Usage: %s(%s)", gvname, params);
55 /* Pants. I don't think that it should be possible to get here. */
56 Perl_croak(aTHX_ "Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), params);
59 #undef PERL_ARGS_ASSERT_CROAK_XS_USAGE
61 #ifdef PERL_IMPLICIT_CONTEXT
62 #define croak_xs_usage(a,b) S_croak_xs_usage(aTHX_ a,b)
64 #define croak_xs_usage S_croak_xs_usage
69 /* NOTE: the prototype of newXSproto() is different in versions of perls,
70 * so we define a portable version of newXSproto()
73 #define newXSproto_portable(name, c_impl, file, proto) newXS_flags(name, c_impl, file, proto, 0)
75 #define newXSproto_portable(name, c_impl, file, proto) (PL_Sv=(SV*)newXS(name, c_impl, file), sv_setpv(PL_Sv, proto), (CV*)PL_Sv)
76 #endif /* !defined(newXS_flags) */
78 #if wxPERL_USE_PRINTING_ARCHITECTURE
79 #define XSubPPtmpAAAA 1
82 /* INCLUDE: Including 'XS/PrintData.xs' from 'Print.xs' */
85 /* INCLUDE: Including 'XS/PageSetupDialog.xs' from 'XS/PrintData.xs' */
88 /* INCLUDE: Including 'XS/PageSetupDialogData.xs' from 'XS/PageSetupDialog.xs' */
91 /* INCLUDE: Including 'XS/Printer.xs' from 'XS/PageSetupDialogData.xs' */
94 /* INCLUDE: Including 'XS/PrintDialogData.xs' from 'XS/Printer.xs' */
97 /* INCLUDE: Including 'XS/PrintPreview.xs' from 'XS/PrintDialogData.xs' */
100 /* INCLUDE: Including 'XS/Printout.xs' from 'XS/PrintPreview.xs' */
103 /* INCLUDE: Including 'XS/PrintDialog.xs' from 'XS/Printout.xs' */
105 #include <wx/printdlg.h>
108 XS(XS_Wx__PrintDialog_new); /* prototype to pass -Wmissing-prototypes */
109 XS(XS_Wx__PrintDialog_new)
116 if (items < 2 || items > 3)
117 croak_xs_usage(cv, "CLASS, parent, data = 0");
119 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
120 wxPrintDialogData* data;
121 char * CLASS = (char *)SvPV_nolen(ST(0));
122 wxPrintDialog * RETVAL;
127 data = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::PrintDialogData" );
130 RETVAL = new wxPrintDialog(parent, data);
131 ST(0) = sv_newmortal();
132 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
139 XS(XS_Wx__PrintDialog_GetPrintDialogData); /* prototype to pass -Wmissing-prototypes */
140 XS(XS_Wx__PrintDialog_GetPrintDialogData)
148 croak_xs_usage(cv, "THIS");
150 wxPrintDialog * THIS = (wxPrintDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialog" );
151 wxPrintDialogData * RETVAL;
152 RETVAL = new wxPrintDialogData( THIS->GetPrintDialogData() );
153 ST(0) = sv_newmortal();
154 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
161 XS(XS_Wx__PrintDialog_GetPrintDC); /* prototype to pass -Wmissing-prototypes */
162 XS(XS_Wx__PrintDialog_GetPrintDC)
170 croak_xs_usage(cv, "THIS");
172 wxPrintDialog * THIS = (wxPrintDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialog" );
175 RETVAL = THIS->GetPrintDC();
176 ST(0) = sv_newmortal();
177 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
178 wxPli_thread_sv_register( aTHX_ "Wx::DC", RETVAL, ST(0) );
185 /* INCLUDE: Returning to 'XS/Printout.xs' from 'XS/PrintDialog.xs' */
187 #include <wx/print.h>
188 #include <wx/dcprint.h>
189 #include "cpp/printout.h"
190 #if defined( __WXMSW__ )
191 #define XSubPPtmpAAAB 1
194 XS(XS_Wx__PrinterDC_new); /* prototype to pass -Wmissing-prototypes */
195 XS(XS_Wx__PrinterDC_new)
203 croak_xs_usage(cv, "CLASS, data");
205 wxPrintData* data = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PrintData" );
206 char * CLASS = (char *)SvPV_nolen(ST(0));
207 wxPrinterDC * RETVAL;
208 RETVAL = new wxPrinterDC( *data );
209 ST(0) = sv_newmortal();
210 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
217 XS(XS_Wx__PrinterDC_GetPaperRect); /* prototype to pass -Wmissing-prototypes */
218 XS(XS_Wx__PrinterDC_GetPaperRect)
226 croak_xs_usage(cv, "THIS");
228 wxPrinterDC * THIS = (wxPrinterDC *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrinterDC" );
230 RETVAL = new wxRect( THIS->GetPaperRect() );
231 ST(0) = sv_newmortal();
232 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
233 wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
241 XS(XS_Wx__Printout_new); /* prototype to pass -Wmissing-prototypes */
242 XS(XS_Wx__Printout_new)
249 if (items < 1 || items > 2)
250 croak_xs_usage(cv, "CLASS, title = wxT(\"Printout\")");
253 char * CLASS = (char *)SvPV_nolen(ST(0));
257 title = wxT("Printout");
259 WXSTRING_INPUT( title, wxString, ST(1) );
261 RETVAL = new wxPlPrintout( CLASS, title );
262 ST(0) = sv_newmortal();
263 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
270 XS(XS_Wx__Printout_Destroy); /* prototype to pass -Wmissing-prototypes */
271 XS(XS_Wx__Printout_Destroy)
279 croak_xs_usage(cv, "THIS");
281 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
288 XS(XS_Wx__Printout_GetDC); /* prototype to pass -Wmissing-prototypes */
289 XS(XS_Wx__Printout_GetDC)
297 croak_xs_usage(cv, "THIS");
299 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
302 RETVAL = THIS->GetDC();
303 ST(0) = sv_newmortal();
304 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
305 wxPli_thread_sv_register( aTHX_ "Wx::DC", RETVAL, ST(0) );
307 wxPli_object_set_deleteable( aTHX_ ST(0), false );
313 XS(XS_Wx__Printout_GetPageInfo); /* prototype to pass -Wmissing-prototypes */
314 XS(XS_Wx__Printout_GetPageInfo)
322 croak_xs_usage(cv, "THIS");
323 PERL_UNUSED_VAR(ax); /* -Wall */
326 int minPage, maxPage, pageFrom, pageTo;
327 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
328 THIS->wxPrintout::GetPageInfo( &minPage, &maxPage, &pageFrom, &pageTo );
330 PUSHs( sv_2mortal( newSViv( minPage ) ) );
331 PUSHs( sv_2mortal( newSViv( maxPage ) ) );
332 PUSHs( sv_2mortal( newSViv( pageFrom ) ) );
333 PUSHs( sv_2mortal( newSViv( pageTo ) ) );
340 XS(XS_Wx__Printout_GetPageSizeMM); /* prototype to pass -Wmissing-prototypes */
341 XS(XS_Wx__Printout_GetPageSizeMM)
349 croak_xs_usage(cv, "THIS");
350 PERL_UNUSED_VAR(ax); /* -Wall */
354 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
355 THIS->GetPageSizeMM( &w, &h );
357 PUSHs( sv_2mortal( newSViv( w ) ) );
358 PUSHs( sv_2mortal( newSViv( h ) ) );
365 XS(XS_Wx__Printout_GetPageSizePixels); /* prototype to pass -Wmissing-prototypes */
366 XS(XS_Wx__Printout_GetPageSizePixels)
374 croak_xs_usage(cv, "THIS");
375 PERL_UNUSED_VAR(ax); /* -Wall */
379 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
380 THIS->GetPageSizePixels( &w, &h );
382 PUSHs( sv_2mortal( newSViv( w ) ) );
383 PUSHs( sv_2mortal( newSViv( h ) ) );
390 XS(XS_Wx__Printout_GetPPIPrinter); /* prototype to pass -Wmissing-prototypes */
391 XS(XS_Wx__Printout_GetPPIPrinter)
399 croak_xs_usage(cv, "THIS");
400 PERL_UNUSED_VAR(ax); /* -Wall */
404 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
405 THIS->GetPPIPrinter( &w, &h );
407 PUSHs( sv_2mortal( newSViv( w ) ) );
408 PUSHs( sv_2mortal( newSViv( h ) ) );
415 XS(XS_Wx__Printout_GetPPIScreen); /* prototype to pass -Wmissing-prototypes */
416 XS(XS_Wx__Printout_GetPPIScreen)
424 croak_xs_usage(cv, "THIS");
425 PERL_UNUSED_VAR(ax); /* -Wall */
429 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
430 THIS->GetPPIScreen( &w, &h );
432 PUSHs( sv_2mortal( newSViv( w ) ) );
433 PUSHs( sv_2mortal( newSViv( h ) ) );
439 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
440 #define XSubPPtmpAAAC 1
443 XS(XS_Wx__Printout_GetPaperRectPixels); /* prototype to pass -Wmissing-prototypes */
444 XS(XS_Wx__Printout_GetPaperRectPixels)
452 croak_xs_usage(cv, "THIS");
454 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
456 RETVAL = new wxRect( THIS->GetPaperRectPixels() );
457 ST(0) = sv_newmortal();
458 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
459 wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
467 XS(XS_Wx__Printout_GetTitle); /* prototype to pass -Wmissing-prototypes */
468 XS(XS_Wx__Printout_GetTitle)
476 croak_xs_usage(cv, "THIS");
478 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
481 RETVAL = THIS->GetTitle();
482 ST(0) = sv_newmortal();
483 WXSTRING_OUTPUT( RETVAL, ST(0) );
490 XS(XS_Wx__Printout_HasPage); /* prototype to pass -Wmissing-prototypes */
491 XS(XS_Wx__Printout_HasPage)
499 croak_xs_usage(cv, "THIS, pageNum");
501 int pageNum = (int)SvIV(ST(1));
502 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
504 RETVAL = THIS->wxPrintout::HasPage( pageNum );
505 ST(0) = boolSV(RETVAL);
512 XS(XS_Wx__Printout_IsPreview); /* prototype to pass -Wmissing-prototypes */
513 XS(XS_Wx__Printout_IsPreview)
521 croak_xs_usage(cv, "THIS");
523 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
526 RETVAL = THIS->IsPreview();
527 ST(0) = boolSV(RETVAL);
534 XS(XS_Wx__Printout_OnBeginDocument); /* prototype to pass -Wmissing-prototypes */
535 XS(XS_Wx__Printout_OnBeginDocument)
543 croak_xs_usage(cv, "THIS, startPage, endPage");
545 int startPage = (int)SvIV(ST(1));
546 int endPage = (int)SvIV(ST(2));
547 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
549 RETVAL = THIS->wxPrintout::OnBeginDocument( startPage, endPage );
550 ST(0) = boolSV(RETVAL);
557 XS(XS_Wx__Printout_OnEndDocument); /* prototype to pass -Wmissing-prototypes */
558 XS(XS_Wx__Printout_OnEndDocument)
566 croak_xs_usage(cv, "THIS");
568 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
569 THIS->wxPrintout::OnEndDocument();
575 XS(XS_Wx__Printout_OnBeginPrinting); /* prototype to pass -Wmissing-prototypes */
576 XS(XS_Wx__Printout_OnBeginPrinting)
584 croak_xs_usage(cv, "THIS");
586 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
587 THIS->wxPrintout::OnBeginPrinting();
593 XS(XS_Wx__Printout_OnEndPrinting); /* prototype to pass -Wmissing-prototypes */
594 XS(XS_Wx__Printout_OnEndPrinting)
602 croak_xs_usage(cv, "THIS");
604 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
605 THIS->wxPrintout::OnEndPrinting();
611 XS(XS_Wx__Printout_OnPreparePrinting); /* prototype to pass -Wmissing-prototypes */
612 XS(XS_Wx__Printout_OnPreparePrinting)
620 croak_xs_usage(cv, "THIS");
622 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
623 THIS->wxPrintout::OnPreparePrinting();
628 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
629 #define XSubPPtmpAAAD 1
632 XS(XS_Wx__Printout_FitThisSizeToPaper); /* prototype to pass -Wmissing-prototypes */
633 XS(XS_Wx__Printout_FitThisSizeToPaper)
641 croak_xs_usage(cv, "THIS, imageSize");
643 wxSize imageSize = wxPli_sv_2_wxsize( aTHX_ ST(1) );
644 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
646 THIS->FitThisSizeToPaper(imageSize);
652 XS(XS_Wx__Printout_FitThisSizeToPage); /* prototype to pass -Wmissing-prototypes */
653 XS(XS_Wx__Printout_FitThisSizeToPage)
661 croak_xs_usage(cv, "THIS, imageSize");
663 wxSize imageSize = wxPli_sv_2_wxsize( aTHX_ ST(1) );
664 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
666 THIS->FitThisSizeToPage(imageSize);
672 XS(XS_Wx__Printout_FitThisSizeToPageMargins); /* prototype to pass -Wmissing-prototypes */
673 XS(XS_Wx__Printout_FitThisSizeToPageMargins)
681 croak_xs_usage(cv, "THIS, imageSize, pageSetupData");
683 wxSize imageSize = wxPli_sv_2_wxsize( aTHX_ ST(1) );
684 wxPageSetupDialogData* pageSetupData = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::PageSetupDialogData" );
685 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
687 THIS->FitThisSizeToPageMargins(imageSize, *pageSetupData);
693 XS(XS_Wx__Printout_MapScreenSizeToPaper); /* prototype to pass -Wmissing-prototypes */
694 XS(XS_Wx__Printout_MapScreenSizeToPaper)
702 croak_xs_usage(cv, "THIS");
704 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
706 THIS->MapScreenSizeToPaper();
712 XS(XS_Wx__Printout_MapScreenSizeToPage); /* prototype to pass -Wmissing-prototypes */
713 XS(XS_Wx__Printout_MapScreenSizeToPage)
721 croak_xs_usage(cv, "THIS");
723 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
725 THIS->MapScreenSizeToPage();
731 XS(XS_Wx__Printout_MapScreenSizeToPageMargins); /* prototype to pass -Wmissing-prototypes */
732 XS(XS_Wx__Printout_MapScreenSizeToPageMargins)
740 croak_xs_usage(cv, "THIS, pageSetupData");
742 wxPageSetupDialogData* pageSetupData = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PageSetupDialogData" );
743 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
745 THIS->MapScreenSizeToPageMargins(*pageSetupData);
751 XS(XS_Wx__Printout_MapScreenSizeToDevice); /* prototype to pass -Wmissing-prototypes */
752 XS(XS_Wx__Printout_MapScreenSizeToDevice)
760 croak_xs_usage(cv, "THIS");
762 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
764 THIS->MapScreenSizeToDevice();
770 XS(XS_Wx__Printout_GetLogicalPaperRect); /* prototype to pass -Wmissing-prototypes */
771 XS(XS_Wx__Printout_GetLogicalPaperRect)
779 croak_xs_usage(cv, "THIS");
781 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
783 RETVAL = new wxRect( THIS->GetLogicalPaperRect() );
784 ST(0) = sv_newmortal();
785 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
786 wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
793 XS(XS_Wx__Printout_GetLogicalPageRect); /* prototype to pass -Wmissing-prototypes */
794 XS(XS_Wx__Printout_GetLogicalPageRect)
802 croak_xs_usage(cv, "THIS");
804 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
806 RETVAL = new wxRect( THIS->GetLogicalPageRect() );
807 ST(0) = sv_newmortal();
808 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
809 wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
816 XS(XS_Wx__Printout_GetLogicalPageMarginsRect); /* prototype to pass -Wmissing-prototypes */
817 XS(XS_Wx__Printout_GetLogicalPageMarginsRect)
825 croak_xs_usage(cv, "THIS, pageSetupData");
827 wxPageSetupDialogData* pageSetupData = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PageSetupDialogData" );
828 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
830 RETVAL = new wxRect( THIS->GetLogicalPageMarginsRect( *pageSetupData ) );
831 ST(0) = sv_newmortal();
832 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
833 wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
840 XS(XS_Wx__Printout_SetLogicalOrigin); /* prototype to pass -Wmissing-prototypes */
841 XS(XS_Wx__Printout_SetLogicalOrigin)
849 croak_xs_usage(cv, "THIS, x, y");
851 wxCoord x = (wxCoord)SvIV(ST(1));
852 wxCoord y = (wxCoord)SvIV(ST(2));
853 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
855 THIS->SetLogicalOrigin(x, y);
861 XS(XS_Wx__Printout_OffsetLogicalOrigin); /* prototype to pass -Wmissing-prototypes */
862 XS(XS_Wx__Printout_OffsetLogicalOrigin)
870 croak_xs_usage(cv, "THIS, xoff, yoff");
872 wxCoord xoff = (wxCoord)SvIV(ST(1));
873 wxCoord yoff = (wxCoord)SvIV(ST(2));
874 wxPrintout * THIS = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printout" );
876 THIS->OffsetLogicalOrigin(xoff, yoff);
883 /* INCLUDE: Returning to 'XS/PrintPreview.xs' from 'XS/Printout.xs' */
885 #include <wx/print.h>
887 XS(XS_Wx__PrintPreview_new); /* prototype to pass -Wmissing-prototypes */
888 XS(XS_Wx__PrintPreview_new)
895 if (items < 3 || items > 4)
896 croak_xs_usage(cv, "CLASS, printout, printoutForPrinting, data = 0");
898 wxPrintout* printout = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Printout" );
899 wxPrintout* printoutForPrinting = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Printout" );
901 char * CLASS = (char *)SvPV_nolen(ST(0));
902 wxPrintPreview * RETVAL;
907 data = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::PrintData" );
910 RETVAL = new wxPrintPreview(printout, printoutForPrinting, data);
911 ST(0) = sv_newmortal();
912 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
919 XS(XS_Wx__PrintPreview_Destroy); /* prototype to pass -Wmissing-prototypes */
920 XS(XS_Wx__PrintPreview_Destroy)
928 croak_xs_usage(cv, "THIS");
930 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
936 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
937 #define XSubPPtmpAAAE 1
940 XS(XS_Wx__PrintPreview_IsOk); /* prototype to pass -Wmissing-prototypes */
941 XS(XS_Wx__PrintPreview_IsOk)
949 croak_xs_usage(cv, "THIS");
951 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
954 RETVAL = THIS->IsOk();
955 ST(0) = boolSV(RETVAL);
963 XS(XS_Wx__PrintPreview_GetCanvas); /* prototype to pass -Wmissing-prototypes */
964 XS(XS_Wx__PrintPreview_GetCanvas)
972 croak_xs_usage(cv, "THIS");
974 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
977 RETVAL = THIS->GetCanvas();
978 ST(0) = sv_newmortal();
979 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
986 XS(XS_Wx__PrintPreview_GetCurrentPage); /* prototype to pass -Wmissing-prototypes */
987 XS(XS_Wx__PrintPreview_GetCurrentPage)
995 croak_xs_usage(cv, "THIS");
997 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1001 RETVAL = THIS->GetCurrentPage();
1002 XSprePUSH; PUSHi((IV)RETVAL);
1008 XS(XS_Wx__PrintPreview_GetFrame); /* prototype to pass -Wmissing-prototypes */
1009 XS(XS_Wx__PrintPreview_GetFrame)
1017 croak_xs_usage(cv, "THIS");
1019 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1022 RETVAL = THIS->GetFrame();
1023 ST(0) = sv_newmortal();
1024 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1031 XS(XS_Wx__PrintPreview_GetMaxPage); /* prototype to pass -Wmissing-prototypes */
1032 XS(XS_Wx__PrintPreview_GetMaxPage)
1040 croak_xs_usage(cv, "THIS");
1042 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1046 RETVAL = THIS->GetMaxPage();
1047 XSprePUSH; PUSHi((IV)RETVAL);
1053 XS(XS_Wx__PrintPreview_GetMinPage); /* prototype to pass -Wmissing-prototypes */
1054 XS(XS_Wx__PrintPreview_GetMinPage)
1062 croak_xs_usage(cv, "THIS");
1064 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1068 RETVAL = THIS->GetMinPage();
1069 XSprePUSH; PUSHi((IV)RETVAL);
1075 XS(XS_Wx__PrintPreview_GetPrintout); /* prototype to pass -Wmissing-prototypes */
1076 XS(XS_Wx__PrintPreview_GetPrintout)
1084 croak_xs_usage(cv, "THIS");
1086 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1087 wxPrintout * RETVAL;
1089 RETVAL = THIS->GetPrintout();
1090 ST(0) = sv_newmortal();
1091 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1098 XS(XS_Wx__PrintPreview_GetPrintoutForPrinting); /* prototype to pass -Wmissing-prototypes */
1099 XS(XS_Wx__PrintPreview_GetPrintoutForPrinting)
1107 croak_xs_usage(cv, "THIS");
1109 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1110 wxPrintout * RETVAL;
1112 RETVAL = THIS->GetPrintoutForPrinting();
1113 ST(0) = sv_newmortal();
1114 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1121 XS(XS_Wx__PrintPreview_Ok); /* prototype to pass -Wmissing-prototypes */
1122 XS(XS_Wx__PrintPreview_Ok)
1130 croak_xs_usage(cv, "THIS");
1132 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1135 RETVAL = THIS->Ok();
1136 ST(0) = boolSV(RETVAL);
1142 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
1143 #define XSubPPtmpAAAF 1
1146 XS(XS_Wx__PrintPreview_PaintPage); /* prototype to pass -Wmissing-prototypes */
1147 XS(XS_Wx__PrintPreview_PaintPage)
1155 croak_xs_usage(cv, "THIS, canvas, dc");
1157 wxPreviewCanvas* canvas = (wxPreviewCanvas *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PreviewCanvas" );
1158 wxDC* dc = (wxDC *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::DC" );
1159 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1162 RETVAL = THIS->PaintPage(canvas, *dc);
1163 ST(0) = boolSV(RETVAL);
1170 #define XSubPPtmpAAAG 1
1173 XS(XS_Wx__PrintPreview_PaintPage); /* prototype to pass -Wmissing-prototypes */
1174 XS(XS_Wx__PrintPreview_PaintPage)
1182 croak_xs_usage(cv, "THIS, window, dc");
1184 wxWindow* window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1185 wxDC* dc = (wxDC *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::DC" );
1186 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1189 RETVAL = THIS->PaintPage(window, *dc);
1190 ST(0) = boolSV(RETVAL);
1198 XS(XS_Wx__PrintPreview_Print); /* prototype to pass -Wmissing-prototypes */
1199 XS(XS_Wx__PrintPreview_Print)
1207 croak_xs_usage(cv, "THIS, prompt");
1209 bool prompt = (bool)SvTRUE(ST(1));
1210 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1213 RETVAL = THIS->Print(prompt);
1214 ST(0) = boolSV(RETVAL);
1220 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
1221 #define XSubPPtmpAAAH 1
1224 XS(XS_Wx__PrintPreview_SetCanvas); /* prototype to pass -Wmissing-prototypes */
1225 XS(XS_Wx__PrintPreview_SetCanvas)
1233 croak_xs_usage(cv, "THIS, canvas");
1235 wxPreviewCanvas* canvas = (wxPreviewCanvas *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PreviewCanvas" );
1236 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1238 THIS->SetCanvas(canvas);
1244 #define XSubPPtmpAAAI 1
1247 XS(XS_Wx__PrintPreview_SetCanvas); /* prototype to pass -Wmissing-prototypes */
1248 XS(XS_Wx__PrintPreview_SetCanvas)
1256 croak_xs_usage(cv, "THIS, window");
1258 wxWindow* window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1259 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1261 THIS->SetCanvas(window);
1268 XS(XS_Wx__PrintPreview_SetCurrentPage); /* prototype to pass -Wmissing-prototypes */
1269 XS(XS_Wx__PrintPreview_SetCurrentPage)
1277 croak_xs_usage(cv, "THIS, pageNum");
1279 int pageNum = (int)SvIV(ST(1));
1280 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1282 THIS->SetCurrentPage(pageNum);
1288 XS(XS_Wx__PrintPreview_SetFrame); /* prototype to pass -Wmissing-prototypes */
1289 XS(XS_Wx__PrintPreview_SetFrame)
1297 croak_xs_usage(cv, "THIS, frame");
1299 wxFrame* frame = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Frame" );
1300 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1302 THIS->SetFrame(frame);
1308 XS(XS_Wx__PrintPreview_SetPrintout); /* prototype to pass -Wmissing-prototypes */
1309 XS(XS_Wx__PrintPreview_SetPrintout)
1317 croak_xs_usage(cv, "THIS, printout");
1319 wxPrintout* printout = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Printout" );
1320 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1322 THIS->SetPrintout(printout);
1328 XS(XS_Wx__PrintPreview_SetZoom); /* prototype to pass -Wmissing-prototypes */
1329 XS(XS_Wx__PrintPreview_SetZoom)
1337 croak_xs_usage(cv, "THIS, percent");
1339 int percent = (int)SvIV(ST(1));
1340 wxPrintPreview * THIS = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintPreview" );
1342 THIS->SetZoom(percent);
1348 /* INCLUDE: Returning to 'XS/PrintDialogData.xs' from 'XS/PrintPreview.xs' */
1350 #include <wx/cmndata.h>
1352 XS(XS_Wx__PrintDialogData_new); /* prototype to pass -Wmissing-prototypes */
1353 XS(XS_Wx__PrintDialogData_new)
1361 croak_xs_usage(cv, "CLASS");
1363 char * CLASS = (char *)SvPV_nolen(ST(0));
1364 wxPrintDialogData * RETVAL;
1366 RETVAL = new wxPrintDialogData();
1367 ST(0) = sv_newmortal();
1368 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1375 XS(XS_Wx__PrintDialogData_Destroy); /* prototype to pass -Wmissing-prototypes */
1376 XS(XS_Wx__PrintDialogData_Destroy)
1384 croak_xs_usage(cv, "THIS");
1386 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1392 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
1393 #define XSubPPtmpAAAJ 1
1396 XS(XS_Wx__PrintDialogData_IsOk); /* prototype to pass -Wmissing-prototypes */
1397 XS(XS_Wx__PrintDialogData_IsOk)
1405 croak_xs_usage(cv, "THIS");
1407 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1410 RETVAL = THIS->IsOk();
1411 ST(0) = boolSV(RETVAL);
1419 XS(XS_Wx__PrintDialogData_EnableHelp); /* prototype to pass -Wmissing-prototypes */
1420 XS(XS_Wx__PrintDialogData_EnableHelp)
1428 croak_xs_usage(cv, "THIS, enable");
1430 bool enable = (bool)SvTRUE(ST(1));
1431 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1433 THIS->EnableHelp(enable);
1439 XS(XS_Wx__PrintDialogData_EnablePageNumbers); /* prototype to pass -Wmissing-prototypes */
1440 XS(XS_Wx__PrintDialogData_EnablePageNumbers)
1448 croak_xs_usage(cv, "THIS, enable");
1450 bool enable = (bool)SvTRUE(ST(1));
1451 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1453 THIS->EnablePageNumbers(enable);
1459 XS(XS_Wx__PrintDialogData_EnablePrintToFile); /* prototype to pass -Wmissing-prototypes */
1460 XS(XS_Wx__PrintDialogData_EnablePrintToFile)
1468 croak_xs_usage(cv, "THIS, enable");
1470 bool enable = (bool)SvTRUE(ST(1));
1471 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1473 THIS->EnablePrintToFile(enable);
1479 XS(XS_Wx__PrintDialogData_EnableSelection); /* prototype to pass -Wmissing-prototypes */
1480 XS(XS_Wx__PrintDialogData_EnableSelection)
1488 croak_xs_usage(cv, "THIS, enable");
1490 bool enable = (bool)SvTRUE(ST(1));
1491 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1493 THIS->EnableSelection(enable);
1499 XS(XS_Wx__PrintDialogData_GetAllPages); /* prototype to pass -Wmissing-prototypes */
1500 XS(XS_Wx__PrintDialogData_GetAllPages)
1508 croak_xs_usage(cv, "THIS");
1510 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1513 RETVAL = THIS->GetAllPages();
1514 ST(0) = boolSV(RETVAL);
1521 XS(XS_Wx__PrintDialogData_GetCollate); /* prototype to pass -Wmissing-prototypes */
1522 XS(XS_Wx__PrintDialogData_GetCollate)
1530 croak_xs_usage(cv, "THIS");
1532 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1535 RETVAL = THIS->GetCollate();
1536 ST(0) = boolSV(RETVAL);
1543 XS(XS_Wx__PrintDialogData_GetFromPage); /* prototype to pass -Wmissing-prototypes */
1544 XS(XS_Wx__PrintDialogData_GetFromPage)
1552 croak_xs_usage(cv, "THIS");
1554 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1558 RETVAL = THIS->GetFromPage();
1559 XSprePUSH; PUSHi((IV)RETVAL);
1565 XS(XS_Wx__PrintDialogData_GetMaxPage); /* prototype to pass -Wmissing-prototypes */
1566 XS(XS_Wx__PrintDialogData_GetMaxPage)
1574 croak_xs_usage(cv, "THIS");
1576 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1580 RETVAL = THIS->GetMaxPage();
1581 XSprePUSH; PUSHi((IV)RETVAL);
1587 XS(XS_Wx__PrintDialogData_GetMinPage); /* prototype to pass -Wmissing-prototypes */
1588 XS(XS_Wx__PrintDialogData_GetMinPage)
1596 croak_xs_usage(cv, "THIS");
1598 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1602 RETVAL = THIS->GetMinPage();
1603 XSprePUSH; PUSHi((IV)RETVAL);
1609 XS(XS_Wx__PrintDialogData_GetNoCopies); /* prototype to pass -Wmissing-prototypes */
1610 XS(XS_Wx__PrintDialogData_GetNoCopies)
1618 croak_xs_usage(cv, "THIS");
1620 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1624 RETVAL = THIS->GetNoCopies();
1625 XSprePUSH; PUSHi((IV)RETVAL);
1631 XS(XS_Wx__PrintDialogData_GetPrintData); /* prototype to pass -Wmissing-prototypes */
1632 XS(XS_Wx__PrintDialogData_GetPrintData)
1640 croak_xs_usage(cv, "THIS");
1642 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1643 wxPrintData * RETVAL;
1644 RETVAL = &THIS->GetPrintData();
1645 ST(0) = sv_newmortal();
1646 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1653 XS(XS_Wx__PrintDialogData_GetPrintToFile); /* prototype to pass -Wmissing-prototypes */
1654 XS(XS_Wx__PrintDialogData_GetPrintToFile)
1662 croak_xs_usage(cv, "THIS");
1664 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1667 RETVAL = THIS->GetPrintToFile();
1668 ST(0) = boolSV(RETVAL);
1675 XS(XS_Wx__PrintDialogData_GetSelection); /* prototype to pass -Wmissing-prototypes */
1676 XS(XS_Wx__PrintDialogData_GetSelection)
1684 croak_xs_usage(cv, "THIS");
1686 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1689 RETVAL = THIS->GetSelection();
1690 ST(0) = boolSV(RETVAL);
1697 XS(XS_Wx__PrintDialogData_GetToPage); /* prototype to pass -Wmissing-prototypes */
1698 XS(XS_Wx__PrintDialogData_GetToPage)
1706 croak_xs_usage(cv, "THIS");
1708 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1712 RETVAL = THIS->GetToPage();
1713 XSprePUSH; PUSHi((IV)RETVAL);
1719 XS(XS_Wx__PrintDialogData_SetCollate); /* prototype to pass -Wmissing-prototypes */
1720 XS(XS_Wx__PrintDialogData_SetCollate)
1728 croak_xs_usage(cv, "THIS, collate");
1730 bool collate = (bool)SvTRUE(ST(1));
1731 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1733 THIS->SetCollate(collate);
1739 XS(XS_Wx__PrintDialogData_SetFromPage); /* prototype to pass -Wmissing-prototypes */
1740 XS(XS_Wx__PrintDialogData_SetFromPage)
1748 croak_xs_usage(cv, "THIS, page");
1750 int page = (int)SvIV(ST(1));
1751 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1753 THIS->SetFromPage(page);
1759 XS(XS_Wx__PrintDialogData_SetMaxPage); /* prototype to pass -Wmissing-prototypes */
1760 XS(XS_Wx__PrintDialogData_SetMaxPage)
1768 croak_xs_usage(cv, "THIS, page");
1770 int page = (int)SvIV(ST(1));
1771 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1773 THIS->SetMaxPage(page);
1779 XS(XS_Wx__PrintDialogData_SetMinPage); /* prototype to pass -Wmissing-prototypes */
1780 XS(XS_Wx__PrintDialogData_SetMinPage)
1788 croak_xs_usage(cv, "THIS, page");
1790 int page = (int)SvIV(ST(1));
1791 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1793 THIS->SetMinPage(page);
1799 XS(XS_Wx__PrintDialogData_SetNoCopies); /* prototype to pass -Wmissing-prototypes */
1800 XS(XS_Wx__PrintDialogData_SetNoCopies)
1808 croak_xs_usage(cv, "THIS, n");
1810 int n = (int)SvIV(ST(1));
1811 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1813 THIS->SetNoCopies(n);
1819 XS(XS_Wx__PrintDialogData_SetPrintData); /* prototype to pass -Wmissing-prototypes */
1820 XS(XS_Wx__PrintDialogData_SetPrintData)
1828 croak_xs_usage(cv, "THIS, printData");
1830 wxPrintData* printData = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PrintData" );
1831 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1832 THIS->SetPrintData( *printData );
1838 XS(XS_Wx__PrintDialogData_SetPrintToFile); /* prototype to pass -Wmissing-prototypes */
1839 XS(XS_Wx__PrintDialogData_SetPrintToFile)
1847 croak_xs_usage(cv, "THIS, flag");
1849 bool flag = (bool)SvTRUE(ST(1));
1850 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1852 THIS->SetPrintToFile(flag);
1858 XS(XS_Wx__PrintDialogData_SetSelection); /* prototype to pass -Wmissing-prototypes */
1859 XS(XS_Wx__PrintDialogData_SetSelection)
1867 croak_xs_usage(cv, "THIS, selection");
1869 bool selection = (bool)SvTRUE(ST(1));
1870 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1872 THIS->SetSelection(selection);
1877 #if WXPERL_W_VERSION_GE( 2, 5, 3 ) && WXPERL_W_VERSION_LE( 2, 5, 3 )
1878 #define XSubPPtmpAAAK 1
1881 XS(XS_Wx__PrintDialogData_SetSetupDialog); /* prototype to pass -Wmissing-prototypes */
1882 XS(XS_Wx__PrintDialogData_SetSetupDialog)
1890 croak_xs_usage(cv, "THIS, flag");
1892 bool flag = (bool)SvTRUE(ST(1));
1893 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1895 THIS->SetSetupDialog(flag);
1902 XS(XS_Wx__PrintDialogData_SetToPage); /* prototype to pass -Wmissing-prototypes */
1903 XS(XS_Wx__PrintDialogData_SetToPage)
1911 croak_xs_usage(cv, "THIS, page");
1913 int page = (int)SvIV(ST(1));
1914 wxPrintDialogData * THIS = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintDialogData" );
1916 THIS->SetToPage(page);
1922 /* INCLUDE: Returning to 'XS/Printer.xs' from 'XS/PrintDialogData.xs' */
1924 #include <wx/print.h>
1927 XS(XS_Wx__Printer_new); /* prototype to pass -Wmissing-prototypes */
1928 XS(XS_Wx__Printer_new)
1935 if (items < 1 || items > 2)
1936 croak_xs_usage(cv, "CLASS, data = 0");
1938 wxPrintDialogData* data;
1939 char * CLASS = (char *)SvPV_nolen(ST(0));
1945 data = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PrintDialogData" );
1948 RETVAL = new wxPrinter(data);
1949 ST(0) = sv_newmortal();
1950 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1951 wxPli_thread_sv_register( aTHX_ "Wx::Printer", RETVAL, ST(0) );
1958 XS(XS_Wx__Printer_CLONE); /* prototype to pass -Wmissing-prototypes */
1959 XS(XS_Wx__Printer_CLONE)
1967 croak_xs_usage(cv, "CLASS");
1969 char * CLASS = (char *)SvPV_nolen(ST(0));
1970 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
1976 XS(XS_Wx__Printer_DESTROY); /* prototype to pass -Wmissing-prototypes */
1977 XS(XS_Wx__Printer_DESTROY)
1985 croak_xs_usage(cv, "THIS");
1987 wxPrinter * THIS = (wxPrinter *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printer" );
1988 wxPli_thread_sv_unregister( aTHX_ "Wx::Printer", THIS, ST(0) );
1995 XS(XS_Wx__Printer_GetAbort); /* prototype to pass -Wmissing-prototypes */
1996 XS(XS_Wx__Printer_GetAbort)
2004 croak_xs_usage(cv, "THIS");
2006 wxPrinter * THIS = (wxPrinter *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printer" );
2009 RETVAL = THIS->GetAbort();
2010 ST(0) = boolSV(RETVAL);
2017 XS(XS_Wx__Printer_GetPrintDialogData); /* prototype to pass -Wmissing-prototypes */
2018 XS(XS_Wx__Printer_GetPrintDialogData)
2026 croak_xs_usage(cv, "THIS");
2028 wxPrinter * THIS = (wxPrinter *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printer" );
2029 wxPrintDialogData * RETVAL;
2030 RETVAL = &THIS->GetPrintDialogData();
2031 ST(0) = sv_newmortal();
2032 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2039 XS(XS_Wx__Printer_CreateAbortWindow); /* prototype to pass -Wmissing-prototypes */
2040 XS(XS_Wx__Printer_CreateAbortWindow)
2048 croak_xs_usage(cv, "THIS, parent, printout");
2050 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
2051 wxPrintout* printout = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Printout" );
2052 wxPrinter * THIS = (wxPrinter *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printer" );
2054 THIS->CreateAbortWindow(parent, printout);
2060 XS(XS_Wx__Printer_GetLastError); /* prototype to pass -Wmissing-prototypes */
2061 XS(XS_Wx__Printer_GetLastError)
2069 croak_xs_usage(cv, "");
2071 wxPrinterError RETVAL;
2073 RETVAL = wxPrinter::GetLastError();
2074 XSprePUSH; PUSHi((IV)RETVAL);
2080 XS(XS_Wx__Printer_Print); /* prototype to pass -Wmissing-prototypes */
2081 XS(XS_Wx__Printer_Print)
2088 if (items < 3 || items > 4)
2089 croak_xs_usage(cv, "THIS, parent, printout, prompt = true");
2091 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
2092 wxPrintout* printout = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Printout" );
2094 wxPrinter * THIS = (wxPrinter *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printer" );
2100 prompt = (bool)SvTRUE(ST(3));
2103 RETVAL = THIS->Print(parent, printout, prompt);
2104 ST(0) = boolSV(RETVAL);
2111 XS(XS_Wx__Printer_PrintDialog); /* prototype to pass -Wmissing-prototypes */
2112 XS(XS_Wx__Printer_PrintDialog)
2120 croak_xs_usage(cv, "THIS, parent");
2122 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
2123 wxPrinter * THIS = (wxPrinter *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printer" );
2126 RETVAL = THIS->PrintDialog(parent);
2127 ST(0) = sv_newmortal();
2128 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2129 wxPli_thread_sv_register( aTHX_ "Wx::DC", RETVAL, ST(0) );
2136 XS(XS_Wx__Printer_ReportError); /* prototype to pass -Wmissing-prototypes */
2137 XS(XS_Wx__Printer_ReportError)
2145 croak_xs_usage(cv, "THIS, parent, printout, message");
2147 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
2148 wxPrintout* printout = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Printout" );
2150 wxPrinter * THIS = (wxPrinter *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printer" );
2152 WXSTRING_INPUT( message, wxString, ST(3) );
2153 THIS->ReportError( parent, printout, message );
2159 XS(XS_Wx__Printer_Setup); /* prototype to pass -Wmissing-prototypes */
2160 XS(XS_Wx__Printer_Setup)
2168 croak_xs_usage(cv, "THIS, parent");
2170 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
2171 wxPrinter * THIS = (wxPrinter *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Printer" );
2174 RETVAL = THIS->Setup(parent);
2175 ST(0) = boolSV(RETVAL);
2182 /* INCLUDE: Returning to 'XS/PageSetupDialogData.xs' from 'XS/Printer.xs' */
2184 #include <wx/cmndata.h>
2186 XS(XS_Wx__PageSetupDialogData_new); /* prototype to pass -Wmissing-prototypes */
2187 XS(XS_Wx__PageSetupDialogData_new)
2195 croak_xs_usage(cv, "CLASS");
2197 char * CLASS = (char *)SvPV_nolen(ST(0));
2198 wxPageSetupDialogData * RETVAL;
2200 RETVAL = new wxPageSetupDialogData();
2201 ST(0) = sv_newmortal();
2202 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2209 XS(XS_Wx__PageSetupDialogData_Destroy); /* prototype to pass -Wmissing-prototypes */
2210 XS(XS_Wx__PageSetupDialogData_Destroy)
2218 croak_xs_usage(cv, "THIS");
2220 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2227 XS(XS_Wx__PageSetupDialogData_EnableHelp); /* prototype to pass -Wmissing-prototypes */
2228 XS(XS_Wx__PageSetupDialogData_EnableHelp)
2236 croak_xs_usage(cv, "THIS, flag");
2238 bool flag = (bool)SvTRUE(ST(1));
2239 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2241 THIS->EnableHelp(flag);
2247 XS(XS_Wx__PageSetupDialogData_EnableMargins); /* prototype to pass -Wmissing-prototypes */
2248 XS(XS_Wx__PageSetupDialogData_EnableMargins)
2256 croak_xs_usage(cv, "THIS, flag");
2258 bool flag = (bool)SvTRUE(ST(1));
2259 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2261 THIS->EnableMargins(flag);
2267 XS(XS_Wx__PageSetupDialogData_EnableOrientation); /* prototype to pass -Wmissing-prototypes */
2268 XS(XS_Wx__PageSetupDialogData_EnableOrientation)
2276 croak_xs_usage(cv, "THIS, flag");
2278 bool flag = (bool)SvTRUE(ST(1));
2279 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2281 THIS->EnableOrientation(flag);
2287 XS(XS_Wx__PageSetupDialogData_EnablePaper); /* prototype to pass -Wmissing-prototypes */
2288 XS(XS_Wx__PageSetupDialogData_EnablePaper)
2296 croak_xs_usage(cv, "THIS, flag");
2298 bool flag = (bool)SvTRUE(ST(1));
2299 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2301 THIS->EnablePaper(flag);
2307 XS(XS_Wx__PageSetupDialogData_EnablePrinter); /* prototype to pass -Wmissing-prototypes */
2308 XS(XS_Wx__PageSetupDialogData_EnablePrinter)
2316 croak_xs_usage(cv, "THIS, flag");
2318 bool flag = (bool)SvTRUE(ST(1));
2319 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2321 THIS->EnablePrinter(flag);
2327 XS(XS_Wx__PageSetupDialogData_GetDefaultMinMargins); /* prototype to pass -Wmissing-prototypes */
2328 XS(XS_Wx__PageSetupDialogData_GetDefaultMinMargins)
2336 croak_xs_usage(cv, "THIS");
2338 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2341 RETVAL = THIS->GetDefaultMinMargins();
2342 ST(0) = boolSV(RETVAL);
2349 XS(XS_Wx__PageSetupDialogData_GetEnableMargins); /* prototype to pass -Wmissing-prototypes */
2350 XS(XS_Wx__PageSetupDialogData_GetEnableMargins)
2358 croak_xs_usage(cv, "THIS");
2360 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2363 RETVAL = THIS->GetEnableMargins();
2364 ST(0) = boolSV(RETVAL);
2371 XS(XS_Wx__PageSetupDialogData_GetEnableOrientation); /* prototype to pass -Wmissing-prototypes */
2372 XS(XS_Wx__PageSetupDialogData_GetEnableOrientation)
2380 croak_xs_usage(cv, "THIS");
2382 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2385 RETVAL = THIS->GetEnableOrientation();
2386 ST(0) = boolSV(RETVAL);
2393 XS(XS_Wx__PageSetupDialogData_GetEnablePaper); /* prototype to pass -Wmissing-prototypes */
2394 XS(XS_Wx__PageSetupDialogData_GetEnablePaper)
2402 croak_xs_usage(cv, "THIS");
2404 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2407 RETVAL = THIS->GetEnablePaper();
2408 ST(0) = boolSV(RETVAL);
2415 XS(XS_Wx__PageSetupDialogData_GetEnablePrinter); /* prototype to pass -Wmissing-prototypes */
2416 XS(XS_Wx__PageSetupDialogData_GetEnablePrinter)
2424 croak_xs_usage(cv, "THIS");
2426 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2429 RETVAL = THIS->GetEnablePrinter();
2430 ST(0) = boolSV(RETVAL);
2437 XS(XS_Wx__PageSetupDialogData_GetEnableHelp); /* prototype to pass -Wmissing-prototypes */
2438 XS(XS_Wx__PageSetupDialogData_GetEnableHelp)
2446 croak_xs_usage(cv, "THIS");
2448 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2451 RETVAL = THIS->GetEnableHelp();
2452 ST(0) = boolSV(RETVAL);
2459 XS(XS_Wx__PageSetupDialogData_GetDefaultInfo); /* prototype to pass -Wmissing-prototypes */
2460 XS(XS_Wx__PageSetupDialogData_GetDefaultInfo)
2468 croak_xs_usage(cv, "THIS");
2470 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2473 RETVAL = THIS->GetDefaultInfo();
2474 ST(0) = boolSV(RETVAL);
2481 XS(XS_Wx__PageSetupDialogData_GetMarginTopLeft); /* prototype to pass -Wmissing-prototypes */
2482 XS(XS_Wx__PageSetupDialogData_GetMarginTopLeft)
2490 croak_xs_usage(cv, "THIS");
2492 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2494 RETVAL = new wxPoint( THIS->GetMarginTopLeft() );
2495 ST(0) = sv_newmortal();
2496 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
2497 wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
2504 XS(XS_Wx__PageSetupDialogData_GetMarginBottomRight); /* prototype to pass -Wmissing-prototypes */
2505 XS(XS_Wx__PageSetupDialogData_GetMarginBottomRight)
2513 croak_xs_usage(cv, "THIS");
2515 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2517 RETVAL = new wxPoint( THIS->GetMarginBottomRight() );
2518 ST(0) = sv_newmortal();
2519 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
2520 wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
2527 XS(XS_Wx__PageSetupDialogData_GetMinMarginTopLeft); /* prototype to pass -Wmissing-prototypes */
2528 XS(XS_Wx__PageSetupDialogData_GetMinMarginTopLeft)
2536 croak_xs_usage(cv, "THIS");
2538 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2540 RETVAL = new wxPoint( THIS->GetMinMarginTopLeft() );
2541 ST(0) = sv_newmortal();
2542 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
2543 wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
2550 XS(XS_Wx__PageSetupDialogData_GetMinMarginBottomRight); /* prototype to pass -Wmissing-prototypes */
2551 XS(XS_Wx__PageSetupDialogData_GetMinMarginBottomRight)
2559 croak_xs_usage(cv, "THIS");
2561 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2563 RETVAL = new wxPoint( THIS->GetMinMarginBottomRight() );
2564 ST(0) = sv_newmortal();
2565 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
2566 wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
2573 XS(XS_Wx__PageSetupDialogData_GetPaperId); /* prototype to pass -Wmissing-prototypes */
2574 XS(XS_Wx__PageSetupDialogData_GetPaperId)
2582 croak_xs_usage(cv, "THIS");
2584 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2588 RETVAL = THIS->GetPaperId();
2589 XSprePUSH; PUSHi((IV)RETVAL);
2595 XS(XS_Wx__PageSetupDialogData_GetPaperSize); /* prototype to pass -Wmissing-prototypes */
2596 XS(XS_Wx__PageSetupDialogData_GetPaperSize)
2604 croak_xs_usage(cv, "THIS");
2606 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2608 RETVAL = new wxSize( THIS->GetPaperSize() );
2609 ST(0) = sv_newmortal();
2610 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
2611 wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
2618 XS(XS_Wx__PageSetupDialogData_GetPrintData); /* prototype to pass -Wmissing-prototypes */
2619 XS(XS_Wx__PageSetupDialogData_GetPrintData)
2627 croak_xs_usage(cv, "THIS");
2629 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2630 wxPrintData * RETVAL;
2631 RETVAL = &THIS->GetPrintData();
2632 ST(0) = sv_newmortal();
2633 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2640 XS(XS_Wx__PageSetupDialogData_SetDefaultInfo); /* prototype to pass -Wmissing-prototypes */
2641 XS(XS_Wx__PageSetupDialogData_SetDefaultInfo)
2649 croak_xs_usage(cv, "THIS, flag");
2651 bool flag = (bool)SvTRUE(ST(1));
2652 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2654 THIS->SetDefaultInfo(flag);
2660 XS(XS_Wx__PageSetupDialogData_SetDefaultMinMargins); /* prototype to pass -Wmissing-prototypes */
2661 XS(XS_Wx__PageSetupDialogData_SetDefaultMinMargins)
2669 croak_xs_usage(cv, "THIS, flag");
2671 bool flag = (bool)SvTRUE(ST(1));
2672 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2674 THIS->SetDefaultMinMargins(flag);
2680 XS(XS_Wx__PageSetupDialogData_SetMarginTopLeft); /* prototype to pass -Wmissing-prototypes */
2681 XS(XS_Wx__PageSetupDialogData_SetMarginTopLeft)
2689 croak_xs_usage(cv, "THIS, point");
2691 wxPoint point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
2692 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2694 THIS->SetMarginTopLeft(point);
2700 XS(XS_Wx__PageSetupDialogData_SetMarginBottomRight); /* prototype to pass -Wmissing-prototypes */
2701 XS(XS_Wx__PageSetupDialogData_SetMarginBottomRight)
2709 croak_xs_usage(cv, "THIS, point");
2711 wxPoint point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
2712 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2714 THIS->SetMarginBottomRight(point);
2720 XS(XS_Wx__PageSetupDialogData_SetMinMarginTopLeft); /* prototype to pass -Wmissing-prototypes */
2721 XS(XS_Wx__PageSetupDialogData_SetMinMarginTopLeft)
2729 croak_xs_usage(cv, "THIS, point");
2731 wxPoint point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
2732 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2734 THIS->SetMinMarginTopLeft(point);
2740 XS(XS_Wx__PageSetupDialogData_SetMinMarginBottomRight); /* prototype to pass -Wmissing-prototypes */
2741 XS(XS_Wx__PageSetupDialogData_SetMinMarginBottomRight)
2749 croak_xs_usage(cv, "THIS, point");
2751 wxPoint point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
2752 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2754 THIS->SetMinMarginBottomRight(point);
2760 XS(XS_Wx__PageSetupDialogData_SetPaperId); /* prototype to pass -Wmissing-prototypes */
2761 XS(XS_Wx__PageSetupDialogData_SetPaperId)
2769 croak_xs_usage(cv, "THIS, id");
2771 wxPaperSize id = (wxPaperSize)SvIV(ST(1));
2772 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2774 THIS->SetPaperId(id);
2780 XS(XS_Wx__PageSetupDialogData_SetPaperSize); /* prototype to pass -Wmissing-prototypes */
2781 XS(XS_Wx__PageSetupDialogData_SetPaperSize)
2789 croak_xs_usage(cv, "THIS, size");
2791 wxSize size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
2792 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2794 THIS->SetPaperSize(size);
2800 XS(XS_Wx__PageSetupDialogData_SetPrintData); /* prototype to pass -Wmissing-prototypes */
2801 XS(XS_Wx__PageSetupDialogData_SetPrintData)
2809 croak_xs_usage(cv, "THIS, printData");
2811 wxPrintData* printData = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PrintData" );
2812 wxPageSetupDialogData * THIS = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialogData" );
2813 THIS->SetPrintData( *printData );
2819 /* INCLUDE: Returning to 'XS/PageSetupDialog.xs' from 'XS/PageSetupDialogData.xs' */
2821 #include <wx/printdlg.h>
2823 XS(XS_Wx__PageSetupDialog_new); /* prototype to pass -Wmissing-prototypes */
2824 XS(XS_Wx__PageSetupDialog_new)
2831 if (items < 2 || items > 3)
2832 croak_xs_usage(cv, "CLASS, parent, data = 0");
2834 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
2835 wxPageSetupDialogData* data;
2836 char * CLASS = (char *)SvPV_nolen(ST(0));
2837 wxPageSetupDialog * RETVAL;
2842 data = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::PageSetupDialogData" );
2845 RETVAL = new wxPageSetupDialog(parent, data);
2846 ST(0) = sv_newmortal();
2847 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2854 XS(XS_Wx__PageSetupDialog_Destroy); /* prototype to pass -Wmissing-prototypes */
2855 XS(XS_Wx__PageSetupDialog_Destroy)
2863 croak_xs_usage(cv, "THIS");
2865 wxPageSetupDialog * THIS = (wxPageSetupDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialog" );
2872 XS(XS_Wx__PageSetupDialog_GetPageSetupData); /* prototype to pass -Wmissing-prototypes */
2873 XS(XS_Wx__PageSetupDialog_GetPageSetupData)
2881 croak_xs_usage(cv, "THIS");
2883 wxPageSetupDialog * THIS = (wxPageSetupDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PageSetupDialog" );
2884 wxPageSetupDialogData * RETVAL;
2885 RETVAL = &THIS->GetPageSetupData();
2886 ST(0) = sv_newmortal();
2887 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2894 /* INCLUDE: Returning to 'XS/PrintData.xs' from 'XS/PageSetupDialog.xs' */
2896 #include <wx/cmndata.h>
2898 XS(XS_Wx__PrintData_new); /* prototype to pass -Wmissing-prototypes */
2899 XS(XS_Wx__PrintData_new)
2907 croak_xs_usage(cv, "CLASS");
2909 char * CLASS = (char *)SvPV_nolen(ST(0));
2910 wxPrintData * RETVAL;
2911 RETVAL = new wxPrintData();
2912 ST(0) = sv_newmortal();
2913 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2920 XS(XS_Wx__PrintData_Destroy); /* prototype to pass -Wmissing-prototypes */
2921 XS(XS_Wx__PrintData_Destroy)
2929 croak_xs_usage(cv, "THIS");
2931 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
2937 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
2938 #define XSubPPtmpAAAL 1
2941 XS(XS_Wx__PrintData_GetBin); /* prototype to pass -Wmissing-prototypes */
2942 XS(XS_Wx__PrintData_GetBin)
2950 croak_xs_usage(cv, "THIS");
2952 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
2956 RETVAL = THIS->GetBin();
2957 XSprePUSH; PUSHi((IV)RETVAL);
2963 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
2964 #define XSubPPtmpAAAM 1
2967 XS(XS_Wx__PrintData_IsOk); /* prototype to pass -Wmissing-prototypes */
2968 XS(XS_Wx__PrintData_IsOk)
2976 croak_xs_usage(cv, "THIS");
2978 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
2981 RETVAL = THIS->IsOk();
2982 ST(0) = boolSV(RETVAL);
2990 XS(XS_Wx__PrintData_GetCollate); /* prototype to pass -Wmissing-prototypes */
2991 XS(XS_Wx__PrintData_GetCollate)
2999 croak_xs_usage(cv, "THIS");
3001 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3004 RETVAL = THIS->GetCollate();
3005 ST(0) = boolSV(RETVAL);
3012 XS(XS_Wx__PrintData_GetColour); /* prototype to pass -Wmissing-prototypes */
3013 XS(XS_Wx__PrintData_GetColour)
3021 croak_xs_usage(cv, "THIS");
3023 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3026 RETVAL = THIS->GetColour();
3027 ST(0) = boolSV(RETVAL);
3034 XS(XS_Wx__PrintData_GetDuplex); /* prototype to pass -Wmissing-prototypes */
3035 XS(XS_Wx__PrintData_GetDuplex)
3043 croak_xs_usage(cv, "THIS");
3045 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3046 wxDuplexMode RETVAL;
3049 RETVAL = THIS->GetDuplex();
3050 XSprePUSH; PUSHi((IV)RETVAL);
3056 XS(XS_Wx__PrintData_GetNoCopies); /* prototype to pass -Wmissing-prototypes */
3057 XS(XS_Wx__PrintData_GetNoCopies)
3065 croak_xs_usage(cv, "THIS");
3067 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3071 RETVAL = THIS->GetNoCopies();
3072 XSprePUSH; PUSHi((IV)RETVAL);
3078 XS(XS_Wx__PrintData_GetOrientation); /* prototype to pass -Wmissing-prototypes */
3079 XS(XS_Wx__PrintData_GetOrientation)
3087 croak_xs_usage(cv, "THIS");
3089 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3093 RETVAL = THIS->GetOrientation();
3094 XSprePUSH; PUSHi((IV)RETVAL);
3100 XS(XS_Wx__PrintData_GetPaperId); /* prototype to pass -Wmissing-prototypes */
3101 XS(XS_Wx__PrintData_GetPaperId)
3109 croak_xs_usage(cv, "THIS");
3111 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3115 RETVAL = THIS->GetPaperId();
3116 XSprePUSH; PUSHi((IV)RETVAL);
3122 XS(XS_Wx__PrintData_GetPrinterName); /* prototype to pass -Wmissing-prototypes */
3123 XS(XS_Wx__PrintData_GetPrinterName)
3131 croak_xs_usage(cv, "THIS");
3133 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3136 RETVAL = THIS->GetPrinterName();
3137 ST(0) = sv_newmortal();
3138 WXSTRING_OUTPUT( RETVAL, ST(0) );
3145 XS(XS_Wx__PrintData_GetQuality); /* prototype to pass -Wmissing-prototypes */
3146 XS(XS_Wx__PrintData_GetQuality)
3154 croak_xs_usage(cv, "THIS");
3156 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3157 wxPrintQuality RETVAL;
3160 RETVAL = THIS->GetQuality();
3161 XSprePUSH; PUSHi((IV)RETVAL);
3166 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
3167 #define XSubPPtmpAAAN 1
3170 XS(XS_Wx__PrintData_SetBin); /* prototype to pass -Wmissing-prototypes */
3171 XS(XS_Wx__PrintData_SetBin)
3179 croak_xs_usage(cv, "THIS, bin");
3181 wxPrintBin bin = (wxPrintBin)SvIV(ST(1));
3182 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3191 XS(XS_Wx__PrintData_SetCollate); /* prototype to pass -Wmissing-prototypes */
3192 XS(XS_Wx__PrintData_SetCollate)
3200 croak_xs_usage(cv, "THIS, collate");
3202 bool collate = (bool)SvTRUE(ST(1));
3203 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3205 THIS->SetCollate(collate);
3211 XS(XS_Wx__PrintData_SetColour); /* prototype to pass -Wmissing-prototypes */
3212 XS(XS_Wx__PrintData_SetColour)
3220 croak_xs_usage(cv, "THIS, colour");
3222 bool colour = (bool)SvTRUE(ST(1));
3223 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3225 THIS->SetColour(colour);
3231 XS(XS_Wx__PrintData_SetDuplex); /* prototype to pass -Wmissing-prototypes */
3232 XS(XS_Wx__PrintData_SetDuplex)
3240 croak_xs_usage(cv, "THIS, mode");
3242 wxDuplexMode mode = (wxDuplexMode)SvIV(ST(1));
3243 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3245 THIS->SetDuplex(mode);
3251 XS(XS_Wx__PrintData_SetNoCopies); /* prototype to pass -Wmissing-prototypes */
3252 XS(XS_Wx__PrintData_SetNoCopies)
3260 croak_xs_usage(cv, "THIS, noCopies");
3262 int noCopies = (int)SvIV(ST(1));
3263 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3265 THIS->SetNoCopies(noCopies);
3271 XS(XS_Wx__PrintData_SetOrientation); /* prototype to pass -Wmissing-prototypes */
3272 XS(XS_Wx__PrintData_SetOrientation)
3280 croak_xs_usage(cv, "THIS, orientation");
3282 int orientation = (int)SvIV(ST(1));
3283 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3285 THIS->SetOrientation(orientation);
3291 XS(XS_Wx__PrintData_SetPaperId); /* prototype to pass -Wmissing-prototypes */
3292 XS(XS_Wx__PrintData_SetPaperId)
3300 croak_xs_usage(cv, "THIS, paperId");
3302 wxPaperSize paperId = (wxPaperSize)SvIV(ST(1));
3303 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3305 THIS->SetPaperId(paperId);
3311 XS(XS_Wx__PrintData_SetPrinterName); /* prototype to pass -Wmissing-prototypes */
3312 XS(XS_Wx__PrintData_SetPrinterName)
3320 croak_xs_usage(cv, "THIS, name");
3323 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3325 WXSTRING_INPUT( name, wxString, ST(1) );
3327 THIS->SetPrinterName(name);
3333 XS(XS_Wx__PrintData_SetQuality); /* prototype to pass -Wmissing-prototypes */
3334 XS(XS_Wx__PrintData_SetQuality)
3342 croak_xs_usage(cv, "THIS, quality");
3344 wxPrintQuality quality = (wxPrintQuality)SvIV(ST(1));
3345 wxPrintData * THIS = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintData" );
3347 THIS->SetQuality(quality);
3353 /* INCLUDE: Returning to 'Print.xs' from 'XS/PrintData.xs' */
3356 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp XS/Preview.xs |' from 'Print.xs' */
3358 #include <wx/print.h>
3359 #include "cpp/previewframe.h"
3360 #include "cpp/previewcontrolbar.h"
3362 XS(XS_Wx__PreviewControlBar_new); /* prototype to pass -Wmissing-prototypes */
3363 XS(XS_Wx__PreviewControlBar_new)
3370 if (items < 4 || items > 8)
3371 croak_xs_usage(cv, "CLASS, preview, buttons, parent, pos = wxDefaultPosition, size = wxDefaultSize, style = wxTAB_TRAVERSAL, name = wxPanelNameStr");
3373 wxPrintPreview* preview = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PrintPreview" );
3374 long buttons = (long)SvIV(ST(2));
3375 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Window" );
3380 char * CLASS = (char *)SvPV_nolen(ST(0));
3381 wxPreviewControlBar * RETVAL;
3384 pos = wxDefaultPosition;
3386 pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
3390 size = wxDefaultSize;
3392 size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
3396 style = wxTAB_TRAVERSAL;
3398 style = (long)SvIV(ST(6));
3402 name = wxPanelNameStr;
3404 WXSTRING_INPUT( name, wxString, ST(7) );
3407 RETVAL = new wxPreviewControlBar(preview, buttons, parent, pos, size, style, name);
3408 ST(0) = sv_newmortal();
3409 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3416 XS(XS_Wx__PreviewControlBar_CreateButtons); /* prototype to pass -Wmissing-prototypes */
3417 XS(XS_Wx__PreviewControlBar_CreateButtons)
3425 croak_xs_usage(cv, "THIS");
3427 wxPreviewControlBar * THIS = (wxPreviewControlBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PreviewControlBar" );
3429 THIS->CreateButtons();
3435 XS(XS_Wx__PreviewControlBar_GetPrintPreview); /* prototype to pass -Wmissing-prototypes */
3436 XS(XS_Wx__PreviewControlBar_GetPrintPreview)
3444 croak_xs_usage(cv, "THIS");
3446 wxPreviewControlBar * THIS = (wxPreviewControlBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PreviewControlBar" );
3447 wxPrintPreviewBase * RETVAL;
3449 RETVAL = THIS->GetPrintPreview();
3450 ST(0) = sv_newmortal();
3451 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3458 XS(XS_Wx__PreviewControlBar_GetZoomControl); /* prototype to pass -Wmissing-prototypes */
3459 XS(XS_Wx__PreviewControlBar_GetZoomControl)
3467 croak_xs_usage(cv, "THIS");
3469 wxPreviewControlBar * THIS = (wxPreviewControlBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PreviewControlBar" );
3473 RETVAL = THIS->GetZoomControl();
3474 XSprePUSH; PUSHi((IV)RETVAL);
3480 XS(XS_Wx__PreviewControlBar_SetZoomControl); /* prototype to pass -Wmissing-prototypes */
3481 XS(XS_Wx__PreviewControlBar_SetZoomControl)
3489 croak_xs_usage(cv, "THIS, zoom");
3491 int zoom = (int)SvIV(ST(1));
3492 wxPreviewControlBar * THIS = (wxPreviewControlBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PreviewControlBar" );
3494 THIS->SetZoomControl(zoom);
3500 XS(XS_Wx__PreviewControlBar_OnNext); /* prototype to pass -Wmissing-prototypes */
3501 XS(XS_Wx__PreviewControlBar_OnNext)
3509 croak_xs_usage(cv, "THIS");
3511 wxPreviewControlBar * THIS = (wxPreviewControlBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PreviewControlBar" );
3519 XS(XS_Wx__PreviewControlBar_OnPrevious); /* prototype to pass -Wmissing-prototypes */
3520 XS(XS_Wx__PreviewControlBar_OnPrevious)
3528 croak_xs_usage(cv, "THIS");
3530 wxPreviewControlBar * THIS = (wxPreviewControlBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PreviewControlBar" );
3538 XS(XS_Wx__PreviewControlBar_OnFirst); /* prototype to pass -Wmissing-prototypes */
3539 XS(XS_Wx__PreviewControlBar_OnFirst)
3547 croak_xs_usage(cv, "THIS");
3549 wxPreviewControlBar * THIS = (wxPreviewControlBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PreviewControlBar" );
3557 XS(XS_Wx__PreviewControlBar_OnLast); /* prototype to pass -Wmissing-prototypes */
3558 XS(XS_Wx__PreviewControlBar_OnLast)
3566 croak_xs_usage(cv, "THIS");
3568 wxPreviewControlBar * THIS = (wxPreviewControlBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PreviewControlBar" );
3576 XS(XS_Wx__PreviewControlBar_OnGoto); /* prototype to pass -Wmissing-prototypes */
3577 XS(XS_Wx__PreviewControlBar_OnGoto)
3585 croak_xs_usage(cv, "THIS");
3587 wxPreviewControlBar * THIS = (wxPreviewControlBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PreviewControlBar" );
3594 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
3595 #define XSubPPtmpAAAO 1
3598 XS(XS_Wx__PreviewControlBar_OnPrint); /* prototype to pass -Wmissing-prototypes */
3599 XS(XS_Wx__PreviewControlBar_OnPrint)
3607 croak_xs_usage(cv, "THIS");
3609 wxPreviewControlBar * THIS = (wxPreviewControlBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PreviewControlBar" );
3617 #define CreateButtons wxPreviewControlBar::CreateButtons
3619 XS(XS_Wx__PlPreviewControlBar_new); /* prototype to pass -Wmissing-prototypes */
3620 XS(XS_Wx__PlPreviewControlBar_new)
3627 if (items < 4 || items > 8)
3628 croak_xs_usage(cv, "CLASS, preview, buttons, parent, pos = wxDefaultPosition, size = wxDefaultSize, style = wxTAB_TRAVERSAL, name = wxPanelNameStr");
3630 wxPrintPreview* preview = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PrintPreview" );
3631 long buttons = (long)SvIV(ST(2));
3632 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Window" );
3637 char * CLASS = (char *)SvPV_nolen(ST(0));
3638 wxPlPreviewControlBar * RETVAL;
3641 pos = wxDefaultPosition;
3643 pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
3647 size = wxDefaultSize;
3649 size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
3653 style = wxTAB_TRAVERSAL;
3655 style = (long)SvIV(ST(6));
3659 name = wxPanelNameStr;
3661 WXSTRING_INPUT( name, wxString, ST(7) );
3663 RETVAL = new wxPlPreviewControlBar
3664 ( CLASS, preview, buttons, parent, pos, size,
3667 ST(0) = sv_newmortal();
3668 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3675 XS(XS_Wx__PlPreviewControlBar_CreateButtons); /* prototype to pass -Wmissing-prototypes */
3676 XS(XS_Wx__PlPreviewControlBar_CreateButtons)
3684 croak_xs_usage(cv, "THIS");
3686 wxPlPreviewControlBar * THIS = (wxPlPreviewControlBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPreviewControlBar" );
3688 THIS->CreateButtons();
3693 #undef CreateButtons
3694 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
3695 #define XSubPPtmpAAAP 1
3698 XS(XS_Wx__PreviewFrame_new); /* prototype to pass -Wmissing-prototypes */
3699 XS(XS_Wx__PreviewFrame_new)
3706 if (items < 4 || items > 8)
3707 croak_xs_usage(cv, "CLASS, preview, parent, title, pos = wxDefaultPosition, size = wxDefaultSize, style = wxDEFAULT_FRAME_STYLE, name = wxFrameNameStr");
3709 wxPrintPreview* preview = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PrintPreview" );
3710 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
3716 char * CLASS = (char *)SvPV_nolen(ST(0));
3717 wxPreviewFrame * RETVAL;
3719 WXSTRING_INPUT( title, wxString, ST(3) );
3722 pos = wxDefaultPosition;
3724 pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
3728 size = wxDefaultSize;
3730 size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
3734 style = wxDEFAULT_FRAME_STYLE;
3736 style = (long)SvIV(ST(6));
3740 name = wxFrameNameStr;
3742 WXSTRING_INPUT( name, wxString, ST(7) );
3745 RETVAL = new wxPreviewFrame(preview, parent, title, pos, size, style, name);
3746 ST(0) = sv_newmortal();
3747 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3754 #define XSubPPtmpAAAQ 1
3757 XS(XS_Wx__PreviewFrame_new); /* prototype to pass -Wmissing-prototypes */
3758 XS(XS_Wx__PreviewFrame_new)
3765 if (items < 4 || items > 8)
3766 croak_xs_usage(cv, "CLASS, preview, parent, title, pos = wxDefaultPosition, size = wxDefaultSize, style = wxDEFAULT_FRAME_STYLE, name = wxFrameNameStr");
3768 wxPrintPreview* preview = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PrintPreview" );
3769 wxFrame* parent = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Frame" );
3775 char * CLASS = (char *)SvPV_nolen(ST(0));
3776 wxPreviewFrame * RETVAL;
3778 WXSTRING_INPUT( title, wxString, ST(3) );
3781 pos = wxDefaultPosition;
3783 pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
3787 size = wxDefaultSize;
3789 size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
3793 style = wxDEFAULT_FRAME_STYLE;
3795 style = (long)SvIV(ST(6));
3799 name = wxFrameNameStr;
3801 WXSTRING_INPUT( name, wxString, ST(7) );
3804 RETVAL = new wxPreviewFrame(preview, parent, title, pos, size, style, name);
3805 ST(0) = sv_newmortal();
3806 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3814 XS(XS_Wx__PreviewFrame_Initialize); /* prototype to pass -Wmissing-prototypes */
3815 XS(XS_Wx__PreviewFrame_Initialize)
3823 croak_xs_usage(cv, "THIS");
3825 wxPreviewFrame * THIS = (wxPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PreviewFrame" );
3833 XS(XS_Wx__PreviewFrame_CreateCanvas); /* prototype to pass -Wmissing-prototypes */
3834 XS(XS_Wx__PreviewFrame_CreateCanvas)
3842 croak_xs_usage(cv, "THIS");
3844 wxPreviewFrame * THIS = (wxPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PreviewFrame" );
3846 THIS->CreateCanvas();
3852 XS(XS_Wx__PreviewFrame_CreateControlBar); /* prototype to pass -Wmissing-prototypes */
3853 XS(XS_Wx__PreviewFrame_CreateControlBar)
3861 croak_xs_usage(cv, "THIS");
3863 wxPreviewFrame * THIS = (wxPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PreviewFrame" );
3865 THIS->CreateControlBar();
3870 #if WXPERL_W_VERSION_GE( 2, 5, 4 )
3871 #define XSubPPtmpAAAR 1
3874 XS(XS_Wx__PreviewFrame_GetControlBar); /* prototype to pass -Wmissing-prototypes */
3875 XS(XS_Wx__PreviewFrame_GetControlBar)
3883 croak_xs_usage(cv, "THIS");
3885 wxPreviewFrame * THIS = (wxPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PreviewFrame" );
3886 wxPreviewControlBar * RETVAL;
3888 RETVAL = THIS->GetControlBar();
3889 ST(0) = sv_newmortal();
3890 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3897 #define Initialize wxPreviewFrame::Initialize
3898 #define CreateCanvas wxPreviewFrame::CreateCanvas
3899 #define CreateControlBar wxPreviewFrame::CreateControlBar
3900 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
3901 #define XSubPPtmpAAAS 1
3904 XS(XS_Wx__PlPreviewFrame_new); /* prototype to pass -Wmissing-prototypes */
3905 XS(XS_Wx__PlPreviewFrame_new)
3912 if (items < 4 || items > 8)
3913 croak_xs_usage(cv, "CLASS, preview, parent, title, pos = wxDefaultPosition, size = wxDefaultSize, style = wxDEFAULT_FRAME_STYLE, name = wxFrameNameStr");
3915 wxPrintPreview* preview = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PrintPreview" );
3916 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
3922 char * CLASS = (char *)SvPV_nolen(ST(0));
3923 wxPlPreviewFrame * RETVAL;
3925 WXSTRING_INPUT( title, wxString, ST(3) );
3928 pos = wxDefaultPosition;
3930 pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
3934 size = wxDefaultSize;
3936 size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
3940 style = wxDEFAULT_FRAME_STYLE;
3942 style = (long)SvIV(ST(6));
3946 name = wxFrameNameStr;
3948 WXSTRING_INPUT( name, wxString, ST(7) );
3950 RETVAL = new wxPlPreviewFrame
3951 ( CLASS, preview, parent, title, pos, size, style, name );
3953 ST(0) = sv_newmortal();
3954 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3961 #define XSubPPtmpAAAT 1
3964 XS(XS_Wx__PlPreviewFrame_new); /* prototype to pass -Wmissing-prototypes */
3965 XS(XS_Wx__PlPreviewFrame_new)
3972 if (items < 4 || items > 8)
3973 croak_xs_usage(cv, "CLASS, preview, parent, title, pos = wxDefaultPosition, size = wxDefaultSize, style = wxDEFAULT_FRAME_STYLE, name = wxFrameNameStr");
3975 wxPrintPreview* preview = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PrintPreview" );
3976 wxFrame* parent = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Frame" );
3982 char * CLASS = (char *)SvPV_nolen(ST(0));
3983 wxPlPreviewFrame * RETVAL;
3985 WXSTRING_INPUT( title, wxString, ST(3) );
3988 pos = wxDefaultPosition;
3990 pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
3994 size = wxDefaultSize;
3996 size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
4000 style = wxDEFAULT_FRAME_STYLE;
4002 style = (long)SvIV(ST(6));
4006 name = wxFrameNameStr;
4008 WXSTRING_INPUT( name, wxString, ST(7) );
4010 RETVAL = new wxPlPreviewFrame
4011 ( CLASS, preview, parent, title, pos, size, style, name );
4013 ST(0) = sv_newmortal();
4014 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4021 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
4022 #define XSubPPtmpAAAU 1
4025 XS(XS_Wx__PlPreviewFrame_GetPreviewCanvas); /* prototype to pass -Wmissing-prototypes */
4026 XS(XS_Wx__PlPreviewFrame_GetPreviewCanvas)
4034 croak_xs_usage(cv, "THIS");
4036 wxPlPreviewFrame * THIS = (wxPlPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPreviewFrame" );
4037 wxPreviewCanvas * RETVAL;
4039 RETVAL = THIS->GetPreviewCanvas();
4040 ST(0) = sv_newmortal();
4041 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4048 #define XSubPPtmpAAAV 1
4051 XS(XS_Wx__PlPreviewFrame_GetPreviewCanvas); /* prototype to pass -Wmissing-prototypes */
4052 XS(XS_Wx__PlPreviewFrame_GetPreviewCanvas)
4060 croak_xs_usage(cv, "THIS");
4062 wxPlPreviewFrame * THIS = (wxPlPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPreviewFrame" );
4065 RETVAL = THIS->GetPreviewCanvas();
4066 ST(0) = sv_newmortal();
4067 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4075 XS(XS_Wx__PlPreviewFrame_GetPreviewControlBar); /* prototype to pass -Wmissing-prototypes */
4076 XS(XS_Wx__PlPreviewFrame_GetPreviewControlBar)
4084 croak_xs_usage(cv, "THIS");
4086 wxPlPreviewFrame * THIS = (wxPlPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPreviewFrame" );
4087 wxPreviewControlBar * RETVAL;
4089 RETVAL = THIS->GetPreviewControlBar();
4090 ST(0) = sv_newmortal();
4091 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4098 XS(XS_Wx__PlPreviewFrame_GetPrintPreview); /* prototype to pass -Wmissing-prototypes */
4099 XS(XS_Wx__PlPreviewFrame_GetPrintPreview)
4107 croak_xs_usage(cv, "THIS");
4109 wxPlPreviewFrame * THIS = (wxPlPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPreviewFrame" );
4110 wxPrintPreviewBase * RETVAL;
4112 RETVAL = THIS->GetPrintPreview();
4113 ST(0) = sv_newmortal();
4114 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4120 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
4121 #define XSubPPtmpAAAW 1
4124 XS(XS_Wx__PlPreviewFrame_SetPreviewCanvas); /* prototype to pass -Wmissing-prototypes */
4125 XS(XS_Wx__PlPreviewFrame_SetPreviewCanvas)
4133 croak_xs_usage(cv, "THIS, p");
4135 wxPreviewCanvas* p = (wxPreviewCanvas *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PreviewCanvas" );
4136 wxPlPreviewFrame * THIS = (wxPlPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPreviewFrame" );
4138 THIS->SetPreviewCanvas(p);
4144 #define XSubPPtmpAAAX 1
4147 XS(XS_Wx__PlPreviewFrame_SetPreviewCanvas); /* prototype to pass -Wmissing-prototypes */
4148 XS(XS_Wx__PlPreviewFrame_SetPreviewCanvas)
4156 croak_xs_usage(cv, "THIS, p");
4158 wxWindow* p = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
4159 wxPlPreviewFrame * THIS = (wxPlPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPreviewFrame" );
4161 THIS->SetPreviewCanvas(p);
4168 XS(XS_Wx__PlPreviewFrame_SetPreviewControlBar); /* prototype to pass -Wmissing-prototypes */
4169 XS(XS_Wx__PlPreviewFrame_SetPreviewControlBar)
4177 croak_xs_usage(cv, "THIS, p");
4179 wxPreviewControlBar* p = (wxPreviewControlBar *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PreviewControlBar" );
4180 wxPlPreviewFrame * THIS = (wxPlPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPreviewFrame" );
4182 THIS->SetPreviewControlBar(p);
4188 XS(XS_Wx__PlPreviewFrame_SetPrintPreview); /* prototype to pass -Wmissing-prototypes */
4189 XS(XS_Wx__PlPreviewFrame_SetPrintPreview)
4197 croak_xs_usage(cv, "THIS, p");
4199 wxPrintPreviewBase* p = (wxPrintPreviewBase *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PrintPreviewBase" );
4200 wxPlPreviewFrame * THIS = (wxPlPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPreviewFrame" );
4202 THIS->SetPrintPreview(p);
4208 XS(XS_Wx__PlPreviewFrame_Initialize); /* prototype to pass -Wmissing-prototypes */
4209 XS(XS_Wx__PlPreviewFrame_Initialize)
4217 croak_xs_usage(cv, "THIS");
4219 wxPlPreviewFrame * THIS = (wxPlPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPreviewFrame" );
4227 XS(XS_Wx__PlPreviewFrame_CreateCanvas); /* prototype to pass -Wmissing-prototypes */
4228 XS(XS_Wx__PlPreviewFrame_CreateCanvas)
4236 croak_xs_usage(cv, "THIS");
4238 wxPlPreviewFrame * THIS = (wxPlPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPreviewFrame" );
4240 THIS->CreateCanvas();
4246 XS(XS_Wx__PlPreviewFrame_CreateControlBar); /* prototype to pass -Wmissing-prototypes */
4247 XS(XS_Wx__PlPreviewFrame_CreateControlBar)
4255 croak_xs_usage(cv, "THIS");
4257 wxPlPreviewFrame * THIS = (wxPlPreviewFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlPreviewFrame" );
4259 THIS->CreateControlBar();
4266 #undef CreateControlBar
4268 XS(XS_Wx__PreviewCanvas_new); /* prototype to pass -Wmissing-prototypes */
4269 XS(XS_Wx__PreviewCanvas_new)
4276 if (items < 3 || items > 7)
4277 croak_xs_usage(cv, "CLASS, preview, parent, pos = wxDefaultPosition, size = wxDefaultSize, style = 0, name = wxT(\"canvas\")");
4279 wxPrintPreview* preview = (wxPrintPreview *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PrintPreview" );
4280 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
4285 char * CLASS = (char *)SvPV_nolen(ST(0));
4286 wxPreviewCanvas * RETVAL;
4289 pos = wxDefaultPosition;
4291 pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
4295 size = wxDefaultSize;
4297 size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
4303 style = (long)SvIV(ST(5));
4307 name = wxT("canvas");
4309 WXSTRING_INPUT( name, wxString, ST(6) );
4312 RETVAL = new wxPreviewCanvas(preview, parent, pos, size, style, name);
4313 ST(0) = sv_newmortal();
4314 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4321 /* INCLUDE: Returning to 'Print.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp XS/Preview.xs |' */
4324 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp XS/PrintFactory.xsp |' from 'Print.xs' */
4326 #if WXPERL_W_VERSION_GE( 2, 5, 4 )
4327 #define XSubPPtmpAAAY 1
4330 XS(XS_Wx__PrintFactory_CreatePrinter); /* prototype to pass -Wmissing-prototypes */
4331 XS(XS_Wx__PrintFactory_CreatePrinter)
4339 croak_xs_usage(cv, "THIS, data");
4341 wxPrintDialogData* data = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PrintDialogData" );
4342 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4343 wxPrinterBase * RETVAL;
4345 RETVAL = THIS->CreatePrinter(data);
4346 ST(0) = sv_newmortal();
4347 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4354 XS(XS_Wx__PrintFactory_CreatePrintPreviewDD); /* prototype to pass -Wmissing-prototypes */
4355 XS(XS_Wx__PrintFactory_CreatePrintPreviewDD)
4362 if (items < 2 || items > 4)
4363 croak_xs_usage(cv, "THIS, preview, printout = NULL, data = NULL");
4365 wxPrintout* preview = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Printout" );
4366 wxPrintout* printout;
4367 wxPrintDialogData* data;
4368 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4369 wxPrintPreviewBase * RETVAL;
4374 printout = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Printout" );
4380 data = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::PrintDialogData" );
4382 RETVAL = THIS->CreatePrintPreview( preview, printout, data );
4383 ST(0) = sv_newmortal();
4384 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4391 XS(XS_Wx__PrintFactory_CreatePrintPreviewD); /* prototype to pass -Wmissing-prototypes */
4392 XS(XS_Wx__PrintFactory_CreatePrintPreviewD)
4400 croak_xs_usage(cv, "THIS, preview, printout, data");
4402 wxPrintout* preview = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Printout" );
4403 wxPrintout* printout = (wxPrintout *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Printout" );
4404 wxPrintData* data = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::PrintData" );
4405 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4406 wxPrintPreviewBase * RETVAL;
4407 RETVAL = THIS->CreatePrintPreview( preview, printout, data );
4408 ST(0) = sv_newmortal();
4409 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4416 XS(XS_Wx__PrintFactory_CreatePrintDialogDD); /* prototype to pass -Wmissing-prototypes */
4417 XS(XS_Wx__PrintFactory_CreatePrintDialogDD)
4424 if (items < 2 || items > 3)
4425 croak_xs_usage(cv, "THIS, parent, data = NULL");
4427 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
4428 wxPrintDialogData* data;
4429 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4430 wxPrintDialogBase * RETVAL;
4435 data = (wxPrintDialogData *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::PrintDialogData" );
4437 RETVAL = THIS->CreatePrintDialog( parent, data );
4438 ST(0) = sv_newmortal();
4439 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4446 XS(XS_Wx__PrintFactory_CreatePrintDialogD); /* prototype to pass -Wmissing-prototypes */
4447 XS(XS_Wx__PrintFactory_CreatePrintDialogD)
4455 croak_xs_usage(cv, "THIS, parent, data");
4457 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
4458 wxPrintData* data = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::PrintData" );
4459 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4460 wxPrintDialogBase * RETVAL;
4461 RETVAL = THIS->CreatePrintDialog( parent, data );
4462 ST(0) = sv_newmortal();
4463 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4470 XS(XS_Wx__PrintFactory_CreatePageSetupDialog); /* prototype to pass -Wmissing-prototypes */
4471 XS(XS_Wx__PrintFactory_CreatePageSetupDialog)
4478 if (items < 2 || items > 3)
4479 croak_xs_usage(cv, "THIS, parent, data = NULL");
4481 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
4482 wxPageSetupDialogData* data;
4483 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4484 wxPageSetupDialogBase * RETVAL;
4489 data = (wxPageSetupDialogData *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::PageSetupDialogData" );
4492 RETVAL = THIS->CreatePageSetupDialog(parent, data);
4493 ST(0) = sv_newmortal();
4494 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4501 XS(XS_Wx__PrintFactory_HasPrintSetupDialog); /* prototype to pass -Wmissing-prototypes */
4502 XS(XS_Wx__PrintFactory_HasPrintSetupDialog)
4510 croak_xs_usage(cv, "THIS");
4512 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4515 RETVAL = THIS->HasPrintSetupDialog();
4516 ST(0) = boolSV(RETVAL);
4523 XS(XS_Wx__PrintFactory_CreatePrintSetupDialog); /* prototype to pass -Wmissing-prototypes */
4524 XS(XS_Wx__PrintFactory_CreatePrintSetupDialog)
4532 croak_xs_usage(cv, "THIS, parent, data");
4534 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
4535 wxPrintData* data = (wxPrintData *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::PrintData" );
4536 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4539 RETVAL = THIS->CreatePrintSetupDialog(parent, data);
4540 ST(0) = sv_newmortal();
4541 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4548 XS(XS_Wx__PrintFactory_HasOwnPrintToFile); /* prototype to pass -Wmissing-prototypes */
4549 XS(XS_Wx__PrintFactory_HasOwnPrintToFile)
4557 croak_xs_usage(cv, "THIS");
4559 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4562 RETVAL = THIS->HasOwnPrintToFile();
4563 ST(0) = boolSV(RETVAL);
4570 XS(XS_Wx__PrintFactory_HasPrinterLine); /* prototype to pass -Wmissing-prototypes */
4571 XS(XS_Wx__PrintFactory_HasPrinterLine)
4579 croak_xs_usage(cv, "THIS");
4581 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4584 RETVAL = THIS->HasPrinterLine();
4585 ST(0) = boolSV(RETVAL);
4592 XS(XS_Wx__PrintFactory_CreatePrinterLine); /* prototype to pass -Wmissing-prototypes */
4593 XS(XS_Wx__PrintFactory_CreatePrinterLine)
4601 croak_xs_usage(cv, "THIS");
4603 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4606 RETVAL = THIS->CreatePrinterLine();
4607 ST(0) = sv_newmortal();
4608 WXSTRING_OUTPUT( RETVAL, ST(0) );
4615 XS(XS_Wx__PrintFactory_HasStatusLine); /* prototype to pass -Wmissing-prototypes */
4616 XS(XS_Wx__PrintFactory_HasStatusLine)
4624 croak_xs_usage(cv, "THIS");
4626 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4629 RETVAL = THIS->HasStatusLine();
4630 ST(0) = boolSV(RETVAL);
4637 XS(XS_Wx__PrintFactory_CreateStatusLine); /* prototype to pass -Wmissing-prototypes */
4638 XS(XS_Wx__PrintFactory_CreateStatusLine)
4646 croak_xs_usage(cv, "THIS");
4648 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4651 RETVAL = THIS->CreateStatusLine();
4652 ST(0) = sv_newmortal();
4653 WXSTRING_OUTPUT( RETVAL, ST(0) );
4660 XS(XS_Wx__PrintFactory_SetPrintFactory); /* prototype to pass -Wmissing-prototypes */
4661 XS(XS_Wx__PrintFactory_SetPrintFactory)
4669 croak_xs_usage(cv, "THIS, factory");
4671 wxPrintFactory* factory = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::PrintFactory" );
4672 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4673 wxPrintFactory::SetPrintFactory( factory );
4679 XS(XS_Wx__PrintFactory_GetFactory); /* prototype to pass -Wmissing-prototypes */
4680 XS(XS_Wx__PrintFactory_GetFactory)
4688 croak_xs_usage(cv, "THIS");
4690 wxPrintFactory * THIS = (wxPrintFactory *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PrintFactory" );
4691 wxPrintFactory * RETVAL;
4692 RETVAL = wxPrintFactory::GetFactory();
4693 ST(0) = sv_newmortal();
4694 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::PrintFactory" );
4702 /* INCLUDE: Returning to 'Print.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp XS/PrintFactory.xsp |' */
4704 #include "cpp/pr_constants.cpp"
4706 #if defined(__WXMSW__)
4708 #define XS( name ) WXXS( name )
4713 XS(boot_Wx__Print); /* prototype to pass -Wmissing-prototypes */
4721 #if (PERL_REVISION == 5 && PERL_VERSION < 9)
4722 char* file = __FILE__;
4724 const char* file = __FILE__;
4727 PERL_UNUSED_VAR(cv); /* -W */
4728 PERL_UNUSED_VAR(items); /* -W */
4729 XS_VERSION_BOOTCHECK ;
4732 newXS("Wx::PrintDialog::new", XS_Wx__PrintDialog_new, file);
4733 newXS("Wx::PrintDialog::GetPrintDialogData", XS_Wx__PrintDialog_GetPrintDialogData, file);
4734 newXS("Wx::PrintDialog::GetPrintDC", XS_Wx__PrintDialog_GetPrintDC, file);
4736 newXS("Wx::PrinterDC::new", XS_Wx__PrinterDC_new, file);
4737 newXS("Wx::PrinterDC::GetPaperRect", XS_Wx__PrinterDC_GetPaperRect, file);
4739 newXS("Wx::Printout::new", XS_Wx__Printout_new, file);
4740 newXS("Wx::Printout::Destroy", XS_Wx__Printout_Destroy, file);
4741 newXS("Wx::Printout::GetDC", XS_Wx__Printout_GetDC, file);
4742 newXS("Wx::Printout::GetPageInfo", XS_Wx__Printout_GetPageInfo, file);
4743 newXS("Wx::Printout::GetPageSizeMM", XS_Wx__Printout_GetPageSizeMM, file);
4744 newXS("Wx::Printout::GetPageSizePixels", XS_Wx__Printout_GetPageSizePixels, file);
4745 newXS("Wx::Printout::GetPPIPrinter", XS_Wx__Printout_GetPPIPrinter, file);
4746 newXS("Wx::Printout::GetPPIScreen", XS_Wx__Printout_GetPPIScreen, file);
4748 newXS("Wx::Printout::GetPaperRectPixels", XS_Wx__Printout_GetPaperRectPixels, file);
4750 newXS("Wx::Printout::GetTitle", XS_Wx__Printout_GetTitle, file);
4751 newXS("Wx::Printout::HasPage", XS_Wx__Printout_HasPage, file);
4752 newXS("Wx::Printout::IsPreview", XS_Wx__Printout_IsPreview, file);
4753 newXS("Wx::Printout::OnBeginDocument", XS_Wx__Printout_OnBeginDocument, file);
4754 newXS("Wx::Printout::OnEndDocument", XS_Wx__Printout_OnEndDocument, file);
4755 newXS("Wx::Printout::OnBeginPrinting", XS_Wx__Printout_OnBeginPrinting, file);
4756 newXS("Wx::Printout::OnEndPrinting", XS_Wx__Printout_OnEndPrinting, file);
4757 newXS("Wx::Printout::OnPreparePrinting", XS_Wx__Printout_OnPreparePrinting, file);
4759 newXS("Wx::Printout::FitThisSizeToPaper", XS_Wx__Printout_FitThisSizeToPaper, file);
4760 newXS("Wx::Printout::FitThisSizeToPage", XS_Wx__Printout_FitThisSizeToPage, file);
4761 newXS("Wx::Printout::FitThisSizeToPageMargins", XS_Wx__Printout_FitThisSizeToPageMargins, file);
4762 newXS("Wx::Printout::MapScreenSizeToPaper", XS_Wx__Printout_MapScreenSizeToPaper, file);
4763 newXS("Wx::Printout::MapScreenSizeToPage", XS_Wx__Printout_MapScreenSizeToPage, file);
4764 newXS("Wx::Printout::MapScreenSizeToPageMargins", XS_Wx__Printout_MapScreenSizeToPageMargins, file);
4765 newXS("Wx::Printout::MapScreenSizeToDevice", XS_Wx__Printout_MapScreenSizeToDevice, file);
4766 newXS("Wx::Printout::GetLogicalPaperRect", XS_Wx__Printout_GetLogicalPaperRect, file);
4767 newXS("Wx::Printout::GetLogicalPageRect", XS_Wx__Printout_GetLogicalPageRect, file);
4768 newXS("Wx::Printout::GetLogicalPageMarginsRect", XS_Wx__Printout_GetLogicalPageMarginsRect, file);
4769 newXS("Wx::Printout::SetLogicalOrigin", XS_Wx__Printout_SetLogicalOrigin, file);
4770 newXS("Wx::Printout::OffsetLogicalOrigin", XS_Wx__Printout_OffsetLogicalOrigin, file);
4772 newXS("Wx::PrintPreview::new", XS_Wx__PrintPreview_new, file);
4773 newXS("Wx::PrintPreview::Destroy", XS_Wx__PrintPreview_Destroy, file);
4775 newXS("Wx::PrintPreview::IsOk", XS_Wx__PrintPreview_IsOk, file);
4777 newXS("Wx::PrintPreview::GetCanvas", XS_Wx__PrintPreview_GetCanvas, file);
4778 newXS("Wx::PrintPreview::GetCurrentPage", XS_Wx__PrintPreview_GetCurrentPage, file);
4779 newXS("Wx::PrintPreview::GetFrame", XS_Wx__PrintPreview_GetFrame, file);
4780 newXS("Wx::PrintPreview::GetMaxPage", XS_Wx__PrintPreview_GetMaxPage, file);
4781 newXS("Wx::PrintPreview::GetMinPage", XS_Wx__PrintPreview_GetMinPage, file);
4782 newXS("Wx::PrintPreview::GetPrintout", XS_Wx__PrintPreview_GetPrintout, file);
4783 newXS("Wx::PrintPreview::GetPrintoutForPrinting", XS_Wx__PrintPreview_GetPrintoutForPrinting, file);
4784 newXS("Wx::PrintPreview::Ok", XS_Wx__PrintPreview_Ok, file);
4786 newXS("Wx::PrintPreview::PaintPage", XS_Wx__PrintPreview_PaintPage, file);
4789 newXS("Wx::PrintPreview::PaintPage", XS_Wx__PrintPreview_PaintPage, file);
4791 newXS("Wx::PrintPreview::Print", XS_Wx__PrintPreview_Print, file);
4793 newXS("Wx::PrintPreview::SetCanvas", XS_Wx__PrintPreview_SetCanvas, file);
4796 newXS("Wx::PrintPreview::SetCanvas", XS_Wx__PrintPreview_SetCanvas, file);
4798 newXS("Wx::PrintPreview::SetCurrentPage", XS_Wx__PrintPreview_SetCurrentPage, file);
4799 newXS("Wx::PrintPreview::SetFrame", XS_Wx__PrintPreview_SetFrame, file);
4800 newXS("Wx::PrintPreview::SetPrintout", XS_Wx__PrintPreview_SetPrintout, file);
4801 newXS("Wx::PrintPreview::SetZoom", XS_Wx__PrintPreview_SetZoom, file);
4802 newXS("Wx::PrintDialogData::new", XS_Wx__PrintDialogData_new, file);
4803 newXS("Wx::PrintDialogData::Destroy", XS_Wx__PrintDialogData_Destroy, file);
4805 newXS("Wx::PrintDialogData::IsOk", XS_Wx__PrintDialogData_IsOk, file);
4807 newXS("Wx::PrintDialogData::EnableHelp", XS_Wx__PrintDialogData_EnableHelp, file);
4808 newXS("Wx::PrintDialogData::EnablePageNumbers", XS_Wx__PrintDialogData_EnablePageNumbers, file);
4809 newXS("Wx::PrintDialogData::EnablePrintToFile", XS_Wx__PrintDialogData_EnablePrintToFile, file);
4810 newXS("Wx::PrintDialogData::EnableSelection", XS_Wx__PrintDialogData_EnableSelection, file);
4811 newXS("Wx::PrintDialogData::GetAllPages", XS_Wx__PrintDialogData_GetAllPages, file);
4812 newXS("Wx::PrintDialogData::GetCollate", XS_Wx__PrintDialogData_GetCollate, file);
4813 newXS("Wx::PrintDialogData::GetFromPage", XS_Wx__PrintDialogData_GetFromPage, file);
4814 newXS("Wx::PrintDialogData::GetMaxPage", XS_Wx__PrintDialogData_GetMaxPage, file);
4815 newXS("Wx::PrintDialogData::GetMinPage", XS_Wx__PrintDialogData_GetMinPage, file);
4816 newXS("Wx::PrintDialogData::GetNoCopies", XS_Wx__PrintDialogData_GetNoCopies, file);
4817 newXS("Wx::PrintDialogData::GetPrintData", XS_Wx__PrintDialogData_GetPrintData, file);
4818 newXS("Wx::PrintDialogData::GetPrintToFile", XS_Wx__PrintDialogData_GetPrintToFile, file);
4819 newXS("Wx::PrintDialogData::GetSelection", XS_Wx__PrintDialogData_GetSelection, file);
4820 newXS("Wx::PrintDialogData::GetToPage", XS_Wx__PrintDialogData_GetToPage, file);
4821 newXS("Wx::PrintDialogData::SetCollate", XS_Wx__PrintDialogData_SetCollate, file);
4822 newXS("Wx::PrintDialogData::SetFromPage", XS_Wx__PrintDialogData_SetFromPage, file);
4823 newXS("Wx::PrintDialogData::SetMaxPage", XS_Wx__PrintDialogData_SetMaxPage, file);
4824 newXS("Wx::PrintDialogData::SetMinPage", XS_Wx__PrintDialogData_SetMinPage, file);
4825 newXS("Wx::PrintDialogData::SetNoCopies", XS_Wx__PrintDialogData_SetNoCopies, file);
4826 newXS("Wx::PrintDialogData::SetPrintData", XS_Wx__PrintDialogData_SetPrintData, file);
4827 newXS("Wx::PrintDialogData::SetPrintToFile", XS_Wx__PrintDialogData_SetPrintToFile, file);
4828 newXS("Wx::PrintDialogData::SetSelection", XS_Wx__PrintDialogData_SetSelection, file);
4830 newXS("Wx::PrintDialogData::SetSetupDialog", XS_Wx__PrintDialogData_SetSetupDialog, file);
4832 newXS("Wx::PrintDialogData::SetToPage", XS_Wx__PrintDialogData_SetToPage, file);
4833 newXS("Wx::Printer::new", XS_Wx__Printer_new, file);
4834 newXS("Wx::Printer::CLONE", XS_Wx__Printer_CLONE, file);
4835 newXS("Wx::Printer::DESTROY", XS_Wx__Printer_DESTROY, file);
4836 newXS("Wx::Printer::GetAbort", XS_Wx__Printer_GetAbort, file);
4837 newXS("Wx::Printer::GetPrintDialogData", XS_Wx__Printer_GetPrintDialogData, file);
4838 newXS("Wx::Printer::CreateAbortWindow", XS_Wx__Printer_CreateAbortWindow, file);
4839 newXS("Wx::Printer::GetLastError", XS_Wx__Printer_GetLastError, file);
4840 newXS("Wx::Printer::Print", XS_Wx__Printer_Print, file);
4841 newXS("Wx::Printer::PrintDialog", XS_Wx__Printer_PrintDialog, file);
4842 newXS("Wx::Printer::ReportError", XS_Wx__Printer_ReportError, file);
4843 newXS("Wx::Printer::Setup", XS_Wx__Printer_Setup, file);
4844 newXS("Wx::PageSetupDialogData::new", XS_Wx__PageSetupDialogData_new, file);
4845 newXS("Wx::PageSetupDialogData::Destroy", XS_Wx__PageSetupDialogData_Destroy, file);
4846 newXS("Wx::PageSetupDialogData::EnableHelp", XS_Wx__PageSetupDialogData_EnableHelp, file);
4847 newXS("Wx::PageSetupDialogData::EnableMargins", XS_Wx__PageSetupDialogData_EnableMargins, file);
4848 newXS("Wx::PageSetupDialogData::EnableOrientation", XS_Wx__PageSetupDialogData_EnableOrientation, file);
4849 newXS("Wx::PageSetupDialogData::EnablePaper", XS_Wx__PageSetupDialogData_EnablePaper, file);
4850 newXS("Wx::PageSetupDialogData::EnablePrinter", XS_Wx__PageSetupDialogData_EnablePrinter, file);
4851 newXS("Wx::PageSetupDialogData::GetDefaultMinMargins", XS_Wx__PageSetupDialogData_GetDefaultMinMargins, file);
4852 newXS("Wx::PageSetupDialogData::GetEnableMargins", XS_Wx__PageSetupDialogData_GetEnableMargins, file);
4853 newXS("Wx::PageSetupDialogData::GetEnableOrientation", XS_Wx__PageSetupDialogData_GetEnableOrientation, file);
4854 newXS("Wx::PageSetupDialogData::GetEnablePaper", XS_Wx__PageSetupDialogData_GetEnablePaper, file);
4855 newXS("Wx::PageSetupDialogData::GetEnablePrinter", XS_Wx__PageSetupDialogData_GetEnablePrinter, file);
4856 newXS("Wx::PageSetupDialogData::GetEnableHelp", XS_Wx__PageSetupDialogData_GetEnableHelp, file);
4857 newXS("Wx::PageSetupDialogData::GetDefaultInfo", XS_Wx__PageSetupDialogData_GetDefaultInfo, file);
4858 newXS("Wx::PageSetupDialogData::GetMarginTopLeft", XS_Wx__PageSetupDialogData_GetMarginTopLeft, file);
4859 newXS("Wx::PageSetupDialogData::GetMarginBottomRight", XS_Wx__PageSetupDialogData_GetMarginBottomRight, file);
4860 newXS("Wx::PageSetupDialogData::GetMinMarginTopLeft", XS_Wx__PageSetupDialogData_GetMinMarginTopLeft, file);
4861 newXS("Wx::PageSetupDialogData::GetMinMarginBottomRight", XS_Wx__PageSetupDialogData_GetMinMarginBottomRight, file);
4862 newXS("Wx::PageSetupDialogData::GetPaperId", XS_Wx__PageSetupDialogData_GetPaperId, file);
4863 newXS("Wx::PageSetupDialogData::GetPaperSize", XS_Wx__PageSetupDialogData_GetPaperSize, file);
4864 newXS("Wx::PageSetupDialogData::GetPrintData", XS_Wx__PageSetupDialogData_GetPrintData, file);
4865 newXS("Wx::PageSetupDialogData::SetDefaultInfo", XS_Wx__PageSetupDialogData_SetDefaultInfo, file);
4866 newXS("Wx::PageSetupDialogData::SetDefaultMinMargins", XS_Wx__PageSetupDialogData_SetDefaultMinMargins, file);
4867 newXS("Wx::PageSetupDialogData::SetMarginTopLeft", XS_Wx__PageSetupDialogData_SetMarginTopLeft, file);
4868 newXS("Wx::PageSetupDialogData::SetMarginBottomRight", XS_Wx__PageSetupDialogData_SetMarginBottomRight, file);
4869 newXS("Wx::PageSetupDialogData::SetMinMarginTopLeft", XS_Wx__PageSetupDialogData_SetMinMarginTopLeft, file);
4870 newXS("Wx::PageSetupDialogData::SetMinMarginBottomRight", XS_Wx__PageSetupDialogData_SetMinMarginBottomRight, file);
4871 newXS("Wx::PageSetupDialogData::SetPaperId", XS_Wx__PageSetupDialogData_SetPaperId, file);
4872 newXS("Wx::PageSetupDialogData::SetPaperSize", XS_Wx__PageSetupDialogData_SetPaperSize, file);
4873 newXS("Wx::PageSetupDialogData::SetPrintData", XS_Wx__PageSetupDialogData_SetPrintData, file);
4874 newXS("Wx::PageSetupDialog::new", XS_Wx__PageSetupDialog_new, file);
4875 newXS("Wx::PageSetupDialog::Destroy", XS_Wx__PageSetupDialog_Destroy, file);
4876 newXS("Wx::PageSetupDialog::GetPageSetupData", XS_Wx__PageSetupDialog_GetPageSetupData, file);
4877 newXS("Wx::PrintData::new", XS_Wx__PrintData_new, file);
4878 newXS("Wx::PrintData::Destroy", XS_Wx__PrintData_Destroy, file);
4880 newXS("Wx::PrintData::GetBin", XS_Wx__PrintData_GetBin, file);
4883 newXS("Wx::PrintData::IsOk", XS_Wx__PrintData_IsOk, file);
4885 newXS("Wx::PrintData::GetCollate", XS_Wx__PrintData_GetCollate, file);
4886 newXS("Wx::PrintData::GetColour", XS_Wx__PrintData_GetColour, file);
4887 newXS("Wx::PrintData::GetDuplex", XS_Wx__PrintData_GetDuplex, file);
4888 newXS("Wx::PrintData::GetNoCopies", XS_Wx__PrintData_GetNoCopies, file);
4889 newXS("Wx::PrintData::GetOrientation", XS_Wx__PrintData_GetOrientation, file);
4890 newXS("Wx::PrintData::GetPaperId", XS_Wx__PrintData_GetPaperId, file);
4891 newXS("Wx::PrintData::GetPrinterName", XS_Wx__PrintData_GetPrinterName, file);
4892 newXS("Wx::PrintData::GetQuality", XS_Wx__PrintData_GetQuality, file);
4894 newXS("Wx::PrintData::SetBin", XS_Wx__PrintData_SetBin, file);
4896 newXS("Wx::PrintData::SetCollate", XS_Wx__PrintData_SetCollate, file);
4897 newXS("Wx::PrintData::SetColour", XS_Wx__PrintData_SetColour, file);
4898 newXS("Wx::PrintData::SetDuplex", XS_Wx__PrintData_SetDuplex, file);
4899 newXS("Wx::PrintData::SetNoCopies", XS_Wx__PrintData_SetNoCopies, file);
4900 newXS("Wx::PrintData::SetOrientation", XS_Wx__PrintData_SetOrientation, file);
4901 newXS("Wx::PrintData::SetPaperId", XS_Wx__PrintData_SetPaperId, file);
4902 newXS("Wx::PrintData::SetPrinterName", XS_Wx__PrintData_SetPrinterName, file);
4903 newXS("Wx::PrintData::SetQuality", XS_Wx__PrintData_SetQuality, file);
4904 newXS("Wx::PreviewControlBar::new", XS_Wx__PreviewControlBar_new, file);
4905 newXS("Wx::PreviewControlBar::CreateButtons", XS_Wx__PreviewControlBar_CreateButtons, file);
4906 newXS("Wx::PreviewControlBar::GetPrintPreview", XS_Wx__PreviewControlBar_GetPrintPreview, file);
4907 newXS("Wx::PreviewControlBar::GetZoomControl", XS_Wx__PreviewControlBar_GetZoomControl, file);
4908 newXS("Wx::PreviewControlBar::SetZoomControl", XS_Wx__PreviewControlBar_SetZoomControl, file);
4909 newXS("Wx::PreviewControlBar::OnNext", XS_Wx__PreviewControlBar_OnNext, file);
4910 newXS("Wx::PreviewControlBar::OnPrevious", XS_Wx__PreviewControlBar_OnPrevious, file);
4911 newXS("Wx::PreviewControlBar::OnFirst", XS_Wx__PreviewControlBar_OnFirst, file);
4912 newXS("Wx::PreviewControlBar::OnLast", XS_Wx__PreviewControlBar_OnLast, file);
4913 newXS("Wx::PreviewControlBar::OnGoto", XS_Wx__PreviewControlBar_OnGoto, file);
4915 newXS("Wx::PreviewControlBar::OnPrint", XS_Wx__PreviewControlBar_OnPrint, file);
4917 newXS("Wx::PlPreviewControlBar::new", XS_Wx__PlPreviewControlBar_new, file);
4918 newXS("Wx::PlPreviewControlBar::CreateButtons", XS_Wx__PlPreviewControlBar_CreateButtons, file);
4920 newXS("Wx::PreviewFrame::new", XS_Wx__PreviewFrame_new, file);
4923 newXS("Wx::PreviewFrame::new", XS_Wx__PreviewFrame_new, file);
4925 newXS("Wx::PreviewFrame::Initialize", XS_Wx__PreviewFrame_Initialize, file);
4926 newXS("Wx::PreviewFrame::CreateCanvas", XS_Wx__PreviewFrame_CreateCanvas, file);
4927 newXS("Wx::PreviewFrame::CreateControlBar", XS_Wx__PreviewFrame_CreateControlBar, file);
4929 newXS("Wx::PreviewFrame::GetControlBar", XS_Wx__PreviewFrame_GetControlBar, file);
4932 newXS("Wx::PlPreviewFrame::new", XS_Wx__PlPreviewFrame_new, file);
4935 newXS("Wx::PlPreviewFrame::new", XS_Wx__PlPreviewFrame_new, file);
4938 newXS("Wx::PlPreviewFrame::GetPreviewCanvas", XS_Wx__PlPreviewFrame_GetPreviewCanvas, file);
4941 newXS("Wx::PlPreviewFrame::GetPreviewCanvas", XS_Wx__PlPreviewFrame_GetPreviewCanvas, file);
4943 newXS("Wx::PlPreviewFrame::GetPreviewControlBar", XS_Wx__PlPreviewFrame_GetPreviewControlBar, file);
4944 newXS("Wx::PlPreviewFrame::GetPrintPreview", XS_Wx__PlPreviewFrame_GetPrintPreview, file);
4946 newXS("Wx::PlPreviewFrame::SetPreviewCanvas", XS_Wx__PlPreviewFrame_SetPreviewCanvas, file);
4949 newXS("Wx::PlPreviewFrame::SetPreviewCanvas", XS_Wx__PlPreviewFrame_SetPreviewCanvas, file);
4951 newXS("Wx::PlPreviewFrame::SetPreviewControlBar", XS_Wx__PlPreviewFrame_SetPreviewControlBar, file);
4952 newXS("Wx::PlPreviewFrame::SetPrintPreview", XS_Wx__PlPreviewFrame_SetPrintPreview, file);
4953 newXS("Wx::PlPreviewFrame::Initialize", XS_Wx__PlPreviewFrame_Initialize, file);
4954 newXS("Wx::PlPreviewFrame::CreateCanvas", XS_Wx__PlPreviewFrame_CreateCanvas, file);
4955 newXS("Wx::PlPreviewFrame::CreateControlBar", XS_Wx__PlPreviewFrame_CreateControlBar, file);
4956 newXS("Wx::PreviewCanvas::new", XS_Wx__PreviewCanvas_new, file);
4958 newXS("Wx::PrintFactory::CreatePrinter", XS_Wx__PrintFactory_CreatePrinter, file);
4959 newXS("Wx::PrintFactory::CreatePrintPreviewDD", XS_Wx__PrintFactory_CreatePrintPreviewDD, file);
4960 newXS("Wx::PrintFactory::CreatePrintPreviewD", XS_Wx__PrintFactory_CreatePrintPreviewD, file);
4961 newXS("Wx::PrintFactory::CreatePrintDialogDD", XS_Wx__PrintFactory_CreatePrintDialogDD, file);
4962 newXS("Wx::PrintFactory::CreatePrintDialogD", XS_Wx__PrintFactory_CreatePrintDialogD, file);
4963 newXS("Wx::PrintFactory::CreatePageSetupDialog", XS_Wx__PrintFactory_CreatePageSetupDialog, file);
4964 newXS("Wx::PrintFactory::HasPrintSetupDialog", XS_Wx__PrintFactory_HasPrintSetupDialog, file);
4965 newXS("Wx::PrintFactory::CreatePrintSetupDialog", XS_Wx__PrintFactory_CreatePrintSetupDialog, file);
4966 newXS("Wx::PrintFactory::HasOwnPrintToFile", XS_Wx__PrintFactory_HasOwnPrintToFile, file);
4967 newXS("Wx::PrintFactory::HasPrinterLine", XS_Wx__PrintFactory_HasPrinterLine, file);
4968 newXS("Wx::PrintFactory::CreatePrinterLine", XS_Wx__PrintFactory_CreatePrinterLine, file);
4969 newXS("Wx::PrintFactory::HasStatusLine", XS_Wx__PrintFactory_HasStatusLine, file);
4970 newXS("Wx::PrintFactory::CreateStatusLine", XS_Wx__PrintFactory_CreateStatusLine, file);
4971 newXS("Wx::PrintFactory::SetPrintFactory", XS_Wx__PrintFactory_SetPrintFactory, file);
4972 newXS("Wx::PrintFactory::GetFactory", XS_Wx__PrintFactory_GetFactory, file);
4976 /* Initialisation Section */
4978 INIT_PLI_HELPERS( wx_pli_helpers );
5031 /* End of Initialisation Section */
5033 #if (PERL_REVISION == 5 && PERL_VERSION >= 9)
5035 call_list(PL_scopestack_ix, PL_unitcheckav);