2 * This file was generated automatically by ExtUtils::ParseXS version 2.2202 from the
3 * contents of Wx.xs. Do not edit this file, edit Wx.xs instead.
5 * ANY CHANGES MADE HERE WILL BE LOST!
9 /////////////////////////////////////////////////////////////////////////////
11 // Purpose: main XS module
12 // Author: Mattia Barbon
14 // Created: 01/10/2000
15 // RCS-ID: $Id: Wx.xs 2610 2009-09-20 13:28:54Z mbarbon $
16 // Copyright: (c) 2000-2002, 2004-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 /////////////////////////////////////////////////////////////////////////////
22 #define PERL_NO_GET_CONTEXT
25 #include "cpp/compat.h"
32 #include "cpp/wxapi.h"
34 #include <wx/window.h>
35 #include <wx/module.h>
37 #if WXPERL_W_VERSION_GE( 2, 5, 2 ) \
38 && defined(__DARWIN__)
40 #include <wx/html/htmlwin.h>
42 #include <wx/mediactrl.h>
46 #if defined(__WXMSW__)
47 #include <wx/msw/private.h>
50 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
53 #if defined(__WXGTK__)
54 int WXDLLEXPORT wxEntryStart( int& argc, char** argv );
56 int WXDLLEXPORT wxEntryStart( int argc, char** argv );
58 int WXDLLEXPORT wxEntryInitGui();
59 void WXDLLEXPORT wxEntryCleanup();
62 #include "cpp/v_cback.h"
64 // to declare wxPliUserDataCD
65 #include "cpp/helpers.h"
66 #include "cpp/helpers.cpp"
67 #include "cpp/v_cback.cpp"
68 #include "cpp/overload.cpp"
69 #include "cpp/ovl_const.cpp"
77 IMPLEMENT_APP_NO_MAIN(wxPliApp);
78 static bool wxPerlAppCreated = false;
79 static bool wxPerlInitialized = false;
81 bool wxPli_always_utf8;
95 #if defined( WXPL_STATIC )
96 XS( boot_Wx__DocView );
103 XS( boot_Wx__Print );
115 extern void SetConstants();
116 extern void SetConstantsOnce();
118 static int call_oninit( pTHX_ SV* This, SV* sub )
129 int count = call_sv( sub, G_SCALAR|G_EVAL );
134 if( SvTRUE( ERRSV ) )
138 else if( count == 1 )
152 #if defined(__WXMOTIF__) && WXPERL_W_VERSION_LT( 2, 5, 1 )
157 int wxEntryStart( int argc, char** argv )
159 #if (defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT
160 // This seems to be necessary since there are 'rogue'
161 // objects present at this point (perhaps global objects?)
162 // Setting a checkpoint will ignore them as far as the
163 // memory checking facility is concerned.
164 // Of course you may argue that memory allocated in globals should be
165 // checked, but this is a reasonable compromise.
166 wxDebugContext::SetCheckpoint();
169 if (!wxApp::Initialize())
179 // GUI-specific initialization, such as creating an app context.
180 if( !wxTheApp->OnInitGui() )
186 void wxEntryCleanup()
188 // flush the logged messages if any
189 wxLog *pLog = wxLog::GetActiveTarget();
190 if ( pLog != NULL && pLog->HasPendingMessages() )
193 delete wxLog::SetActiveTarget(new wxLogStderr); // So dialog boxes aren't used
194 // for further messages
198 // some code moved to _wxApp destructor
199 // since at this point the app is already destroyed
204 DEFINE_PLI_HELPERS( st_wxPliHelpers );
206 #include <wx/confbase.h>
207 typedef wxConfigBase::EntryType EntryType;
209 WXPLI_BOOT_ONCE_EXP(Wx);
210 #define boot_Wx wxPli_boot_Wx
212 extern bool Wx_booted, Wx_Const_booted, Wx_Ctrl_booted,
213 Wx_Evt_booted, Wx_Wnd_booted, Wx_GDI_booted, Wx_Win_booted;
215 #if WXPERL_W_VERSION_LT( 2, 9, 0 )
216 typedef int wxPolygonFillMode;
219 #ifndef PERL_UNUSED_VAR
220 # define PERL_UNUSED_VAR(var) if (0) var = var
223 #ifndef PERL_ARGS_ASSERT_CROAK_XS_USAGE
224 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE assert(cv); assert(params)
226 /* prototype to pass -Wmissing-prototypes */
228 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params);
231 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
233 const GV *const gv = CvGV(cv);
235 PERL_ARGS_ASSERT_CROAK_XS_USAGE;
238 const char *const gvname = GvNAME(gv);
239 const HV *const stash = GvSTASH(gv);
240 const char *const hvname = stash ? HvNAME(stash) : NULL;
243 Perl_croak(aTHX_ "Usage: %s::%s(%s)", hvname, gvname, params);
245 Perl_croak(aTHX_ "Usage: %s(%s)", gvname, params);
247 /* Pants. I don't think that it should be possible to get here. */
248 Perl_croak(aTHX_ "Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), params);
251 #undef PERL_ARGS_ASSERT_CROAK_XS_USAGE
253 #ifdef PERL_IMPLICIT_CONTEXT
254 #define croak_xs_usage(a,b) S_croak_xs_usage(aTHX_ a,b)
256 #define croak_xs_usage S_croak_xs_usage
261 /* NOTE: the prototype of newXSproto() is different in versions of perls,
262 * so we define a portable version of newXSproto()
265 #define newXSproto_portable(name, c_impl, file, proto) newXS_flags(name, c_impl, file, proto, 0)
267 #define newXSproto_portable(name, c_impl, file, proto) (PL_Sv=(SV*)newXS(name, c_impl, file), sv_setpv(PL_Sv, proto), (CV*)PL_Sv)
268 #endif /* !defined(newXS_flags) */
270 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
271 #define wxPliEntryStart( argc, argv ) wxEntryStart( (argc), (argv) )
273 #define wxPliEntryStart( argc, argv ) ( wxEntryStart( (argc), (argv) ) == 0 )
276 XS(XS_Wx_Load); /* prototype to pass -Wmissing-prototypes */
285 croak_xs_usage(cv, "");
288 wxPerlAppCreated = wxTheApp != NULL;
289 if( wxPerlInitialized ) { XSRETURN( true ); }
290 wxPerlInitialized = true;
292 NV ver = wxMAJOR_VERSION + wxMINOR_VERSION / 1000.0 +
293 wxRELEASE_NUMBER / 1000000.0;
294 // set up version as soon as possible
295 SV* tmp = get_sv( "Wx::_wx_version", 1 );
296 sv_setnv( tmp, ver );
297 tmp = get_sv( "Wx::wxVERSION", 1 );
298 sv_setnv( tmp, ver );
301 // change App.pm whenever these change
302 #if defined(__WXMSW__)
304 #elif defined(__WXGTK__)
306 #elif defined(__WXMOTIF__)
308 #elif defined(__WXMAC__)
310 #elif defined(__WXX11__)
315 tmp = get_sv( "Wx::_platform", 1 );
316 sv_setiv( tmp, platform );
318 if( wxPerlAppCreated || wxTopLevelWindows.GetCount() > 0 )
320 #if defined(DEBUGGING) && !defined(PERL_USE_SAFE_PUTENV)
321 // avoid crash on exit in Fedora (and other DEBUGGING Perls)
322 PL_use_safe_putenv = 1;
326 #if wxUSE_UNICODE && WXPERL_W_VERSION_GE( 2, 5, 3 )
329 argc = wxPli_get_args_argc_argv( (void***) &argv, 1 );
330 wxPerlInitialized = wxPliEntryStart( argc, argv );
331 #if WXPERL_W_VERSION_LE( 2, 5, 2 )
332 wxPli_delete_argv( (void***) &argv, 1 );
337 argc = wxPli_get_args_argc_argv( (void***) &argv, 0 );
338 wxPerlInitialized = wxPliEntryStart( argc, argv );
339 #if WXPERL_W_VERSION_LE( 2, 5, 2 )
340 wxPli_delete_argv( (void***) &argv, 0 );
343 RETVAL = wxPerlInitialized;
344 ST(0) = boolSV(RETVAL);
351 XS(XS_Wx_SetConstants); /* prototype to pass -Wmissing-prototypes */
352 XS(XS_Wx_SetConstants)
360 croak_xs_usage(cv, "");
362 // this is after wxEntryStart, since
363 // wxInitializeStockObjects needs to be called
364 // (for colours, cursors, pens, etc...)
371 XS(XS_Wx_SetConstantsOnce); /* prototype to pass -Wmissing-prototypes */
372 XS(XS_Wx_SetConstantsOnce)
380 croak_xs_usage(cv, "");
389 XS(XS_Wx_SetOvlConstants); /* prototype to pass -Wmissing-prototypes */
390 XS(XS_Wx_SetOvlConstants)
398 croak_xs_usage(cv, "");
407 XS(XS_Wx_UnLoad); /* prototype to pass -Wmissing-prototypes */
416 croak_xs_usage(cv, "");
418 wxPerlAppCreated = wxTheApp != NULL;
419 Wx_booted = Wx_Const_booted = Wx_Ctrl_booted =
420 Wx_Evt_booted = Wx_Wnd_booted = Wx_GDI_booted = Wx_Win_booted = false;
421 if( wxPerlInitialized && !wxPerlAppCreated )
423 wxPerlInitialized = false;
429 XS(XS_Wx_SetAlwaysUTF8); /* prototype to pass -Wmissing-prototypes */
430 XS(XS_Wx_SetAlwaysUTF8)
437 if (items < 0 || items > 1)
438 croak_xs_usage(cv, "always_utf8 = true");
445 always_utf8 = (bool)SvTRUE(ST(0));
448 wxPli_always_utf8 = always_utf8;
454 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
455 #include <wx/dynload.h>
456 #define XSubPPtmpAAAA 1
459 XS(XS_Wx__load_plugin); /* prototype to pass -Wmissing-prototypes */
460 XS(XS_Wx__load_plugin)
468 croak_xs_usage(cv, "string");
473 WXSTRING_INPUT( string, wxString, ST(0) );
475 delete new wxHtmlWindow();
477 delete new wxMediaCtrl();
480 RETVAL = wxPluginManager::LoadLibrary( string, wxDL_VERBATIM );
481 ST(0) = boolSV(RETVAL);
488 XS(XS_Wx__unload_plugin); /* prototype to pass -Wmissing-prototypes */
489 XS(XS_Wx__unload_plugin)
497 croak_xs_usage(cv, "string");
502 WXSTRING_INPUT( string, wxString, ST(0) );
503 RETVAL = wxPluginManager::UnloadLibrary( string );
504 ST(0) = boolSV(RETVAL);
512 XS(XS_Wx__xsmatch); /* prototype to pass -Wmissing-prototypes */
520 if (items < 2 || items > 4)
521 croak_xs_usage(cv, "avref, proto, required = -1, allowmore = false");
528 wxPliPrototype* prototype;
535 required = (int)SvIV(ST(2));
541 allowmore = (bool)SvTRUE(ST(3));
543 av = wxPli_avref_2_av( avref );
544 if( !av ) croak( "first parameter must be an ARRAY reference" );
545 prototype = INT2PTR( wxPliPrototype*, SvIV( proto ) );
546 len = av_len( av ) + 1;
549 for( int i = 0; i < len; ++i )
550 PUSHs( *av_fetch( av, i, 0 ) );
552 RETVAL = wxPli_match_arguments( aTHX_ *prototype, required, allowmore );
554 POPMARK; // wxPli_match_* does a PUSHMARK
555 ST(0) = boolSV(RETVAL);
562 XS(XS_Wx_looks_like_number); /* prototype to pass -Wmissing-prototypes */
563 XS(XS_Wx_looks_like_number)
571 croak_xs_usage(cv, "sval");
576 RETVAL = my_looks_like_number( aTHX_ sval );
577 XSprePUSH; PUSHi((IV)RETVAL);
583 XS(XS_Wx_CLONE); /* prototype to pass -Wmissing-prototypes */
592 croak_xs_usage(cv, "CLASS");
594 char* CLASS = (char *)SvPV_nolen(ST(0));
601 /* INCLUDE: Including 'XS/App.xs' from 'Wx.xs' */
604 /* INCLUDE: Including 'XS/Caret.xs' from 'XS/App.xs' */
607 /* INCLUDE: Including 'XS/Geom.xs' from 'XS/Caret.xs' */
610 /* INCLUDE: Including 'XS/Menu.xs' from 'XS/Geom.xs' */
613 /* INCLUDE: Including 'XS/Log.xs' from 'XS/Menu.xs' */
616 /* INCLUDE: Including 'XS/ToolTip.xs' from 'XS/Log.xs' */
619 /* INCLUDE: Including 'XS/Locale.xs' from 'XS/ToolTip.xs' */
622 /* INCLUDE: Including 'XS/Utils.xs' from 'XS/Locale.xs' */
625 /* INCLUDE: Including 'XS/Timer.xs' from 'XS/Utils.xs' */
628 /* INCLUDE: Including 'XS/Stream.xs' from 'XS/Timer.xs' */
631 /* INCLUDE: Including 'XS/TaskBarIcon.xs' from 'XS/Stream.xs' */
634 /* INCLUDE: Including 'XS/Config.xs' from 'XS/TaskBarIcon.xs' */
637 /* INCLUDE: Including 'XS/Process.xs' from 'XS/Config.xs' */
640 /* INCLUDE: Including 'XS/FontMapper.xs' from 'XS/Process.xs' */
643 /* INCLUDE: Including 'XS/FontEnumerator.xs' from 'XS/FontMapper.xs' */
646 /* INCLUDE: Including 'XS/Wave.xs' from 'XS/FontEnumerator.xs' */
649 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ArtProvider.xsp |' from 'XS/Wave.xs' */
651 #if WXPERL_W_VERSION_GE( 2, 5, 2 )
652 #include <wx/artprov.h>
653 #include "cpp/artprov.h"
654 #define XSubPPtmpAAAB 1
657 XS(XS_Wx__ArtProvider_GetBitmap); /* prototype to pass -Wmissing-prototypes */
658 XS(XS_Wx__ArtProvider_GetBitmap)
665 if (items < 1 || items > 3)
666 croak_xs_usage(cv, "id, client = wxART_OTHER, size = wxDefaultSize");
673 WXSTRING_INPUT( id, wxString, ST(0) );
676 client = wxART_OTHER;
678 WXSTRING_INPUT( client, wxString, ST(1) );
682 size = wxDefaultSize;
684 size = wxPli_sv_2_wxsize( aTHX_ ST(2) );
686 RETVAL = new wxBitmap( wxArtProvider::GetBitmap( id, client, size ) );
687 ST(0) = sv_newmortal();
688 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
689 wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
696 XS(XS_Wx__ArtProvider_GetIcon); /* prototype to pass -Wmissing-prototypes */
697 XS(XS_Wx__ArtProvider_GetIcon)
704 if (items < 1 || items > 3)
705 croak_xs_usage(cv, "id, client = wxART_OTHER, size = wxDefaultSize");
712 WXSTRING_INPUT( id, wxString, ST(0) );
715 client = wxART_OTHER;
717 WXSTRING_INPUT( client, wxString, ST(1) );
721 size = wxDefaultSize;
723 size = wxPli_sv_2_wxsize( aTHX_ ST(2) );
725 RETVAL = new wxIcon( wxArtProvider::GetIcon( id, client, size ) );
726 ST(0) = sv_newmortal();
727 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
728 wxPli_thread_sv_register( aTHX_ "Wx::Icon", RETVAL, ST(0) );
734 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
735 #define XSubPPtmpAAAC 1
738 XS(XS_Wx__ArtProvider_GetIconBundle); /* prototype to pass -Wmissing-prototypes */
739 XS(XS_Wx__ArtProvider_GetIconBundle)
746 if (items < 1 || items > 2)
747 croak_xs_usage(cv, "id, client = wxART_OTHER");
751 wxIconBundle * RETVAL;
753 WXSTRING_INPUT( id, wxString, ST(0) );
756 client = wxART_OTHER;
758 WXSTRING_INPUT( client, wxString, ST(1) );
760 RETVAL = new wxIconBundle( wxArtProvider::GetIconBundle( id, client ) );
761 ST(0) = sv_newmortal();
762 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::IconBundle" );
770 XS(XS_Wx__ArtProvider_PopProvider); /* prototype to pass -Wmissing-prototypes */
771 XS(XS_Wx__ArtProvider_PopProvider)
779 croak_xs_usage(cv, "");
782 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
783 RETVAL = wxArtProvider::Pop();
785 RETVAL = wxArtProvider::PopProvider();
787 ST(0) = boolSV(RETVAL);
794 XS(XS_Wx__ArtProvider_PushProvider); /* prototype to pass -Wmissing-prototypes */
795 XS(XS_Wx__ArtProvider_PushProvider)
803 croak_xs_usage(cv, "provider");
805 wxArtProvider* provider = (wxArtProvider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ArtProvider" );
806 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
807 wxArtProvider::Push( provider);
809 wxArtProvider::PushProvider( provider);
815 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
816 #define XSubPPtmpAAAD 1
819 XS(XS_Wx__ArtProvider_InsertProvider); /* prototype to pass -Wmissing-prototypes */
820 XS(XS_Wx__ArtProvider_InsertProvider)
828 croak_xs_usage(cv, "provider");
830 wxArtProvider* provider = (wxArtProvider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ArtProvider" );
831 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
832 wxArtProvider::PushBack( provider);
834 wxArtProvider::Insert( provider);
842 XS(XS_Wx__ArtProvider_RemoveProvider); /* prototype to pass -Wmissing-prototypes */
843 XS(XS_Wx__ArtProvider_RemoveProvider)
851 croak_xs_usage(cv, "provider");
853 wxArtProvider* provider = (wxArtProvider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ArtProvider" );
855 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
856 RETVAL = wxArtProvider::Remove( provider );
858 RETVAL = wxArtProvider::RemoveProvider( provider );
860 ST(0) = boolSV(RETVAL);
866 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
867 #define XSubPPtmpAAAE 1
870 XS(XS_Wx__ArtProvider_DeleteProvider); /* prototype to pass -Wmissing-prototypes */
871 XS(XS_Wx__ArtProvider_DeleteProvider)
879 croak_xs_usage(cv, "provider");
881 wxArtProvider* provider = (wxArtProvider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ArtProvider" );
883 RETVAL = wxArtProvider::Delete( provider );
884 ST(0) = boolSV(RETVAL);
892 XS(XS_Wx__PlArtProvider_new); /* prototype to pass -Wmissing-prototypes */
893 XS(XS_Wx__PlArtProvider_new)
901 croak_xs_usage(cv, "CLASS");
903 char * CLASS = (char *)SvPV_nolen(ST(0));
904 wxPlArtProvider * RETVAL;
905 RETVAL = new wxPlArtProvider( CLASS );
906 ST(0) = sv_newmortal();
907 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
914 XS(XS_Wx__PlArtProvider_CreateBitmap); /* prototype to pass -Wmissing-prototypes */
915 XS(XS_Wx__PlArtProvider_CreateBitmap)
923 croak_xs_usage(cv, "THIS, id, client, size");
927 wxSize size = wxPli_sv_2_wxsize( aTHX_ ST(3) );
928 wxPlArtProvider * THIS = (wxPlArtProvider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlArtProvider" );
931 WXSTRING_INPUT( id, wxString, ST(1) );
933 WXSTRING_INPUT( client, wxString, ST(2) );
934 RETVAL = new wxBitmap( THIS->CreateBitmap( id, client, size ) );
935 ST(0) = sv_newmortal();
936 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
937 wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
945 /* INCLUDE: Returning to 'XS/Wave.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ArtProvider.xsp |' */
949 #define XSubPPtmpAAAF 1
952 XS(XS_Wx__Wave_new); /* prototype to pass -Wmissing-prototypes */
961 croak_xs_usage(cv, "CLASS, fileName");
964 char * CLASS = (char *)SvPV_nolen(ST(0));
967 WXSTRING_INPUT( fileName, wxString, ST(1) );
969 RETVAL = new wxWave(fileName);
970 ST(0) = sv_newmortal();
971 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Wave" );
978 XS(XS_Wx__Wave_IsOk); /* prototype to pass -Wmissing-prototypes */
987 croak_xs_usage(cv, "THIS");
989 wxWave * THIS = (wxWave *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wave" );
992 RETVAL = THIS->IsOk();
993 ST(0) = boolSV(RETVAL);
1000 XS(XS_Wx__Wave_Play); /* prototype to pass -Wmissing-prototypes */
1001 XS(XS_Wx__Wave_Play)
1008 if (items < 1 || items > 3)
1009 croak_xs_usage(cv, "THIS, async = true, looped = false");
1013 wxWave * THIS = (wxWave *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Wave" );
1019 async = (bool)SvTRUE(ST(1));
1025 looped = (bool)SvTRUE(ST(2));
1028 RETVAL = THIS->Play(async, looped);
1029 ST(0) = boolSV(RETVAL);
1037 /* INCLUDE: Returning to 'XS/FontEnumerator.xs' from 'XS/Wave.xs' */
1039 #include <wx/fontenum.h>
1041 XS(XS_Wx__FontEnumerator_new); /* prototype to pass -Wmissing-prototypes */
1042 XS(XS_Wx__FontEnumerator_new)
1050 croak_xs_usage(cv, "CLASS");
1052 char * CLASS = (char *)SvPV_nolen(ST(0));
1053 wxFontEnumerator * RETVAL;
1055 RETVAL = new wxFontEnumerator();
1056 ST(0) = sv_newmortal();
1057 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::FontEnumerator" );
1058 wxPli_thread_sv_register( aTHX_ "Wx::FontEnumerator", RETVAL, ST(0) );
1065 XS(XS_Wx__FontEnumerator_CLONE); /* prototype to pass -Wmissing-prototypes */
1066 XS(XS_Wx__FontEnumerator_CLONE)
1074 croak_xs_usage(cv, "CLASS");
1076 char * CLASS = (char *)SvPV_nolen(ST(0));
1077 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
1083 XS(XS_Wx__FontEnumerator_DESTROY); /* prototype to pass -Wmissing-prototypes */
1084 XS(XS_Wx__FontEnumerator_DESTROY)
1092 croak_xs_usage(cv, "THIS");
1094 wxFontEnumerator * THIS = (wxFontEnumerator *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontEnumerator" );
1095 wxPli_thread_sv_unregister( aTHX_ "Wx::FontEnumerator", THIS, ST(0) );
1102 XS(XS_Wx__FontEnumerator_EnumerateFacenames); /* prototype to pass -Wmissing-prototypes */
1103 XS(XS_Wx__FontEnumerator_EnumerateFacenames)
1110 if (items < 1 || items > 3)
1111 croak_xs_usage(cv, "THIS, encoding = wxFONTENCODING_SYSTEM, fixedWidth = false");
1113 wxFontEncoding encoding;
1115 wxFontEnumerator * THIS = (wxFontEnumerator *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontEnumerator" );
1119 encoding = wxFONTENCODING_SYSTEM;
1121 encoding = (wxFontEncoding)SvIV(ST(1));
1127 fixedWidth = (bool)SvTRUE(ST(2));
1130 RETVAL = THIS->EnumerateFacenames(encoding, fixedWidth);
1131 ST(0) = boolSV(RETVAL);
1138 XS(XS_Wx__FontEnumerator_EnumerateEncodings); /* prototype to pass -Wmissing-prototypes */
1139 XS(XS_Wx__FontEnumerator_EnumerateEncodings)
1146 if (items < 1 || items > 2)
1147 croak_xs_usage(cv, "THIS, font = wxEmptyString");
1150 wxFontEnumerator * THIS = (wxFontEnumerator *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontEnumerator" );
1154 font = wxEmptyString;
1156 WXSTRING_INPUT( font, wxString, ST(1) );
1159 RETVAL = THIS->EnumerateEncodings(font);
1160 ST(0) = boolSV(RETVAL);
1167 XS(XS_Wx__FontEnumerator_GetEncodings); /* prototype to pass -Wmissing-prototypes */
1168 XS(XS_Wx__FontEnumerator_GetEncodings)
1176 croak_xs_usage(cv, "THIS");
1177 PERL_UNUSED_VAR(ax); /* -Wall */
1180 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
1185 wxFontEnumerator * THIS = (wxFontEnumerator *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontEnumerator" );
1186 enc = THIS->GetEncodings();
1187 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
1192 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
1193 wxPli_stringarray_push( aTHX_ enc );
1195 wxPli_stringarray_push( aTHX_ *enc );
1205 XS(XS_Wx__FontEnumerator_GetFacenames); /* prototype to pass -Wmissing-prototypes */
1206 XS(XS_Wx__FontEnumerator_GetFacenames)
1214 croak_xs_usage(cv, "THIS");
1215 PERL_UNUSED_VAR(ax); /* -Wall */
1218 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
1223 wxFontEnumerator * THIS = (wxFontEnumerator *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontEnumerator" );
1224 enc = THIS->GetFacenames();
1225 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
1230 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
1231 wxPli_stringarray_push( aTHX_ enc );
1233 wxPli_stringarray_push( aTHX_ *enc );
1242 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
1243 #define XSubPPtmpAAAG 1
1246 XS(XS_Wx__FontEnumerator_IsValidFacename); /* prototype to pass -Wmissing-prototypes */
1247 XS(XS_Wx__FontEnumerator_IsValidFacename)
1255 croak_xs_usage(cv, "facename");
1260 WXSTRING_INPUT( facename, wxString, ST(0) );
1261 RETVAL = wxFontEnumerator::IsValidFacename( facename );
1262 ST(0) = boolSV(RETVAL);
1270 /* INCLUDE: Returning to 'XS/FontMapper.xs' from 'XS/FontEnumerator.xs' */
1272 #include <wx/fontmap.h>
1274 XS(XS_Wx__FontMapper_Get); /* prototype to pass -Wmissing-prototypes */
1275 XS(XS_Wx__FontMapper_Get)
1283 croak_xs_usage(cv, "");
1285 wxFontMapper * RETVAL;
1286 RETVAL = wxFontMapper::Get();
1287 ST(0) = sv_newmortal();
1288 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::FontMapper" );
1295 XS(XS_Wx__FontMapper_GetAltForEncoding); /* prototype to pass -Wmissing-prototypes */
1296 XS(XS_Wx__FontMapper_GetAltForEncoding)
1303 if (items < 2 || items > 4)
1304 croak_xs_usage(cv, "THIS, encoding, facename = wxEmptyString, interactive = true");
1305 PERL_UNUSED_VAR(ax); /* -Wall */
1308 wxFontEncoding encoding = (wxFontEncoding)SvIV(ST(1));
1311 wxFontEncoding retval;
1313 wxFontMapper * THIS = (wxFontMapper *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontMapper" );
1316 facename = wxEmptyString;
1318 WXSTRING_INPUT( facename, wxString, ST(2) );
1324 interactive = (bool)SvTRUE(ST(3));
1326 result = THIS->GetAltForEncoding( encoding, &retval, facename,
1329 PUSHs( boolSV( result ) );
1330 PUSHs( sv_2mortal( newSViv( retval ) ) );
1337 XS(XS_Wx__FontMapper_IsEncodingAvailable); /* prototype to pass -Wmissing-prototypes */
1338 XS(XS_Wx__FontMapper_IsEncodingAvailable)
1345 if (items < 2 || items > 3)
1346 croak_xs_usage(cv, "THIS, encoding, facename = wxEmptyString");
1348 wxFontEncoding encoding = (wxFontEncoding)SvIV(ST(1));
1350 wxFontMapper * THIS = (wxFontMapper *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontMapper" );
1354 facename = wxEmptyString;
1356 WXSTRING_INPUT( facename, wxString, ST(2) );
1359 RETVAL = THIS->IsEncodingAvailable(encoding, facename);
1360 ST(0) = boolSV(RETVAL);
1367 XS(XS_Wx__FontMapper_CharsetToEncoding); /* prototype to pass -Wmissing-prototypes */
1368 XS(XS_Wx__FontMapper_CharsetToEncoding)
1375 if (items < 2 || items > 3)
1376 croak_xs_usage(cv, "THIS, charset, interactive = true");
1380 wxFontMapper * THIS = (wxFontMapper *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontMapper" );
1381 wxFontEncoding RETVAL;
1384 WXSTRING_INPUT( charset, wxString, ST(1) );
1389 interactive = (bool)SvTRUE(ST(2));
1392 RETVAL = THIS->CharsetToEncoding(charset, interactive);
1393 XSprePUSH; PUSHi((IV)RETVAL);
1399 XS(XS_Wx__FontMapper_GetEncodingName); /* prototype to pass -Wmissing-prototypes */
1400 XS(XS_Wx__FontMapper_GetEncodingName)
1408 croak_xs_usage(cv, "encoding");
1410 wxFontEncoding encoding = (wxFontEncoding)SvIV(ST(0));
1412 RETVAL = wxFontMapper::GetEncodingName( encoding );
1413 ST(0) = sv_newmortal();
1414 WXSTRING_OUTPUT( RETVAL, ST(0) );
1421 XS(XS_Wx__FontMapper_GetEncodingDescription); /* prototype to pass -Wmissing-prototypes */
1422 XS(XS_Wx__FontMapper_GetEncodingDescription)
1430 croak_xs_usage(cv, "encoding");
1432 wxFontEncoding encoding = (wxFontEncoding)SvIV(ST(0));
1434 RETVAL = wxFontMapper::GetEncodingDescription( encoding );
1435 ST(0) = sv_newmortal();
1436 WXSTRING_OUTPUT( RETVAL, ST(0) );
1442 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
1443 #define XSubPPtmpAAAH 1
1446 XS(XS_Wx__FontMapper_GetAllEncodingNames); /* prototype to pass -Wmissing-prototypes */
1447 XS(XS_Wx__FontMapper_GetAllEncodingNames)
1455 croak_xs_usage(cv, "encoding");
1456 PERL_UNUSED_VAR(ax); /* -Wall */
1459 wxFontEncoding encoding = (wxFontEncoding)SvIV(ST(0));
1460 const wxChar** encodings = wxFontMapper::GetAllEncodingNames( encoding );
1465 XPUSHs( wxPli_wxChar_2_sv( aTHX_ *encodings, sv_newmortal() ) );
1475 XS(XS_Wx__FontMapper_GetEncoding); /* prototype to pass -Wmissing-prototypes */
1476 XS(XS_Wx__FontMapper_GetEncoding)
1484 croak_xs_usage(cv, "THIS, n");
1486 size_t n = (size_t)SvUV( ST(1) );
1487 wxFontMapper * THIS = (wxFontMapper *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontMapper" );
1488 wxFontEncoding RETVAL;
1490 RETVAL = wxFontMapper::GetEncoding( n );
1491 XSprePUSH; PUSHi((IV)RETVAL);
1497 XS(XS_Wx__FontMapper_GetEncodingFromName); /* prototype to pass -Wmissing-prototypes */
1498 XS(XS_Wx__FontMapper_GetEncodingFromName)
1506 croak_xs_usage(cv, "THIS, encoding");
1509 wxFontMapper * THIS = (wxFontMapper *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontMapper" );
1510 wxFontEncoding RETVAL;
1513 WXSTRING_INPUT( encoding, wxString, ST(1) );
1514 RETVAL = wxFontMapper::GetEncodingFromName( encoding );
1515 XSprePUSH; PUSHi((IV)RETVAL);
1521 XS(XS_Wx__FontMapper_GetSupportedEncodingsCount); /* prototype to pass -Wmissing-prototypes */
1522 XS(XS_Wx__FontMapper_GetSupportedEncodingsCount)
1530 croak_xs_usage(cv, "THIS");
1532 wxFontMapper * THIS = (wxFontMapper *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontMapper" );
1535 RETVAL = wxFontMapper::GetSupportedEncodingsCount();
1536 XSprePUSH; PUSHu((UV)RETVAL );
1542 XS(XS_Wx__FontMapper_SetDialogParent); /* prototype to pass -Wmissing-prototypes */
1543 XS(XS_Wx__FontMapper_SetDialogParent)
1551 croak_xs_usage(cv, "THIS, parent");
1553 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
1554 wxFontMapper * THIS = (wxFontMapper *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontMapper" );
1556 THIS->SetDialogParent(parent);
1562 XS(XS_Wx__FontMapper_SetDialogTitle); /* prototype to pass -Wmissing-prototypes */
1563 XS(XS_Wx__FontMapper_SetDialogTitle)
1571 croak_xs_usage(cv, "THIS, title");
1574 wxFontMapper * THIS = (wxFontMapper *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontMapper" );
1576 WXSTRING_INPUT( title, wxString, ST(1) );
1578 THIS->SetDialogTitle(title);
1583 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
1584 #define XSubPPtmpAAAI 1
1587 XS(XS_Wx__FontMapper_SetConfig); /* prototype to pass -Wmissing-prototypes */
1588 XS(XS_Wx__FontMapper_SetConfig)
1596 croak_xs_usage(cv, "THIS, config");
1598 wxConfigBase* config = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ConfigBase" );
1599 wxFontMapper * THIS = (wxFontMapper *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontMapper" );
1601 THIS->SetConfig(config);
1608 XS(XS_Wx__FontMapper_SetConfigPath); /* prototype to pass -Wmissing-prototypes */
1609 XS(XS_Wx__FontMapper_SetConfigPath)
1617 croak_xs_usage(cv, "THIS, path");
1620 wxFontMapper * THIS = (wxFontMapper *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FontMapper" );
1622 WXSTRING_INPUT( path, wxString, ST(1) );
1624 THIS->SetConfigPath(path);
1630 /* INCLUDE: Returning to 'XS/Process.xs' from 'XS/FontMapper.xs' */
1632 #include <wx/process.h>
1633 #include "cpp/process.h"
1634 #include <wx/utils.h>
1636 XS(XS_Wx__ProcessEvent_new); /* prototype to pass -Wmissing-prototypes */
1637 XS(XS_Wx__ProcessEvent_new)
1644 if (items < 1 || items > 4)
1645 croak_xs_usage(cv, "CLASS, id = 0, pid = 0, status = 0");
1650 char * CLASS = (char *)SvPV_nolen(ST(0));
1651 wxProcessEvent * RETVAL;
1656 id = (int)SvIV(ST(1));
1662 pid = (int)SvIV(ST(2));
1668 status = (int)SvIV(ST(3));
1671 RETVAL = new wxProcessEvent(id, pid, status);
1672 ST(0) = sv_newmortal();
1673 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1674 wxPli_thread_sv_register( aTHX_ "Wx::ProcessEvent", RETVAL, ST(0) );
1681 XS(XS_Wx__ProcessEvent_GetPid); /* prototype to pass -Wmissing-prototypes */
1682 XS(XS_Wx__ProcessEvent_GetPid)
1690 croak_xs_usage(cv, "THIS");
1692 wxProcessEvent * THIS = (wxProcessEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ProcessEvent" );
1696 RETVAL = THIS->GetPid();
1697 XSprePUSH; PUSHi((IV)RETVAL);
1703 XS(XS_Wx__ProcessEvent_GetExitCode); /* prototype to pass -Wmissing-prototypes */
1704 XS(XS_Wx__ProcessEvent_GetExitCode)
1712 croak_xs_usage(cv, "THIS");
1714 wxProcessEvent * THIS = (wxProcessEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ProcessEvent" );
1718 RETVAL = THIS->GetExitCode();
1719 XSprePUSH; PUSHi((IV)RETVAL);
1725 XS(XS_Wx__Process_new); /* prototype to pass -Wmissing-prototypes */
1726 XS(XS_Wx__Process_new)
1733 if (items < 1 || items > 3)
1734 croak_xs_usage(cv, "CLASS, parent = 0, id = -1");
1736 wxEvtHandler* parent;
1738 char * CLASS = (char *)SvPV_nolen(ST(0));
1744 parent = (wxEvtHandler *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::EvtHandler" );
1750 id = (int)SvIV(ST(2));
1752 RETVAL = new wxPliProcess( CLASS, parent, id );
1753 ST(0) = sv_newmortal();
1754 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
1761 XS(XS_Wx__Process_Destroy); /* prototype to pass -Wmissing-prototypes */
1762 XS(XS_Wx__Process_Destroy)
1770 croak_xs_usage(cv, "THIS");
1772 wxProcess * THIS = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Process" );
1779 XS(XS_Wx__Process_CloseOutput); /* prototype to pass -Wmissing-prototypes */
1780 XS(XS_Wx__Process_CloseOutput)
1788 croak_xs_usage(cv, "THIS");
1790 wxProcess * THIS = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Process" );
1792 THIS->CloseOutput();
1798 XS(XS_Wx__Process_Detach); /* prototype to pass -Wmissing-prototypes */
1799 XS(XS_Wx__Process_Detach)
1807 croak_xs_usage(cv, "THIS");
1809 wxProcess * THIS = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Process" );
1817 XS(XS_Wx__Process_GetErrorStream); /* prototype to pass -Wmissing-prototypes */
1818 XS(XS_Wx__Process_GetErrorStream)
1826 croak_xs_usage(cv, "THIS");
1828 wxProcess * THIS = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Process" );
1829 wxInputStream * RETVAL;
1831 RETVAL = THIS->GetErrorStream();
1832 ST(0) = sv_newmortal();
1833 wxPli_stream_2_sv( aTHX_ ST(0), RETVAL, "Wx::InputStream" );
1840 XS(XS_Wx__Process_GetInputStream); /* prototype to pass -Wmissing-prototypes */
1841 XS(XS_Wx__Process_GetInputStream)
1849 croak_xs_usage(cv, "THIS");
1851 wxProcess * THIS = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Process" );
1852 wxInputStream * RETVAL;
1854 RETVAL = THIS->GetInputStream();
1855 ST(0) = sv_newmortal();
1856 wxPli_stream_2_sv( aTHX_ ST(0), RETVAL, "Wx::InputStream" );
1863 XS(XS_Wx__Process_GetOutputStream); /* prototype to pass -Wmissing-prototypes */
1864 XS(XS_Wx__Process_GetOutputStream)
1872 croak_xs_usage(cv, "THIS");
1874 wxProcess * THIS = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Process" );
1875 wxOutputStream * RETVAL;
1877 RETVAL = THIS->GetOutputStream();
1878 ST(0) = sv_newmortal();
1879 wxPli_stream_2_sv( aTHX_ ST(0), RETVAL, "Wx::OutputStream" );
1886 XS(XS_Wx__Process_IsErrorAvailable); /* prototype to pass -Wmissing-prototypes */
1887 XS(XS_Wx__Process_IsErrorAvailable)
1895 croak_xs_usage(cv, "THIS");
1897 wxProcess * THIS = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Process" );
1900 RETVAL = THIS->IsErrorAvailable();
1901 ST(0) = boolSV(RETVAL);
1908 XS(XS_Wx__Process_IsInputAvailable); /* prototype to pass -Wmissing-prototypes */
1909 XS(XS_Wx__Process_IsInputAvailable)
1917 croak_xs_usage(cv, "THIS");
1919 wxProcess * THIS = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Process" );
1922 RETVAL = THIS->IsInputAvailable();
1923 ST(0) = boolSV(RETVAL);
1930 XS(XS_Wx__Process_IsInputOpened); /* prototype to pass -Wmissing-prototypes */
1931 XS(XS_Wx__Process_IsInputOpened)
1939 croak_xs_usage(cv, "THIS");
1941 wxProcess * THIS = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Process" );
1944 RETVAL = THIS->IsInputOpened();
1945 ST(0) = boolSV(RETVAL);
1951 #if WXPERL_W_VERSION_LT( 2, 5, 4 )
1952 #define wxKILL_NOCHILDREN 0
1955 XS(XS_Wx__Process_Kill); /* prototype to pass -Wmissing-prototypes */
1956 XS(XS_Wx__Process_Kill)
1963 if (items < 1 || items > 3)
1964 croak_xs_usage(cv, "pid, signal = wxSIGNONE, flags = wxKILL_NOCHILDREN");
1966 int pid = (int)SvIV(ST(0));
1975 signal = (wxSignal)SvIV(ST(1));
1979 flags = wxKILL_NOCHILDREN;
1981 flags = (int)SvIV(ST(2));
1983 #if WXPERL_W_VERSION_GE( 2, 5, 4 )
1984 RETVAL = wxProcess::Kill( pid, signal, flags );
1986 RETVAL = wxProcess::Kill( pid, signal );
1988 XSprePUSH; PUSHi((IV)RETVAL);
1994 XS(XS_Wx__Process_Exists); /* prototype to pass -Wmissing-prototypes */
1995 XS(XS_Wx__Process_Exists)
2003 croak_xs_usage(cv, "pid");
2005 int pid = (int)SvIV(ST(0));
2007 RETVAL = wxProcess::Exists( pid );
2008 ST(0) = boolSV(RETVAL);
2015 XS(XS_Wx__Process_OnTerminate); /* prototype to pass -Wmissing-prototypes */
2016 XS(XS_Wx__Process_OnTerminate)
2024 croak_xs_usage(cv, "THIS, pid, status");
2026 int pid = (int)SvIV(ST(1));
2027 int status = (int)SvIV(ST(2));
2028 wxProcess * THIS = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Process" );
2029 THIS->wxProcess::OnTerminate( pid, status );
2035 XS(XS_Wx__Process_Redirect); /* prototype to pass -Wmissing-prototypes */
2036 XS(XS_Wx__Process_Redirect)
2044 croak_xs_usage(cv, "THIS");
2046 wxProcess * THIS = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Process" );
2054 XS(XS_Wx__Process_Open); /* prototype to pass -Wmissing-prototypes */
2055 XS(XS_Wx__Process_Open)
2062 if (items < 1 || items > 2)
2063 croak_xs_usage(cv, "cmd, flags = wxEXEC_ASYNC");
2069 WXSTRING_INPUT( cmd, wxString, ST(0) );
2072 flags = wxEXEC_ASYNC;
2074 flags = (int)SvIV(ST(1));
2076 RETVAL = wxProcess::Open( cmd, flags );
2077 ST(0) = sv_newmortal();
2078 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
2084 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
2085 #define XSubPPtmpAAAJ 1
2088 XS(XS_Wx__Process_GetPid); /* prototype to pass -Wmissing-prototypes */
2089 XS(XS_Wx__Process_GetPid)
2097 croak_xs_usage(cv, "THIS");
2099 wxProcess * THIS = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Process" );
2103 RETVAL = THIS->GetPid();
2104 XSprePUSH; PUSHi((IV)RETVAL);
2111 XS(XS_Wx_ExecuteCommand); /* prototype to pass -Wmissing-prototypes */
2112 XS(XS_Wx_ExecuteCommand)
2119 if (items < 1 || items > 3)
2120 croak_xs_usage(cv, "command, sync = wxEXEC_ASYNC, callback = 0");
2124 wxProcess* callback;
2128 WXSTRING_INPUT( command, wxString, ST(0) );
2131 sync = wxEXEC_ASYNC;
2133 sync = (int)SvIV(ST(1));
2139 callback = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Process" );
2141 RETVAL = wxExecute( command, sync, callback );
2142 XSprePUSH; PUSHi((IV)RETVAL);
2148 #define XSubPPtmpAAAK 1
2151 XS(XS_Wx_ExecuteArgs); /* prototype to pass -Wmissing-prototypes */
2152 XS(XS_Wx_ExecuteArgs)
2159 if (items < 1 || items > 3)
2160 croak_xs_usage(cv, "args, sync = wxEXEC_ASYNC, callback = 0");
2164 wxProcess* callback;
2172 sync = wxEXEC_ASYNC;
2174 sync = (int)SvIV(ST(1));
2180 callback = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Process" );
2182 n = wxPli_av_2_wxcharparray( aTHX_ args, &t );
2183 argv = new wxChar*[n+1];
2184 memcpy( argv, t, n*sizeof(char*) );
2186 RETVAL = wxExecute( argv, sync, callback );
2187 for( i = 0; i < n; ++i )
2191 XSprePUSH; PUSHi((IV)RETVAL);
2197 #define XSubPPtmpAAAL 1
2200 XS(XS_Wx_ExecuteArgs); /* prototype to pass -Wmissing-prototypes */
2201 XS(XS_Wx_ExecuteArgs)
2208 if (items < 1 || items > 3)
2209 croak_xs_usage(cv, "args, sync = wxEXEC_ASYNC, callback = 0");
2213 wxProcess* callback;
2221 sync = wxEXEC_ASYNC;
2223 sync = (int)SvIV(ST(1));
2229 callback = (wxProcess *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Process" );
2231 n = wxPli_av_2_charparray( aTHX_ args, &t );
2232 argv = new char*[n+1];
2233 memcpy( argv, t, n*sizeof(char*) );
2235 RETVAL = wxExecute( argv, sync, callback );
2236 for( i = 0; i < n; ++i )
2240 XSprePUSH; PUSHi((IV)RETVAL);
2247 XS(XS_Wx_ExecuteStdout); /* prototype to pass -Wmissing-prototypes */
2248 XS(XS_Wx_ExecuteStdout)
2256 croak_xs_usage(cv, "command");
2257 PERL_UNUSED_VAR(ax); /* -Wall */
2265 WXSTRING_INPUT( command, wxString, ST(0) );
2266 code = wxExecute( command, out );
2267 ret = wxPli_stringarray_2_av( aTHX_ out );
2269 PUSHs( sv_2mortal( newSViv( code ) ) );
2270 PUSHs( sv_2mortal( newRV_noinc( (SV*)ret ) ) );
2277 XS(XS_Wx_ExecuteStdoutStderr); /* prototype to pass -Wmissing-prototypes */
2278 XS(XS_Wx_ExecuteStdoutStderr)
2286 croak_xs_usage(cv, "command");
2287 PERL_UNUSED_VAR(ax); /* -Wall */
2291 wxArrayString out, err;
2295 WXSTRING_INPUT( command, wxString, ST(0) );
2296 code = wxExecute( command, out, err );
2297 rout = wxPli_stringarray_2_av( aTHX_ out );
2298 rerr = wxPli_stringarray_2_av( aTHX_ err );
2300 PUSHs( sv_2mortal( newSViv( code ) ) );
2301 PUSHs( sv_2mortal( newRV_noinc( (SV*)rout ) ) );
2302 PUSHs( sv_2mortal( newRV_noinc( (SV*)rerr ) ) );
2309 /* INCLUDE: Returning to 'XS/Config.xs' from 'XS/Process.xs' */
2311 #include <wx/confbase.h>
2313 XS(XS_Wx__ConfigBase_Destroy); /* prototype to pass -Wmissing-prototypes */
2314 XS(XS_Wx__ConfigBase_Destroy)
2322 croak_xs_usage(cv, "THIS");
2324 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2331 XS(XS_Wx__ConfigBase_Create); /* prototype to pass -Wmissing-prototypes */
2332 XS(XS_Wx__ConfigBase_Create)
2340 croak_xs_usage(cv, "");
2342 wxConfigBase * RETVAL;
2343 RETVAL = wxConfigBase::Create();
2344 ST(0) = sv_newmortal();
2345 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ConfigBase" );
2352 XS(XS_Wx__ConfigBase_DontCreateOnDemand); /* prototype to pass -Wmissing-prototypes */
2353 XS(XS_Wx__ConfigBase_DontCreateOnDemand)
2361 croak_xs_usage(cv, "");
2363 wxConfigBase::DontCreateOnDemand();
2369 XS(XS_Wx__ConfigBase_DeleteAll); /* prototype to pass -Wmissing-prototypes */
2370 XS(XS_Wx__ConfigBase_DeleteAll)
2378 croak_xs_usage(cv, "THIS");
2380 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2383 RETVAL = THIS->DeleteAll();
2384 ST(0) = boolSV(RETVAL);
2391 XS(XS_Wx__ConfigBase_DeleteEntry); /* prototype to pass -Wmissing-prototypes */
2392 XS(XS_Wx__ConfigBase_DeleteEntry)
2399 if (items < 2 || items > 3)
2400 croak_xs_usage(cv, "THIS, key, deleteGroupIfEmpty = true");
2403 bool deleteGroupIfEmpty;
2404 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2407 WXSTRING_INPUT( key, wxString, ST(1) );
2410 deleteGroupIfEmpty = true;
2412 deleteGroupIfEmpty = (bool)SvTRUE(ST(2));
2415 RETVAL = THIS->DeleteEntry(key, deleteGroupIfEmpty);
2416 ST(0) = boolSV(RETVAL);
2423 XS(XS_Wx__ConfigBase_DeleteGroup); /* prototype to pass -Wmissing-prototypes */
2424 XS(XS_Wx__ConfigBase_DeleteGroup)
2432 croak_xs_usage(cv, "THIS, key");
2435 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2438 WXSTRING_INPUT( key, wxString, ST(1) );
2440 RETVAL = THIS->DeleteGroup(key);
2441 ST(0) = boolSV(RETVAL);
2448 XS(XS_Wx__ConfigBase_Exists); /* prototype to pass -Wmissing-prototypes */
2449 XS(XS_Wx__ConfigBase_Exists)
2457 croak_xs_usage(cv, "THIS, key");
2460 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2463 WXSTRING_INPUT( key, wxString, ST(1) );
2465 RETVAL = THIS->Exists(key);
2466 ST(0) = boolSV(RETVAL);
2473 XS(XS_Wx__ConfigBase_Flush); /* prototype to pass -Wmissing-prototypes */
2474 XS(XS_Wx__ConfigBase_Flush)
2481 if (items < 1 || items > 2)
2482 croak_xs_usage(cv, "THIS, currentOnly = false");
2485 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2489 currentOnly = false;
2491 currentOnly = (bool)SvTRUE(ST(1));
2494 RETVAL = THIS->Flush(currentOnly);
2495 ST(0) = boolSV(RETVAL);
2502 XS(XS_Wx__ConfigBase_Get); /* prototype to pass -Wmissing-prototypes */
2503 XS(XS_Wx__ConfigBase_Get)
2510 if (items < 0 || items > 1)
2511 croak_xs_usage(cv, "createOnDemand = true");
2513 bool createOnDemand;
2514 wxConfigBase * RETVAL;
2517 createOnDemand = true;
2519 createOnDemand = (bool)SvTRUE(ST(0));
2521 RETVAL = wxConfigBase::Get( createOnDemand );
2522 ST(0) = sv_newmortal();
2523 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ConfigBase" );
2530 XS(XS_Wx__ConfigBase_GetAppName); /* prototype to pass -Wmissing-prototypes */
2531 XS(XS_Wx__ConfigBase_GetAppName)
2539 croak_xs_usage(cv, "THIS");
2541 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2544 RETVAL = THIS->GetAppName();
2545 ST(0) = sv_newmortal();
2546 WXSTRING_OUTPUT( RETVAL, ST(0) );
2553 XS(XS_Wx__ConfigBase_GetEntryType); /* prototype to pass -Wmissing-prototypes */
2554 XS(XS_Wx__ConfigBase_GetEntryType)
2562 croak_xs_usage(cv, "THIS, name");
2565 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2569 WXSTRING_INPUT( name, wxString, ST(1) );
2571 RETVAL = THIS->GetEntryType(name);
2572 XSprePUSH; PUSHi((IV)RETVAL);
2578 XS(XS_Wx__ConfigBase_GetFirstEntry); /* prototype to pass -Wmissing-prototypes */
2579 XS(XS_Wx__ConfigBase_GetFirstEntry)
2587 croak_xs_usage(cv, "THIS");
2588 PERL_UNUSED_VAR(ax); /* -Wall */
2594 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2595 ret = THIS->GetFirstEntry( name, index );
2597 PUSHs( sv_2mortal( newSViv( ret ) ) );
2598 SV* tmp = newSViv( 0 );
2599 WXSTRING_OUTPUT( name, tmp );
2600 PUSHs( sv_2mortal( tmp ) );
2601 PUSHs( sv_2mortal( newSViv( index ) ) );
2608 XS(XS_Wx__ConfigBase_GetFirstGroup); /* prototype to pass -Wmissing-prototypes */
2609 XS(XS_Wx__ConfigBase_GetFirstGroup)
2617 croak_xs_usage(cv, "THIS");
2618 PERL_UNUSED_VAR(ax); /* -Wall */
2624 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2625 ret = THIS->GetFirstGroup( name, index );
2627 PUSHs( sv_2mortal( newSViv( ret ) ) );
2628 SV* tmp = newSViv( 0 );
2629 WXSTRING_OUTPUT( name, tmp );
2630 PUSHs( sv_2mortal( tmp ) );
2631 PUSHs( sv_2mortal( newSViv( index ) ) );
2638 XS(XS_Wx__ConfigBase_GetNextEntry); /* prototype to pass -Wmissing-prototypes */
2639 XS(XS_Wx__ConfigBase_GetNextEntry)
2647 croak_xs_usage(cv, "THIS, index");
2648 PERL_UNUSED_VAR(ax); /* -Wall */
2651 long index = (long)SvIV(ST(1));
2654 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2655 ret = THIS->GetNextEntry( name, index );
2657 PUSHs( sv_2mortal( newSViv( ret ) ) );
2658 SV* tmp = newSViv( 0 );
2659 WXSTRING_OUTPUT( name, tmp );
2660 PUSHs( sv_2mortal( tmp ) );
2661 PUSHs( sv_2mortal( newSViv( index ) ) );
2668 XS(XS_Wx__ConfigBase_GetNextGroup); /* prototype to pass -Wmissing-prototypes */
2669 XS(XS_Wx__ConfigBase_GetNextGroup)
2677 croak_xs_usage(cv, "THIS, index");
2678 PERL_UNUSED_VAR(ax); /* -Wall */
2681 long index = (long)SvIV(ST(1));
2684 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2685 ret = THIS->GetNextGroup( name, index );
2687 PUSHs( sv_2mortal( newSViv( ret ) ) );
2688 SV* tmp = newSViv( 0 );
2689 WXSTRING_OUTPUT( name, tmp );
2690 PUSHs( sv_2mortal( tmp ) );
2691 PUSHs( sv_2mortal( newSViv( index ) ) );
2698 XS(XS_Wx__ConfigBase_GetNumberOfEntries); /* prototype to pass -Wmissing-prototypes */
2699 XS(XS_Wx__ConfigBase_GetNumberOfEntries)
2706 if (items < 1 || items > 2)
2707 croak_xs_usage(cv, "THIS, recursive = false");
2710 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2711 unsigned int RETVAL;
2717 recursive = (bool)SvTRUE(ST(1));
2720 RETVAL = THIS->GetNumberOfEntries(recursive);
2721 XSprePUSH; PUSHu((UV)RETVAL );
2727 XS(XS_Wx__ConfigBase_GetNumberOfGroups); /* prototype to pass -Wmissing-prototypes */
2728 XS(XS_Wx__ConfigBase_GetNumberOfGroups)
2735 if (items < 1 || items > 2)
2736 croak_xs_usage(cv, "THIS, recursive = false");
2739 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2740 unsigned int RETVAL;
2746 recursive = (bool)SvTRUE(ST(1));
2749 RETVAL = THIS->GetNumberOfGroups(recursive);
2750 XSprePUSH; PUSHu((UV)RETVAL );
2756 XS(XS_Wx__ConfigBase_GetPath); /* prototype to pass -Wmissing-prototypes */
2757 XS(XS_Wx__ConfigBase_GetPath)
2765 croak_xs_usage(cv, "THIS");
2767 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2770 RETVAL = THIS->GetPath();
2771 ST(0) = sv_newmortal();
2772 WXSTRING_OUTPUT( RETVAL, ST(0) );
2779 XS(XS_Wx__ConfigBase_GetVendorName); /* prototype to pass -Wmissing-prototypes */
2780 XS(XS_Wx__ConfigBase_GetVendorName)
2788 croak_xs_usage(cv, "THIS");
2790 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2793 RETVAL = THIS->GetVendorName();
2794 ST(0) = sv_newmortal();
2795 WXSTRING_OUTPUT( RETVAL, ST(0) );
2802 XS(XS_Wx__ConfigBase_HasEntry); /* prototype to pass -Wmissing-prototypes */
2803 XS(XS_Wx__ConfigBase_HasEntry)
2811 croak_xs_usage(cv, "THIS, name");
2814 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2817 WXSTRING_INPUT( name, wxString, ST(1) );
2819 RETVAL = THIS->HasEntry(name);
2820 ST(0) = boolSV(RETVAL);
2827 XS(XS_Wx__ConfigBase_HasGroup); /* prototype to pass -Wmissing-prototypes */
2828 XS(XS_Wx__ConfigBase_HasGroup)
2836 croak_xs_usage(cv, "THIS, name");
2839 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2842 WXSTRING_INPUT( name, wxString, ST(1) );
2844 RETVAL = THIS->HasGroup(name);
2845 ST(0) = boolSV(RETVAL);
2852 XS(XS_Wx__ConfigBase_IsExpandingEnvVars); /* prototype to pass -Wmissing-prototypes */
2853 XS(XS_Wx__ConfigBase_IsExpandingEnvVars)
2861 croak_xs_usage(cv, "THIS");
2863 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2866 RETVAL = THIS->IsExpandingEnvVars();
2867 ST(0) = boolSV(RETVAL);
2874 XS(XS_Wx__ConfigBase_IsRecordingDefaults); /* prototype to pass -Wmissing-prototypes */
2875 XS(XS_Wx__ConfigBase_IsRecordingDefaults)
2883 croak_xs_usage(cv, "THIS");
2885 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2888 RETVAL = THIS->IsRecordingDefaults();
2889 ST(0) = boolSV(RETVAL);
2896 XS(XS_Wx__ConfigBase_Read); /* prototype to pass -Wmissing-prototypes */
2897 XS(XS_Wx__ConfigBase_Read)
2904 if (items < 2 || items > 3)
2905 croak_xs_usage(cv, "THIS, key, def = wxEmptyString");
2909 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2912 WXSTRING_INPUT( key, wxString, ST(1) );
2915 def = wxEmptyString;
2917 WXSTRING_INPUT( def, wxString, ST(2) );
2919 THIS->Read( key, &RETVAL, def );
2920 ST(0) = sv_newmortal();
2921 WXSTRING_OUTPUT( RETVAL, ST(0) );
2928 XS(XS_Wx__ConfigBase_ReadInt); /* prototype to pass -Wmissing-prototypes */
2929 XS(XS_Wx__ConfigBase_ReadInt)
2936 if (items < 2 || items > 3)
2937 croak_xs_usage(cv, "THIS, key, def = 0");
2941 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2945 WXSTRING_INPUT( key, wxString, ST(1) );
2950 def = (long)SvIV(ST(2));
2952 THIS->Read( key, &RETVAL, def );
2953 XSprePUSH; PUSHi((IV)RETVAL);
2958 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
2959 #define XSubPPtmpAAAM 1
2962 XS(XS_Wx__ConfigBase_ReadLong); /* prototype to pass -Wmissing-prototypes */
2963 XS(XS_Wx__ConfigBase_ReadLong)
2970 if (items < 2 || items > 3)
2971 croak_xs_usage(cv, "THIS, key, def = 0");
2975 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
2979 WXSTRING_INPUT( key, wxString, ST(1) );
2984 def = (long)SvIV(ST(2));
2987 RETVAL = THIS->ReadLong(key, def);
2988 XSprePUSH; PUSHi((IV)RETVAL);
2994 XS(XS_Wx__ConfigBase_ReadDouble); /* prototype to pass -Wmissing-prototypes */
2995 XS(XS_Wx__ConfigBase_ReadDouble)
3002 if (items < 2 || items > 3)
3003 croak_xs_usage(cv, "THIS, key, def = 0.0");
3007 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3011 WXSTRING_INPUT( key, wxString, ST(1) );
3016 def = (double)SvNV(ST(2));
3019 RETVAL = THIS->ReadDouble(key, def);
3020 XSprePUSH; PUSHn((double)RETVAL);
3026 XS(XS_Wx__ConfigBase_ReadBool); /* prototype to pass -Wmissing-prototypes */
3027 XS(XS_Wx__ConfigBase_ReadBool)
3034 if (items < 2 || items > 3)
3035 croak_xs_usage(cv, "THIS, key, def = false");
3039 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3042 WXSTRING_INPUT( key, wxString, ST(1) );
3047 def = (bool)SvTRUE(ST(2));
3050 RETVAL = THIS->ReadBool(key, def);
3051 ST(0) = boolSV(RETVAL);
3058 #define XSubPPtmpAAAN 1
3061 XS(XS_Wx__ConfigBase_ReadBool); /* prototype to pass -Wmissing-prototypes */
3062 XS(XS_Wx__ConfigBase_ReadBool)
3069 if (items < 2 || items > 3)
3070 croak_xs_usage(cv, "THIS, key, def = false");
3074 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3077 WXSTRING_INPUT( key, wxString, ST(1) );
3082 def = (bool)SvTRUE(ST(2));
3084 THIS->Read( key, &RETVAL, def );
3085 ST(0) = boolSV(RETVAL);
3092 #if WXPERL_W_VERSION_GE( 2, 9, 0 ) && wxUSE_BASE64
3093 #define XSubPPtmpAAAO 1
3096 XS(XS_Wx__ConfigBase_ReadBinary); /* prototype to pass -Wmissing-prototypes */
3097 XS(XS_Wx__ConfigBase_ReadBinary)
3105 croak_xs_usage(cv, "THIS, key");
3108 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3111 WXSTRING_INPUT( key, wxString, ST(1) );
3112 wxMemoryBuffer data;
3113 THIS->Read( key, &data );
3114 RETVAL = newSVpvn( (const char*)data.GetData(), data.GetDataLen() );
3123 XS(XS_Wx__ConfigBase_RenameEntry); /* prototype to pass -Wmissing-prototypes */
3124 XS(XS_Wx__ConfigBase_RenameEntry)
3132 croak_xs_usage(cv, "THIS, oldName, newName");
3136 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3139 WXSTRING_INPUT( oldName, wxString, ST(1) );
3141 WXSTRING_INPUT( newName, wxString, ST(2) );
3143 RETVAL = THIS->RenameEntry(oldName, newName);
3144 ST(0) = boolSV(RETVAL);
3151 XS(XS_Wx__ConfigBase_RenameGroup); /* prototype to pass -Wmissing-prototypes */
3152 XS(XS_Wx__ConfigBase_RenameGroup)
3160 croak_xs_usage(cv, "THIS, oldName, newName");
3164 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3167 WXSTRING_INPUT( oldName, wxString, ST(1) );
3169 WXSTRING_INPUT( newName, wxString, ST(2) );
3171 RETVAL = THIS->RenameGroup(oldName, newName);
3172 ST(0) = boolSV(RETVAL);
3179 XS(XS_Wx__ConfigBase_Set); /* prototype to pass -Wmissing-prototypes */
3180 XS(XS_Wx__ConfigBase_Set)
3188 croak_xs_usage(cv, "config");
3190 wxConfigBase* config = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3191 wxConfigBase::Set( config );
3197 XS(XS_Wx__ConfigBase_SetExpandEnvVars); /* prototype to pass -Wmissing-prototypes */
3198 XS(XS_Wx__ConfigBase_SetExpandEnvVars)
3205 if (items < 1 || items > 2)
3206 croak_xs_usage(cv, "THIS, doIt = true");
3209 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3214 doIt = (bool)SvTRUE(ST(1));
3217 THIS->SetExpandEnvVars(doIt);
3223 XS(XS_Wx__ConfigBase_SetPath); /* prototype to pass -Wmissing-prototypes */
3224 XS(XS_Wx__ConfigBase_SetPath)
3232 croak_xs_usage(cv, "THIS, path");
3235 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3237 WXSTRING_INPUT( path, wxString, ST(1) );
3239 THIS->SetPath(path);
3245 XS(XS_Wx__ConfigBase_SetRecordDefaults); /* prototype to pass -Wmissing-prototypes */
3246 XS(XS_Wx__ConfigBase_SetRecordDefaults)
3253 if (items < 1 || items > 2)
3254 croak_xs_usage(cv, "THIS, doIt = true");
3257 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3262 doIt = (bool)SvTRUE(ST(1));
3265 THIS->SetRecordDefaults(doIt);
3271 XS(XS_Wx__ConfigBase_Write); /* prototype to pass -Wmissing-prototypes */
3272 XS(XS_Wx__ConfigBase_Write)
3280 croak_xs_usage(cv, "THIS, key, value");
3284 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3286 WXSTRING_INPUT( key, wxString, ST(1) );
3288 WXSTRING_INPUT( value, wxString, ST(2) );
3289 THIS->Write( key, value );
3295 XS(XS_Wx__ConfigBase_WriteInt); /* prototype to pass -Wmissing-prototypes */
3296 XS(XS_Wx__ConfigBase_WriteInt)
3304 croak_xs_usage(cv, "THIS, key, value");
3307 long value = (long)SvIV(ST(2));
3308 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3310 WXSTRING_INPUT( key, wxString, ST(1) );
3311 THIS->Write( key, value );
3317 XS(XS_Wx__ConfigBase_WriteFloat); /* prototype to pass -Wmissing-prototypes */
3318 XS(XS_Wx__ConfigBase_WriteFloat)
3326 croak_xs_usage(cv, "THIS, key, value");
3329 double value = (double)SvNV(ST(2));
3330 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3332 WXSTRING_INPUT( key, wxString, ST(1) );
3333 THIS->Write( key, value );
3339 XS(XS_Wx__ConfigBase_WriteBool); /* prototype to pass -Wmissing-prototypes */
3340 XS(XS_Wx__ConfigBase_WriteBool)
3348 croak_xs_usage(cv, "THIS, key, value");
3351 bool value = (bool)SvTRUE(ST(2));
3352 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3354 WXSTRING_INPUT( key, wxString, ST(1) );
3355 THIS->Write( key, value );
3360 #if WXPERL_W_VERSION_GE( 2, 9, 0 ) && wxUSE_BASE64
3361 #define XSubPPtmpAAAP 1
3364 XS(XS_Wx__ConfigBase_WriteBinary); /* prototype to pass -Wmissing-prototypes */
3365 XS(XS_Wx__ConfigBase_WriteBinary)
3373 croak_xs_usage(cv, "THIS, key, value");
3377 wxConfigBase * THIS = (wxConfigBase *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ConfigBase" );
3379 WXSTRING_INPUT( key, wxString, ST(1) );
3381 char* buffer = SvPV( value, len );
3382 wxMemoryBuffer data( len );
3383 data.SetDataLen( len );
3384 memcpy( data.GetData(), buffer, len );
3385 THIS->Write( key, data );
3391 #if defined(__WXMSW__)
3392 #include <wx/msw/regconf.h>
3393 #define XSubPPtmpAAAQ 1
3396 XS(XS_Wx__RegConfig_new); /* prototype to pass -Wmissing-prototypes */
3397 XS(XS_Wx__RegConfig_new)
3404 if (items < 1 || items > 6)
3405 croak_xs_usage(cv, "CLASS, appName = wxEmptyString, vendorName = wxEmptyString, localFilename = wxEmptyString, globalFilename = wxEmptyString, style = 0");
3408 wxString vendorName;
3409 wxString localFilename;
3410 wxString globalFilename;
3412 char * CLASS = (char *)SvPV_nolen(ST(0));
3413 wxConfigBase * RETVAL;
3416 appName = wxEmptyString;
3418 WXSTRING_INPUT( appName, wxString, ST(1) );
3422 vendorName = wxEmptyString;
3424 WXSTRING_INPUT( vendorName, wxString, ST(2) );
3428 localFilename = wxEmptyString;
3430 WXSTRING_INPUT( localFilename, wxString, ST(3) );
3434 globalFilename = wxEmptyString;
3436 WXSTRING_INPUT( globalFilename, wxString, ST(4) );
3442 style = (long)SvIV(ST(5));
3445 RETVAL = new wxRegConfig(appName, vendorName, localFilename, globalFilename, style);
3446 ST(0) = sv_newmortal();
3447 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ConfigBase" );
3454 #include <wx/fileconf.h>
3456 XS(XS_Wx__FileConfig_new); /* prototype to pass -Wmissing-prototypes */
3457 XS(XS_Wx__FileConfig_new)
3464 if (items < 1 || items > 6)
3465 croak_xs_usage(cv, "CLASS, appName = wxEmptyString, vendorName = wxEmptyString, localFilename = wxEmptyString, globalFilename = wxEmptyString, style = 0");
3468 wxString vendorName;
3469 wxString localFilename;
3470 wxString globalFilename;
3472 char * CLASS = (char *)SvPV_nolen(ST(0));
3473 wxConfigBase * RETVAL;
3476 appName = wxEmptyString;
3478 WXSTRING_INPUT( appName, wxString, ST(1) );
3482 vendorName = wxEmptyString;
3484 WXSTRING_INPUT( vendorName, wxString, ST(2) );
3488 localFilename = wxEmptyString;
3490 WXSTRING_INPUT( localFilename, wxString, ST(3) );
3494 globalFilename = wxEmptyString;
3496 WXSTRING_INPUT( globalFilename, wxString, ST(4) );
3502 style = (long)SvIV(ST(5));
3505 RETVAL = new wxFileConfig(appName, vendorName, localFilename, globalFilename, style);
3506 ST(0) = sv_newmortal();
3507 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ConfigBase" );
3514 XS(XS_Wx__FileConfig_SetUmask); /* prototype to pass -Wmissing-prototypes */
3515 XS(XS_Wx__FileConfig_SetUmask)
3523 croak_xs_usage(cv, "THIS, mode");
3525 int mode = (int)SvIV(ST(1));
3526 wxFileConfig * THIS = (wxFileConfig *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileConfig" );
3528 THIS->SetUmask(mode);
3534 /* INCLUDE: Returning to 'XS/TaskBarIcon.xs' from 'XS/Config.xs' */
3536 #if defined(__WXMSW__) || \
3537 ( WXPERL_W_VERSION_GE( 2, 5, 2 ) && defined( wxHAS_TASK_BAR_ICON ) )
3538 #include <wx/taskbar.h>
3539 #define XSubPPtmpAAAR 1
3542 XS(XS_Wx__TaskBarIcon_new); /* prototype to pass -Wmissing-prototypes */
3543 XS(XS_Wx__TaskBarIcon_new)
3551 croak_xs_usage(cv, "CLASS");
3553 char * CLASS = (char *)SvPV_nolen(ST(0));
3554 wxTaskBarIcon * RETVAL;
3556 RETVAL = new wxTaskBarIcon();
3557 ST(0) = sv_newmortal();
3558 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3565 XS(XS_Wx__TaskBarIcon_Destroy); /* prototype to pass -Wmissing-prototypes */
3566 XS(XS_Wx__TaskBarIcon_Destroy)
3574 croak_xs_usage(cv, "THIS");
3576 wxTaskBarIcon * THIS = (wxTaskBarIcon *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TaskBarIcon" );
3583 XS(XS_Wx__TaskBarIcon_IsOk); /* prototype to pass -Wmissing-prototypes */
3584 XS(XS_Wx__TaskBarIcon_IsOk)
3592 croak_xs_usage(cv, "THIS");
3594 wxTaskBarIcon * THIS = (wxTaskBarIcon *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TaskBarIcon" );
3597 RETVAL = THIS->IsOk();
3598 ST(0) = boolSV(RETVAL);
3605 XS(XS_Wx__TaskBarIcon_IsIconInstalled); /* prototype to pass -Wmissing-prototypes */
3606 XS(XS_Wx__TaskBarIcon_IsIconInstalled)
3614 croak_xs_usage(cv, "THIS");
3616 wxTaskBarIcon * THIS = (wxTaskBarIcon *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TaskBarIcon" );
3619 RETVAL = THIS->IsIconInstalled();
3620 ST(0) = boolSV(RETVAL);
3627 XS(XS_Wx__TaskBarIcon_SetIcon); /* prototype to pass -Wmissing-prototypes */
3628 XS(XS_Wx__TaskBarIcon_SetIcon)
3635 if (items < 2 || items > 3)
3636 croak_xs_usage(cv, "THIS, icon, tooltip = wxEmptyString");
3638 wxIcon* icon = (wxIcon *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Icon" );
3640 wxTaskBarIcon * THIS = (wxTaskBarIcon *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TaskBarIcon" );
3644 tooltip = wxEmptyString;
3646 WXSTRING_INPUT( tooltip, wxString, ST(2) );
3648 RETVAL = THIS->SetIcon( *icon, tooltip );
3649 ST(0) = boolSV(RETVAL);
3656 XS(XS_Wx__TaskBarIcon_RemoveIcon); /* prototype to pass -Wmissing-prototypes */
3657 XS(XS_Wx__TaskBarIcon_RemoveIcon)
3665 croak_xs_usage(cv, "THIS");
3667 wxTaskBarIcon * THIS = (wxTaskBarIcon *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TaskBarIcon" );
3670 RETVAL = THIS->RemoveIcon();
3671 ST(0) = boolSV(RETVAL);
3678 XS(XS_Wx__TaskBarIcon_PopupMenu); /* prototype to pass -Wmissing-prototypes */
3679 XS(XS_Wx__TaskBarIcon_PopupMenu)
3687 croak_xs_usage(cv, "THIS, menu");
3689 wxMenu* menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" );
3690 wxTaskBarIcon * THIS = (wxTaskBarIcon *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TaskBarIcon" );
3693 RETVAL = THIS->PopupMenu(menu);
3694 ST(0) = boolSV(RETVAL);
3701 XS(XS_Wx__TaskBarIconEvent_new); /* prototype to pass -Wmissing-prototypes */
3702 XS(XS_Wx__TaskBarIconEvent_new)
3710 croak_xs_usage(cv, "CLASS, evtType, tbIcon");
3712 wxEventType evtType = (wxEventType)SvIV(ST(1));
3713 wxTaskBarIcon * tbIcon = (wxTaskBarIcon *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::TaskBarIcon" );
3714 char * CLASS = (char *)SvPV_nolen(ST(0));
3715 wxTaskBarIconEvent * RETVAL;
3717 RETVAL = new wxTaskBarIconEvent(evtType, tbIcon);
3718 ST(0) = sv_newmortal();
3719 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3720 wxPli_thread_sv_register( aTHX_ "Wx::TaskBarIconEvent", RETVAL, ST(0) );
3728 /* INCLUDE: Returning to 'XS/Stream.xs' from 'XS/TaskBarIcon.xs' */
3730 #include <wx/wfstream.h>
3732 XS(XS_Wx__Stream_TIEHANDLE); /* prototype to pass -Wmissing-prototypes */
3733 XS(XS_Wx__Stream_TIEHANDLE)
3741 croak_xs_usage(cv, "package, var");
3743 const char* package = (const char *)SvPV_nolen(ST(0));
3744 void* var = INT2PTR(void *,SvIV(ST(1)));
3746 RETVAL = newSViv( 0 ); // as usual: XSUBpp mortalizes it for us...
3747 sv_setref_pv( RETVAL, CHAR_P package, var );
3755 XS(XS_Wx__InputStream_READ); /* prototype to pass -Wmissing-prototypes */
3756 XS(XS_Wx__InputStream_READ)
3763 if (items < 3 || items > 4)
3764 croak_xs_usage(cv, "THIS, buf, len, offset = 0");
3767 IV len = (IV)SvIV(ST(2));
3770 Wx_InputStream * THIS = (wxInputStream *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InputStream" );
3777 offset = (IV)SvIV(ST(3));
3779 if( THIS->Eof() ) { SvOK_off( buf ); XSRETURN_IV( 0 ); }
3781 maxlen = SvPOK( buf ) ? SvCUR( buf ) : 0;
3785 if( abs( offset ) > maxlen )
3789 offset = maxlen + offset;
3792 char* buffer = SvGROW( buf, (UV)offset + len + 1 );
3794 if( offset > maxlen )
3795 Zero( buffer + maxlen, offset - maxlen, char );
3797 RETVAL = THIS->Read( buffer, len ).LastRead();
3798 SvCUR_set( buf, offset + RETVAL );
3799 XSprePUSH; PUSHu((UV)RETVAL );
3805 XS(XS_Wx__InputStream_GETC); /* prototype to pass -Wmissing-prototypes */
3806 XS(XS_Wx__InputStream_GETC)
3814 croak_xs_usage(cv, "THIS");
3816 Wx_InputStream * THIS = (wxInputStream *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InputStream" );
3818 char value = THIS->GetC();
3819 RETVAL = newSVpvn( &value, 1 );
3827 XS(XS_Wx__InputStream_SEEK); /* prototype to pass -Wmissing-prototypes */
3828 XS(XS_Wx__InputStream_SEEK)
3836 croak_xs_usage(cv, "THIS, position, whence");
3838 off_t position = (off_t)SvIV(ST(1));
3839 int whence = (int)SvIV(ST(2));
3840 static wxSeekMode s_whence[] = { wxFromStart, wxFromCurrent, wxFromEnd };
3841 Wx_InputStream * THIS = (wxInputStream *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InputStream" );
3843 if( whence < 0 || whence > 2 )
3844 RETVAL = &PL_sv_undef;
3845 off_t offset = THIS->SeekI( position, s_whence[whence] );
3846 RETVAL = newSViv( offset );
3854 XS(XS_Wx__InputStream_TELL); /* prototype to pass -Wmissing-prototypes */
3855 XS(XS_Wx__InputStream_TELL)
3863 croak_xs_usage(cv, "THIS");
3865 Wx_InputStream * THIS = (wxInputStream *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InputStream" );
3867 off_t offset = THIS->TellI();
3868 RETVAL = newSViv( offset );
3876 XS(XS_Wx__InputStream_READLINE); /* prototype to pass -Wmissing-prototypes */
3877 XS(XS_Wx__InputStream_READLINE)
3885 croak_xs_usage(cv, "THIS");
3890 Wx_InputStream * THIS = (wxInputStream *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::InputStream" );
3892 if( THIS->Eof() ) { XSRETURN_UNDEF; }
3893 RETVAL = newSViv( 0 );
3894 buff = SvPV_nolen( RETVAL );
3896 while( THIS->CanRead() && THIS->Read( &c, 1 ).LastRead() != 0 )
3898 if( SvLEN( RETVAL ) <= off )
3900 buff = SvGROW( RETVAL, off + 15 );
3904 if( c == '\n' ) break;
3906 SvCUR_set( RETVAL, off );
3914 XS(XS_Wx__OutputStream_WRITE); /* prototype to pass -Wmissing-prototypes */
3915 XS(XS_Wx__OutputStream_WRITE)
3922 if (items < 2 || items > 4)
3923 croak_xs_usage(cv, "THIS, buf, len = -1, offset = 0");
3928 IV maxlen = sv_len( buf );
3929 const char* buffer = SvPV_nolen( buf );
3930 Wx_OutputStream * THIS = (wxOutputStream *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OutputStream" );
3937 len = (IV)SvIV(ST(2));
3943 offset = (IV)SvIV(ST(3));
3945 if( abs( offset ) > maxlen )
3956 buffer += maxlen + offset;
3960 len = ( len >= maxlen ) ? maxlen : len;
3962 RETVAL = THIS->Write( buffer, len ).LastWrite();
3964 XSprePUSH; PUSHu((UV)RETVAL );
3970 XS(XS_Wx__OutputStream_SEEK); /* prototype to pass -Wmissing-prototypes */
3971 XS(XS_Wx__OutputStream_SEEK)
3979 croak_xs_usage(cv, "THIS, position, whence");
3981 off_t position = (off_t)SvIV(ST(1));
3982 int whence = (int)SvIV(ST(2));
3983 static wxSeekMode s_whence[] = { wxFromStart, wxFromCurrent, wxFromEnd };
3984 Wx_OutputStream * THIS = (wxOutputStream *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OutputStream" );
3986 if( whence < 0 || whence > 2 )
3987 RETVAL = &PL_sv_undef;
3988 off_t offset = THIS->SeekO( position, s_whence[whence] );
3989 RETVAL = newSViv( offset );
3997 XS(XS_Wx__OutputStream_TELL); /* prototype to pass -Wmissing-prototypes */
3998 XS(XS_Wx__OutputStream_TELL)
4006 croak_xs_usage(cv, "THIS");
4008 Wx_OutputStream * THIS = (wxOutputStream *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::OutputStream" );
4010 off_t offset = THIS->TellO();
4011 RETVAL = newSViv( offset );
4019 /* INCLUDE: Returning to 'XS/Timer.xs' from 'XS/Stream.xs' */
4021 #include <wx/timer.h>
4022 #include "cpp/timer.h"
4024 XS(XS_Wx__TimerEvent_GetInterval); /* prototype to pass -Wmissing-prototypes */
4025 XS(XS_Wx__TimerEvent_GetInterval)
4033 croak_xs_usage(cv, "THIS");
4035 wxTimerEvent * THIS = (wxTimerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TimerEvent" );
4039 RETVAL = THIS->GetInterval();
4040 XSprePUSH; PUSHi((IV)RETVAL);
4045 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
4046 #define XSubPPtmpAAAS 1
4049 XS(XS_Wx__TimerEvent_GetTimer); /* prototype to pass -Wmissing-prototypes */
4050 XS(XS_Wx__TimerEvent_GetTimer)
4058 croak_xs_usage(cv, "THIS");
4060 wxTimerEvent * THIS = (wxTimerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TimerEvent" );
4062 RETVAL = &THIS->GetTimer();
4063 ST(0) = sv_newmortal();
4064 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4072 XS(XS_Wx__Timer_newDefault); /* prototype to pass -Wmissing-prototypes */
4073 XS(XS_Wx__Timer_newDefault)
4081 croak_xs_usage(cv, "Class");
4084 const char* CLASS = wxPli_get_class( aTHX_ Class );
4086 RETVAL = new wxPliTimer( CLASS );
4087 ST(0) = sv_newmortal();
4088 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4095 XS(XS_Wx__Timer_newEH); /* prototype to pass -Wmissing-prototypes */
4096 XS(XS_Wx__Timer_newEH)
4103 if (items < 2 || items > 3)
4104 croak_xs_usage(cv, "Class, owner, id = wxID_ANY");
4107 wxEvtHandler* owner = (wxEvtHandler *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::EvtHandler" );
4109 const char* CLASS = wxPli_get_class( aTHX_ Class );
4115 id = (int)SvIV(ST(2));
4117 RETVAL = new wxPliTimer( CLASS, owner, id );
4118 ST(0) = sv_newmortal();
4119 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4126 XS(XS_Wx__Timer_Destroy); /* prototype to pass -Wmissing-prototypes */
4127 XS(XS_Wx__Timer_Destroy)
4135 croak_xs_usage(cv, "THIS");
4137 wxTimer * THIS = (wxTimer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Timer" );
4144 XS(XS_Wx__Timer_GetInterval); /* prototype to pass -Wmissing-prototypes */
4145 XS(XS_Wx__Timer_GetInterval)
4153 croak_xs_usage(cv, "THIS");
4155 wxTimer * THIS = (wxTimer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Timer" );
4159 RETVAL = THIS->GetInterval();
4160 XSprePUSH; PUSHi((IV)RETVAL);
4165 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
4166 #define XSubPPtmpAAAT 1
4169 XS(XS_Wx__Timer_GetId); /* prototype to pass -Wmissing-prototypes */
4170 XS(XS_Wx__Timer_GetId)
4178 croak_xs_usage(cv, "THIS");
4180 wxTimer * THIS = (wxTimer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Timer" );
4184 RETVAL = THIS->GetId();
4185 XSprePUSH; PUSHi((IV)RETVAL);
4192 XS(XS_Wx__Timer_IsOneShot); /* prototype to pass -Wmissing-prototypes */
4193 XS(XS_Wx__Timer_IsOneShot)
4201 croak_xs_usage(cv, "THIS");
4203 wxTimer * THIS = (wxTimer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Timer" );
4206 RETVAL = THIS->IsOneShot();
4207 ST(0) = boolSV(RETVAL);
4214 XS(XS_Wx__Timer_IsRunning); /* prototype to pass -Wmissing-prototypes */
4215 XS(XS_Wx__Timer_IsRunning)
4223 croak_xs_usage(cv, "THIS");
4225 wxTimer * THIS = (wxTimer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Timer" );
4228 RETVAL = THIS->IsRunning();
4229 ST(0) = boolSV(RETVAL);
4236 XS(XS_Wx__Timer_SetOwner); /* prototype to pass -Wmissing-prototypes */
4237 XS(XS_Wx__Timer_SetOwner)
4244 if (items < 2 || items > 3)
4245 croak_xs_usage(cv, "THIS, owner, id = -1");
4247 wxEvtHandler* owner = (wxEvtHandler *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::EvtHandler" );
4249 wxTimer * THIS = (wxTimer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Timer" );
4254 id = (int)SvIV(ST(2));
4257 THIS->SetOwner(owner, id);
4263 XS(XS_Wx__Timer_Start); /* prototype to pass -Wmissing-prototypes */
4264 XS(XS_Wx__Timer_Start)
4271 if (items < 1 || items > 3)
4272 croak_xs_usage(cv, "THIS, milliseconds = -1, oneshot = false");
4276 wxTimer * THIS = (wxTimer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Timer" );
4282 milliseconds = (int)SvIV(ST(1));
4288 oneshot = (bool)SvTRUE(ST(2));
4291 RETVAL = THIS->Start(milliseconds, oneshot);
4292 ST(0) = boolSV(RETVAL);
4299 XS(XS_Wx__Timer_Stop); /* prototype to pass -Wmissing-prototypes */
4300 XS(XS_Wx__Timer_Stop)
4308 croak_xs_usage(cv, "THIS");
4310 wxTimer * THIS = (wxTimer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Timer" );
4318 /* INCLUDE: Returning to 'XS/Utils.xs' from 'XS/Timer.xs' */
4320 #include <wx/busyinfo.h>
4321 #include <wx/settings.h>
4322 #include <wx/caret.h>
4323 #include <wx/snglinst.h>
4324 #include <wx/splash.h>
4325 #include <wx/utils.h>
4326 #include <wx/debug.h>
4327 #include <wx/tipdlg.h>
4328 #if WXPERL_W_VERSION_GE( 2, 8, 0 )
4329 #include <wx/sysopt.h>
4331 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
4333 #define __WXGTK20__DEFINED
4336 #include <wx/stockitem.h>
4337 #ifdef __WXGTK20__DEFINED
4341 #include "cpp/tipprovider.h"
4343 XS(XS_Wx__CaretSuspend_new); /* prototype to pass -Wmissing-prototypes */
4344 XS(XS_Wx__CaretSuspend_new)
4352 croak_xs_usage(cv, "CLASS, window");
4354 wxWindow* window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
4355 char * CLASS = (char *)SvPV_nolen(ST(0));
4356 wxCaretSuspend * RETVAL;
4358 RETVAL = new wxCaretSuspend(window);
4359 ST(0) = sv_newmortal();
4360 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::CaretSuspend" );
4361 wxPli_thread_sv_register( aTHX_ "Wx::CaretSuspend", RETVAL, ST(0) );
4368 XS(XS_Wx__CaretSuspend_CLONE); /* prototype to pass -Wmissing-prototypes */
4369 XS(XS_Wx__CaretSuspend_CLONE)
4377 croak_xs_usage(cv, "CLASS");
4379 char * CLASS = (char *)SvPV_nolen(ST(0));
4380 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
4386 XS(XS_Wx__CaretSuspend_DESTROY); /* prototype to pass -Wmissing-prototypes */
4387 XS(XS_Wx__CaretSuspend_DESTROY)
4395 croak_xs_usage(cv, "THIS");
4397 wxCaretSuspend * THIS = (wxCaretSuspend *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::CaretSuspend" );
4398 wxPli_thread_sv_unregister( aTHX_ "Wx::CaretSuspend", THIS, ST(0) );
4404 #ifndef wxFRAME_FLOAT_ON_PARENT
4405 #define wxFRAME_FLOAT_ON_PARENT 0
4407 #ifndef wxFRAME_TOOL_WINDOW
4408 #define wxFRAME_TOOL_WINDOW 0
4411 XS(XS_Wx__SplashScreen_new); /* prototype to pass -Wmissing-prototypes */
4412 XS(XS_Wx__SplashScreen_new)
4419 if (items < 5 || items > 9)
4420 croak_xs_usage(cv, "CLASS, bitmap, splashStyle, milliseconds, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP");
4422 wxBitmap* bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
4423 long splashStyle = (long)SvIV(ST(2));
4424 int milliseconds = (int)SvIV(ST(3));
4425 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Window" );
4430 char * CLASS = (char *)SvPV_nolen(ST(0));
4431 wxSplashScreen * RETVAL;
4436 id = wxPli_get_wxwindowid( aTHX_ ST(5) );
4440 pos = wxDefaultPosition;
4442 pos = wxPli_sv_2_wxpoint( aTHX_ ST(6) );
4446 size = wxDefaultSize;
4448 size = wxPli_sv_2_wxsize( aTHX_ ST(7) );
4452 style = wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP;
4454 style = (long)SvIV(ST(8));
4456 RETVAL = new wxSplashScreen( *bitmap, splashStyle, milliseconds, parent,
4457 id, pos, size, style );
4458 ST(0) = sv_newmortal();
4459 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4466 XS(XS_Wx__SplashScreen_GetSplashStyle); /* prototype to pass -Wmissing-prototypes */
4467 XS(XS_Wx__SplashScreen_GetSplashStyle)
4475 croak_xs_usage(cv, "THIS");
4477 wxSplashScreen * THIS = (wxSplashScreen *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplashScreen" );
4481 RETVAL = THIS->GetSplashStyle();
4482 XSprePUSH; PUSHi((IV)RETVAL);
4488 XS(XS_Wx__SplashScreen_GetSplashWindow); /* prototype to pass -Wmissing-prototypes */
4489 XS(XS_Wx__SplashScreen_GetSplashWindow)
4497 croak_xs_usage(cv, "THIS");
4499 wxSplashScreen * THIS = (wxSplashScreen *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplashScreen" );
4500 wxSplashScreenWindow * RETVAL;
4502 RETVAL = THIS->GetSplashWindow();
4503 ST(0) = sv_newmortal();
4504 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
4511 XS(XS_Wx__SplashScreen_GetTimeout); /* prototype to pass -Wmissing-prototypes */
4512 XS(XS_Wx__SplashScreen_GetTimeout)
4520 croak_xs_usage(cv, "THIS");
4522 wxSplashScreen * THIS = (wxSplashScreen *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SplashScreen" );
4526 RETVAL = THIS->GetTimeout();
4527 XSprePUSH; PUSHi((IV)RETVAL);
4533 XS(XS_Wx__WindowDisabler_new); /* prototype to pass -Wmissing-prototypes */
4534 XS(XS_Wx__WindowDisabler_new)
4541 if (items < 1 || items > 2)
4542 croak_xs_usage(cv, "CLASS, skip = 0");
4545 char * CLASS = (char *)SvPV_nolen(ST(0));
4546 wxWindowDisabler * RETVAL;
4551 skip = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
4554 RETVAL = new wxWindowDisabler(skip);
4555 ST(0) = sv_newmortal();
4556 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::WindowDisabler" );
4557 wxPli_thread_sv_register( aTHX_ "Wx::WindowDisabler", RETVAL, ST(0) );
4564 XS(XS_Wx__WindowDisabler_CLONE); /* prototype to pass -Wmissing-prototypes */
4565 XS(XS_Wx__WindowDisabler_CLONE)
4573 croak_xs_usage(cv, "CLASS");
4575 char * CLASS = (char *)SvPV_nolen(ST(0));
4576 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
4582 XS(XS_Wx__WindowDisabler_DESTROY); /* prototype to pass -Wmissing-prototypes */
4583 XS(XS_Wx__WindowDisabler_DESTROY)
4591 croak_xs_usage(cv, "THIS");
4593 wxWindowDisabler * THIS = (wxWindowDisabler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::WindowDisabler" );
4594 wxPli_thread_sv_unregister( aTHX_ "Wx::WindowDisabler", THIS, ST(0) );
4600 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
4601 #define XSubPPtmpAAAU 1
4604 XS(XS_Wx__BusyCursor_new); /* prototype to pass -Wmissing-prototypes */
4605 XS(XS_Wx__BusyCursor_new)
4612 if (items < 1 || items > 2)
4613 croak_xs_usage(cv, "CLASS, cursor = wxHOURGLASS_CURSOR");
4615 const wxCursor* cursor;
4616 char * CLASS = (char *)SvPV_nolen(ST(0));
4617 wxBusyCursor * RETVAL;
4620 cursor = wxHOURGLASS_CURSOR;
4622 cursor = (const wxCursor *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Cursor" );
4625 RETVAL = new wxBusyCursor(cursor);
4626 ST(0) = sv_newmortal();
4627 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::BusyCursor" );
4628 wxPli_thread_sv_register( aTHX_ "Wx::BusyCursor", RETVAL, ST(0) );
4635 #define XSubPPtmpAAAV 1
4638 XS(XS_Wx__BusyCursor_new); /* prototype to pass -Wmissing-prototypes */
4639 XS(XS_Wx__BusyCursor_new)
4646 if (items < 1 || items > 2)
4647 croak_xs_usage(cv, "CLASS, cursor = wxHOURGLASS_CURSOR");
4650 char * CLASS = (char *)SvPV_nolen(ST(0));
4651 wxBusyCursor * RETVAL;
4654 cursor = wxHOURGLASS_CURSOR;
4656 cursor = (wxCursor *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Cursor" );
4659 RETVAL = new wxBusyCursor(cursor);
4660 ST(0) = sv_newmortal();
4661 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::BusyCursor" );
4662 wxPli_thread_sv_register( aTHX_ "Wx::BusyCursor", RETVAL, ST(0) );
4670 XS(XS_Wx__BusyCursor_CLONE); /* prototype to pass -Wmissing-prototypes */
4671 XS(XS_Wx__BusyCursor_CLONE)
4679 croak_xs_usage(cv, "CLASS");
4681 char * CLASS = (char *)SvPV_nolen(ST(0));
4682 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
4688 XS(XS_Wx__BusyCursor_DESTROY); /* prototype to pass -Wmissing-prototypes */
4689 XS(XS_Wx__BusyCursor_DESTROY)
4697 croak_xs_usage(cv, "THIS");
4699 wxBusyCursor * THIS = (wxBusyCursor *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BusyCursor" );
4700 wxPli_thread_sv_unregister( aTHX_ "Wx::BusyCursor", THIS, ST(0) );
4707 XS(XS_Wx__BusyInfo_new); /* prototype to pass -Wmissing-prototypes */
4708 XS(XS_Wx__BusyInfo_new)
4716 croak_xs_usage(cv, "CLASS, message");
4719 char * CLASS = (char *)SvPV_nolen(ST(0));
4720 wxBusyInfo * RETVAL;
4722 WXSTRING_INPUT( message, wxString, ST(1) );
4724 RETVAL = new wxBusyInfo(message);
4725 ST(0) = sv_newmortal();
4726 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::BusyInfo" );
4727 wxPli_thread_sv_register( aTHX_ "Wx::BusyInfo", RETVAL, ST(0) );
4734 XS(XS_Wx__BusyInfo_CLONE); /* prototype to pass -Wmissing-prototypes */
4735 XS(XS_Wx__BusyInfo_CLONE)
4743 croak_xs_usage(cv, "CLASS");
4745 char * CLASS = (char *)SvPV_nolen(ST(0));
4746 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
4752 XS(XS_Wx__BusyInfo_DESTROY); /* prototype to pass -Wmissing-prototypes */
4753 XS(XS_Wx__BusyInfo_DESTROY)
4761 croak_xs_usage(cv, "THIS");
4763 wxBusyInfo * THIS = (wxBusyInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::BusyInfo" );
4764 wxPli_thread_sv_unregister( aTHX_ "Wx::BusyInfo", THIS, ST(0) );
4774 XS(XS_Wx__StopWatch_new); /* prototype to pass -Wmissing-prototypes */
4775 XS(XS_Wx__StopWatch_new)
4783 croak_xs_usage(cv, "CLASS");
4785 char * CLASS = (char *)SvPV_nolen(ST(0));
4786 wxStopWatch * RETVAL;
4788 RETVAL = new wxStopWatch();
4789 ST(0) = sv_newmortal();
4790 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::StopWatch" );
4791 wxPli_thread_sv_register( aTHX_ "Wx::StopWatch", RETVAL, ST(0) );
4798 XS(XS_Wx__StopWatch_CLONE); /* prototype to pass -Wmissing-prototypes */
4799 XS(XS_Wx__StopWatch_CLONE)
4807 croak_xs_usage(cv, "CLASS");
4809 char * CLASS = (char *)SvPV_nolen(ST(0));
4810 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
4816 XS(XS_Wx__StopWatch_DESTROY); /* prototype to pass -Wmissing-prototypes */
4817 XS(XS_Wx__StopWatch_DESTROY)
4825 croak_xs_usage(cv, "THIS");
4827 wxStopWatch * THIS = (wxStopWatch *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StopWatch" );
4828 wxPli_thread_sv_unregister( aTHX_ "Wx::StopWatch", THIS, ST(0) );
4835 XS(XS_Wx__StopWatch_Pause); /* prototype to pass -Wmissing-prototypes */
4836 XS(XS_Wx__StopWatch_Pause)
4844 croak_xs_usage(cv, "THIS");
4846 wxStopWatch * THIS = (wxStopWatch *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StopWatch" );
4854 XS(XS_Wx__StopWatch_Start); /* prototype to pass -Wmissing-prototypes */
4855 XS(XS_Wx__StopWatch_Start)
4862 if (items < 1 || items > 2)
4863 croak_xs_usage(cv, "THIS, milliseconds = 0");
4866 wxStopWatch * THIS = (wxStopWatch *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StopWatch" );
4871 milliseconds = (long)SvIV(ST(1));
4874 THIS->Start(milliseconds);
4880 XS(XS_Wx__StopWatch_Resume); /* prototype to pass -Wmissing-prototypes */
4881 XS(XS_Wx__StopWatch_Resume)
4889 croak_xs_usage(cv, "THIS");
4891 wxStopWatch * THIS = (wxStopWatch *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StopWatch" );
4899 XS(XS_Wx__StopWatch_Time); /* prototype to pass -Wmissing-prototypes */
4900 XS(XS_Wx__StopWatch_Time)
4908 croak_xs_usage(cv, "THIS");
4910 wxStopWatch * THIS = (wxStopWatch *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StopWatch" );
4914 RETVAL = THIS->Time();
4915 XSprePUSH; PUSHi((IV)RETVAL);
4920 #if wxUSE_SNGLINST_CHECKER
4921 #define XSubPPtmpAAAW 1
4924 XS(XS_Wx__SingleInstanceChecker_new); /* prototype to pass -Wmissing-prototypes */
4925 XS(XS_Wx__SingleInstanceChecker_new)
4933 croak_xs_usage(cv, "CLASS");
4935 char * CLASS = (char *)SvPV_nolen(ST(0));
4936 wxSingleInstanceChecker * RETVAL;
4938 RETVAL = new wxSingleInstanceChecker();
4939 ST(0) = sv_newmortal();
4940 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::SingleInstanceChecker" );
4941 wxPli_thread_sv_register( aTHX_ "Wx::SingleInstanceChecker", RETVAL, ST(0) );
4948 XS(XS_Wx__SingleInstanceChecker_CLONE); /* prototype to pass -Wmissing-prototypes */
4949 XS(XS_Wx__SingleInstanceChecker_CLONE)
4957 croak_xs_usage(cv, "CLASS");
4959 char * CLASS = (char *)SvPV_nolen(ST(0));
4960 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
4966 XS(XS_Wx__SingleInstanceChecker_DESTROY); /* prototype to pass -Wmissing-prototypes */
4967 XS(XS_Wx__SingleInstanceChecker_DESTROY)
4975 croak_xs_usage(cv, "THIS");
4977 wxSingleInstanceChecker * THIS = (wxSingleInstanceChecker *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SingleInstanceChecker" );
4978 wxPli_thread_sv_unregister( aTHX_ "Wx::SingleInstanceChecker", THIS, ST(0) );
4985 XS(XS_Wx__SingleInstanceChecker_Create); /* prototype to pass -Wmissing-prototypes */
4986 XS(XS_Wx__SingleInstanceChecker_Create)
4993 if (items < 2 || items > 3)
4994 croak_xs_usage(cv, "THIS, name, path = wxEmptyString");
4998 wxSingleInstanceChecker * THIS = (wxSingleInstanceChecker *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SingleInstanceChecker" );
5001 WXSTRING_INPUT( name, wxString, ST(1) );
5004 path = wxEmptyString;
5006 WXSTRING_INPUT( path, wxString, ST(2) );
5009 RETVAL = THIS->Create(name, path);
5010 ST(0) = boolSV(RETVAL);
5017 XS(XS_Wx__SingleInstanceChecker_IsAnotherRunning); /* prototype to pass -Wmissing-prototypes */
5018 XS(XS_Wx__SingleInstanceChecker_IsAnotherRunning)
5026 croak_xs_usage(cv, "THIS");
5028 wxSingleInstanceChecker * THIS = (wxSingleInstanceChecker *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SingleInstanceChecker" );
5031 RETVAL = THIS->IsAnotherRunning();
5032 ST(0) = boolSV(RETVAL);
5039 #if WXPERL_W_VERSION_GE( 2, 8, 0 )
5040 #define wxSystemOptions_SetOption wxSystemOptions::SetOption
5041 #define wxSystemOptions_GetOption wxSystemOptions::GetOption
5042 #define wxSystemOptions_GetOptionInt wxSystemOptions::GetOptionInt
5043 #define wxSystemOptions_HasOption wxSystemOptions::HasOption
5044 #define wxSystemOptions_IsFalse wxSystemOptions::IsFalse
5045 #define XSubPPtmpAAAX 1
5048 XS(XS_Wx__SystemOptions_SetOption); /* prototype to pass -Wmissing-prototypes */
5049 XS(XS_Wx__SystemOptions_SetOption)
5057 croak_xs_usage(cv, "name, value");
5062 WXSTRING_INPUT( name, wxString, ST(0) );
5064 WXSTRING_INPUT( value, wxString, ST(1) );
5065 wxSystemOptions_SetOption( name, value);
5071 XS(XS_Wx__SystemOptions_SetOptionInt); /* prototype to pass -Wmissing-prototypes */
5072 XS(XS_Wx__SystemOptions_SetOptionInt)
5080 croak_xs_usage(cv, "name, value");
5083 int value = (int)SvIV(ST(1));
5085 WXSTRING_INPUT( name, wxString, ST(0) );
5086 wxSystemOptions_SetOption( name, value);
5092 XS(XS_Wx__SystemOptions_GetOption); /* prototype to pass -Wmissing-prototypes */
5093 XS(XS_Wx__SystemOptions_GetOption)
5101 croak_xs_usage(cv, "name");
5106 WXSTRING_INPUT( name, wxString, ST(0) );
5107 RETVAL = wxSystemOptions_GetOption( name );
5108 ST(0) = sv_newmortal();
5109 WXSTRING_OUTPUT( RETVAL, ST(0) );
5116 XS(XS_Wx__SystemOptions_GetOptionInt); /* prototype to pass -Wmissing-prototypes */
5117 XS(XS_Wx__SystemOptions_GetOptionInt)
5125 croak_xs_usage(cv, "name");
5131 WXSTRING_INPUT( name, wxString, ST(0) );
5132 RETVAL = wxSystemOptions_GetOptionInt( name );
5133 XSprePUSH; PUSHi((IV)RETVAL);
5139 XS(XS_Wx__SystemOptions_HasOption); /* prototype to pass -Wmissing-prototypes */
5140 XS(XS_Wx__SystemOptions_HasOption)
5148 croak_xs_usage(cv, "name");
5153 WXSTRING_INPUT( name, wxString, ST(0) );
5154 RETVAL = wxSystemOptions_HasOption( name );
5155 ST(0) = boolSV(RETVAL);
5162 XS(XS_Wx__SystemOptions_IsFalse); /* prototype to pass -Wmissing-prototypes */
5163 XS(XS_Wx__SystemOptions_IsFalse)
5171 croak_xs_usage(cv, "name");
5176 WXSTRING_INPUT( name, wxString, ST(0) );
5177 RETVAL = wxSystemOptions_IsFalse( name );
5178 ST(0) = boolSV(RETVAL);
5185 #if WXPERL_W_VERSION_GE( 2, 5, 2 )
5186 #define wxSystemSettings_GetSystemColour wxSystemSettings::GetColour
5187 #define wxSystemSettings_GetSystemFont wxSystemSettings::GetFont
5188 #define wxSystemSettings_GetSystemMetric wxSystemSettings::GetMetric
5190 #define wxSystemSettings_GetSystemColour wxSystemSettings::GetSystemColour
5191 #define wxSystemSettings_GetSystemFont wxSystemSettings::GetSystemFont
5192 #define wxSystemSettings_GetSystemMetric wxSystemSettings::GetSystemMetric
5195 XS(XS_Wx__SystemSettings_GetColour); /* prototype to pass -Wmissing-prototypes */
5196 XS(XS_Wx__SystemSettings_GetColour)
5204 croak_xs_usage(cv, "index");
5206 wxSystemColour index = (wxSystemColour)SvIV(ST(0));
5208 RETVAL = new wxColour( wxSystemSettings_GetSystemColour( index ) );
5209 ST(0) = sv_newmortal();
5210 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
5211 wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
5218 XS(XS_Wx__SystemSettings_GetSystemColour); /* prototype to pass -Wmissing-prototypes */
5219 XS(XS_Wx__SystemSettings_GetSystemColour)
5227 croak_xs_usage(cv, "index");
5229 wxSystemColour index = (wxSystemColour)SvIV(ST(0));
5231 RETVAL = new wxColour( wxSystemSettings_GetSystemColour( index ) );
5232 ST(0) = sv_newmortal();
5233 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
5234 wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
5241 XS(XS_Wx__SystemSettings_GetFont); /* prototype to pass -Wmissing-prototypes */
5242 XS(XS_Wx__SystemSettings_GetFont)
5250 croak_xs_usage(cv, "index");
5252 wxSystemFont index = (wxSystemFont)SvIV(ST(0));
5254 RETVAL = new wxFont( wxSystemSettings_GetSystemFont( index ) );
5255 ST(0) = sv_newmortal();
5256 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5257 wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
5264 XS(XS_Wx__SystemSettings_GetSystemFont); /* prototype to pass -Wmissing-prototypes */
5265 XS(XS_Wx__SystemSettings_GetSystemFont)
5273 croak_xs_usage(cv, "index");
5275 wxSystemFont index = (wxSystemFont)SvIV(ST(0));
5277 RETVAL = new wxFont( wxSystemSettings_GetSystemFont( index ) );
5278 ST(0) = sv_newmortal();
5279 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
5280 wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
5287 XS(XS_Wx__SystemSettings_GetMetric); /* prototype to pass -Wmissing-prototypes */
5288 XS(XS_Wx__SystemSettings_GetMetric)
5296 croak_xs_usage(cv, "index");
5298 wxSystemMetric index = (wxSystemMetric)SvIV(ST(0));
5301 RETVAL = wxSystemSettings_GetSystemMetric( index );
5302 XSprePUSH; PUSHi((IV)RETVAL);
5308 XS(XS_Wx__SystemSettings_GetSystemMetric); /* prototype to pass -Wmissing-prototypes */
5309 XS(XS_Wx__SystemSettings_GetSystemMetric)
5317 croak_xs_usage(cv, "index");
5319 wxSystemMetric index = (wxSystemMetric)SvIV(ST(0));
5322 RETVAL = wxSystemSettings_GetSystemMetric( index );
5323 XSprePUSH; PUSHi((IV)RETVAL);
5329 XS(XS_Wx__SystemSettings_GetScreenType); /* prototype to pass -Wmissing-prototypes */
5330 XS(XS_Wx__SystemSettings_GetScreenType)
5338 croak_xs_usage(cv, "");
5340 wxSystemScreenType RETVAL;
5342 RETVAL = wxSystemSettings::GetScreenType();
5343 XSprePUSH; PUSHi((IV)RETVAL);
5349 XS(XS_Wx__TipProvider_new); /* prototype to pass -Wmissing-prototypes */
5350 XS(XS_Wx__TipProvider_new)
5358 croak_xs_usage(cv, "CLASS, currentTip");
5360 size_t currentTip = (size_t)SvUV( ST(1) );
5361 char * CLASS = (char *)SvPV_nolen(ST(0));
5362 wxTipProvider * RETVAL;
5363 RETVAL = new wxPliTipProvider( CLASS, currentTip );
5364 ST(0) = sv_newmortal();
5365 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TipProvider" );
5372 XS(XS_Wx__TipProvider_Destroy); /* prototype to pass -Wmissing-prototypes */
5373 XS(XS_Wx__TipProvider_Destroy)
5381 croak_xs_usage(cv, "THIS");
5383 wxTipProvider * THIS = (wxTipProvider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TipProvider" );
5390 XS(XS_Wx__TipProvider_GetCurrentTip); /* prototype to pass -Wmissing-prototypes */
5391 XS(XS_Wx__TipProvider_GetCurrentTip)
5399 croak_xs_usage(cv, "THIS");
5401 wxTipProvider * THIS = (wxTipProvider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TipProvider" );
5405 RETVAL = THIS->GetCurrentTip();
5406 XSprePUSH; PUSHu((UV)RETVAL );
5412 XS(XS_Wx__TipProvider_GetTip); /* prototype to pass -Wmissing-prototypes */
5413 XS(XS_Wx__TipProvider_GetTip)
5421 croak_xs_usage(cv, "THIS");
5423 wxTipProvider * THIS = (wxTipProvider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TipProvider" );
5426 RETVAL = THIS->GetTip();
5427 ST(0) = sv_newmortal();
5428 WXSTRING_OUTPUT( RETVAL, ST(0) );
5435 XS(XS_Wx__TipProvider_PreprocessTip); /* prototype to pass -Wmissing-prototypes */
5436 XS(XS_Wx__TipProvider_PreprocessTip)
5444 croak_xs_usage(cv, "THIS, tip");
5447 wxTipProvider * THIS = (wxTipProvider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TipProvider" );
5450 WXSTRING_INPUT( tip, wxString, ST(1) );
5452 RETVAL = THIS->PreprocessTip(tip);
5453 ST(0) = sv_newmortal();
5454 WXSTRING_OUTPUT( RETVAL, ST(0) );
5461 XS(XS_Wx__TipProvider_SetCurrentTip); /* prototype to pass -Wmissing-prototypes */
5462 XS(XS_Wx__TipProvider_SetCurrentTip)
5470 croak_xs_usage(cv, "THIS, number");
5472 size_t number = (size_t)SvUV( ST(1) );
5473 wxTipProvider * THIS = (wxTipProvider *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TipProvider" );
5474 ((wxPliTipProvider*)THIS)->SetCurrentTip( number );
5480 #include <wx/thread.h>
5481 #define XSubPPtmpAAAY 1
5484 XS(XS_Wx__Thread_IsMain); /* prototype to pass -Wmissing-prototypes */
5485 XS(XS_Wx__Thread_IsMain)
5493 croak_xs_usage(cv, "");
5496 RETVAL = wxThread::IsMain();
5497 ST(0) = boolSV(RETVAL);
5504 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
5505 #define XSubPPtmpAAAZ 1
5508 XS(XS_Wx_IsStockID); /* prototype to pass -Wmissing-prototypes */
5517 croak_xs_usage(cv, "id");
5520 wxWindowID id = wxPli_get_wxwindowid( aTHX_ ST(0) );
5522 RETVAL = wxIsStockID(id);
5523 ST(0) = boolSV(RETVAL);
5530 XS(XS_Wx_IsStockLabel); /* prototype to pass -Wmissing-prototypes */
5531 XS(XS_Wx_IsStockLabel)
5539 croak_xs_usage(cv, "id, label");
5542 wxWindowID id = wxPli_get_wxwindowid( aTHX_ ST(0) );
5545 WXSTRING_INPUT( label, wxString, ST(1) );
5547 RETVAL = wxIsStockLabel(id, label);
5548 ST(0) = boolSV(RETVAL);
5554 #if WXPERL_W_VERSION_GE( 2, 6, 3 )
5555 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
5556 #define XSubPPtmpAABA 1
5559 XS(XS_Wx_GetStockLabel); /* prototype to pass -Wmissing-prototypes */
5560 XS(XS_Wx_GetStockLabel)
5567 if (items < 1 || items > 2)
5568 croak_xs_usage(cv, "id, flags= wxSTOCK_WITH_MNEMONIC");
5571 wxWindowID id = wxPli_get_wxwindowid( aTHX_ ST(0) );
5575 flags = wxSTOCK_WITH_MNEMONIC;
5577 flags = (long)SvIV(ST(1));
5580 RETVAL = wxGetStockLabel(id, flags);
5581 ST(0) = sv_newmortal();
5582 WXSTRING_OUTPUT( RETVAL, ST(0) );
5589 #define XSubPPtmpAABB 1
5592 XS(XS_Wx_GetStockLabel); /* prototype to pass -Wmissing-prototypes */
5593 XS(XS_Wx_GetStockLabel)
5600 if (items < 1 || items > 3)
5601 croak_xs_usage(cv, "id, withCodes= true, accelerator= wxEmptyString");
5604 wxWindowID id = wxPli_get_wxwindowid( aTHX_ ST(0) );
5606 wxString accelerator;
5611 withCodes = (bool)SvTRUE(ST(1));
5615 accelerator = wxEmptyString;
5617 WXSTRING_INPUT( accelerator, wxString, ST(2) );
5620 RETVAL = wxGetStockLabel(id, withCodes, accelerator);
5621 ST(0) = sv_newmortal();
5622 WXSTRING_OUTPUT( RETVAL, ST(0) );
5630 #define XSubPPtmpAABC 1
5633 XS(XS_Wx_GetStockLabel); /* prototype to pass -Wmissing-prototypes */
5634 XS(XS_Wx_GetStockLabel)
5642 croak_xs_usage(cv, "id");
5645 wxWindowID id = wxPli_get_wxwindowid( aTHX_ ST(0) );
5647 RETVAL = wxGetStockLabel(id);
5648 ST(0) = sv_newmortal();
5649 WXSTRING_OUTPUT( RETVAL, ST(0) );
5657 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
5658 #define XSubPPtmpAABD 1
5661 XS(XS_Wx_GetStockAccelerator); /* prototype to pass -Wmissing-prototypes */
5662 XS(XS_Wx_GetStockAccelerator)
5670 croak_xs_usage(cv, "id");
5672 wxAcceleratorEntry * RETVAL;
5673 wxWindowID id = wxPli_get_wxwindowid( aTHX_ ST(0) );
5674 RETVAL = new wxAcceleratorEntry( wxGetStockAccelerator( id ) );
5675 ST(0) = sv_newmortal();
5676 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::AcceleratorEntry" );
5677 wxPli_thread_sv_register( aTHX_ "Wx::AcceleratorEntry", RETVAL, ST(0) );
5684 XS(XS_Wx_GetStockHelpString); /* prototype to pass -Wmissing-prototypes */
5685 XS(XS_Wx_GetStockHelpString)
5692 if (items < 1 || items > 2)
5693 croak_xs_usage(cv, "id, client= wxSTOCK_MENU");
5696 wxWindowID id = wxPli_get_wxwindowid( aTHX_ ST(0) );
5697 wxStockHelpStringClient client;
5700 client = wxSTOCK_MENU;
5702 client = (wxStockHelpStringClient)SvIV(ST(1));
5705 RETVAL = wxGetStockHelpString(id, client);
5706 ST(0) = sv_newmortal();
5707 WXSTRING_OUTPUT( RETVAL, ST(0) );
5714 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
5715 #define XSubPPtmpAABE 1
5718 XS(XS_Wx_LaunchDefaultBrowser); /* prototype to pass -Wmissing-prototypes */
5719 XS(XS_Wx_LaunchDefaultBrowser)
5726 if (items < 1 || items > 2)
5727 croak_xs_usage(cv, "url, flags = 0");
5733 WXSTRING_INPUT( url, wxString, ST(0) );
5738 flags = (int)SvIV(ST(1));
5741 RETVAL = wxLaunchDefaultBrowser(url, flags);
5742 ST(0) = boolSV(RETVAL);
5749 #if WXPERL_W_VERSION_GE( 2, 6, 1 )
5750 #define XSubPPtmpAABF 1
5753 XS(XS_Wx_LaunchDefaultBrowser); /* prototype to pass -Wmissing-prototypes */
5754 XS(XS_Wx_LaunchDefaultBrowser)
5762 croak_xs_usage(cv, "url");
5767 WXSTRING_INPUT( url, wxString, ST(0) );
5769 RETVAL = wxLaunchDefaultBrowser(url);
5770 ST(0) = boolSV(RETVAL);
5779 XS(XS_Wx_ShowTip); /* prototype to pass -Wmissing-prototypes */
5787 if (items < 2 || items > 3)
5788 croak_xs_usage(cv, "parent, tipProvider, showAtStartup = true");
5790 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5791 wxTipProvider* tipProvider = (wxTipProvider *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TipProvider" );
5796 showAtStartup = true;
5798 showAtStartup = (bool)SvTRUE(ST(2));
5801 RETVAL = wxShowTip(parent, tipProvider, showAtStartup);
5802 ST(0) = boolSV(RETVAL);
5809 XS(XS_Wx_CreateFileTipProvider); /* prototype to pass -Wmissing-prototypes */
5810 XS(XS_Wx_CreateFileTipProvider)
5818 croak_xs_usage(cv, "filename, currentTip");
5821 size_t currentTip = (size_t)SvUV( ST(1) );
5822 wxTipProvider * RETVAL;
5824 WXSTRING_INPUT( filename, wxString, ST(0) );
5826 RETVAL = wxCreateFileTipProvider(filename, currentTip);
5827 ST(0) = sv_newmortal();
5828 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TipProvider" );
5835 XS(XS_Wx_Usleep); /* prototype to pass -Wmissing-prototypes */
5844 croak_xs_usage(cv, "ms");
5846 unsigned long ms = (unsigned long)SvUV( ST(0) );
5847 #if WXPERL_W_VERSION_LE( 2, 5, 2 )
5856 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
5857 #define XSubPPtmpAABG 1
5860 XS(XS_Wx_MicroSleep); /* prototype to pass -Wmissing-prototypes */
5861 XS(XS_Wx_MicroSleep)
5869 croak_xs_usage(cv, "ms");
5871 unsigned long ms = (unsigned long)SvUV( ST(0) );
5880 XS(XS_Wx_MilliSleep); /* prototype to pass -Wmissing-prototypes */
5881 XS(XS_Wx_MilliSleep)
5889 croak_xs_usage(cv, "ms");
5891 unsigned long ms = (unsigned long)SvUV( ST(0) );
5892 #if WXPERL_W_VERSION_LE( 2, 5, 2 )
5902 XS(XS_Wx_Sleep); /* prototype to pass -Wmissing-prototypes */
5911 croak_xs_usage(cv, "sec");
5913 int sec = (int)SvIV(ST(0));
5921 XS(XS_Wx_Yield); /* prototype to pass -Wmissing-prototypes */
5930 croak_xs_usage(cv, "");
5935 ST(0) = boolSV(RETVAL);
5942 XS(XS_Wx_SafeYield); /* prototype to pass -Wmissing-prototypes */
5950 if (items < 0 || items > 2)
5951 croak_xs_usage(cv, "window = 0, onlyIfNeeded = false");
5960 window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
5964 onlyIfNeeded = false;
5966 onlyIfNeeded = (bool)SvTRUE(ST(1));
5969 RETVAL = wxSafeYield(window, onlyIfNeeded);
5970 ST(0) = boolSV(RETVAL);
5977 XS(XS_Wx_YieldIfNeeded); /* prototype to pass -Wmissing-prototypes */
5978 XS(XS_Wx_YieldIfNeeded)
5986 croak_xs_usage(cv, "");
5990 RETVAL = wxYieldIfNeeded();
5991 ST(0) = boolSV(RETVAL);
5998 XS(XS_Wx_Trap); /* prototype to pass -Wmissing-prototypes */
6007 croak_xs_usage(cv, "");
6016 XS(XS_Wx_GetOsDescription); /* prototype to pass -Wmissing-prototypes */
6017 XS(XS_Wx_GetOsDescription)
6025 croak_xs_usage(cv, "");
6029 RETVAL = wxGetOsDescription();
6030 ST(0) = sv_newmortal();
6031 WXSTRING_OUTPUT( RETVAL, ST(0) );
6038 XS(XS_Wx_NewId); /* prototype to pass -Wmissing-prototypes */
6047 croak_xs_usage(cv, "");
6053 XSprePUSH; PUSHi((IV)RETVAL);
6059 XS(XS_Wx_NewEventType); /* prototype to pass -Wmissing-prototypes */
6060 XS(XS_Wx_NewEventType)
6068 croak_xs_usage(cv, "");
6073 RETVAL = wxNewEventType();
6074 XSprePUSH; PUSHi((IV)RETVAL);
6080 XS(XS_Wx_RegisterId); /* prototype to pass -Wmissing-prototypes */
6081 XS(XS_Wx_RegisterId)
6089 croak_xs_usage(cv, "id");
6091 long id = (long)SvIV(ST(0));
6099 XS(XS_Wx_Bell); /* prototype to pass -Wmissing-prototypes */
6108 croak_xs_usage(cv, "");
6117 XS(XS_Wx_Exit); /* prototype to pass -Wmissing-prototypes */
6126 croak_xs_usage(cv, "");
6135 XS(XS_Wx_Shell); /* prototype to pass -Wmissing-prototypes */
6143 if (items < 0 || items > 1)
6144 croak_xs_usage(cv, "command = wxEmptyString");
6150 command = wxEmptyString;
6152 WXSTRING_INPUT( command, wxString, ST(0) );
6155 RETVAL = wxShell(command);
6156 ST(0) = boolSV(RETVAL);
6162 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
6163 #define XSubPPtmpAABH 1
6166 XS(XS_Wx_GetKeyState); /* prototype to pass -Wmissing-prototypes */
6167 XS(XS_Wx_GetKeyState)
6175 croak_xs_usage(cv, "key");
6177 wxKeyCode key = wxPli_sv_2_keycode( aTHX_ ST(0) );
6180 RETVAL = wxGetKeyState(key);
6181 ST(0) = boolSV(RETVAL);
6189 XS(XS_Wx__utf8_on); /* prototype to pass -Wmissing-prototypes */
6198 croak_xs_usage(cv, "sv");
6207 XS(XS_Wx__utf8_off); /* prototype to pass -Wmissing-prototypes */
6216 croak_xs_usage(cv, "sv");
6225 /* INCLUDE: Returning to 'XS/Locale.xs' from 'XS/Utils.xs' */
6227 #include <wx/intl.h>
6229 XS(XS_Wx__LanguageInfo_new); /* prototype to pass -Wmissing-prototypes */
6230 XS(XS_Wx__LanguageInfo_new)
6238 croak_xs_usage(cv, "CLASS, language, canonicalName, winLang, winSublang, descr");
6240 int language = (int)SvIV(ST(1));
6241 wxString canonicalName;
6242 int winLang = (int)SvIV(ST(3));
6243 int winSublang = (int)SvIV(ST(4));
6245 char * CLASS = (char *)SvPV_nolen(ST(0));
6246 wxLanguageInfo * RETVAL;
6248 WXSTRING_INPUT( canonicalName, wxString, ST(2) );
6250 WXSTRING_INPUT( descr, wxString, ST(5) );
6251 RETVAL = new wxLanguageInfo;
6252 RETVAL->Language = language;
6253 RETVAL->CanonicalName = canonicalName;
6254 #if defined( __WXMSW__ )
6255 RETVAL->WinLang = winLang;
6256 RETVAL->WinSublang = winSublang;
6258 RETVAL->Description = descr;
6259 ST(0) = sv_newmortal();
6260 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::LanguageInfo" );
6261 wxPli_thread_sv_register( aTHX_ "Wx::LanguageInfo", RETVAL, ST(0) );
6268 XS(XS_Wx__LanguageInfo_CLONE); /* prototype to pass -Wmissing-prototypes */
6269 XS(XS_Wx__LanguageInfo_CLONE)
6277 croak_xs_usage(cv, "CLASS");
6279 char * CLASS = (char *)SvPV_nolen(ST(0));
6280 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
6286 XS(XS_Wx__LanguageInfo_DESTROY); /* prototype to pass -Wmissing-prototypes */
6287 XS(XS_Wx__LanguageInfo_DESTROY)
6295 croak_xs_usage(cv, "THIS");
6297 wxLanguageInfo * THIS = (wxLanguageInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LanguageInfo" );
6298 if( wxPli_object_is_deleteable( aTHX_ ST(0) ) )
6305 XS(XS_Wx__LanguageInfo_GetLanguage); /* prototype to pass -Wmissing-prototypes */
6306 XS(XS_Wx__LanguageInfo_GetLanguage)
6314 croak_xs_usage(cv, "THIS");
6316 wxLanguageInfo * THIS = (wxLanguageInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LanguageInfo" );
6319 RETVAL = THIS->Language;
6320 XSprePUSH; PUSHi((IV)RETVAL);
6326 XS(XS_Wx__LanguageInfo_GetCanonicalName); /* prototype to pass -Wmissing-prototypes */
6327 XS(XS_Wx__LanguageInfo_GetCanonicalName)
6335 croak_xs_usage(cv, "THIS");
6337 wxLanguageInfo * THIS = (wxLanguageInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LanguageInfo" );
6339 RETVAL = THIS->CanonicalName;
6340 ST(0) = sv_newmortal();
6341 WXSTRING_OUTPUT( RETVAL, ST(0) );
6348 XS(XS_Wx__LanguageInfo_GetWinLang); /* prototype to pass -Wmissing-prototypes */
6349 XS(XS_Wx__LanguageInfo_GetWinLang)
6357 croak_xs_usage(cv, "THIS");
6359 wxLanguageInfo * THIS = (wxLanguageInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LanguageInfo" );
6360 unsigned int RETVAL;
6362 #if defined( __WXMSW__ )
6363 RETVAL = THIS->WinLang;
6367 XSprePUSH; PUSHu((UV)RETVAL );
6373 XS(XS_Wx__LanguageInfo_GetWinSublang); /* prototype to pass -Wmissing-prototypes */
6374 XS(XS_Wx__LanguageInfo_GetWinSublang)
6382 croak_xs_usage(cv, "THIS");
6384 wxLanguageInfo * THIS = (wxLanguageInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LanguageInfo" );
6385 unsigned int RETVAL;
6387 #if defined( __WXMSW__ )
6388 RETVAL = THIS->WinSublang;
6397 XS(XS_Wx__LanguageInfo_GetDescription); /* prototype to pass -Wmissing-prototypes */
6398 XS(XS_Wx__LanguageInfo_GetDescription)
6406 croak_xs_usage(cv, "THIS");
6408 wxLanguageInfo * THIS = (wxLanguageInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LanguageInfo" );
6410 RETVAL = THIS->Description;
6411 ST(0) = sv_newmortal();
6412 WXSTRING_OUTPUT( RETVAL, ST(0) );
6419 XS(XS_Wx__Locale_newLong); /* prototype to pass -Wmissing-prototypes */
6420 XS(XS_Wx__Locale_newLong)
6427 if (items < 1 || items > 5)
6428 croak_xs_usage(cv, "name, shorts = NULL, locale = NULL, loaddefault = true, convertencoding = false");
6431 const wxChar* shorts;
6432 const wxChar* locale;
6434 bool convertencoding;
6437 WXCHAR_INPUT( name, wxChar*, ST(0) );
6442 loaddefault = (bool)SvTRUE(ST(3));
6446 convertencoding = false;
6448 convertencoding = (bool)SvTRUE(ST(4));
6450 wxString shorts_tmp, locale_tmp;
6452 if( items < 2 ) shorts = NULL;
6455 WXSTRING_INPUT( shorts_tmp, const char*, ST(1) );
6456 shorts = shorts_tmp.c_str();
6459 if( items < 3 ) locale = NULL;
6462 WXSTRING_INPUT( locale_tmp, const char*, ST(2) );
6463 locale = locale_tmp.c_str();
6466 RETVAL = new wxLocale( name, shorts,
6467 ( locale && wxStrlen( locale ) ) ? locale : NULL,
6468 loaddefault, convertencoding );
6469 ST(0) = sv_newmortal();
6470 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Locale" );
6471 wxPli_thread_sv_register( aTHX_ "Wx::Locale", RETVAL, ST(0) );
6478 XS(XS_Wx__Locale_newShort); /* prototype to pass -Wmissing-prototypes */
6479 XS(XS_Wx__Locale_newShort)
6486 if (items < 1 || items > 2)
6487 croak_xs_usage(cv, "language, flags = wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING");
6489 int language = (int)SvIV(ST(0));
6494 flags = wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING;
6496 flags = (int)SvIV(ST(1));
6498 RETVAL = new wxLocale( language, flags );
6499 ST(0) = sv_newmortal();
6500 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Locale" );
6501 wxPli_thread_sv_register( aTHX_ "Wx::Locale", RETVAL, ST(0) );
6508 XS(XS_Wx__Locale_CLONE); /* prototype to pass -Wmissing-prototypes */
6509 XS(XS_Wx__Locale_CLONE)
6517 croak_xs_usage(cv, "CLASS");
6519 char * CLASS = (char *)SvPV_nolen(ST(0));
6520 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
6526 XS(XS_Wx__Locale_DESTROY); /* prototype to pass -Wmissing-prototypes */
6527 XS(XS_Wx__Locale_DESTROY)
6535 croak_xs_usage(cv, "THIS");
6537 wxLocale * THIS = (wxLocale *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Locale" );
6538 wxPli_thread_sv_unregister( aTHX_ "Wx::Locale", THIS, ST(0) );
6545 XS(XS_Wx__Locale_AddCatalog); /* prototype to pass -Wmissing-prototypes */
6546 XS(XS_Wx__Locale_AddCatalog)
6554 croak_xs_usage(cv, "THIS, domain");
6557 wxLocale * THIS = (wxLocale *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Locale" );
6560 WXSTRING_INPUT( domain, wxString, ST(1) );
6562 RETVAL = THIS->AddCatalog(domain);
6563 ST(0) = boolSV(RETVAL);
6570 XS(XS_Wx__Locale_AddCatalogLookupPathPrefix); /* prototype to pass -Wmissing-prototypes */
6571 XS(XS_Wx__Locale_AddCatalogLookupPathPrefix)
6579 croak_xs_usage(cv, "THIS, prefix");
6582 wxLocale * THIS = (wxLocale *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Locale" );
6584 WXSTRING_INPUT( prefix, wxString, ST(1) );
6586 THIS->AddCatalogLookupPathPrefix(prefix);
6591 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
6592 #define XSubPPtmpAABI 1
6595 XS(XS_Wx__Locale_IsAvailable); /* prototype to pass -Wmissing-prototypes */
6596 XS(XS_Wx__Locale_IsAvailable)
6604 croak_xs_usage(cv, "lang");
6606 int lang = (int)SvIV(ST(0));
6608 RETVAL = wxLocale::IsAvailable( lang );
6609 ST(0) = boolSV(RETVAL);
6617 XS(XS_Wx__Locale_AddLanguage); /* prototype to pass -Wmissing-prototypes */
6618 XS(XS_Wx__Locale_AddLanguage)
6626 croak_xs_usage(cv, "info");
6628 wxLanguageInfo* info = (wxLanguageInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LanguageInfo" );
6629 wxLocale::AddLanguage( *info );
6635 XS(XS_Wx__Locale_GetLocale); /* prototype to pass -Wmissing-prototypes */
6636 XS(XS_Wx__Locale_GetLocale)
6644 croak_xs_usage(cv, "THIS");
6646 wxLocale * THIS = (wxLocale *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Locale" );
6647 const wxChar * RETVAL;
6649 RETVAL = THIS->GetLocale();
6650 ST(0) = sv_newmortal();
6651 WXCHAR_OUTPUT( RETVAL, ST(0) );
6658 XS(XS_Wx__Locale_GetName); /* prototype to pass -Wmissing-prototypes */
6659 XS(XS_Wx__Locale_GetName)
6667 croak_xs_usage(cv, "THIS");
6669 wxLocale * THIS = (wxLocale *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Locale" );
6672 RETVAL = THIS->GetName();
6673 ST(0) = sv_newmortal();
6674 WXSTRING_OUTPUT( RETVAL, ST(0) );
6681 XS(XS_Wx__Locale_GetString); /* prototype to pass -Wmissing-prototypes */
6682 XS(XS_Wx__Locale_GetString)
6689 if (items < 2 || items > 3)
6690 croak_xs_usage(cv, "THIS, string, domain = NULL");
6692 const wxChar* string;
6693 const wxChar* domain;
6694 wxLocale * THIS = (wxLocale *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Locale" );
6695 const wxChar * RETVAL;
6697 WXCHAR_INPUT( string, wxChar*, ST(1) );
6702 WXCHAR_INPUT( domain, wxChar*, ST(2) );
6705 RETVAL = THIS->GetString(string, domain);
6706 ST(0) = sv_newmortal();
6707 WXCHAR_OUTPUT( RETVAL, ST(0) );
6713 #if WXPERL_W_VERSION_GE( 2, 5, 3 )
6714 #define XSubPPtmpAABJ 1
6717 XS(XS_Wx__Locale_GetHeaderValue); /* prototype to pass -Wmissing-prototypes */
6718 XS(XS_Wx__Locale_GetHeaderValue)
6725 if (items < 2 || items > 3)
6726 croak_xs_usage(cv, "THIS, header, domain = NULL");
6728 const wxChar* header;
6729 const wxChar* domain;
6730 wxLocale * THIS = (wxLocale *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Locale" );
6733 WXCHAR_INPUT( header, wxChar*, ST(1) );
6738 WXCHAR_INPUT( domain, wxChar*, ST(2) );
6741 RETVAL = THIS->GetHeaderValue(header, domain);
6742 ST(0) = sv_newmortal();
6743 WXSTRING_OUTPUT( RETVAL, ST(0) );
6751 XS(XS_Wx__Locale_GetSystemLanguage); /* prototype to pass -Wmissing-prototypes */
6752 XS(XS_Wx__Locale_GetSystemLanguage)
6760 croak_xs_usage(cv, "");
6764 RETVAL = wxLocale::GetSystemLanguage();
6765 XSprePUSH; PUSHi((IV)RETVAL);
6771 XS(XS_Wx__Locale_GetLanguage); /* prototype to pass -Wmissing-prototypes */
6772 XS(XS_Wx__Locale_GetLanguage)
6780 croak_xs_usage(cv, "THIS");
6782 wxLocale * THIS = (wxLocale *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Locale" );
6786 RETVAL = THIS->GetLanguage();
6787 XSprePUSH; PUSHi((IV)RETVAL);
6792 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
6793 #define XSubPPtmpAABK 1
6796 XS(XS_Wx__Locale_GetLanguageName); /* prototype to pass -Wmissing-prototypes */
6797 XS(XS_Wx__Locale_GetLanguageName)
6805 croak_xs_usage(cv, "THIS, lang");
6807 int lang = (int)SvIV(ST(1));
6808 wxLocale * THIS = (wxLocale *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Locale" );
6811 RETVAL = THIS->GetLanguageName(lang);
6812 ST(0) = sv_newmortal();
6813 WXSTRING_OUTPUT( RETVAL, ST(0) );
6821 XS(XS_Wx__Locale_GetSysName); /* prototype to pass -Wmissing-prototypes */
6822 XS(XS_Wx__Locale_GetSysName)
6830 croak_xs_usage(cv, "THIS");
6832 wxLocale * THIS = (wxLocale *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Locale" );
6835 RETVAL = THIS->GetSysName();
6836 ST(0) = sv_newmortal();
6837 WXSTRING_OUTPUT( RETVAL, ST(0) );
6844 XS(XS_Wx__Locale_GetCanonicalName); /* prototype to pass -Wmissing-prototypes */
6845 XS(XS_Wx__Locale_GetCanonicalName)
6853 croak_xs_usage(cv, "THIS");
6855 wxLocale * THIS = (wxLocale *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Locale" );
6858 RETVAL = THIS->GetCanonicalName();
6859 ST(0) = sv_newmortal();
6860 WXSTRING_OUTPUT( RETVAL, ST(0) );
6867 XS(XS_Wx__Locale_GetSystemEncoding); /* prototype to pass -Wmissing-prototypes */
6868 XS(XS_Wx__Locale_GetSystemEncoding)
6876 croak_xs_usage(cv, "");
6878 wxFontEncoding RETVAL;
6880 RETVAL = wxLocale::GetSystemEncoding();
6881 XSprePUSH; PUSHi((IV)RETVAL);
6887 XS(XS_Wx__Locale_GetSystemEncodingName); /* prototype to pass -Wmissing-prototypes */
6888 XS(XS_Wx__Locale_GetSystemEncodingName)
6896 croak_xs_usage(cv, "");
6899 RETVAL = wxLocale::GetSystemEncodingName();
6900 ST(0) = sv_newmortal();
6901 WXSTRING_OUTPUT( RETVAL, ST(0) );
6908 XS(XS_Wx__Locale_IsLoaded); /* prototype to pass -Wmissing-prototypes */
6909 XS(XS_Wx__Locale_IsLoaded)
6917 croak_xs_usage(cv, "THIS, domain");
6919 const wxChar* domain;
6920 wxLocale * THIS = (wxLocale *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Locale" );
6923 WXCHAR_INPUT( domain, wxChar*, ST(1) );
6925 RETVAL = THIS->IsLoaded(domain);
6926 ST(0) = boolSV(RETVAL);
6933 XS(XS_Wx__Locale_IsOk); /* prototype to pass -Wmissing-prototypes */
6934 XS(XS_Wx__Locale_IsOk)
6942 croak_xs_usage(cv, "THIS");
6944 wxLocale * THIS = (wxLocale *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Locale" );
6947 RETVAL = THIS->IsOk();
6948 ST(0) = boolSV(RETVAL);
6955 XS(XS_Wx__Locale_FindLanguageInfo); /* prototype to pass -Wmissing-prototypes */
6956 XS(XS_Wx__Locale_FindLanguageInfo)
6964 croak_xs_usage(cv, "name");
6967 const wxLanguageInfo * RETVAL;
6969 WXSTRING_INPUT( name, wxString, ST(0) );
6970 RETVAL = wxLocale::FindLanguageInfo( name );
6971 ST(0) = sv_newmortal();
6972 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::LanguageInfo" );
6973 wxPli_thread_sv_register( aTHX_ "Wx::LanguageInfo", RETVAL, ST(0) );
6975 wxPli_object_set_deleteable( aTHX_ ST(0), false );
6981 XS(XS_Wx__Locale_Init); /* prototype to pass -Wmissing-prototypes */
6982 XS(XS_Wx__Locale_Init)
6989 if (items < 2 || items > 3)
6990 croak_xs_usage(cv, "THIS, language, flags = wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING");
6992 int language = (int)SvIV(ST(1));
6994 wxLocale * THIS = (wxLocale *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Locale" );
6998 flags = wxLOCALE_LOAD_DEFAULT|wxLOCALE_CONV_ENCODING;
7000 flags = (int)SvIV(ST(2));
7003 RETVAL = THIS->Init(language, flags);
7004 ST(0) = boolSV(RETVAL);
7011 XS(XS_Wx__Locale_GetLanguageInfo); /* prototype to pass -Wmissing-prototypes */
7012 XS(XS_Wx__Locale_GetLanguageInfo)
7020 croak_xs_usage(cv, "language");
7022 int language = (int)SvIV(ST(0));
7023 const wxLanguageInfo * RETVAL;
7024 RETVAL = wxLocale::GetLanguageInfo( language );
7025 ST(0) = sv_newmortal();
7026 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::LanguageInfo" );
7027 wxPli_thread_sv_register( aTHX_ "Wx::LanguageInfo", RETVAL, ST(0) );
7029 wxPli_object_set_deleteable( aTHX_ ST(0), false );
7035 XS(XS_Wx_GetTranslation); /* prototype to pass -Wmissing-prototypes */
7036 XS(XS_Wx_GetTranslation)
7044 croak_xs_usage(cv, "string");
7046 const wxChar* string;
7047 const wxChar * RETVAL;
7049 WXCHAR_INPUT( string, wxChar*, ST(0) );
7050 RETVAL = wxGetTranslation( string );
7051 ST(0) = sv_newmortal();
7052 WXCHAR_OUTPUT( RETVAL, ST(0) );
7059 /* INCLUDE: Returning to 'XS/ToolTip.xs' from 'XS/Locale.xs' */
7061 #if wxPERL_USE_TOOLTIPS
7062 #include <wx/tooltip.h>
7063 #define XSubPPtmpAABL 1
7066 XS(XS_Wx__ToolTip_Enable); /* prototype to pass -Wmissing-prototypes */
7067 XS(XS_Wx__ToolTip_Enable)
7075 croak_xs_usage(cv, "enable");
7077 bool enable = (bool)SvTRUE(ST(0));
7078 wxToolTip::Enable( enable );
7084 XS(XS_Wx__ToolTip_SetDelay); /* prototype to pass -Wmissing-prototypes */
7085 XS(XS_Wx__ToolTip_SetDelay)
7093 croak_xs_usage(cv, "msecs");
7095 long msecs = (long)SvIV(ST(0));
7096 wxToolTip::SetDelay( msecs );
7101 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
7102 #define XSubPPtmpAABM 1
7105 XS(XS_Wx__ToolTip_SetAutoPop); /* prototype to pass -Wmissing-prototypes */
7106 XS(XS_Wx__ToolTip_SetAutoPop)
7114 croak_xs_usage(cv, "msecs");
7116 long msecs = (long)SvIV(ST(0));
7117 wxToolTip::SetAutoPop( msecs );
7123 XS(XS_Wx__ToolTip_SetReshow); /* prototype to pass -Wmissing-prototypes */
7124 XS(XS_Wx__ToolTip_SetReshow)
7132 croak_xs_usage(cv, "msecs");
7134 long msecs = (long)SvIV(ST(0));
7135 wxToolTip::SetReshow( msecs );
7142 XS(XS_Wx__ToolTip_new); /* prototype to pass -Wmissing-prototypes */
7143 XS(XS_Wx__ToolTip_new)
7151 croak_xs_usage(cv, "CLASS, string");
7154 char * CLASS = (char *)SvPV_nolen(ST(0));
7157 WXSTRING_INPUT( string, wxString, ST(1) );
7159 RETVAL = new wxToolTip(string);
7160 ST(0) = sv_newmortal();
7161 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
7168 XS(XS_Wx__ToolTip_SetTip); /* prototype to pass -Wmissing-prototypes */
7169 XS(XS_Wx__ToolTip_SetTip)
7177 croak_xs_usage(cv, "THIS, tip");
7180 wxToolTip * THIS = (wxToolTip *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolTip" );
7182 WXSTRING_INPUT( tip, wxString, ST(1) );
7190 XS(XS_Wx__ToolTip_GetTip); /* prototype to pass -Wmissing-prototypes */
7191 XS(XS_Wx__ToolTip_GetTip)
7199 croak_xs_usage(cv, "THIS");
7201 wxToolTip * THIS = (wxToolTip *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolTip" );
7204 RETVAL = THIS->GetTip();
7205 ST(0) = sv_newmortal();
7206 WXSTRING_OUTPUT( RETVAL, ST(0) );
7213 XS(XS_Wx__ToolTip_GetWindow); /* prototype to pass -Wmissing-prototypes */
7214 XS(XS_Wx__ToolTip_GetWindow)
7222 croak_xs_usage(cv, "THIS");
7224 wxToolTip * THIS = (wxToolTip *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ToolTip" );
7227 RETVAL = THIS->GetWindow();
7228 ST(0) = sv_newmortal();
7229 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
7237 /* INCLUDE: Returning to 'XS/Log.xs' from 'XS/ToolTip.xs' */
7240 #include "cpp/log.h"
7242 XS(XS_Wx__Log_Destroy); /* prototype to pass -Wmissing-prototypes */
7243 XS(XS_Wx__Log_Destroy)
7251 croak_xs_usage(cv, "THIS");
7253 wxLog * THIS = (wxLog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Log" );
7260 XS(XS_Wx__Log_AddTraceMask); /* prototype to pass -Wmissing-prototypes */
7261 XS(XS_Wx__Log_AddTraceMask)
7269 croak_xs_usage(cv, "mask");
7273 WXSTRING_INPUT( mask, wxString, ST(0) );
7274 wxLog::AddTraceMask( mask );
7280 XS(XS_Wx__Log_ClearTraceMasks); /* prototype to pass -Wmissing-prototypes */
7281 XS(XS_Wx__Log_ClearTraceMasks)
7289 croak_xs_usage(cv, "");
7291 wxLog::ClearTraceMasks();
7297 XS(XS_Wx__Log_RemoveTraceMask); /* prototype to pass -Wmissing-prototypes */
7298 XS(XS_Wx__Log_RemoveTraceMask)
7306 croak_xs_usage(cv, "mask");
7310 WXSTRING_INPUT( mask, wxString, ST(0) );
7311 wxLog::RemoveTraceMask( mask );
7317 XS(XS_Wx__Log_IsAllowedTraceMask); /* prototype to pass -Wmissing-prototypes */
7318 XS(XS_Wx__Log_IsAllowedTraceMask)
7326 croak_xs_usage(cv, "mask");
7331 WXSTRING_INPUT( mask, wxString, ST(0) );
7332 RETVAL = wxLog::IsAllowedTraceMask( mask );
7333 ST(0) = boolSV(RETVAL);
7340 XS(XS_Wx__Log_GetActiveTarget); /* prototype to pass -Wmissing-prototypes */
7341 XS(XS_Wx__Log_GetActiveTarget)
7349 croak_xs_usage(cv, "");
7352 RETVAL = wxLog::GetActiveTarget();
7353 ST(0) = sv_newmortal();
7354 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Log" );
7361 XS(XS_Wx__Log_SetActiveTarget); /* prototype to pass -Wmissing-prototypes */
7362 XS(XS_Wx__Log_SetActiveTarget)
7370 croak_xs_usage(cv, "target");
7372 wxLog* target = (wxLog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Log" );
7374 RETVAL = wxLog::SetActiveTarget( target );
7375 ST(0) = sv_newmortal();
7376 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Log" );
7383 XS(XS_Wx__Log_DontCreateOnDemand); /* prototype to pass -Wmissing-prototypes */
7384 XS(XS_Wx__Log_DontCreateOnDemand)
7392 croak_xs_usage(cv, "");
7394 wxLog::DontCreateOnDemand();
7400 XS(XS_Wx__Log_Flush); /* prototype to pass -Wmissing-prototypes */
7401 XS(XS_Wx__Log_Flush)
7409 croak_xs_usage(cv, "THIS");
7411 wxLog * THIS = (wxLog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Log" );
7419 XS(XS_Wx__Log_FlushActive); /* prototype to pass -Wmissing-prototypes */
7420 XS(XS_Wx__Log_FlushActive)
7428 croak_xs_usage(cv, "THIS");
7430 wxLog * THIS = (wxLog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Log" );
7432 THIS->FlushActive();
7438 XS(XS_Wx__Log_HasPendingMessages); /* prototype to pass -Wmissing-prototypes */
7439 XS(XS_Wx__Log_HasPendingMessages)
7447 croak_xs_usage(cv, "THIS");
7449 wxLog * THIS = (wxLog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Log" );
7452 RETVAL = THIS->HasPendingMessages();
7453 ST(0) = boolSV(RETVAL);
7460 XS(XS_Wx__Log_SetVerbose); /* prototype to pass -Wmissing-prototypes */
7461 XS(XS_Wx__Log_SetVerbose)
7468 if (items < 1 || items > 2)
7469 croak_xs_usage(cv, "THIS, verbose = true");
7472 wxLog * THIS = (wxLog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Log" );
7477 verbose = (bool)SvTRUE(ST(1));
7480 THIS->SetVerbose(verbose);
7486 XS(XS_Wx__Log_GetVerbose); /* prototype to pass -Wmissing-prototypes */
7487 XS(XS_Wx__Log_GetVerbose)
7495 croak_xs_usage(cv, "THIS");
7497 wxLog * THIS = (wxLog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Log" );
7500 RETVAL = THIS->GetVerbose();
7501 ST(0) = boolSV(RETVAL);
7507 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
7508 #define XSubPPtmpAABN 1
7511 XS(XS_Wx__Log__SetTimestamp); /* prototype to pass -Wmissing-prototypes */
7512 XS(XS_Wx__Log__SetTimestamp)
7520 croak_xs_usage(cv, "format, buffer");
7525 WXSTRING_INPUT( format, wxString, ST(0) );
7526 wxLog::SetTimestamp( format );
7532 XS(XS_Wx__Log_GetTimestamp); /* prototype to pass -Wmissing-prototypes */
7533 XS(XS_Wx__Log_GetTimestamp)
7541 croak_xs_usage(cv, "THIS");
7543 wxLog * THIS = (wxLog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Log" );
7546 RETVAL = THIS->GetTimestamp();
7547 ST(0) = sv_newmortal();
7548 WXSTRING_OUTPUT( RETVAL, ST(0) );
7555 #define XSubPPtmpAABO 1
7558 XS(XS_Wx__Log__SetTimestamp); /* prototype to pass -Wmissing-prototypes */
7559 XS(XS_Wx__Log__SetTimestamp)
7567 croak_xs_usage(cv, "format, buffer");
7571 if( SvOK( ST(0) ) ) {
7572 const wxString format_tmp = ( SvUTF8( format ) ) ?
7573 ( wxString( SvPVutf8_nolen( format ), wxConvUTF8 ) )
7574 : ( wxString( SvPV_nolen( format ), wxConvLibc ) );
7575 const wxChar* fmt = (const wxChar*)format_tmp.c_str();
7576 STRLEN size = wxStrlen( fmt ) * sizeof(wxChar) + sizeof(wxChar);
7577 SvUPGRADE( buffer, SVt_PV );
7578 wxLog::SetTimestamp( wxStrcpy( (wxChar*)SvGROW( buffer, size ),
7581 wxLog::SetTimestamp( NULL );
7588 XS(XS_Wx__Log_GetTimestamp); /* prototype to pass -Wmissing-prototypes */
7589 XS(XS_Wx__Log_GetTimestamp)
7597 croak_xs_usage(cv, "THIS");
7599 wxLog * THIS = (wxLog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Log" );
7600 const wxChar * RETVAL;
7602 RETVAL = THIS->GetTimestamp();
7603 ST(0) = sv_newmortal();
7604 WXCHAR_OUTPUT( RETVAL, ST(0) );
7612 XS(XS_Wx__Log_SetTraceMask); /* prototype to pass -Wmissing-prototypes */
7613 XS(XS_Wx__Log_SetTraceMask)
7621 croak_xs_usage(cv, "mask");
7623 wxTraceMask mask = (wxTraceMask)SvUV( ST(0) );
7624 wxLog::SetTraceMask( mask );
7630 XS(XS_Wx__Log_GetTraceMask); /* prototype to pass -Wmissing-prototypes */
7631 XS(XS_Wx__Log_GetTraceMask)
7639 croak_xs_usage(cv, "");
7643 RETVAL = wxLog::GetTraceMask();
7644 XSprePUSH; PUSHu((UV)RETVAL );
7650 XS(XS_Wx__PlLog_new); /* prototype to pass -Wmissing-prototypes */
7651 XS(XS_Wx__PlLog_new)
7659 croak_xs_usage(cv, "CLASS");
7661 char * CLASS = (char *)SvPV_nolen(ST(0));
7663 RETVAL = new wxPlLog( CLASS );
7664 ST(0) = sv_newmortal();
7665 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::PlLog" );
7672 XS(XS_Wx__LogTextCtrl_new); /* prototype to pass -Wmissing-prototypes */
7673 XS(XS_Wx__LogTextCtrl_new)
7681 croak_xs_usage(cv, "CLASS, ctrl");
7683 wxTextCtrl* ctrl = (wxTextCtrl *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextCtrl" );
7684 char * CLASS = (char *)SvPV_nolen(ST(0));
7685 wxLogTextCtrl * RETVAL;
7687 RETVAL = new wxLogTextCtrl(ctrl);
7688 ST(0) = sv_newmortal();
7689 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::LogTextCtrl" );
7696 XS(XS_Wx__LogNull_new); /* prototype to pass -Wmissing-prototypes */
7697 XS(XS_Wx__LogNull_new)
7705 croak_xs_usage(cv, "CLASS");
7707 char * CLASS = (char *)SvPV_nolen(ST(0));
7710 RETVAL = new wxLogNull();
7711 ST(0) = sv_newmortal();
7712 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::LogNull" );
7713 wxPli_thread_sv_register( aTHX_ "Wx::LogNull", RETVAL, ST(0) );
7720 XS(XS_Wx__LogNull_CLONE); /* prototype to pass -Wmissing-prototypes */
7721 XS(XS_Wx__LogNull_CLONE)
7729 croak_xs_usage(cv, "CLASS");
7731 char * CLASS = (char *)SvPV_nolen(ST(0));
7732 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
7738 XS(XS_Wx__LogNull_DESTROY); /* prototype to pass -Wmissing-prototypes */
7739 XS(XS_Wx__LogNull_DESTROY)
7747 croak_xs_usage(cv, "THIS");
7749 wxLogNull * THIS = (wxLogNull *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LogNull" );
7750 wxPli_thread_sv_unregister( aTHX_ "Wx::LogNull", THIS, ST(0) );
7757 XS(XS_Wx__LogGui_new); /* prototype to pass -Wmissing-prototypes */
7758 XS(XS_Wx__LogGui_new)
7766 croak_xs_usage(cv, "CLASS");
7768 char * CLASS = (char *)SvPV_nolen(ST(0));
7771 RETVAL = new wxLogGui();
7772 ST(0) = sv_newmortal();
7773 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::LogGui" );
7780 XS(XS_Wx__LogWindow_new); /* prototype to pass -Wmissing-prototypes */
7781 XS(XS_Wx__LogWindow_new)
7788 if (items < 3 || items > 5)
7789 croak_xs_usage(cv, "CLASS, parent, title, show = true, passtoold = true");
7791 wxFrame* parent = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Frame" );
7795 char * CLASS = (char *)SvPV_nolen(ST(0));
7796 wxLogWindow * RETVAL;
7798 WXSTRING_INPUT( title, wxString, ST(2) );
7803 show = (bool)SvTRUE(ST(3));
7809 passtoold = (bool)SvTRUE(ST(4));
7812 RETVAL = new wxLogWindow(parent, title, show, passtoold);
7813 ST(0) = sv_newmortal();
7814 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::LogWindow" );
7821 #define XSINTERFACE__wxstring( _ret, _cv, _f ) \
7822 ( ( void (*)( const wxString& ) ) _f)
7823 #define XSINTERFACE__wxstring_SET( _cv, _f ) \
7824 ( CvXSUBANY( _cv ).any_ptr = (void*) _f )
7826 #define dXSFUNCTION( a ) \
7827 void (*XSFUNCTION)( const wxString& )
7828 #define XSubPPtmpAABP 1
7831 XS(XS_Wx_interface__wxstring); /* prototype to pass -Wmissing-prototypes */
7832 XS(XS_Wx_interface__wxstring)
7841 croak_xs_usage(cv, "string");
7845 WXSTRING_INPUT( string, wxString, ST(0) );
7846 XSFUNCTION = XSINTERFACE__wxstring(void,cv,XSANY.any_dptr);
7854 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
7855 #define XSubPPtmpAABQ 1
7858 XS(XS_Wx_wxLogError); /* prototype to pass -Wmissing-prototypes */
7859 XS(XS_Wx_wxLogError)
7867 croak_xs_usage(cv, "string");
7871 WXSTRING_INPUT( string, wxString, ST(0) );
7879 XS(XS_Wx_wxLogFatalError); /* prototype to pass -Wmissing-prototypes */
7880 XS(XS_Wx_wxLogFatalError)
7888 croak_xs_usage(cv, "string");
7892 WXSTRING_INPUT( string, wxString, ST(0) );
7894 wxLogFatalError(string);
7900 XS(XS_Wx_wxLogWarning); /* prototype to pass -Wmissing-prototypes */
7901 XS(XS_Wx_wxLogWarning)
7909 croak_xs_usage(cv, "string");
7913 WXSTRING_INPUT( string, wxString, ST(0) );
7915 wxLogWarning(string);
7921 XS(XS_Wx_wxLogMessage); /* prototype to pass -Wmissing-prototypes */
7922 XS(XS_Wx_wxLogMessage)
7930 croak_xs_usage(cv, "string");
7934 WXSTRING_INPUT( string, wxString, ST(0) );
7936 wxLogMessage(string);
7942 XS(XS_Wx_wxLogVerbose); /* prototype to pass -Wmissing-prototypes */
7943 XS(XS_Wx_wxLogVerbose)
7951 croak_xs_usage(cv, "string");
7955 WXSTRING_INPUT( string, wxString, ST(0) );
7957 wxLogVerbose(string);
7963 XS(XS_Wx_wxLogDebug); /* prototype to pass -Wmissing-prototypes */
7964 XS(XS_Wx_wxLogDebug)
7972 croak_xs_usage(cv, "string");
7976 WXSTRING_INPUT( string, wxString, ST(0) );
7984 #define XSubPPtmpAABR 1
7987 XS(XS_Wx_wxLogError); /* prototype to pass -Wmissing-prototypes */
7988 XS(XS_Wx_wxLogError)
7996 croak_xs_usage(cv, "string");
7998 const wxChar* string;
8000 WXCHAR_INPUT( string, wxChar*, ST(0) );
8008 XS(XS_Wx_wxLogFatalError); /* prototype to pass -Wmissing-prototypes */
8009 XS(XS_Wx_wxLogFatalError)
8017 croak_xs_usage(cv, "string");
8019 const wxChar* string;
8021 WXCHAR_INPUT( string, wxChar*, ST(0) );
8023 wxLogFatalError(string);
8029 XS(XS_Wx_wxLogWarning); /* prototype to pass -Wmissing-prototypes */
8030 XS(XS_Wx_wxLogWarning)
8038 croak_xs_usage(cv, "string");
8040 const wxChar* string;
8042 WXCHAR_INPUT( string, wxChar*, ST(0) );
8044 wxLogWarning(string);
8050 XS(XS_Wx_wxLogMessage); /* prototype to pass -Wmissing-prototypes */
8051 XS(XS_Wx_wxLogMessage)
8059 croak_xs_usage(cv, "string");
8061 const wxChar* string;
8063 WXCHAR_INPUT( string, wxChar*, ST(0) );
8065 wxLogMessage(string);
8071 XS(XS_Wx_wxLogVerbose); /* prototype to pass -Wmissing-prototypes */
8072 XS(XS_Wx_wxLogVerbose)
8080 croak_xs_usage(cv, "string");
8082 const wxChar* string;
8084 WXCHAR_INPUT( string, wxChar*, ST(0) );
8086 wxLogVerbose(string);
8092 XS(XS_Wx_wxLogDebug); /* prototype to pass -Wmissing-prototypes */
8093 XS(XS_Wx_wxLogDebug)
8101 croak_xs_usage(cv, "string");
8103 const wxChar* string;
8105 WXCHAR_INPUT( string, wxChar*, ST(0) );
8115 XS(XS_Wx_wxLogStatusFrame); /* prototype to pass -Wmissing-prototypes */
8116 XS(XS_Wx_wxLogStatusFrame)
8124 croak_xs_usage(cv, "frame, string");
8126 wxFrame* frame = (wxFrame *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Frame" );
8127 const wxChar* string;
8129 WXCHAR_INPUT( string, wxChar*, ST(1) );
8130 wxLogStatus( frame, string );
8136 XS(XS_Wx_wxLogStatus); /* prototype to pass -Wmissing-prototypes */
8137 XS(XS_Wx_wxLogStatus)
8145 croak_xs_usage(cv, "string");
8147 const wxChar* string;
8149 WXCHAR_INPUT( string, wxChar*, ST(0) );
8151 wxLogStatus(string);
8156 #if WXPERL_W_VERSION_LE( 2, 5, 0 )
8157 #define XSubPPtmpAABS 1
8160 XS(XS_Wx_wxLogTrace); /* prototype to pass -Wmissing-prototypes */
8161 XS(XS_Wx_wxLogTrace)
8169 croak_xs_usage(cv, "string");
8171 const wxChar* string;
8173 WXCHAR_INPUT( string, wxChar*, ST(0) );
8182 XS(XS_Wx_wxLogTraceMask); /* prototype to pass -Wmissing-prototypes */
8183 XS(XS_Wx_wxLogTraceMask)
8191 croak_xs_usage(cv, "mask, string");
8194 const wxChar* string;
8196 WXCHAR_INPUT( mask, wxChar*, ST(0) );
8198 WXCHAR_INPUT( string, wxChar*, ST(1) );
8199 wxLogTrace( mask, string );
8205 XS(XS_Wx_wxLogSysError); /* prototype to pass -Wmissing-prototypes */
8206 XS(XS_Wx_wxLogSysError)
8214 croak_xs_usage(cv, "string");
8216 const wxChar* string;
8218 WXCHAR_INPUT( string, wxChar*, ST(0) );
8220 wxLogSysError(string);
8226 XS(XS_Wx_SysErrorCode); /* prototype to pass -Wmissing-prototypes */
8227 XS(XS_Wx_SysErrorCode)
8235 croak_xs_usage(cv, "");
8237 unsigned long RETVAL;
8240 RETVAL = wxSysErrorCode();
8241 XSprePUSH; PUSHu((UV)RETVAL );
8247 XS(XS_Wx_SysErrorMsg); /* prototype to pass -Wmissing-prototypes */
8248 XS(XS_Wx_SysErrorMsg)
8255 if (items < 0 || items > 1)
8256 croak_xs_usage(cv, "errCode = 0");
8258 unsigned long errCode;
8259 const wxChar * RETVAL;
8264 errCode = (unsigned long)SvUV( ST(0) );
8267 RETVAL = wxSysErrorMsg(errCode);
8268 ST(0) = sv_newmortal();
8269 WXCHAR_OUTPUT( RETVAL, ST(0) );
8276 XS(XS_Wx__LogChain_new); /* prototype to pass -Wmissing-prototypes */
8277 XS(XS_Wx__LogChain_new)
8285 croak_xs_usage(cv, "CLASS, logger");
8287 wxLog* logger = (wxLog *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Log" );
8288 char * CLASS = (char *)SvPV_nolen(ST(0));
8289 wxLogChain * RETVAL;
8291 RETVAL = new wxLogChain(logger);
8292 ST(0) = sv_newmortal();
8293 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::LogChain" );
8300 XS(XS_Wx__LogChain_GetOldLog); /* prototype to pass -Wmissing-prototypes */
8301 XS(XS_Wx__LogChain_GetOldLog)
8309 croak_xs_usage(cv, "THIS");
8311 wxLogChain * THIS = (wxLogChain *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LogChain" );
8314 RETVAL = THIS->GetOldLog();
8315 ST(0) = sv_newmortal();
8316 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Log" );
8323 XS(XS_Wx__LogChain_IsPassingMessages); /* prototype to pass -Wmissing-prototypes */
8324 XS(XS_Wx__LogChain_IsPassingMessages)
8332 croak_xs_usage(cv, "THIS");
8334 wxLogChain * THIS = (wxLogChain *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LogChain" );
8337 RETVAL = THIS->IsPassingMessages();
8338 ST(0) = boolSV(RETVAL);
8345 XS(XS_Wx__LogChain_PassMessages); /* prototype to pass -Wmissing-prototypes */
8346 XS(XS_Wx__LogChain_PassMessages)
8354 croak_xs_usage(cv, "THIS, passMessages");
8356 bool passMessages = (bool)SvTRUE(ST(1));
8357 wxLogChain * THIS = (wxLogChain *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LogChain" );
8359 THIS->PassMessages(passMessages);
8365 XS(XS_Wx__LogChain_SetLog); /* prototype to pass -Wmissing-prototypes */
8366 XS(XS_Wx__LogChain_SetLog)
8374 croak_xs_usage(cv, "THIS, logger");
8376 wxLog* logger = (wxLog *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Log" );
8377 wxLogChain * THIS = (wxLogChain *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::LogChain" );
8379 THIS->SetLog(logger);
8385 XS(XS_Wx__LogPassThrough_new); /* prototype to pass -Wmissing-prototypes */
8386 XS(XS_Wx__LogPassThrough_new)
8394 croak_xs_usage(cv, "CLASS");
8396 char * CLASS = (char *)SvPV_nolen(ST(0));
8397 wxLogPassThrough * RETVAL;
8399 RETVAL = new wxLogPassThrough();
8400 ST(0) = sv_newmortal();
8401 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::LogPassThrough" );
8408 XS(XS_Wx__PlLogPassThrough_new); /* prototype to pass -Wmissing-prototypes */
8409 XS(XS_Wx__PlLogPassThrough_new)
8417 croak_xs_usage(cv, "CLASS");
8419 char * CLASS = (char *)SvPV_nolen(ST(0));
8420 wxPlLogPassThrough * RETVAL;
8421 RETVAL = new wxPlLogPassThrough( CLASS );
8422 ST(0) = sv_newmortal();
8423 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::PlLogPassThrough" );
8430 XS(XS_Wx__LogStderr_new); /* prototype to pass -Wmissing-prototypes */
8431 XS(XS_Wx__LogStderr_new)
8438 if (items < 1 || items > 2)
8439 croak_xs_usage(cv, "CLASS, fp = NULL");
8442 char * CLASS = (char *)SvPV_nolen(ST(0));
8443 wxLogStderr * RETVAL;
8448 fp = PerlIO_findFILE(IoIFP(sv_2io(ST(1))));
8451 RETVAL = new wxLogStderr(fp);
8452 ST(0) = sv_newmortal();
8453 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::LogStderr" );
8460 /* INCLUDE: Returning to 'XS/Menu.xs' from 'XS/Log.xs' */
8462 #include <wx/menu.h>
8464 XS(XS_Wx__Menu_new); /* prototype to pass -Wmissing-prototypes */
8472 if (items < 1 || items > 3)
8473 croak_xs_usage(cv, "CLASS, title = wxEmptyString, style = 0");
8477 char * CLASS = (char *)SvPV_nolen(ST(0));
8481 title = wxEmptyString;
8483 WXSTRING_INPUT( title, wxString, ST(1) );
8489 style = (long)SvIV(ST(2));
8492 RETVAL = new wxMenu(title, style);
8493 ST(0) = sv_newmortal();
8494 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8500 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
8501 #define XSubPPtmpAABT 1
8504 XS(XS_Wx__Menu_AppendSubMenu); /* prototype to pass -Wmissing-prototypes */
8505 XS(XS_Wx__Menu_AppendSubMenu)
8512 if (items < 3 || items > 4)
8513 croak_xs_usage(cv, "THIS, submenu, text, help = wxEmptyString");
8515 wxMenu* submenu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" );
8518 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8519 wxMenuItem * RETVAL;
8521 WXSTRING_INPUT( text, wxString, ST(2) );
8524 help = wxEmptyString;
8526 WXSTRING_INPUT( help, wxString, ST(3) );
8529 RETVAL = THIS->AppendSubMenu(submenu, text, help);
8530 ST(0) = sv_newmortal();
8531 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8539 XS(XS_Wx__Menu_AppendString); /* prototype to pass -Wmissing-prototypes */
8540 XS(XS_Wx__Menu_AppendString)
8547 if (items < 2 || items > 5)
8548 croak_xs_usage(cv, "THIS, id, item = wxEmptyString, help = wxEmptyString, kind = wxITEM_NORMAL");
8549 PERL_UNUSED_VAR(ax); /* -Wall */
8552 int id = (int)SvIV(ST(1));
8556 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8559 item = wxEmptyString;
8561 WXSTRING_INPUT( item, wxString, ST(2) );
8565 help = wxEmptyString;
8567 WXSTRING_INPUT( help, wxString, ST(3) );
8571 kind = wxITEM_NORMAL;
8573 kind = (wxItemKind)SvIV(ST(4));
8575 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
8576 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
8577 THIS->Append( id, item, help, kind ) ) );
8579 THIS->Append( id, item, help, kind );
8587 XS(XS_Wx__Menu_AppendSubMenu_); /* prototype to pass -Wmissing-prototypes */
8588 XS(XS_Wx__Menu_AppendSubMenu_)
8595 if (items < 4 || items > 5)
8596 croak_xs_usage(cv, "THIS, id, item, subMenu, helpString = wxEmptyString");
8597 PERL_UNUSED_VAR(ax); /* -Wall */
8600 int id = (int)SvIV(ST(1));
8602 wxMenu* subMenu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Menu" );
8603 wxString helpString;
8604 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8606 WXSTRING_INPUT( item, wxString, ST(2) );
8609 helpString = wxEmptyString;
8611 WXSTRING_INPUT( helpString, wxString, ST(4) );
8613 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
8614 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
8615 THIS->Append( id, item, subMenu, helpString ) ) );
8617 THIS->Append( id, item, subMenu, helpString );
8625 XS(XS_Wx__Menu_AppendItem); /* prototype to pass -Wmissing-prototypes */
8626 XS(XS_Wx__Menu_AppendItem)
8634 croak_xs_usage(cv, "THIS, menuItem");
8635 PERL_UNUSED_VAR(ax); /* -Wall */
8638 wxMenuItem* menuItem = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::MenuItem" );
8639 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8640 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
8641 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
8642 THIS->Append( menuItem ) ) );
8644 THIS->Append( menuItem );
8652 XS(XS_Wx__Menu_AppendCheckItem); /* prototype to pass -Wmissing-prototypes */
8653 XS(XS_Wx__Menu_AppendCheckItem)
8660 if (items < 3 || items > 4)
8661 croak_xs_usage(cv, "THIS, id, item, helpString = wxEmptyString");
8662 PERL_UNUSED_VAR(ax); /* -Wall */
8665 int id = (int)SvIV(ST(1));
8667 wxString helpString;
8668 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8670 WXSTRING_INPUT( item, wxString, ST(2) );
8673 helpString = wxEmptyString;
8675 WXSTRING_INPUT( helpString, wxString, ST(3) );
8677 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
8678 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
8679 THIS->AppendCheckItem( id, item, helpString ) ) );
8681 THIS->AppendCheckItem( id, item, helpString );
8689 XS(XS_Wx__Menu_AppendRadioItem); /* prototype to pass -Wmissing-prototypes */
8690 XS(XS_Wx__Menu_AppendRadioItem)
8697 if (items < 3 || items > 4)
8698 croak_xs_usage(cv, "THIS, id, item, helpString = wxEmptyString");
8699 PERL_UNUSED_VAR(ax); /* -Wall */
8702 int id = (int)SvIV(ST(1));
8704 wxString helpString;
8705 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8707 WXSTRING_INPUT( item, wxString, ST(2) );
8710 helpString = wxEmptyString;
8712 WXSTRING_INPUT( helpString, wxString, ST(3) );
8714 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
8715 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
8716 THIS->AppendRadioItem( id, item, helpString ) ) );
8718 THIS->AppendRadioItem( id, item, helpString );
8726 XS(XS_Wx__Menu_AppendSeparator); /* prototype to pass -Wmissing-prototypes */
8727 XS(XS_Wx__Menu_AppendSeparator)
8735 croak_xs_usage(cv, "THIS");
8736 PERL_UNUSED_VAR(ax); /* -Wall */
8739 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8740 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
8741 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
8742 THIS->AppendSeparator() ) );
8744 THIS->AppendSeparator();
8752 XS(XS_Wx__Menu_Break); /* prototype to pass -Wmissing-prototypes */
8753 XS(XS_Wx__Menu_Break)
8761 croak_xs_usage(cv, "THIS");
8763 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8771 XS(XS_Wx__Menu_Check); /* prototype to pass -Wmissing-prototypes */
8772 XS(XS_Wx__Menu_Check)
8780 croak_xs_usage(cv, "THIS, id, check");
8782 int id = (int)SvIV(ST(1));
8783 bool check = (bool)SvTRUE(ST(2));
8784 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8786 THIS->Check(id, check);
8792 XS(XS_Wx__Menu_DeleteId); /* prototype to pass -Wmissing-prototypes */
8793 XS(XS_Wx__Menu_DeleteId)
8801 croak_xs_usage(cv, "THIS, id");
8803 int id = (int)SvIV(ST(1));
8804 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8811 XS(XS_Wx__Menu_DeleteItem); /* prototype to pass -Wmissing-prototypes */
8812 XS(XS_Wx__Menu_DeleteItem)
8820 croak_xs_usage(cv, "THIS, item");
8822 wxMenuItem* item = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::MenuItem" );
8823 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8824 THIS->Delete( item );
8830 XS(XS_Wx__Menu_DestroyMenu); /* prototype to pass -Wmissing-prototypes */
8831 XS(XS_Wx__Menu_DestroyMenu)
8839 croak_xs_usage(cv, "THIS");
8841 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8848 XS(XS_Wx__Menu_DestroyId); /* prototype to pass -Wmissing-prototypes */
8849 XS(XS_Wx__Menu_DestroyId)
8857 croak_xs_usage(cv, "THIS, id");
8859 int id = (int)SvIV(ST(1));
8860 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8861 THIS->Destroy( id );
8867 XS(XS_Wx__Menu_DestroyItem); /* prototype to pass -Wmissing-prototypes */
8868 XS(XS_Wx__Menu_DestroyItem)
8876 croak_xs_usage(cv, "THIS, item");
8878 wxMenuItem* item = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::MenuItem" );
8879 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8880 THIS->Destroy( item );
8886 XS(XS_Wx__Menu_Enable); /* prototype to pass -Wmissing-prototypes */
8887 XS(XS_Wx__Menu_Enable)
8895 croak_xs_usage(cv, "THIS, id, enable");
8897 int id = (int)SvIV(ST(1));
8898 bool enable = (bool)SvTRUE(ST(2));
8899 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8901 THIS->Enable(id, enable);
8906 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
8907 #define XSubPPtmpAABU 1
8910 XS(XS_Wx__Menu_FindItemByPosition); /* prototype to pass -Wmissing-prototypes */
8911 XS(XS_Wx__Menu_FindItemByPosition)
8919 croak_xs_usage(cv, "THIS, pos");
8921 size_t pos = (size_t)SvUV( ST(1) );
8922 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8923 wxMenuItem * RETVAL;
8925 RETVAL = THIS->FindItemByPosition(pos);
8926 ST(0) = sv_newmortal();
8927 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8935 XS(XS_Wx__Menu_FindItem); /* prototype to pass -Wmissing-prototypes */
8936 XS(XS_Wx__Menu_FindItem)
8944 croak_xs_usage(cv, "THIS, item");
8945 PERL_UNUSED_VAR(ax); /* -Wall */
8949 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
8950 if( looks_like_number( item ) ) {
8951 int id = SvIV( item );
8955 ret = THIS->FindItem( id, &submenu );
8957 SV* mi = sv_newmortal();
8959 if( GIMME_V == G_ARRAY ) {
8961 SV* sm = sv_newmortal();
8963 PUSHs( wxPli_object_2_sv( aTHX_ mi, ret ) );
8964 PUSHs( wxPli_object_2_sv( aTHX_ sm, submenu ) );
8968 PUSHs( wxPli_object_2_sv( aTHX_ mi, ret ) );
8973 WXSTRING_INPUT( string, const char*, item );
8974 int id = THIS->FindItem( string );
8977 PUSHs( sv_2mortal( newSViv( id ) ) );
8985 XS(XS_Wx__Menu_GetHelpString); /* prototype to pass -Wmissing-prototypes */
8986 XS(XS_Wx__Menu_GetHelpString)
8994 croak_xs_usage(cv, "THIS, id");
8996 int id = (int)SvIV(ST(1));
8997 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9000 RETVAL = THIS->GetHelpString(id);
9001 ST(0) = sv_newmortal();
9002 WXSTRING_OUTPUT( RETVAL, ST(0) );
9009 XS(XS_Wx__Menu_GetLabel); /* prototype to pass -Wmissing-prototypes */
9010 XS(XS_Wx__Menu_GetLabel)
9018 croak_xs_usage(cv, "THIS, id");
9020 int id = (int)SvIV(ST(1));
9021 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9024 RETVAL = THIS->GetLabel(id);
9025 ST(0) = sv_newmortal();
9026 WXSTRING_OUTPUT( RETVAL, ST(0) );
9032 #if WXPERL_W_VERSION_GE( 2, 8, 5 )
9033 #define XSubPPtmpAABV 1
9036 XS(XS_Wx__Menu_GetLabelText); /* prototype to pass -Wmissing-prototypes */
9037 XS(XS_Wx__Menu_GetLabelText)
9045 croak_xs_usage(cv, "THIS, id");
9047 int id = (int)SvIV(ST(1));
9048 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9051 RETVAL = THIS->GetLabelText(id);
9052 ST(0) = sv_newmortal();
9053 WXSTRING_OUTPUT( RETVAL, ST(0) );
9061 XS(XS_Wx__Menu_GetMenuItemCount); /* prototype to pass -Wmissing-prototypes */
9062 XS(XS_Wx__Menu_GetMenuItemCount)
9070 croak_xs_usage(cv, "THIS");
9072 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9076 RETVAL = THIS->GetMenuItemCount();
9077 XSprePUSH; PUSHi((IV)RETVAL);
9083 XS(XS_Wx__Menu_GetMenuItems); /* prototype to pass -Wmissing-prototypes */
9084 XS(XS_Wx__Menu_GetMenuItems)
9092 croak_xs_usage(cv, "THIS");
9093 PERL_UNUSED_VAR(ax); /* -Wall */
9096 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9097 wxMenuItemList& data = THIS->GetMenuItems();
9098 wxMenuItemList::compatibility_iterator node;
9100 EXTEND( SP, (IV) data.GetCount() );
9101 for( node = data.GetFirst(); node; node = node->GetNext() )
9103 PUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(), node->GetData() ) );
9111 XS(XS_Wx__Menu_GetTitle); /* prototype to pass -Wmissing-prototypes */
9112 XS(XS_Wx__Menu_GetTitle)
9120 croak_xs_usage(cv, "THIS");
9122 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9125 RETVAL = THIS->GetTitle();
9126 ST(0) = sv_newmortal();
9127 WXSTRING_OUTPUT( RETVAL, ST(0) );
9134 XS(XS_Wx__Menu_InsertItem); /* prototype to pass -Wmissing-prototypes */
9135 XS(XS_Wx__Menu_InsertItem)
9143 croak_xs_usage(cv, "THIS, pos, item");
9144 PERL_UNUSED_VAR(ax); /* -Wall */
9147 int pos = (int)SvIV(ST(1));
9148 wxMenuItem* item = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::MenuItem" );
9149 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9150 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
9151 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
9152 THIS->Insert( pos, item ) ) );
9154 XPUSHs( THIS->Insert( pos, item ) ? &PL_sv_yes : &PL_sv_no );
9162 XS(XS_Wx__Menu_InsertString); /* prototype to pass -Wmissing-prototypes */
9163 XS(XS_Wx__Menu_InsertString)
9170 if (items < 3 || items > 6)
9171 croak_xs_usage(cv, "THIS, pos, id, item = wxEmptyString, helpString = wxEmptyString, kind = wxITEM_NORMAL");
9172 PERL_UNUSED_VAR(ax); /* -Wall */
9175 int pos = (int)SvIV(ST(1));
9176 int id = (int)SvIV(ST(2));
9178 wxString helpString;
9180 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9183 item = wxEmptyString;
9185 WXSTRING_INPUT( item, wxString, ST(3) );
9189 helpString = wxEmptyString;
9191 WXSTRING_INPUT( helpString, wxString, ST(4) );
9195 kind = wxITEM_NORMAL;
9197 kind = (wxItemKind)SvIV(ST(5));
9199 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
9200 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
9201 THIS->Insert( pos, id, item, helpString, kind ) ) );
9203 THIS->Insert( pos, id, item, helpString, kind );
9211 XS(XS_Wx__Menu_InsertSubMenu); /* prototype to pass -Wmissing-prototypes */
9212 XS(XS_Wx__Menu_InsertSubMenu)
9219 if (items < 5 || items > 6)
9220 croak_xs_usage(cv, "THIS, pos, id, text, submenu, help = wxEmptyString");
9221 PERL_UNUSED_VAR(ax); /* -Wall */
9224 int pos = (int)SvIV(ST(1));
9225 int id = (int)SvIV(ST(2));
9227 wxMenu* submenu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Menu" );
9229 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9231 WXSTRING_INPUT( text, wxString, ST(3) );
9234 help = wxEmptyString;
9236 WXSTRING_INPUT( help, wxString, ST(5) );
9238 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
9239 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
9240 THIS->Insert( pos, id, text, submenu, help ) ) );
9242 THIS->Insert( pos, id, text, submenu, help );
9250 XS(XS_Wx__Menu_InsertCheckItem); /* prototype to pass -Wmissing-prototypes */
9251 XS(XS_Wx__Menu_InsertCheckItem)
9259 croak_xs_usage(cv, "THIS, pos, id, item, helpString");
9260 PERL_UNUSED_VAR(ax); /* -Wall */
9263 size_t pos = (size_t)SvUV( ST(1) );
9264 int id = (int)SvIV(ST(2));
9266 wxString helpString;
9267 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9269 WXSTRING_INPUT( item, wxString, ST(3) );
9271 WXSTRING_INPUT( helpString, wxString, ST(4) );
9272 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
9273 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
9274 THIS->InsertCheckItem( pos, id, item, helpString ) ) );
9276 THIS->InsertCheckItem( pos, id, item, helpString );
9284 XS(XS_Wx__Menu_InsertRadioItem); /* prototype to pass -Wmissing-prototypes */
9285 XS(XS_Wx__Menu_InsertRadioItem)
9293 croak_xs_usage(cv, "THIS, pos, id, item, helpString");
9294 PERL_UNUSED_VAR(ax); /* -Wall */
9297 size_t pos = (size_t)SvUV( ST(1) );
9298 int id = (int)SvIV(ST(2));
9300 wxString helpString;
9301 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9303 WXSTRING_INPUT( item, wxString, ST(3) );
9305 WXSTRING_INPUT( helpString, wxString, ST(4) );
9306 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
9307 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
9308 THIS->InsertRadioItem( pos, id, item, helpString ) ) );
9310 THIS->InsertRadioItem( pos, id, item, helpString );
9318 XS(XS_Wx__Menu_InsertSeparator); /* prototype to pass -Wmissing-prototypes */
9319 XS(XS_Wx__Menu_InsertSeparator)
9327 croak_xs_usage(cv, "THIS, pos");
9328 PERL_UNUSED_VAR(ax); /* -Wall */
9331 size_t pos = (size_t)SvUV( ST(1) );
9332 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9333 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
9334 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
9335 THIS->InsertSeparator( pos ) ) );
9337 THIS->InsertSeparator( pos );
9345 XS(XS_Wx__Menu_IsChecked); /* prototype to pass -Wmissing-prototypes */
9346 XS(XS_Wx__Menu_IsChecked)
9354 croak_xs_usage(cv, "THIS, id");
9356 int id = (int)SvIV(ST(1));
9357 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9360 RETVAL = THIS->IsChecked(id);
9361 ST(0) = boolSV(RETVAL);
9368 XS(XS_Wx__Menu_IsEnabled); /* prototype to pass -Wmissing-prototypes */
9369 XS(XS_Wx__Menu_IsEnabled)
9377 croak_xs_usage(cv, "THIS, id");
9379 int id = (int)SvIV(ST(1));
9380 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9383 RETVAL = THIS->IsEnabled(id);
9384 ST(0) = boolSV(RETVAL);
9391 XS(XS_Wx__Menu_PrependString); /* prototype to pass -Wmissing-prototypes */
9392 XS(XS_Wx__Menu_PrependString)
9399 if (items < 2 || items > 5)
9400 croak_xs_usage(cv, "THIS, id, item = wxEmptyString, help = wxEmptyString, kind = wxITEM_NORMAL");
9401 PERL_UNUSED_VAR(ax); /* -Wall */
9404 int id = (int)SvIV(ST(1));
9408 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9411 item = wxEmptyString;
9413 WXSTRING_INPUT( item, wxString, ST(2) );
9417 help = wxEmptyString;
9419 WXSTRING_INPUT( help, wxString, ST(3) );
9423 kind = wxITEM_NORMAL;
9425 kind = (wxItemKind)SvIV(ST(4));
9427 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
9428 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
9429 THIS->Prepend( id, item, help, kind ) ) );
9431 THIS->Prepend( id, item, help, kind );
9439 XS(XS_Wx__Menu_PrependItem); /* prototype to pass -Wmissing-prototypes */
9440 XS(XS_Wx__Menu_PrependItem)
9448 croak_xs_usage(cv, "THIS, menuItem");
9450 wxMenuItem* menuItem = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::MenuItem" );
9451 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9452 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
9453 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
9454 THIS->Prepend( menuItem ) ) );
9456 THIS->Prepend( menuItem );
9463 XS(XS_Wx__Menu_PrependSubMenu); /* prototype to pass -Wmissing-prototypes */
9464 XS(XS_Wx__Menu_PrependSubMenu)
9471 if (items < 4 || items > 5)
9472 croak_xs_usage(cv, "THIS, id, item, subMenu, helpString = wxEmptyString");
9474 int id = (int)SvIV(ST(1));
9476 wxMenu* subMenu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Menu" );
9477 wxString helpString;
9478 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9480 WXSTRING_INPUT( item, wxString, ST(2) );
9483 helpString = wxEmptyString;
9485 WXSTRING_INPUT( helpString, wxString, ST(4) );
9487 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
9488 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
9489 THIS->Prepend( id, item, subMenu, helpString ) ) );
9491 THIS->Prepend( id, item, subMenu, helpString );
9498 XS(XS_Wx__Menu_PrependCheckItem); /* prototype to pass -Wmissing-prototypes */
9499 XS(XS_Wx__Menu_PrependCheckItem)
9506 if (items < 3 || items > 4)
9507 croak_xs_usage(cv, "THIS, id, item, helpString = wxEmptyString");
9508 PERL_UNUSED_VAR(ax); /* -Wall */
9511 int id = (int)SvIV(ST(1));
9513 wxString helpString;
9514 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9516 WXSTRING_INPUT( item, wxString, ST(2) );
9519 helpString = wxEmptyString;
9521 WXSTRING_INPUT( helpString, wxString, ST(3) );
9523 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
9524 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
9525 THIS->PrependCheckItem( id, item, helpString ) ) );
9527 THIS->PrependCheckItem( id, item, helpString );
9535 XS(XS_Wx__Menu_PrependRadioItem); /* prototype to pass -Wmissing-prototypes */
9536 XS(XS_Wx__Menu_PrependRadioItem)
9543 if (items < 3 || items > 4)
9544 croak_xs_usage(cv, "THIS, id, item, helpString = wxEmptyString");
9545 PERL_UNUSED_VAR(ax); /* -Wall */
9548 int id = (int)SvIV(ST(1));
9550 wxString helpString;
9551 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9553 WXSTRING_INPUT( item, wxString, ST(2) );
9556 helpString = wxEmptyString;
9558 WXSTRING_INPUT( helpString, wxString, ST(3) );
9560 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
9561 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
9562 THIS->PrependRadioItem( id, item, helpString ) ) );
9564 THIS->PrependRadioItem( id, item, helpString );
9572 XS(XS_Wx__Menu_PrependSeparator); /* prototype to pass -Wmissing-prototypes */
9573 XS(XS_Wx__Menu_PrependSeparator)
9581 croak_xs_usage(cv, "THIS");
9582 PERL_UNUSED_VAR(ax); /* -Wall */
9585 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9586 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
9587 XPUSHs( wxPli_object_2_sv( aTHX_ sv_newmortal(),
9588 THIS->PrependSeparator() ) );
9590 THIS->PrependSeparator();
9598 XS(XS_Wx__Menu_RemoveId); /* prototype to pass -Wmissing-prototypes */
9599 XS(XS_Wx__Menu_RemoveId)
9607 croak_xs_usage(cv, "THIS, id");
9609 int id = (int)SvIV(ST(1));
9610 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9611 wxMenuItem * RETVAL;
9612 RETVAL = THIS->Remove( id );
9613 ST(0) = sv_newmortal();
9614 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9621 XS(XS_Wx__Menu_RemoveItem); /* prototype to pass -Wmissing-prototypes */
9622 XS(XS_Wx__Menu_RemoveItem)
9630 croak_xs_usage(cv, "THIS, item");
9632 wxMenuItem* item = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::MenuItem" );
9633 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9634 wxMenuItem * RETVAL;
9635 RETVAL = THIS->Remove( item );
9636 ST(0) = sv_newmortal();
9637 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9644 XS(XS_Wx__Menu_SetHelpString); /* prototype to pass -Wmissing-prototypes */
9645 XS(XS_Wx__Menu_SetHelpString)
9653 croak_xs_usage(cv, "THIS, id, helpString");
9655 int id = (int)SvIV(ST(1));
9656 wxString helpString;
9657 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9659 WXSTRING_INPUT( helpString, wxString, ST(2) );
9661 THIS->SetHelpString(id, helpString);
9667 XS(XS_Wx__Menu_SetLabel); /* prototype to pass -Wmissing-prototypes */
9668 XS(XS_Wx__Menu_SetLabel)
9676 croak_xs_usage(cv, "THIS, id, label");
9678 int id = (int)SvIV(ST(1));
9680 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9682 WXSTRING_INPUT( label, wxString, ST(2) );
9684 THIS->SetLabel(id, label);
9690 XS(XS_Wx__Menu_SetTitle); /* prototype to pass -Wmissing-prototypes */
9691 XS(XS_Wx__Menu_SetTitle)
9699 croak_xs_usage(cv, "THIS, title");
9702 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9704 WXSTRING_INPUT( title, wxString, ST(1) );
9706 THIS->SetTitle(title);
9712 XS(XS_Wx__Menu_UpdateUI); /* prototype to pass -Wmissing-prototypes */
9713 XS(XS_Wx__Menu_UpdateUI)
9720 if (items < 1 || items > 2)
9721 croak_xs_usage(cv, "THIS, source = 0");
9723 wxEvtHandler* source;
9724 wxMenu * THIS = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Menu" );
9729 source = (wxEvtHandler *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::EvtHandler" );
9732 THIS->UpdateUI(source);
9738 XS(XS_Wx__MenuBar_new); /* prototype to pass -Wmissing-prototypes */
9739 XS(XS_Wx__MenuBar_new)
9746 if (items < 1 || items > 2)
9747 croak_xs_usage(cv, "CLASS, style = 0");
9750 char * CLASS = (char *)SvPV_nolen(ST(0));
9756 style = (long)SvIV(ST(1));
9759 RETVAL = new wxMenuBar(style);
9760 ST(0) = sv_newmortal();
9761 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9768 XS(XS_Wx__MenuBar_Append); /* prototype to pass -Wmissing-prototypes */
9769 XS(XS_Wx__MenuBar_Append)
9777 croak_xs_usage(cv, "THIS, menu, title");
9779 wxMenu* menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" );
9781 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
9784 WXSTRING_INPUT( title, wxString, ST(2) );
9786 RETVAL = THIS->Append(menu, title);
9787 ST(0) = boolSV(RETVAL);
9794 XS(XS_Wx__MenuBar_Check); /* prototype to pass -Wmissing-prototypes */
9795 XS(XS_Wx__MenuBar_Check)
9803 croak_xs_usage(cv, "THIS, id, check");
9805 int id = (int)SvIV(ST(1));
9806 bool check = (bool)SvTRUE(ST(2));
9807 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
9809 THIS->Check(id, check);
9815 XS(XS_Wx__MenuBar_Enable); /* prototype to pass -Wmissing-prototypes */
9816 XS(XS_Wx__MenuBar_Enable)
9824 croak_xs_usage(cv, "THIS, id, enable");
9826 int id = (int)SvIV(ST(1));
9827 bool enable = (bool)SvTRUE(ST(2));
9828 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
9830 THIS->Enable(id, enable);
9836 XS(XS_Wx__MenuBar_EnableTop); /* prototype to pass -Wmissing-prototypes */
9837 XS(XS_Wx__MenuBar_EnableTop)
9845 croak_xs_usage(cv, "THIS, pos, enable");
9847 int pos = (int)SvIV(ST(1));
9848 bool enable = (bool)SvTRUE(ST(2));
9849 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
9851 THIS->EnableTop(pos, enable);
9857 XS(XS_Wx__MenuBar_FindItem); /* prototype to pass -Wmissing-prototypes */
9858 XS(XS_Wx__MenuBar_FindItem)
9866 croak_xs_usage(cv, "THIS, id");
9867 PERL_UNUSED_VAR(ax); /* -Wall */
9870 int id = (int)SvIV(ST(1));
9871 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
9875 ret = THIS->FindItem( id, &submenu );
9877 SV* mi = sv_newmortal();
9879 if( GIMME_V == G_ARRAY ) {
9881 SV* sm = sv_newmortal();
9883 PUSHs( wxPli_object_2_sv( aTHX_ mi, ret ) );
9884 PUSHs( wxPli_object_2_sv( aTHX_ sm, submenu ) );
9888 PUSHs( wxPli_object_2_sv( aTHX_ mi, ret ) );
9896 XS(XS_Wx__MenuBar_FindMenu); /* prototype to pass -Wmissing-prototypes */
9897 XS(XS_Wx__MenuBar_FindMenu)
9905 croak_xs_usage(cv, "THIS, title");
9908 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
9912 WXSTRING_INPUT( title, wxString, ST(1) );
9914 RETVAL = THIS->FindMenu(title);
9915 XSprePUSH; PUSHi((IV)RETVAL);
9921 XS(XS_Wx__MenuBar_FindMenuItem); /* prototype to pass -Wmissing-prototypes */
9922 XS(XS_Wx__MenuBar_FindMenuItem)
9930 croak_xs_usage(cv, "THIS, menuString, itemString");
9932 wxString menuString;
9933 wxString itemString;
9934 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
9938 WXSTRING_INPUT( menuString, wxString, ST(1) );
9940 WXSTRING_INPUT( itemString, wxString, ST(2) );
9942 RETVAL = THIS->FindMenuItem(menuString, itemString);
9943 XSprePUSH; PUSHi((IV)RETVAL);
9949 XS(XS_Wx__MenuBar_GetHelpString); /* prototype to pass -Wmissing-prototypes */
9950 XS(XS_Wx__MenuBar_GetHelpString)
9958 croak_xs_usage(cv, "THIS, id");
9960 int id = (int)SvIV(ST(1));
9961 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
9964 RETVAL = THIS->GetHelpString(id);
9965 ST(0) = sv_newmortal();
9966 WXSTRING_OUTPUT( RETVAL, ST(0) );
9973 XS(XS_Wx__MenuBar_GetLabel); /* prototype to pass -Wmissing-prototypes */
9974 XS(XS_Wx__MenuBar_GetLabel)
9982 croak_xs_usage(cv, "THIS, id");
9984 int id = (int)SvIV(ST(1));
9985 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
9988 RETVAL = THIS->GetLabel(id);
9989 ST(0) = sv_newmortal();
9990 WXSTRING_OUTPUT( RETVAL, ST(0) );
9996 #if !WXPERL_W_VERSION_GE( 2, 9, 0 ) || WXWIN_COMPATIBILITY_2_8
9997 #define XSubPPtmpAABW 1
10000 XS(XS_Wx__MenuBar_GetLabelTop); /* prototype to pass -Wmissing-prototypes */
10001 XS(XS_Wx__MenuBar_GetLabelTop)
10009 croak_xs_usage(cv, "THIS, id");
10011 int id = (int)SvIV(ST(1));
10012 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10015 RETVAL = THIS->GetLabelTop(id);
10016 ST(0) = sv_newmortal();
10017 WXSTRING_OUTPUT( RETVAL, ST(0) );
10024 #if WXPERL_W_VERSION_GE( 2, 8, 5 )
10025 #define XSubPPtmpAABX 1
10028 XS(XS_Wx__MenuBar_GetMenuLabel); /* prototype to pass -Wmissing-prototypes */
10029 XS(XS_Wx__MenuBar_GetMenuLabel)
10037 croak_xs_usage(cv, "THIS, id");
10039 int id = (int)SvIV(ST(1));
10040 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10043 RETVAL = THIS->GetMenuLabel(id);
10044 ST(0) = sv_newmortal();
10045 WXSTRING_OUTPUT( RETVAL, ST(0) );
10052 XS(XS_Wx__MenuBar_GetMenuLabelText); /* prototype to pass -Wmissing-prototypes */
10053 XS(XS_Wx__MenuBar_GetMenuLabelText)
10061 croak_xs_usage(cv, "THIS, id");
10063 int id = (int)SvIV(ST(1));
10064 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10067 RETVAL = THIS->GetMenuLabelText(id);
10068 ST(0) = sv_newmortal();
10069 WXSTRING_OUTPUT( RETVAL, ST(0) );
10077 XS(XS_Wx__MenuBar_GetMenu); /* prototype to pass -Wmissing-prototypes */
10078 XS(XS_Wx__MenuBar_GetMenu)
10086 croak_xs_usage(cv, "THIS, index");
10088 int index = (int)SvIV(ST(1));
10089 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10092 RETVAL = THIS->GetMenu(index);
10093 ST(0) = sv_newmortal();
10094 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10101 XS(XS_Wx__MenuBar_GetMenuCount); /* prototype to pass -Wmissing-prototypes */
10102 XS(XS_Wx__MenuBar_GetMenuCount)
10110 croak_xs_usage(cv, "THIS");
10112 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10116 RETVAL = THIS->GetMenuCount();
10117 XSprePUSH; PUSHi((IV)RETVAL);
10123 XS(XS_Wx__MenuBar_Insert); /* prototype to pass -Wmissing-prototypes */
10124 XS(XS_Wx__MenuBar_Insert)
10132 croak_xs_usage(cv, "THIS, pos, menu, title");
10134 int pos = (int)SvIV(ST(1));
10135 wxMenu* menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Menu" );
10137 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10140 WXSTRING_INPUT( title, wxString, ST(3) );
10142 RETVAL = THIS->Insert(pos, menu, title);
10143 ST(0) = boolSV(RETVAL);
10150 XS(XS_Wx__MenuBar_IsChecked); /* prototype to pass -Wmissing-prototypes */
10151 XS(XS_Wx__MenuBar_IsChecked)
10159 croak_xs_usage(cv, "THIS, id");
10161 int id = (int)SvIV(ST(1));
10162 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10165 RETVAL = THIS->IsChecked(id);
10166 ST(0) = boolSV(RETVAL);
10173 XS(XS_Wx__MenuBar_IsEnabled); /* prototype to pass -Wmissing-prototypes */
10174 XS(XS_Wx__MenuBar_IsEnabled)
10182 croak_xs_usage(cv, "THIS, id");
10184 int id = (int)SvIV(ST(1));
10185 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10188 RETVAL = THIS->IsEnabled(id);
10189 ST(0) = boolSV(RETVAL);
10196 XS(XS_Wx__MenuBar_Refresh); /* prototype to pass -Wmissing-prototypes */
10197 XS(XS_Wx__MenuBar_Refresh)
10205 croak_xs_usage(cv, "THIS");
10207 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10215 XS(XS_Wx__MenuBar_Remove); /* prototype to pass -Wmissing-prototypes */
10216 XS(XS_Wx__MenuBar_Remove)
10224 croak_xs_usage(cv, "THIS, pos");
10226 int pos = (int)SvIV(ST(1));
10227 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10230 RETVAL = THIS->Remove(pos);
10231 ST(0) = sv_newmortal();
10232 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10239 XS(XS_Wx__MenuBar_Replace); /* prototype to pass -Wmissing-prototypes */
10240 XS(XS_Wx__MenuBar_Replace)
10248 croak_xs_usage(cv, "THIS, pos, menu, title");
10250 int pos = (int)SvIV(ST(1));
10251 wxMenu* menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Menu" );
10253 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10256 WXSTRING_INPUT( title, wxString, ST(3) );
10258 RETVAL = THIS->Replace(pos, menu, title);
10259 ST(0) = sv_newmortal();
10260 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10267 XS(XS_Wx__MenuBar_SetHelpString); /* prototype to pass -Wmissing-prototypes */
10268 XS(XS_Wx__MenuBar_SetHelpString)
10276 croak_xs_usage(cv, "THIS, id, helpString");
10278 int id = (int)SvIV(ST(1));
10279 wxString helpString;
10280 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10282 WXSTRING_INPUT( helpString, wxString, ST(2) );
10284 THIS->SetHelpString(id, helpString);
10290 XS(XS_Wx__MenuBar_SetLabel); /* prototype to pass -Wmissing-prototypes */
10291 XS(XS_Wx__MenuBar_SetLabel)
10299 croak_xs_usage(cv, "THIS, id, label");
10301 int id = (int)SvIV(ST(1));
10303 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10305 WXSTRING_INPUT( label, wxString, ST(2) );
10307 THIS->SetLabel(id, label);
10312 #if !WXPERL_W_VERSION_GE( 2, 9, 0 ) || WXWIN_COMPATIBILITY_2_8
10313 #define XSubPPtmpAABY 1
10316 XS(XS_Wx__MenuBar_SetLabelTop); /* prototype to pass -Wmissing-prototypes */
10317 XS(XS_Wx__MenuBar_SetLabelTop)
10325 croak_xs_usage(cv, "THIS, pos, label");
10327 int pos = (int)SvIV(ST(1));
10329 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10331 WXSTRING_INPUT( label, wxString, ST(2) );
10333 THIS->SetLabelTop(pos, label);
10339 #if WXPERL_W_VERSION_GE( 2, 8, 5 )
10340 #define XSubPPtmpAABZ 1
10343 XS(XS_Wx__MenuBar_SetMenuLabel); /* prototype to pass -Wmissing-prototypes */
10344 XS(XS_Wx__MenuBar_SetMenuLabel)
10352 croak_xs_usage(cv, "THIS, pos, label");
10354 int pos = (int)SvIV(ST(1));
10356 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10358 WXSTRING_INPUT( label, wxString, ST(2) );
10360 THIS->SetMenuLabel(pos, label);
10367 XS(XS_Wx__MenuBar_IsEnabledTop); /* prototype to pass -Wmissing-prototypes */
10368 XS(XS_Wx__MenuBar_IsEnabledTop)
10376 croak_xs_usage(cv, "THIS, id");
10378 int id = (int)SvIV(ST(1));
10379 wxMenuBar * THIS = (wxMenuBar *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuBar" );
10382 RETVAL = THIS->IsEnabledTop(id);
10383 ST(0) = boolSV(RETVAL);
10390 XS(XS_Wx__MenuItem_new); /* prototype to pass -Wmissing-prototypes */
10391 XS(XS_Wx__MenuItem_new)
10398 if (items < 1 || items > 7)
10399 croak_xs_usage(cv, "CLASS, parentMenu = 0, id = wxID_ANY, text = wxEmptyString, helpString = wxEmptyString, itemType = wxITEM_NORMAL, subMenu = 0");
10401 wxMenu* parentMenu;
10404 wxString helpString;
10405 wxItemKind itemType;
10407 char * CLASS = (char *)SvPV_nolen(ST(0));
10408 wxMenuItem * RETVAL;
10413 parentMenu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" );
10419 id = (int)SvIV(ST(2));
10423 text = wxEmptyString;
10425 WXSTRING_INPUT( text, wxString, ST(3) );
10429 helpString = wxEmptyString;
10431 WXSTRING_INPUT( helpString, wxString, ST(4) );
10435 itemType = wxITEM_NORMAL;
10437 itemType = (wxItemKind)SvIV(ST(5));
10443 subMenu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(6), "Wx::Menu" );
10446 RETVAL = new wxMenuItem(parentMenu, id, text, helpString, itemType, subMenu);
10447 ST(0) = sv_newmortal();
10448 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10455 XS(XS_Wx__MenuItem_Check); /* prototype to pass -Wmissing-prototypes */
10456 XS(XS_Wx__MenuItem_Check)
10464 croak_xs_usage(cv, "THIS, check");
10466 bool check = (bool)SvTRUE(ST(1));
10467 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10469 THIS->Check(check);
10475 XS(XS_Wx__MenuItem_Enable); /* prototype to pass -Wmissing-prototypes */
10476 XS(XS_Wx__MenuItem_Enable)
10484 croak_xs_usage(cv, "THIS, enable");
10486 bool enable = (bool)SvTRUE(ST(1));
10487 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10489 THIS->Enable(enable);
10494 #if defined( __WXMSW__ ) && !defined( __WXWINCE__ )
10495 #define XSubPPtmpAACA 1
10498 XS(XS_Wx__MenuItem_GetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
10499 XS(XS_Wx__MenuItem_GetBackgroundColour)
10507 croak_xs_usage(cv, "THIS");
10509 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10511 RETVAL = new wxColour( THIS->GetBackgroundColour() );
10512 ST(0) = sv_newmortal();
10513 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
10514 wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
10521 XS(XS_Wx__MenuItem_GetFont); /* prototype to pass -Wmissing-prototypes */
10522 XS(XS_Wx__MenuItem_GetFont)
10530 croak_xs_usage(cv, "THIS");
10532 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10534 RETVAL = new wxFont( THIS->GetFont() );
10535 ST(0) = sv_newmortal();
10536 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10537 wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
10544 #if ( defined( __WXMSW__ ) && !defined( __WXWINCE__ ) ) || \
10545 defined( __WXGTK__ )
10546 #define XSubPPtmpAACB 1
10549 XS(XS_Wx__MenuItem_GetBitmap); /* prototype to pass -Wmissing-prototypes */
10550 XS(XS_Wx__MenuItem_GetBitmap)
10558 croak_xs_usage(cv, "THIS");
10560 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10562 RETVAL = new wxBitmap( THIS->GetBitmap() );
10563 ST(0) = sv_newmortal();
10564 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10565 wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
10573 XS(XS_Wx__MenuItem_GetHelp); /* prototype to pass -Wmissing-prototypes */
10574 XS(XS_Wx__MenuItem_GetHelp)
10582 croak_xs_usage(cv, "THIS");
10584 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10587 RETVAL = THIS->GetHelp();
10588 ST(0) = sv_newmortal();
10589 WXSTRING_OUTPUT( RETVAL, ST(0) );
10595 #if WXPERL_W_VERSION_LT( 2, 9, 0 ) && !defined(__WXMSW__)
10596 #define XSubPPtmpAACC 1
10599 XS(XS_Wx__MenuItem_GetName); /* prototype to pass -Wmissing-prototypes */
10600 XS(XS_Wx__MenuItem_GetName)
10608 croak_xs_usage(cv, "THIS");
10610 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10613 RETVAL = THIS->GetName();
10614 ST(0) = sv_newmortal();
10615 WXSTRING_OUTPUT( RETVAL, ST(0) );
10623 XS(XS_Wx__MenuItem_GetId); /* prototype to pass -Wmissing-prototypes */
10624 XS(XS_Wx__MenuItem_GetId)
10632 croak_xs_usage(cv, "THIS");
10634 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10638 RETVAL = THIS->GetId();
10639 XSprePUSH; PUSHi((IV)RETVAL);
10645 XS(XS_Wx__MenuItem_GetKind); /* prototype to pass -Wmissing-prototypes */
10646 XS(XS_Wx__MenuItem_GetKind)
10654 croak_xs_usage(cv, "THIS");
10656 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10660 RETVAL = THIS->GetKind();
10661 XSprePUSH; PUSHi((IV)RETVAL);
10666 #if !WXPERL_W_VERSION_GE( 2, 9, 0 ) || WXWIN_COMPATIBILITY_2_8
10667 #define XSubPPtmpAACD 1
10670 XS(XS_Wx__MenuItem_GetLabel); /* prototype to pass -Wmissing-prototypes */
10671 XS(XS_Wx__MenuItem_GetLabel)
10679 croak_xs_usage(cv, "THIS");
10681 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10684 RETVAL = THIS->GetLabel();
10685 ST(0) = sv_newmortal();
10686 WXSTRING_OUTPUT( RETVAL, ST(0) );
10693 XS(XS_Wx__MenuItem_GetLabelFromText); /* prototype to pass -Wmissing-prototypes */
10694 XS(XS_Wx__MenuItem_GetLabelFromText)
10702 croak_xs_usage(cv, "text");
10707 WXSTRING_INPUT( text, wxString, ST(0) );
10708 RETVAL = wxMenuItem::GetLabelFromText( text );
10709 ST(0) = sv_newmortal();
10710 WXSTRING_OUTPUT( RETVAL, ST(0) );
10717 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
10718 #define XSubPPtmpAACE 1
10721 XS(XS_Wx__MenuItem_GetItemLabel); /* prototype to pass -Wmissing-prototypes */
10722 XS(XS_Wx__MenuItem_GetItemLabel)
10730 croak_xs_usage(cv, "THIS");
10732 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10735 RETVAL = THIS->GetItemLabel();
10736 ST(0) = sv_newmortal();
10737 WXSTRING_OUTPUT( RETVAL, ST(0) );
10744 XS(XS_Wx__MenuItem_GetItemLabelText); /* prototype to pass -Wmissing-prototypes */
10745 XS(XS_Wx__MenuItem_GetItemLabelText)
10753 croak_xs_usage(cv, "THIS");
10755 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10758 RETVAL = THIS->GetItemLabelText();
10759 ST(0) = sv_newmortal();
10760 WXSTRING_OUTPUT( RETVAL, ST(0) );
10767 XS(XS_Wx__MenuItem_GetLabelText); /* prototype to pass -Wmissing-prototypes */
10768 XS(XS_Wx__MenuItem_GetLabelText)
10776 croak_xs_usage(cv, "text");
10781 WXSTRING_INPUT( text, wxString, ST(0) );
10782 RETVAL = wxMenuItem::GetLabelText( text );
10783 ST(0) = sv_newmortal();
10784 WXSTRING_OUTPUT( RETVAL, ST(0) );
10792 XS(XS_Wx__MenuItem_GetMenu); /* prototype to pass -Wmissing-prototypes */
10793 XS(XS_Wx__MenuItem_GetMenu)
10801 croak_xs_usage(cv, "THIS");
10803 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10806 RETVAL = THIS->GetMenu();
10807 ST(0) = sv_newmortal();
10808 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10814 #if defined( __WXMSW__ ) && !defined( __WXWINCE__ )
10815 #define XSubPPtmpAACF 1
10818 XS(XS_Wx__MenuItem_GetMarginWidth); /* prototype to pass -Wmissing-prototypes */
10819 XS(XS_Wx__MenuItem_GetMarginWidth)
10827 croak_xs_usage(cv, "THIS");
10829 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10833 RETVAL = THIS->GetMarginWidth();
10834 XSprePUSH; PUSHi((IV)RETVAL);
10840 #if !WXPERL_W_VERSION_GE( 2, 9, 0 ) || WXWIN_COMPATIBILITY_2_8
10841 #define XSubPPtmpAACG 1
10844 XS(XS_Wx__MenuItem_GetText); /* prototype to pass -Wmissing-prototypes */
10845 XS(XS_Wx__MenuItem_GetText)
10853 croak_xs_usage(cv, "THIS");
10855 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10858 RETVAL = THIS->GetText();
10859 ST(0) = sv_newmortal();
10860 WXSTRING_OUTPUT( RETVAL, ST(0) );
10868 XS(XS_Wx__MenuItem_GetSubMenu); /* prototype to pass -Wmissing-prototypes */
10869 XS(XS_Wx__MenuItem_GetSubMenu)
10877 croak_xs_usage(cv, "THIS");
10879 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10882 RETVAL = THIS->GetSubMenu();
10883 ST(0) = sv_newmortal();
10884 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10890 #if defined( __WXMSW__ ) && !defined( __WXWINCE__ )
10891 #define XSubPPtmpAACH 1
10894 XS(XS_Wx__MenuItem_GetTextColour); /* prototype to pass -Wmissing-prototypes */
10895 XS(XS_Wx__MenuItem_GetTextColour)
10903 croak_xs_usage(cv, "THIS");
10905 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10907 RETVAL = new wxColour( THIS->GetTextColour() );
10908 ST(0) = sv_newmortal();
10909 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
10910 wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
10918 XS(XS_Wx__MenuItem_IsCheckable); /* prototype to pass -Wmissing-prototypes */
10919 XS(XS_Wx__MenuItem_IsCheckable)
10927 croak_xs_usage(cv, "THIS");
10929 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10932 RETVAL = THIS->IsCheckable();
10933 ST(0) = boolSV(RETVAL);
10940 XS(XS_Wx__MenuItem_IsChecked); /* prototype to pass -Wmissing-prototypes */
10941 XS(XS_Wx__MenuItem_IsChecked)
10949 croak_xs_usage(cv, "THIS");
10951 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10954 RETVAL = THIS->IsChecked();
10955 ST(0) = boolSV(RETVAL);
10962 XS(XS_Wx__MenuItem_IsEnabled); /* prototype to pass -Wmissing-prototypes */
10963 XS(XS_Wx__MenuItem_IsEnabled)
10971 croak_xs_usage(cv, "THIS");
10973 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10976 RETVAL = THIS->IsEnabled();
10977 ST(0) = boolSV(RETVAL);
10984 XS(XS_Wx__MenuItem_IsSeparator); /* prototype to pass -Wmissing-prototypes */
10985 XS(XS_Wx__MenuItem_IsSeparator)
10993 croak_xs_usage(cv, "THIS");
10995 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
10998 RETVAL = THIS->IsSeparator();
10999 ST(0) = boolSV(RETVAL);
11006 XS(XS_Wx__MenuItem_IsSubMenu); /* prototype to pass -Wmissing-prototypes */
11007 XS(XS_Wx__MenuItem_IsSubMenu)
11015 croak_xs_usage(cv, "THIS");
11017 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
11020 RETVAL = THIS->IsSubMenu();
11021 ST(0) = boolSV(RETVAL);
11027 #if defined( __WXMSW__ ) && !defined( __WXWINCE__ )
11028 #define XSubPPtmpAACI 1
11031 XS(XS_Wx__MenuItem_SetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
11032 XS(XS_Wx__MenuItem_SetBackgroundColour)
11040 croak_xs_usage(cv, "THIS, colour");
11042 wxColour* colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
11043 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
11044 THIS->SetBackgroundColour( *colour );
11050 XS(XS_Wx__MenuItem_SetFont); /* prototype to pass -Wmissing-prototypes */
11051 XS(XS_Wx__MenuItem_SetFont)
11059 croak_xs_usage(cv, "THIS, font");
11061 wxFont* font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
11062 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
11063 THIS->SetFont( *font );
11070 XS(XS_Wx__MenuItem_SetHelp); /* prototype to pass -Wmissing-prototypes */
11071 XS(XS_Wx__MenuItem_SetHelp)
11079 croak_xs_usage(cv, "THIS, helpString");
11081 wxString helpString;
11082 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
11084 WXSTRING_INPUT( helpString, wxString, ST(1) );
11086 THIS->SetHelp(helpString);
11092 XS(XS_Wx__MenuItem_SetMenu); /* prototype to pass -Wmissing-prototypes */
11093 XS(XS_Wx__MenuItem_SetMenu)
11101 croak_xs_usage(cv, "THIS, menu");
11103 wxMenu* menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" );
11104 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
11106 THIS->SetMenu(menu);
11112 XS(XS_Wx__MenuItem_SetSubMenu); /* prototype to pass -Wmissing-prototypes */
11113 XS(XS_Wx__MenuItem_SetSubMenu)
11121 croak_xs_usage(cv, "THIS, menu");
11123 wxMenu* menu = (wxMenu *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Menu" );
11124 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
11126 THIS->SetSubMenu(menu);
11131 #if !WXPERL_W_VERSION_GE( 2, 9, 0 ) || WXWIN_COMPATIBILITY_2_8
11132 #define XSubPPtmpAACJ 1
11135 XS(XS_Wx__MenuItem_SetText); /* prototype to pass -Wmissing-prototypes */
11136 XS(XS_Wx__MenuItem_SetText)
11144 croak_xs_usage(cv, "THIS, text");
11147 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
11149 WXSTRING_INPUT( text, wxString, ST(1) );
11151 THIS->SetText(text);
11157 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
11158 #define XSubPPtmpAACK 1
11161 XS(XS_Wx__MenuItem_SetItemLabel); /* prototype to pass -Wmissing-prototypes */
11162 XS(XS_Wx__MenuItem_SetItemLabel)
11170 croak_xs_usage(cv, "THIS, label");
11173 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
11175 WXSTRING_INPUT( label, wxString, ST(1) );
11177 THIS->SetItemLabel(label);
11183 #if defined( __WXMSW__ ) && !defined( __WXWINCE__ )
11184 #define XSubPPtmpAACL 1
11187 XS(XS_Wx__MenuItem_SetMarginWidth); /* prototype to pass -Wmissing-prototypes */
11188 XS(XS_Wx__MenuItem_SetMarginWidth)
11196 croak_xs_usage(cv, "THIS, width");
11198 int width = (int)SvIV(ST(1));
11199 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
11201 THIS->SetMarginWidth(width);
11207 XS(XS_Wx__MenuItem_SetTextColour); /* prototype to pass -Wmissing-prototypes */
11208 XS(XS_Wx__MenuItem_SetTextColour)
11216 croak_xs_usage(cv, "THIS, colour");
11218 wxColour* colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
11219 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
11220 THIS->SetTextColour( *colour );
11226 XS(XS_Wx__MenuItem_SetBitmaps); /* prototype to pass -Wmissing-prototypes */
11227 XS(XS_Wx__MenuItem_SetBitmaps)
11234 if (items < 2 || items > 3)
11235 croak_xs_usage(cv, "THIS, checked, unchecked = (wxBitmap*)&wxNullBitmap");
11237 wxBitmap* checked = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
11238 wxBitmap* unchecked;
11239 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
11242 unchecked = (wxBitmap*)&wxNullBitmap;
11244 unchecked = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Bitmap" );
11246 THIS->SetBitmaps( *checked, *unchecked );
11252 #if ( defined( __WXMSW__ ) && !defined( __WXWINCE__ ) ) || \
11253 defined( __WXGTK__ )
11254 #define XSubPPtmpAACM 1
11257 XS(XS_Wx__MenuItem_SetBitmap); /* prototype to pass -Wmissing-prototypes */
11258 XS(XS_Wx__MenuItem_SetBitmap)
11266 croak_xs_usage(cv, "THIS, bitmap");
11268 wxBitmap* bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
11269 wxMenuItem * THIS = (wxMenuItem *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MenuItem" );
11270 THIS->SetBitmap( *bitmap );
11277 /* INCLUDE: Returning to 'XS/Geom.xs' from 'XS/Menu.xs' */
11280 XS(XS_Wx__Size_new); /* prototype to pass -Wmissing-prototypes */
11281 XS(XS_Wx__Size_new)
11288 if (items < 1 || items > 3)
11289 croak_xs_usage(cv, "CLASS, width = 0, height = 0");
11293 char * CLASS = (char *)SvPV_nolen(ST(0));
11299 width = (int)SvIV(ST(1));
11305 height = (int)SvIV(ST(2));
11308 RETVAL = new wxSize(width, height);
11309 ST(0) = sv_newmortal();
11310 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
11311 wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
11318 XS(XS_Wx__Size_CLONE); /* prototype to pass -Wmissing-prototypes */
11319 XS(XS_Wx__Size_CLONE)
11327 croak_xs_usage(cv, "CLASS");
11329 char * CLASS = (char *)SvPV_nolen(ST(0));
11330 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
11336 XS(XS_Wx__Size_DESTROY); /* prototype to pass -Wmissing-prototypes */
11337 XS(XS_Wx__Size_DESTROY)
11345 croak_xs_usage(cv, "THIS");
11347 wxSize * THIS = (wxSize *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Size" );
11348 wxPli_thread_sv_unregister( aTHX_ "Wx::Size", THIS, ST(0) );
11355 XS(XS_Wx__Size_width); /* prototype to pass -Wmissing-prototypes */
11356 XS(XS_Wx__Size_width)
11364 croak_xs_usage(cv, "THIS, ...");
11366 wxSize * THIS = (wxSize *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Size" );
11370 THIS->x = SvIV( ST(1) );
11372 XSprePUSH; PUSHi((IV)RETVAL);
11378 XS(XS_Wx__Size_height); /* prototype to pass -Wmissing-prototypes */
11379 XS(XS_Wx__Size_height)
11387 croak_xs_usage(cv, "THIS, ...");
11389 wxSize * THIS = (wxSize *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Size" );
11393 THIS->y = SvIV( ST(1) );
11395 XSprePUSH; PUSHi((IV)RETVAL);
11401 XS(XS_Wx__Size_GetHeight); /* prototype to pass -Wmissing-prototypes */
11402 XS(XS_Wx__Size_GetHeight)
11410 croak_xs_usage(cv, "THIS");
11412 wxSize * THIS = (wxSize *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Size" );
11416 RETVAL = THIS->GetHeight();
11417 XSprePUSH; PUSHi((IV)RETVAL);
11423 XS(XS_Wx__Size_GetWidth); /* prototype to pass -Wmissing-prototypes */
11424 XS(XS_Wx__Size_GetWidth)
11432 croak_xs_usage(cv, "THIS");
11434 wxSize * THIS = (wxSize *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Size" );
11438 RETVAL = THIS->GetWidth();
11439 XSprePUSH; PUSHi((IV)RETVAL);
11445 XS(XS_Wx__Size_Set); /* prototype to pass -Wmissing-prototypes */
11446 XS(XS_Wx__Size_Set)
11454 croak_xs_usage(cv, "THIS, width, height");
11456 int width = (int)SvIV(ST(1));
11457 int height = (int)SvIV(ST(2));
11458 wxSize * THIS = (wxSize *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Size" );
11460 THIS->Set(width, height);
11466 XS(XS_Wx__Size_SetHeight); /* prototype to pass -Wmissing-prototypes */
11467 XS(XS_Wx__Size_SetHeight)
11475 croak_xs_usage(cv, "THIS, height");
11477 int height = (int)SvIV(ST(1));
11478 wxSize * THIS = (wxSize *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Size" );
11480 THIS->SetHeight(height);
11486 XS(XS_Wx__Size_SetWidth); /* prototype to pass -Wmissing-prototypes */
11487 XS(XS_Wx__Size_SetWidth)
11495 croak_xs_usage(cv, "THIS, width");
11497 int width = (int)SvIV(ST(1));
11498 wxSize * THIS = (wxSize *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Size" );
11500 THIS->SetWidth(width);
11506 XS(XS_Wx__Size_IncTo); /* prototype to pass -Wmissing-prototypes */
11507 XS(XS_Wx__Size_IncTo)
11515 croak_xs_usage(cv, "THIS, size");
11517 wxSize size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
11518 wxSize * THIS = (wxSize *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Size" );
11526 XS(XS_Wx__Size_DecTo); /* prototype to pass -Wmissing-prototypes */
11527 XS(XS_Wx__Size_DecTo)
11535 croak_xs_usage(cv, "THIS, size");
11537 wxSize size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
11538 wxSize * THIS = (wxSize *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Size" );
11545 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
11546 #define XSubPPtmpAACN 1
11549 XS(XS_Wx__Size_Scale); /* prototype to pass -Wmissing-prototypes */
11550 XS(XS_Wx__Size_Scale)
11558 croak_xs_usage(cv, "THIS, xscale, yscale");
11560 float xscale = (float)SvNV(ST(1));
11561 float yscale = (float)SvNV(ST(2));
11562 wxSize * THIS = (wxSize *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Size" );
11564 THIS->Scale( xscale, yscale );
11574 XS(XS_Wx__Size_IsFullySpecified); /* prototype to pass -Wmissing-prototypes */
11575 XS(XS_Wx__Size_IsFullySpecified)
11583 croak_xs_usage(cv, "THIS");
11585 wxSize * THIS = (wxSize *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Size" );
11588 RETVAL = THIS->IsFullySpecified();
11589 ST(0) = boolSV(RETVAL);
11596 XS(XS_Wx__Size_SetDefaults); /* prototype to pass -Wmissing-prototypes */
11597 XS(XS_Wx__Size_SetDefaults)
11605 croak_xs_usage(cv, "THIS, size");
11607 wxSize size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
11608 wxSize * THIS = (wxSize *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Size" );
11610 THIS->SetDefaults(size);
11616 XS(XS_Wx__Point_new); /* prototype to pass -Wmissing-prototypes */
11617 XS(XS_Wx__Point_new)
11624 if (items < 1 || items > 3)
11625 croak_xs_usage(cv, "CLASS, x = 0, y = 0");
11629 char * CLASS = (char *)SvPV_nolen(ST(0));
11635 x = (int)SvIV(ST(1));
11641 y = (int)SvIV(ST(2));
11644 RETVAL = new wxPoint(x, y);
11645 ST(0) = sv_newmortal();
11646 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
11647 wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
11654 XS(XS_Wx__Point_CLONE); /* prototype to pass -Wmissing-prototypes */
11655 XS(XS_Wx__Point_CLONE)
11663 croak_xs_usage(cv, "CLASS");
11665 char * CLASS = (char *)SvPV_nolen(ST(0));
11666 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
11672 XS(XS_Wx__Point_DESTROY); /* prototype to pass -Wmissing-prototypes */
11673 XS(XS_Wx__Point_DESTROY)
11681 croak_xs_usage(cv, "THIS");
11683 wxPoint * THIS = (wxPoint *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Point" );
11684 wxPli_thread_sv_unregister( aTHX_ "Wx::Point", THIS, ST(0) );
11691 XS(XS_Wx__Point_x); /* prototype to pass -Wmissing-prototypes */
11700 croak_xs_usage(cv, "THIS, ...");
11702 wxPoint * THIS = (wxPoint *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Point" );
11706 THIS->x = SvIV( ST(1) );
11708 XSprePUSH; PUSHi((IV)RETVAL);
11714 XS(XS_Wx__Point_y); /* prototype to pass -Wmissing-prototypes */
11723 croak_xs_usage(cv, "THIS, ...");
11725 wxPoint * THIS = (wxPoint *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Point" );
11729 THIS->y = SvIV( ST(1) );
11731 XSprePUSH; PUSHi((IV)RETVAL);
11737 XS(XS_Wx__Rect_new); /* prototype to pass -Wmissing-prototypes */
11738 XS(XS_Wx__Rect_new)
11746 croak_xs_usage(cv, "CLASS, ...");
11747 PERL_UNUSED_VAR(ax); /* -Wall */
11750 char * CLASS = (char *)SvPV_nolen(ST(0));
11752 MATCH_REDISP( wxPliOvl_n_n_n_n, newXYWH )
11753 MATCH_REDISP( wxPliOvl_wpoi_wsiz, newPS )
11754 MATCH_REDISP( wxPliOvl_wpoi_wpoi, newPP )
11755 END_OVERLOAD( Wx::Rect::new )
11762 XS(XS_Wx__Rect_newXYWH); /* prototype to pass -Wmissing-prototypes */
11763 XS(XS_Wx__Rect_newXYWH)
11771 croak_xs_usage(cv, "CLASS, x, y, width, height");
11774 int x = (int)SvIV(ST(1));
11775 int y = (int)SvIV(ST(2));
11776 int width = (int)SvIV(ST(3));
11777 int height = (int)SvIV(ST(4));
11779 RETVAL = new wxRect( x, y, width, height );
11780 ST(0) = sv_newmortal();
11781 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
11782 wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
11789 XS(XS_Wx__Rect_newPP); /* prototype to pass -Wmissing-prototypes */
11790 XS(XS_Wx__Rect_newPP)
11798 croak_xs_usage(cv, "CLASS, tl, br");
11801 wxPoint tl = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
11802 wxPoint br = wxPli_sv_2_wxpoint( aTHX_ ST(2) );
11804 RETVAL = new wxRect( tl, br );
11805 ST(0) = sv_newmortal();
11806 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
11807 wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
11814 XS(XS_Wx__Rect_newPS); /* prototype to pass -Wmissing-prototypes */
11815 XS(XS_Wx__Rect_newPS)
11823 croak_xs_usage(cv, "CLASS, pos, size");
11826 wxPoint pos = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
11827 wxSize size = wxPli_sv_2_wxsize( aTHX_ ST(2) );
11829 RETVAL = new wxRect( pos, size );
11830 ST(0) = sv_newmortal();
11831 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
11832 wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
11839 XS(XS_Wx__Rect_CLONE); /* prototype to pass -Wmissing-prototypes */
11840 XS(XS_Wx__Rect_CLONE)
11848 croak_xs_usage(cv, "CLASS");
11850 char * CLASS = (char *)SvPV_nolen(ST(0));
11851 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
11857 XS(XS_Wx__Rect_DESTROY); /* prototype to pass -Wmissing-prototypes */
11858 XS(XS_Wx__Rect_DESTROY)
11866 croak_xs_usage(cv, "THIS");
11868 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
11869 wxPli_thread_sv_unregister( aTHX_ "Wx::Rect", THIS, ST(0) );
11876 XS(XS_Wx__Rect_x); /* prototype to pass -Wmissing-prototypes */
11885 croak_xs_usage(cv, "THIS, ...");
11887 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
11891 THIS->x = SvIV( ST(1) );
11893 XSprePUSH; PUSHi((IV)RETVAL);
11899 XS(XS_Wx__Rect_y); /* prototype to pass -Wmissing-prototypes */
11908 croak_xs_usage(cv, "THIS, ...");
11910 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
11914 THIS->y = SvIV( ST(1) );
11916 XSprePUSH; PUSHi((IV)RETVAL);
11922 XS(XS_Wx__Rect_width); /* prototype to pass -Wmissing-prototypes */
11923 XS(XS_Wx__Rect_width)
11931 croak_xs_usage(cv, "THIS, ...");
11933 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
11937 THIS->width = SvIV( ST(1) );
11938 RETVAL = THIS->width;
11939 XSprePUSH; PUSHi((IV)RETVAL);
11945 XS(XS_Wx__Rect_height); /* prototype to pass -Wmissing-prototypes */
11946 XS(XS_Wx__Rect_height)
11954 croak_xs_usage(cv, "THIS, ...");
11956 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
11960 THIS->height = SvIV( ST(1) );
11961 RETVAL = THIS->height;
11962 XSprePUSH; PUSHi((IV)RETVAL);
11968 XS(XS_Wx__Rect_GetBottom); /* prototype to pass -Wmissing-prototypes */
11969 XS(XS_Wx__Rect_GetBottom)
11977 croak_xs_usage(cv, "THIS");
11979 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
11983 RETVAL = THIS->GetBottom();
11984 XSprePUSH; PUSHi((IV)RETVAL);
11990 XS(XS_Wx__Rect_GetHeight); /* prototype to pass -Wmissing-prototypes */
11991 XS(XS_Wx__Rect_GetHeight)
11999 croak_xs_usage(cv, "THIS");
12001 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12005 RETVAL = THIS->GetHeight();
12006 XSprePUSH; PUSHi((IV)RETVAL);
12012 XS(XS_Wx__Rect_GetLeft); /* prototype to pass -Wmissing-prototypes */
12013 XS(XS_Wx__Rect_GetLeft)
12021 croak_xs_usage(cv, "THIS");
12023 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12027 RETVAL = THIS->GetLeft();
12028 XSprePUSH; PUSHi((IV)RETVAL);
12034 XS(XS_Wx__Rect_GetPosition); /* prototype to pass -Wmissing-prototypes */
12035 XS(XS_Wx__Rect_GetPosition)
12043 croak_xs_usage(cv, "THIS");
12045 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12047 RETVAL = new wxPoint( THIS->GetPosition() );
12048 ST(0) = sv_newmortal();
12049 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
12050 wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
12057 XS(XS_Wx__Rect_GetTopLeft); /* prototype to pass -Wmissing-prototypes */
12058 XS(XS_Wx__Rect_GetTopLeft)
12066 croak_xs_usage(cv, "THIS");
12068 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12070 RETVAL = new wxPoint( THIS->GetTopLeft() );
12071 ST(0) = sv_newmortal();
12072 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
12073 wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
12080 XS(XS_Wx__Rect_GetBottomRight); /* prototype to pass -Wmissing-prototypes */
12081 XS(XS_Wx__Rect_GetBottomRight)
12089 croak_xs_usage(cv, "THIS");
12091 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12093 RETVAL = new wxPoint( THIS->GetBottomRight() );
12094 ST(0) = sv_newmortal();
12095 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
12096 wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
12102 #if WXPERL_W_VERSION_GE( 2, 8, 0 )
12103 #define XSubPPtmpAACO 1
12106 XS(XS_Wx__Rect_GetBottomLeft); /* prototype to pass -Wmissing-prototypes */
12107 XS(XS_Wx__Rect_GetBottomLeft)
12115 croak_xs_usage(cv, "THIS");
12117 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12119 RETVAL = new wxPoint( THIS->GetBottomLeft() );
12120 ST(0) = sv_newmortal();
12121 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
12122 wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
12129 XS(XS_Wx__Rect_GetTopRight); /* prototype to pass -Wmissing-prototypes */
12130 XS(XS_Wx__Rect_GetTopRight)
12138 croak_xs_usage(cv, "THIS");
12140 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12142 RETVAL = new wxPoint( THIS->GetTopRight() );
12143 ST(0) = sv_newmortal();
12144 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
12145 wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
12152 XS(XS_Wx__Rect_IsEmpty); /* prototype to pass -Wmissing-prototypes */
12153 XS(XS_Wx__Rect_IsEmpty)
12161 croak_xs_usage(cv, "THIS");
12163 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12166 RETVAL = THIS->IsEmpty();
12167 ST(0) = boolSV(RETVAL);
12174 XS(XS_Wx__Rect_Union); /* prototype to pass -Wmissing-prototypes */
12175 XS(XS_Wx__Rect_Union)
12183 croak_xs_usage(cv, "THIS, rec");
12185 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12187 wxRect* rec = (wxRect *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Rect" );
12188 RETVAL = new wxRect( THIS->Union( *rec ) );
12189 ST(0) = sv_newmortal();
12190 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
12191 wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
12199 XS(XS_Wx__Rect_GetRight); /* prototype to pass -Wmissing-prototypes */
12200 XS(XS_Wx__Rect_GetRight)
12208 croak_xs_usage(cv, "THIS");
12210 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12214 RETVAL = THIS->GetRight();
12215 XSprePUSH; PUSHi((IV)RETVAL);
12221 XS(XS_Wx__Rect_GetSize); /* prototype to pass -Wmissing-prototypes */
12222 XS(XS_Wx__Rect_GetSize)
12230 croak_xs_usage(cv, "THIS");
12232 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12234 RETVAL = new wxSize( THIS->GetSize() );
12235 ST(0) = sv_newmortal();
12236 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
12237 wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
12244 XS(XS_Wx__Rect_GetTop); /* prototype to pass -Wmissing-prototypes */
12245 XS(XS_Wx__Rect_GetTop)
12253 croak_xs_usage(cv, "THIS");
12255 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12259 RETVAL = THIS->GetTop();
12260 XSprePUSH; PUSHi((IV)RETVAL);
12266 XS(XS_Wx__Rect_GetWidth); /* prototype to pass -Wmissing-prototypes */
12267 XS(XS_Wx__Rect_GetWidth)
12275 croak_xs_usage(cv, "THIS");
12277 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12281 RETVAL = THIS->GetWidth();
12282 XSprePUSH; PUSHi((IV)RETVAL);
12288 XS(XS_Wx__Rect_GetX); /* prototype to pass -Wmissing-prototypes */
12289 XS(XS_Wx__Rect_GetX)
12297 croak_xs_usage(cv, "THIS");
12299 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12303 RETVAL = THIS->GetX();
12304 XSprePUSH; PUSHi((IV)RETVAL);
12310 XS(XS_Wx__Rect_GetY); /* prototype to pass -Wmissing-prototypes */
12311 XS(XS_Wx__Rect_GetY)
12319 croak_xs_usage(cv, "THIS");
12321 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12325 RETVAL = THIS->GetY();
12326 XSprePUSH; PUSHi((IV)RETVAL);
12332 XS(XS_Wx__Rect_Deflate); /* prototype to pass -Wmissing-prototypes */
12333 XS(XS_Wx__Rect_Deflate)
12341 croak_xs_usage(cv, "THIS, x, y");
12343 wxCoord x = (wxCoord)SvIV(ST(1));
12345 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12350 THIS->Deflate( x, y );
12356 XS(XS_Wx__Rect_Inflate); /* prototype to pass -Wmissing-prototypes */
12357 XS(XS_Wx__Rect_Inflate)
12365 croak_xs_usage(cv, "THIS, x, y");
12367 wxCoord x = (wxCoord)SvIV(ST(1));
12369 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12374 THIS->Inflate( x, y );
12380 XS(XS_Wx__Rect_Intersect); /* prototype to pass -Wmissing-prototypes */
12381 XS(XS_Wx__Rect_Intersect)
12389 croak_xs_usage(cv, "THIS, rect");
12391 wxRect* rect = (wxRect *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Rect" );
12392 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12394 RETVAL = new wxRect( THIS->Intersect( *rect ) );
12395 ST(0) = sv_newmortal();
12396 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
12397 wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
12404 XS(XS_Wx__Rect_Intersects); /* prototype to pass -Wmissing-prototypes */
12405 XS(XS_Wx__Rect_Intersects)
12413 croak_xs_usage(cv, "THIS, rec");
12415 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12417 wxRect* rec = (wxRect *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Rect" );
12418 RETVAL = THIS->Intersects( *rec );
12419 ST(0) = boolSV(RETVAL);
12426 XS(XS_Wx__Rect_SetHeight); /* prototype to pass -Wmissing-prototypes */
12427 XS(XS_Wx__Rect_SetHeight)
12435 croak_xs_usage(cv, "THIS, height");
12437 int height = (int)SvIV(ST(1));
12438 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12440 THIS->SetHeight(height);
12446 XS(XS_Wx__Rect_SetWidth); /* prototype to pass -Wmissing-prototypes */
12447 XS(XS_Wx__Rect_SetWidth)
12455 croak_xs_usage(cv, "THIS, width");
12457 int width = (int)SvIV(ST(1));
12458 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12460 THIS->SetWidth(width);
12466 XS(XS_Wx__Rect_SetX); /* prototype to pass -Wmissing-prototypes */
12467 XS(XS_Wx__Rect_SetX)
12475 croak_xs_usage(cv, "THIS, x");
12477 int x = (int)SvIV(ST(1));
12478 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12486 XS(XS_Wx__Rect_SetY); /* prototype to pass -Wmissing-prototypes */
12487 XS(XS_Wx__Rect_SetY)
12495 croak_xs_usage(cv, "THIS, y");
12497 int y = (int)SvIV(ST(1));
12498 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12506 XS(XS_Wx__Rect_SetPosition); /* prototype to pass -Wmissing-prototypes */
12507 XS(XS_Wx__Rect_SetPosition)
12515 croak_xs_usage(cv, "THIS, pos");
12517 wxPoint pos = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
12518 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12520 THIS->SetPosition(pos);
12526 XS(XS_Wx__Rect_SetSize); /* prototype to pass -Wmissing-prototypes */
12527 XS(XS_Wx__Rect_SetSize)
12535 croak_xs_usage(cv, "THIS, size");
12537 wxSize size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
12538 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12540 THIS->SetSize(size);
12546 XS(XS_Wx__Rect_Offset); /* prototype to pass -Wmissing-prototypes */
12547 XS(XS_Wx__Rect_Offset)
12555 croak_xs_usage(cv, "THIS, x, y");
12557 wxCoord x = (wxCoord)SvIV(ST(1));
12558 wxCoord y = (wxCoord)SvIV(ST(2));
12559 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12560 THIS->Offset( x, y);
12566 XS(XS_Wx__Rect_Contains); /* prototype to pass -Wmissing-prototypes */
12567 XS(XS_Wx__Rect_Contains)
12575 croak_xs_usage(cv, "THIS, ...");
12576 PERL_UNUSED_VAR(ax); /* -Wall */
12579 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12581 MATCH_REDISP( wxPliOvl_n_n, ContainsXY )
12582 MATCH_REDISP( wxPliOvl_wpoi, ContainsPoint )
12583 MATCH_REDISP( wxPliOvl_wrec, ContainsRect )
12584 END_OVERLOAD( Wx::Rect::Contains )
12591 XS(XS_Wx__Rect_Inside); /* prototype to pass -Wmissing-prototypes */
12592 XS(XS_Wx__Rect_Inside)
12600 croak_xs_usage(cv, "THIS, ...");
12601 PERL_UNUSED_VAR(ax); /* -Wall */
12604 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12606 MATCH_REDISP( wxPliOvl_n_n, ContainsXY )
12607 MATCH_REDISP( wxPliOvl_wpoi, ContainsPoint )
12608 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
12609 MATCH_REDISP( wxPliOvl_wrec, ContainsRect )
12611 END_OVERLOAD( Wx::Rect::Inside )
12618 XS(XS_Wx__Rect_ContainsXY); /* prototype to pass -Wmissing-prototypes */
12619 XS(XS_Wx__Rect_ContainsXY)
12627 croak_xs_usage(cv, "THIS, x, y");
12629 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12631 int x = (int)SvIV(ST(1));
12632 int y = (int)SvIV(ST(2));
12633 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
12634 RETVAL = THIS->Contains( x, y );
12636 RETVAL = THIS->Inside( x, y );
12638 ST(0) = boolSV(RETVAL);
12645 XS(XS_Wx__Rect_ContainsPoint); /* prototype to pass -Wmissing-prototypes */
12646 XS(XS_Wx__Rect_ContainsPoint)
12654 croak_xs_usage(cv, "THIS, pt");
12656 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12658 wxPoint pt = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
12659 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
12660 RETVAL = THIS->Contains( pt );
12662 RETVAL = THIS->Inside( pt );
12664 ST(0) = boolSV(RETVAL);
12670 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
12671 #define XSubPPtmpAACP 1
12674 XS(XS_Wx__Rect_ContainsRect); /* prototype to pass -Wmissing-prototypes */
12675 XS(XS_Wx__Rect_ContainsRect)
12683 croak_xs_usage(cv, "THIS, rec");
12685 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12687 wxRect* rec = (wxRect *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Rect" );
12688 RETVAL = THIS->Contains( *rec );
12689 ST(0) = boolSV(RETVAL);
12696 XS(XS_Wx__Rect_CentreIn); /* prototype to pass -Wmissing-prototypes */
12697 XS(XS_Wx__Rect_CentreIn)
12704 if (items < 2 || items > 3)
12705 croak_xs_usage(cv, "THIS, rec, dir= wxBOTH");
12707 wxRect * THIS = (wxRect *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Rect" );
12709 wxRect* rec = (wxRect *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Rect" );
12715 dir = (int)SvIV(ST(2));
12717 RETVAL = new wxRect( THIS->CentreIn( *rec, dir ) );
12718 ST(0) = sv_newmortal();
12719 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
12720 wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
12728 XS(XS_Wx__Region_newEmpty); /* prototype to pass -Wmissing-prototypes */
12729 XS(XS_Wx__Region_newEmpty)
12737 croak_xs_usage(cv, "CLASS");
12741 RETVAL = new wxRegion();
12742 ST(0) = sv_newmortal();
12743 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
12744 wxPli_thread_sv_register( aTHX_ "Wx::Region", RETVAL, ST(0) );
12751 XS(XS_Wx__Region_newXYWH); /* prototype to pass -Wmissing-prototypes */
12752 XS(XS_Wx__Region_newXYWH)
12760 croak_xs_usage(cv, "CLASS, x, y, width, height");
12763 wxCoord x = (wxCoord)SvIV(ST(1));
12764 wxCoord y = (wxCoord)SvIV(ST(2));
12765 wxCoord width = (wxCoord)SvIV(ST(3));
12766 wxCoord height = (wxCoord)SvIV(ST(4));
12768 RETVAL = new wxRegion( x, y, width, height );
12769 ST(0) = sv_newmortal();
12770 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
12771 wxPli_thread_sv_register( aTHX_ "Wx::Region", RETVAL, ST(0) );
12778 XS(XS_Wx__Region_newPP); /* prototype to pass -Wmissing-prototypes */
12779 XS(XS_Wx__Region_newPP)
12787 croak_xs_usage(cv, "CLASS, topLeft, bottomRight");
12790 wxPoint topLeft = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
12791 wxPoint bottomRight = wxPli_sv_2_wxpoint( aTHX_ ST(2) );
12793 RETVAL = new wxRegion( topLeft, bottomRight );
12794 ST(0) = sv_newmortal();
12795 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
12796 wxPli_thread_sv_register( aTHX_ "Wx::Region", RETVAL, ST(0) );
12803 XS(XS_Wx__Region_newRect); /* prototype to pass -Wmissing-prototypes */
12804 XS(XS_Wx__Region_newRect)
12812 croak_xs_usage(cv, "CLASS, rect");
12815 wxRect* rect = (wxRect *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Rect" );
12817 RETVAL = new wxRegion( *rect );
12818 ST(0) = sv_newmortal();
12819 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
12820 wxPli_thread_sv_register( aTHX_ "Wx::Region", RETVAL, ST(0) );
12826 #if !defined( __WXMAC__ ) && !defined( __WXMOTIF__ )
12827 #define XSubPPtmpAACQ 1
12830 XS(XS_Wx__Region_newPolygon); /* prototype to pass -Wmissing-prototypes */
12831 XS(XS_Wx__Region_newPolygon)
12838 if (items < 2 || items > 3)
12839 croak_xs_usage(cv, "CLASS, list, fillStyle = wxODDEVEN_RULE");
12843 wxPolygonFillMode fillStyle;
12849 fillStyle = wxODDEVEN_RULE;
12851 fillStyle = (wxPolygonFillMode)SvIV(ST(2));
12853 n = wxPli_av_2_pointarray( aTHX_ list, &points );
12854 RETVAL = new wxRegion( n, points, fillStyle );
12856 ST(0) = sv_newmortal();
12857 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
12858 wxPli_thread_sv_register( aTHX_ "Wx::Region", RETVAL, ST(0) );
12865 #if !defined( __WXOSX_COCOA__ )
12866 #define XSubPPtmpAACR 1
12869 XS(XS_Wx__Region_newBitmap); /* prototype to pass -Wmissing-prototypes */
12870 XS(XS_Wx__Region_newBitmap)
12877 if (items < 3 || items > 4)
12878 croak_xs_usage(cv, "CLASS, bitmap, colour, tolerance = 0");
12881 wxBitmap* bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
12882 wxColour colour = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" );
12889 tolerance = (int)SvIV(ST(3));
12891 RETVAL = new wxRegion( *bitmap, colour, tolerance );
12892 ST(0) = sv_newmortal();
12893 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
12894 wxPli_thread_sv_register( aTHX_ "Wx::Region", RETVAL, ST(0) );
12901 XS(XS_Wx__Region_newBitmapOnly); /* prototype to pass -Wmissing-prototypes */
12902 XS(XS_Wx__Region_newBitmapOnly)
12910 croak_xs_usage(cv, "CLASS, bitmap");
12913 wxBitmap* bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
12915 RETVAL = new wxRegion( *bitmap );
12916 ST(0) = sv_newmortal();
12917 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
12918 wxPli_thread_sv_register( aTHX_ "Wx::Region", RETVAL, ST(0) );
12926 XS(XS_Wx__Region_new); /* prototype to pass -Wmissing-prototypes */
12927 XS(XS_Wx__Region_new)
12935 croak_xs_usage(cv, "CLASS, ...");
12936 PERL_UNUSED_VAR(ax); /* -Wall */
12939 char * CLASS = (char *)SvPV_nolen(ST(0));
12941 MATCH_VOIDM_REDISP( newEmpty )
12942 MATCH_REDISP( wxPliOvl_n_n_n_n, newXYWH )
12943 MATCH_REDISP( wxPliOvl_wpoi_wpoi, newPP )
12944 MATCH_REDISP( wxPliOvl_wrec, newRect )
12945 MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wbmp_wcol_n, newBitmap, 2 )
12946 MATCH_REDISP( wxPliOvl_wbmp, newBitmapOnly )
12947 MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_arr, newPolygon, 1 )
12948 END_OVERLOAD( Wx::Region::new )
12955 XS(XS_Wx__Region_CLONE); /* prototype to pass -Wmissing-prototypes */
12956 XS(XS_Wx__Region_CLONE)
12964 croak_xs_usage(cv, "CLASS");
12966 char * CLASS = (char *)SvPV_nolen(ST(0));
12967 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
12973 XS(XS_Wx__Region_DESTROY); /* prototype to pass -Wmissing-prototypes */
12974 XS(XS_Wx__Region_DESTROY)
12982 croak_xs_usage(cv, "THIS");
12984 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
12985 wxPli_thread_sv_unregister( aTHX_ "Wx::Region", THIS, ST(0) );
12992 XS(XS_Wx__Region_Clear); /* prototype to pass -Wmissing-prototypes */
12993 XS(XS_Wx__Region_Clear)
13001 croak_xs_usage(cv, "THIS");
13003 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13011 XS(XS_Wx__Region_ContainsXY); /* prototype to pass -Wmissing-prototypes */
13012 XS(XS_Wx__Region_ContainsXY)
13020 croak_xs_usage(cv, "THIS, x, y");
13022 wxCoord x = (wxCoord)SvIV(ST(1));
13023 wxCoord y = (wxCoord)SvIV(ST(2));
13024 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13025 wxRegionContain RETVAL;
13027 RETVAL = THIS->Contains( x, y );
13028 XSprePUSH; PUSHi((IV)RETVAL);
13034 XS(XS_Wx__Region_ContainsPoint); /* prototype to pass -Wmissing-prototypes */
13035 XS(XS_Wx__Region_ContainsPoint)
13043 croak_xs_usage(cv, "THIS, point");
13045 wxPoint point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
13046 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13047 wxRegionContain RETVAL;
13049 RETVAL = THIS->Contains( point );
13050 XSprePUSH; PUSHi((IV)RETVAL);
13056 XS(XS_Wx__Region_ContainsXYWH); /* prototype to pass -Wmissing-prototypes */
13057 XS(XS_Wx__Region_ContainsXYWH)
13065 croak_xs_usage(cv, "THIS, x, y, w, h");
13067 wxCoord x = (wxCoord)SvIV(ST(1));
13068 wxCoord y = (wxCoord)SvIV(ST(2));
13069 wxCoord w = (wxCoord)SvIV(ST(3));
13070 wxCoord h = (wxCoord)SvIV(ST(4));
13071 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13072 wxRegionContain RETVAL;
13074 RETVAL = THIS->Contains( x, y, w, h );
13075 XSprePUSH; PUSHi((IV)RETVAL);
13081 XS(XS_Wx__Region_ContainsRect); /* prototype to pass -Wmissing-prototypes */
13082 XS(XS_Wx__Region_ContainsRect)
13090 croak_xs_usage(cv, "THIS, rect");
13092 wxRect* rect = (wxRect *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Rect" );
13093 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13094 wxRegionContain RETVAL;
13096 RETVAL = THIS->Contains( *rect );
13097 XSprePUSH; PUSHi((IV)RETVAL);
13103 XS(XS_Wx__Region_Contains); /* prototype to pass -Wmissing-prototypes */
13104 XS(XS_Wx__Region_Contains)
13112 croak_xs_usage(cv, "THIS, ...");
13113 PERL_UNUSED_VAR(ax); /* -Wall */
13116 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13118 MATCH_REDISP( wxPliOvl_n_n_n_n, ContainsXYWH )
13119 MATCH_REDISP( wxPliOvl_n_n, ContainsXY )
13120 MATCH_REDISP( wxPliOvl_wpoi, ContainsPoint )
13121 MATCH_REDISP( wxPliOvl_wrec, ContainsRect )
13122 END_OVERLOAD( Wx::Region::Contains )
13129 XS(XS_Wx__Region_ConvertToBitmap); /* prototype to pass -Wmissing-prototypes */
13130 XS(XS_Wx__Region_ConvertToBitmap)
13138 croak_xs_usage(cv, "THIS");
13140 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13142 RETVAL = new wxBitmap( THIS->ConvertToBitmap() );
13143 ST(0) = sv_newmortal();
13144 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13145 wxPli_thread_sv_register( aTHX_ "Wx::Bitmap", RETVAL, ST(0) );
13152 XS(XS_Wx__Region_GetBox); /* prototype to pass -Wmissing-prototypes */
13153 XS(XS_Wx__Region_GetBox)
13161 croak_xs_usage(cv, "THIS");
13163 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13165 RETVAL = new wxRect( THIS->GetBox() );
13166 ST(0) = sv_newmortal();
13167 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
13168 wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
13175 XS(XS_Wx__Region_GetBoxXYWH); /* prototype to pass -Wmissing-prototypes */
13176 XS(XS_Wx__Region_GetBoxXYWH)
13184 croak_xs_usage(cv, "THIS");
13185 PERL_UNUSED_VAR(ax); /* -Wall */
13192 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13193 THIS->GetBox( x, y, w, h );
13195 PUSHs( sv_2mortal( newSViv( (IV) x ) ) );
13196 PUSHs( sv_2mortal( newSViv( (IV) y ) ) );
13197 PUSHs( sv_2mortal( newSViv( (IV) w ) ) );
13198 PUSHs( sv_2mortal( newSViv( (IV) h ) ) );
13205 XS(XS_Wx__Region_IntersectXYWH); /* prototype to pass -Wmissing-prototypes */
13206 XS(XS_Wx__Region_IntersectXYWH)
13214 croak_xs_usage(cv, "THIS, x, y, w, h");
13216 wxCoord x = (wxCoord)SvIV(ST(1));
13217 wxCoord y = (wxCoord)SvIV(ST(2));
13218 wxCoord w = (wxCoord)SvIV(ST(3));
13219 wxCoord h = (wxCoord)SvIV(ST(4));
13220 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13222 RETVAL = THIS->Intersect( x, y, w, h );
13223 ST(0) = boolSV(RETVAL);
13230 XS(XS_Wx__Region_IntersectRect); /* prototype to pass -Wmissing-prototypes */
13231 XS(XS_Wx__Region_IntersectRect)
13239 croak_xs_usage(cv, "THIS, rect");
13241 wxRect* rect = (wxRect *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Rect" );
13242 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13244 RETVAL = THIS->Intersect( *rect );
13245 ST(0) = boolSV(RETVAL);
13252 XS(XS_Wx__Region_IntersectRegion); /* prototype to pass -Wmissing-prototypes */
13253 XS(XS_Wx__Region_IntersectRegion)
13261 croak_xs_usage(cv, "THIS, region");
13263 wxRegion* region = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Region" );
13264 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13266 RETVAL = THIS->Intersect( *region );
13267 ST(0) = boolSV(RETVAL);
13274 XS(XS_Wx__Region_Intersect); /* prototype to pass -Wmissing-prototypes */
13275 XS(XS_Wx__Region_Intersect)
13283 croak_xs_usage(cv, "THIS, ...");
13284 PERL_UNUSED_VAR(ax); /* -Wall */
13287 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13289 MATCH_REDISP( wxPliOvl_n_n_n_n, IntersectXYWH )
13290 MATCH_REDISP( wxPliOvl_wrec, IntersectRect )
13291 MATCH_REDISP( wxPliOvl_wreg, IntersectRegion )
13292 END_OVERLOAD( Wx::Region::Intersect )
13299 XS(XS_Wx__Region_IsEmpty); /* prototype to pass -Wmissing-prototypes */
13300 XS(XS_Wx__Region_IsEmpty)
13308 croak_xs_usage(cv, "THIS");
13310 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13313 RETVAL = THIS->IsEmpty();
13314 ST(0) = boolSV(RETVAL);
13320 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
13321 #define XSubPPtmpAACS 1
13324 XS(XS_Wx__Region_IsEqual); /* prototype to pass -Wmissing-prototypes */
13325 XS(XS_Wx__Region_IsEqual)
13333 croak_xs_usage(cv, "THIS, region");
13335 wxRegion* region = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Region" );
13336 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13339 RETVAL = THIS->IsEqual(*region);
13340 ST(0) = boolSV(RETVAL);
13348 XS(XS_Wx__Region_SubtractRect); /* prototype to pass -Wmissing-prototypes */
13349 XS(XS_Wx__Region_SubtractRect)
13357 croak_xs_usage(cv, "THIS, rect");
13359 wxRect* rect = (wxRect *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Rect" );
13360 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13362 RETVAL = THIS->Subtract( *rect );
13363 ST(0) = boolSV(RETVAL);
13369 #if !defined(__WXMOTIF__) && !defined(__WXMAC__)
13370 #define XSubPPtmpAACT 1
13373 XS(XS_Wx__Region_Offset); /* prototype to pass -Wmissing-prototypes */
13374 XS(XS_Wx__Region_Offset)
13382 croak_xs_usage(cv, "THIS, x, y");
13384 wxCoord x = (wxCoord)SvIV(ST(1));
13385 wxCoord y = (wxCoord)SvIV(ST(2));
13386 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13389 RETVAL = THIS->Offset(x, y);
13390 ST(0) = boolSV(RETVAL);
13398 XS(XS_Wx__Region_SubtractRegion); /* prototype to pass -Wmissing-prototypes */
13399 XS(XS_Wx__Region_SubtractRegion)
13407 croak_xs_usage(cv, "THIS, region");
13409 wxRegion* region = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Region" );
13410 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13412 RETVAL = THIS->Subtract( *region );
13413 ST(0) = boolSV(RETVAL);
13420 XS(XS_Wx__Region_Subtract); /* prototype to pass -Wmissing-prototypes */
13421 XS(XS_Wx__Region_Subtract)
13429 croak_xs_usage(cv, "THIS, ...");
13430 PERL_UNUSED_VAR(ax); /* -Wall */
13433 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13435 MATCH_REDISP( wxPliOvl_wrec, SubtractRect )
13436 MATCH_REDISP( wxPliOvl_wreg, SubtractRegion )
13437 END_OVERLOAD( Wx::Region::Subtract )
13444 XS(XS_Wx__Region_UnionXYWH); /* prototype to pass -Wmissing-prototypes */
13445 XS(XS_Wx__Region_UnionXYWH)
13453 croak_xs_usage(cv, "THIS, x, y, w, h");
13455 wxCoord x = (wxCoord)SvIV(ST(1));
13456 wxCoord y = (wxCoord)SvIV(ST(2));
13457 wxCoord w = (wxCoord)SvIV(ST(3));
13458 wxCoord h = (wxCoord)SvIV(ST(4));
13459 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13461 RETVAL = THIS->Union( x, y, w, h );
13462 ST(0) = boolSV(RETVAL);
13469 XS(XS_Wx__Region_UnionRect); /* prototype to pass -Wmissing-prototypes */
13470 XS(XS_Wx__Region_UnionRect)
13478 croak_xs_usage(cv, "THIS, rect");
13480 wxRect* rect = (wxRect *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Rect" );
13481 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13483 RETVAL = THIS->Union( *rect );
13484 ST(0) = boolSV(RETVAL);
13491 XS(XS_Wx__Region_UnionRegion); /* prototype to pass -Wmissing-prototypes */
13492 XS(XS_Wx__Region_UnionRegion)
13500 croak_xs_usage(cv, "THIS, region");
13502 wxRegion* region = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Region" );
13503 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13505 RETVAL = THIS->Union( *region );
13506 ST(0) = boolSV(RETVAL);
13513 XS(XS_Wx__Region_UnionBitmapOnly); /* prototype to pass -Wmissing-prototypes */
13514 XS(XS_Wx__Region_UnionBitmapOnly)
13522 croak_xs_usage(cv, "THIS, bitmap");
13524 wxBitmap* bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
13525 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13527 RETVAL = THIS->Union( *bitmap );
13528 ST(0) = boolSV(RETVAL);
13535 XS(XS_Wx__Region_UnionBitmap); /* prototype to pass -Wmissing-prototypes */
13536 XS(XS_Wx__Region_UnionBitmap)
13543 if (items < 3 || items > 4)
13544 croak_xs_usage(cv, "THIS, bitmap, colour, tolerance = 0");
13546 wxBitmap* bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
13547 wxColour colour = *(wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" );
13549 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13555 tolerance = (int)SvIV(ST(3));
13557 RETVAL = THIS->Union( *bitmap, colour, tolerance );
13558 ST(0) = boolSV(RETVAL);
13565 XS(XS_Wx__Region_Union); /* prototype to pass -Wmissing-prototypes */
13566 XS(XS_Wx__Region_Union)
13574 croak_xs_usage(cv, "THIS, ...");
13575 PERL_UNUSED_VAR(ax); /* -Wall */
13578 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13580 MATCH_REDISP( wxPliOvl_n_n_n_n, UnionXYWH )
13581 MATCH_REDISP( wxPliOvl_wrec, UnionRect )
13582 MATCH_REDISP( wxPliOvl_wreg, UnionRegion )
13583 MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wbmp_wcol_n, UnionBitmap, 2 )
13584 MATCH_REDISP( wxPliOvl_wbmp, UnionBitmapOnly )
13585 END_OVERLOAD( Wx::Region::Union )
13592 XS(XS_Wx__Region_XorXYWH); /* prototype to pass -Wmissing-prototypes */
13593 XS(XS_Wx__Region_XorXYWH)
13601 croak_xs_usage(cv, "THIS, x, y, w, h");
13603 wxCoord x = (wxCoord)SvIV(ST(1));
13604 wxCoord y = (wxCoord)SvIV(ST(2));
13605 wxCoord w = (wxCoord)SvIV(ST(3));
13606 wxCoord h = (wxCoord)SvIV(ST(4));
13607 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13609 RETVAL = THIS->Xor( x, y, w, h );
13610 ST(0) = boolSV(RETVAL);
13617 XS(XS_Wx__Region_XorRect); /* prototype to pass -Wmissing-prototypes */
13618 XS(XS_Wx__Region_XorRect)
13626 croak_xs_usage(cv, "THIS, rect");
13628 wxRect* rect = (wxRect *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Rect" );
13629 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13631 RETVAL = THIS->Xor( *rect );
13632 ST(0) = boolSV(RETVAL);
13639 XS(XS_Wx__Region_XorRegion); /* prototype to pass -Wmissing-prototypes */
13640 XS(XS_Wx__Region_XorRegion)
13648 croak_xs_usage(cv, "THIS, region");
13650 wxRegion* region = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Region" );
13651 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13653 RETVAL = THIS->Xor( *region );
13654 ST(0) = boolSV(RETVAL);
13661 XS(XS_Wx__Region_Xor); /* prototype to pass -Wmissing-prototypes */
13662 XS(XS_Wx__Region_Xor)
13670 croak_xs_usage(cv, "THIS, ...");
13671 PERL_UNUSED_VAR(ax); /* -Wall */
13674 wxRegion * THIS = (wxRegion *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Region" );
13676 MATCH_REDISP( wxPliOvl_n_n_n_n, XorXYWH )
13677 MATCH_REDISP( wxPliOvl_wrec, XorRect )
13678 MATCH_REDISP( wxPliOvl_wreg, XorRegion )
13679 END_OVERLOAD( Wx::Region::Xor )
13685 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
13686 #include <wx/position.h>
13687 #define XSubPPtmpAACU 1
13690 XS(XS_Wx__Position_new); /* prototype to pass -Wmissing-prototypes */
13691 XS(XS_Wx__Position_new)
13698 if (items < 1 || items > 3)
13699 croak_xs_usage(cv, "CLASS, row = 0, column = 0");
13703 char * CLASS = (char *)SvPV_nolen(ST(0));
13704 wxPosition * RETVAL;
13709 row = (int)SvIV(ST(1));
13715 column = (int)SvIV(ST(2));
13718 RETVAL = new wxPosition(row, column);
13719 ST(0) = sv_newmortal();
13720 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Position" );
13721 wxPli_thread_sv_register( aTHX_ "Wx::Position", RETVAL, ST(0) );
13728 XS(XS_Wx__Position_CLONE); /* prototype to pass -Wmissing-prototypes */
13729 XS(XS_Wx__Position_CLONE)
13737 croak_xs_usage(cv, "CLASS");
13739 char * CLASS = (char *)SvPV_nolen(ST(0));
13740 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
13746 XS(XS_Wx__Position_DESTROY); /* prototype to pass -Wmissing-prototypes */
13747 XS(XS_Wx__Position_DESTROY)
13755 croak_xs_usage(cv, "THIS");
13757 wxPosition * THIS = (wxPosition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Position" );
13758 wxPli_thread_sv_unregister( aTHX_ "Wx::Position", THIS, ST(0) );
13765 XS(XS_Wx__Position_row); /* prototype to pass -Wmissing-prototypes */
13766 XS(XS_Wx__Position_row)
13774 croak_xs_usage(cv, "THIS, ...");
13776 wxPosition * THIS = (wxPosition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Position" );
13780 THIS->SetRow( SvIV( ST(1) ) );
13781 RETVAL = THIS->GetRow();
13782 XSprePUSH; PUSHi((IV)RETVAL);
13788 XS(XS_Wx__Position_col); /* prototype to pass -Wmissing-prototypes */
13789 XS(XS_Wx__Position_col)
13797 croak_xs_usage(cv, "THIS, ...");
13799 wxPosition * THIS = (wxPosition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Position" );
13803 THIS->SetCol( SvIV( ST(1) ) );
13804 RETVAL = THIS->GetCol();
13805 XSprePUSH; PUSHi((IV)RETVAL);
13811 XS(XS_Wx__Position_column); /* prototype to pass -Wmissing-prototypes */
13812 XS(XS_Wx__Position_column)
13820 croak_xs_usage(cv, "THIS, ...");
13822 wxPosition * THIS = (wxPosition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Position" );
13826 THIS->SetColumn( SvIV( ST(1) ) );
13827 RETVAL = THIS->GetColumn();
13828 XSprePUSH; PUSHi((IV)RETVAL);
13834 XS(XS_Wx__Position_GetRow); /* prototype to pass -Wmissing-prototypes */
13835 XS(XS_Wx__Position_GetRow)
13843 croak_xs_usage(cv, "THIS");
13845 wxPosition * THIS = (wxPosition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Position" );
13849 RETVAL = THIS->GetRow();
13850 XSprePUSH; PUSHi((IV)RETVAL);
13856 XS(XS_Wx__Position_GetCol); /* prototype to pass -Wmissing-prototypes */
13857 XS(XS_Wx__Position_GetCol)
13865 croak_xs_usage(cv, "THIS");
13867 wxPosition * THIS = (wxPosition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Position" );
13871 RETVAL = THIS->GetCol();
13872 XSprePUSH; PUSHi((IV)RETVAL);
13878 XS(XS_Wx__Position_GetColumn); /* prototype to pass -Wmissing-prototypes */
13879 XS(XS_Wx__Position_GetColumn)
13887 croak_xs_usage(cv, "THIS");
13889 wxPosition * THIS = (wxPosition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Position" );
13893 RETVAL = THIS->GetColumn();
13894 XSprePUSH; PUSHi((IV)RETVAL);
13900 XS(XS_Wx__Position_SetRow); /* prototype to pass -Wmissing-prototypes */
13901 XS(XS_Wx__Position_SetRow)
13909 croak_xs_usage(cv, "THIS, height");
13911 int height = (int)SvIV(ST(1));
13912 wxPosition * THIS = (wxPosition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Position" );
13914 THIS->SetRow(height);
13920 XS(XS_Wx__Position_SetCol); /* prototype to pass -Wmissing-prototypes */
13921 XS(XS_Wx__Position_SetCol)
13929 croak_xs_usage(cv, "THIS, width");
13931 int width = (int)SvIV(ST(1));
13932 wxPosition * THIS = (wxPosition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Position" );
13934 THIS->SetCol(width);
13940 XS(XS_Wx__Position_SetColumn); /* prototype to pass -Wmissing-prototypes */
13941 XS(XS_Wx__Position_SetColumn)
13949 croak_xs_usage(cv, "THIS, width");
13951 int width = (int)SvIV(ST(1));
13952 wxPosition * THIS = (wxPosition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Position" );
13954 THIS->SetColumn(width);
13961 /* INCLUDE: Returning to 'XS/Caret.xs' from 'XS/Geom.xs' */
13963 #include <wx/caret.h>
13965 XS(XS_Wx__Caret_new); /* prototype to pass -Wmissing-prototypes */
13966 XS(XS_Wx__Caret_new)
13974 croak_xs_usage(cv, "CLASS, ...");
13975 PERL_UNUSED_VAR(ax); /* -Wall */
13978 char * CLASS = (char *)SvPV_nolen(ST(0));
13980 MATCH_REDISP( wxPliOvl_wwin_n_n, newWH )
13981 MATCH_REDISP( wxPliOvl_wwin_wsiz, newSize )
13982 MATCH_VOIDM_REDISP( newDefault )
13983 END_OVERLOAD( Wx::Caret::new )
13990 XS(XS_Wx__Caret_newDefault); /* prototype to pass -Wmissing-prototypes */
13991 XS(XS_Wx__Caret_newDefault)
13999 croak_xs_usage(cv, "CLASS, window, width, height");
14003 RETVAL = new wxCaret();
14004 ST(0) = sv_newmortal();
14005 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Caret" );
14012 XS(XS_Wx__Caret_newSize); /* prototype to pass -Wmissing-prototypes */
14013 XS(XS_Wx__Caret_newSize)
14021 croak_xs_usage(cv, "CLASS, window, size");
14024 wxWindow* window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
14025 wxSize size = wxPli_sv_2_wxsize( aTHX_ ST(2) );
14027 RETVAL = new wxCaret( window, size );
14028 ST(0) = sv_newmortal();
14029 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Caret" );
14036 XS(XS_Wx__Caret_newWH); /* prototype to pass -Wmissing-prototypes */
14037 XS(XS_Wx__Caret_newWH)
14045 croak_xs_usage(cv, "CLASS, window, width, height");
14048 wxWindow* window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
14049 int width = (int)SvIV(ST(2));
14050 int height = (int)SvIV(ST(3));
14052 RETVAL = new wxCaret( window, width, height );
14053 ST(0) = sv_newmortal();
14054 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Caret" );
14061 XS(XS_Wx__Caret_Create); /* prototype to pass -Wmissing-prototypes */
14062 XS(XS_Wx__Caret_Create)
14070 croak_xs_usage(cv, "THIS, ...");
14071 PERL_UNUSED_VAR(ax); /* -Wall */
14074 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14076 MATCH_REDISP( wxPliOvl_wwin_n_n, CreateWH )
14077 MATCH_REDISP( wxPliOvl_wwin_wsiz, CreateSize )
14078 END_OVERLOAD( Wx::Caret::Create )
14085 XS(XS_Wx__Caret_CreateSize); /* prototype to pass -Wmissing-prototypes */
14086 XS(XS_Wx__Caret_CreateSize)
14094 croak_xs_usage(cv, "THIS, window, size");
14096 wxWindow* window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
14097 wxSize size = wxPli_sv_2_wxsize( aTHX_ ST(2) );
14098 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14100 RETVAL = THIS->Create( window, size );
14101 ST(0) = boolSV(RETVAL);
14108 XS(XS_Wx__Caret_CreateWH); /* prototype to pass -Wmissing-prototypes */
14109 XS(XS_Wx__Caret_CreateWH)
14117 croak_xs_usage(cv, "THIS, window, width, height");
14119 wxWindow* window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
14120 int width = (int)SvIV(ST(2));
14121 int height = (int)SvIV(ST(3));
14122 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14124 RETVAL = THIS->Create( window, width, height );
14125 ST(0) = boolSV(RETVAL);
14132 XS(XS_Wx__Caret_Destroy); /* prototype to pass -Wmissing-prototypes */
14133 XS(XS_Wx__Caret_Destroy)
14141 croak_xs_usage(cv, "THIS");
14143 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14150 XS(XS_Wx__Caret_GetBlinkTime); /* prototype to pass -Wmissing-prototypes */
14151 XS(XS_Wx__Caret_GetBlinkTime)
14159 croak_xs_usage(cv, "");
14163 RETVAL = wxCaret::GetBlinkTime();
14164 XSprePUSH; PUSHi((IV)RETVAL);
14170 XS(XS_Wx__Caret_GetSizeWH); /* prototype to pass -Wmissing-prototypes */
14171 XS(XS_Wx__Caret_GetSizeWH)
14179 croak_xs_usage(cv, "THIS");
14180 PERL_UNUSED_VAR(ax); /* -Wall */
14185 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14186 THIS->GetPosition( &w, &h );
14188 PUSHs( sv_2mortal( newSViv( w ) ) );
14189 PUSHs( sv_2mortal( newSViv( h ) ) );
14196 XS(XS_Wx__Caret_GetSize); /* prototype to pass -Wmissing-prototypes */
14197 XS(XS_Wx__Caret_GetSize)
14205 croak_xs_usage(cv, "THIS");
14207 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14209 RETVAL = new wxSize( THIS->GetSize() );
14210 ST(0) = sv_newmortal();
14211 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Size" );
14212 wxPli_thread_sv_register( aTHX_ "Wx::Size", RETVAL, ST(0) );
14219 XS(XS_Wx__Caret_GetPositionXY); /* prototype to pass -Wmissing-prototypes */
14220 XS(XS_Wx__Caret_GetPositionXY)
14228 croak_xs_usage(cv, "THIS");
14229 PERL_UNUSED_VAR(ax); /* -Wall */
14234 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14235 THIS->GetPosition( &x, &y );
14237 PUSHs( sv_2mortal( newSViv( x ) ) );
14238 PUSHs( sv_2mortal( newSViv( y ) ) );
14245 XS(XS_Wx__Caret_GetPosition); /* prototype to pass -Wmissing-prototypes */
14246 XS(XS_Wx__Caret_GetPosition)
14254 croak_xs_usage(cv, "THIS");
14256 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14258 RETVAL = new wxPoint( THIS->GetPosition() );
14259 ST(0) = sv_newmortal();
14260 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Point" );
14261 wxPli_thread_sv_register( aTHX_ "Wx::Point", RETVAL, ST(0) );
14268 XS(XS_Wx__Caret_GetWindow); /* prototype to pass -Wmissing-prototypes */
14269 XS(XS_Wx__Caret_GetWindow)
14277 croak_xs_usage(cv, "THIS");
14279 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14282 RETVAL = THIS->GetWindow();
14283 ST(0) = sv_newmortal();
14284 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
14291 XS(XS_Wx__Caret_Hide); /* prototype to pass -Wmissing-prototypes */
14292 XS(XS_Wx__Caret_Hide)
14300 croak_xs_usage(cv, "THIS");
14302 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14310 XS(XS_Wx__Caret_IsOk); /* prototype to pass -Wmissing-prototypes */
14311 XS(XS_Wx__Caret_IsOk)
14319 croak_xs_usage(cv, "THIS");
14321 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14324 RETVAL = THIS->IsOk();
14325 ST(0) = boolSV(RETVAL);
14332 XS(XS_Wx__Caret_IsVisible); /* prototype to pass -Wmissing-prototypes */
14333 XS(XS_Wx__Caret_IsVisible)
14341 croak_xs_usage(cv, "THIS");
14343 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14346 RETVAL = THIS->IsVisible();
14347 ST(0) = boolSV(RETVAL);
14354 XS(XS_Wx__Caret_Move); /* prototype to pass -Wmissing-prototypes */
14355 XS(XS_Wx__Caret_Move)
14363 croak_xs_usage(cv, "THIS, ...");
14364 PERL_UNUSED_VAR(ax); /* -Wall */
14367 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14369 MATCH_REDISP( wxPliOvl_wpoi, MovePoint )
14370 MATCH_REDISP( wxPliOvl_n_n, MoveXY )
14371 END_OVERLOAD( Wx::Caret::Move )
14378 XS(XS_Wx__Caret_MovePoint); /* prototype to pass -Wmissing-prototypes */
14379 XS(XS_Wx__Caret_MovePoint)
14387 croak_xs_usage(cv, "THIS, point");
14389 wxPoint point = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
14390 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14391 THIS->Move( point );
14397 XS(XS_Wx__Caret_MoveXY); /* prototype to pass -Wmissing-prototypes */
14398 XS(XS_Wx__Caret_MoveXY)
14406 croak_xs_usage(cv, "THIS, x, y");
14408 int x = (int)SvIV(ST(1));
14409 int y = (int)SvIV(ST(2));
14410 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14411 THIS->Move( x, y );
14417 XS(XS_Wx__Caret_SetBlinkTime); /* prototype to pass -Wmissing-prototypes */
14418 XS(XS_Wx__Caret_SetBlinkTime)
14426 croak_xs_usage(cv, "milliseconds");
14428 int milliseconds = (int)SvIV(ST(0));
14429 wxCaret::SetBlinkTime( milliseconds );
14435 XS(XS_Wx__Caret_SetSize); /* prototype to pass -Wmissing-prototypes */
14436 XS(XS_Wx__Caret_SetSize)
14444 croak_xs_usage(cv, "THIS, ...");
14445 PERL_UNUSED_VAR(ax); /* -Wall */
14448 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14450 MATCH_REDISP( wxPliOvl_wsiz, SetSizeSize )
14451 MATCH_REDISP( wxPliOvl_n_n, SetSizeWH )
14452 END_OVERLOAD( Wx::Caret::SetSize )
14459 XS(XS_Wx__Caret_SetSizeSize); /* prototype to pass -Wmissing-prototypes */
14460 XS(XS_Wx__Caret_SetSizeSize)
14468 croak_xs_usage(cv, "THIS, size");
14470 wxSize size = wxPli_sv_2_wxsize( aTHX_ ST(1) );
14471 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14472 THIS->SetSize( size );
14478 XS(XS_Wx__Caret_SetSizeWH); /* prototype to pass -Wmissing-prototypes */
14479 XS(XS_Wx__Caret_SetSizeWH)
14487 croak_xs_usage(cv, "THIS, w, h");
14489 int w = (int)SvIV(ST(1));
14490 int h = (int)SvIV(ST(2));
14491 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14492 THIS->SetSize( w, h );
14498 XS(XS_Wx__Caret_Show); /* prototype to pass -Wmissing-prototypes */
14499 XS(XS_Wx__Caret_Show)
14506 if (items < 1 || items > 2)
14507 croak_xs_usage(cv, "THIS, show = true");
14510 wxCaret * THIS = (wxCaret *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Caret" );
14515 show = (bool)SvTRUE(ST(1));
14524 /* INCLUDE: Returning to 'XS/App.xs' from 'XS/Caret.xs' */
14526 #include <wx/app.h>
14527 #include <wx/artprov.h>
14529 XS(XS_Wx_PostEvent); /* prototype to pass -Wmissing-prototypes */
14530 XS(XS_Wx_PostEvent)
14538 croak_xs_usage(cv, "evthnd, event");
14540 wxEvtHandler* evthnd = (wxEvtHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::EvtHandler" );
14541 wxEvent* event = (wxEvent *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Event" );
14542 wxPostEvent( evthnd, *event );
14548 XS(XS_Wx_WakeUpIdle); /* prototype to pass -Wmissing-prototypes */
14549 XS(XS_Wx_WakeUpIdle)
14557 croak_xs_usage(cv, "");
14566 XS(XS_Wx___App_Start); /* prototype to pass -Wmissing-prototypes */
14567 XS(XS_Wx___App_Start)
14575 croak_xs_usage(cv, "app, sub");
14577 wxApp* app = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14581 // for Wx::Perl::SplashFast
14582 if( !SvROK( sub ) || SvTYPE( SvRV( sub ) ) != SVt_PVCV )
14583 croak( "sub must be a CODE reference" );
14584 #if WXPERL_W_VERSION_LE( 2, 5, 1 )
14585 app->argc = wxPli_get_args_argc_argv( (void***) &app->argv, 1 );
14588 app->SetClassName( app->argv[0] );
14589 app->SetAppName( app->argv[0] );
14591 #if WXPERL_W_VERSION_LE( 2, 5, 0 )
14592 if( !wxPerlAppCreated )
14597 RETVAL = call_oninit( aTHX_ ST(0), sub );
14599 XSprePUSH; PUSHi((IV)RETVAL);
14605 XS(XS_Wx___App_new); /* prototype to pass -Wmissing-prototypes */
14606 XS(XS_Wx___App_new)
14614 croak_xs_usage(cv, "CLASS");
14616 char * CLASS = (char *)SvPV_nolen(ST(0));
14619 #if WXPERL_W_VERSION_LT( 2, 5, 1 )
14620 wxTheApp = new wxPliApp();
14622 wxAppConsole::SetInstance( new wxPliApp() );
14625 ST(0) = sv_newmortal();
14626 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
14633 XS(XS_Wx__App_Dispatch); /* prototype to pass -Wmissing-prototypes */
14634 XS(XS_Wx__App_Dispatch)
14642 croak_xs_usage(cv, "THIS");
14644 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14652 XS(XS_Wx__App_GetAppName); /* prototype to pass -Wmissing-prototypes */
14653 XS(XS_Wx__App_GetAppName)
14661 croak_xs_usage(cv, "THIS");
14663 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14666 RETVAL = THIS->GetAppName();
14667 ST(0) = sv_newmortal();
14668 WXSTRING_OUTPUT( RETVAL, ST(0) );
14674 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
14675 #define XSubPPtmpAACV 1
14678 XS(XS_Wx__App_GetAppDisplayName); /* prototype to pass -Wmissing-prototypes */
14679 XS(XS_Wx__App_GetAppDisplayName)
14687 croak_xs_usage(cv, "THIS");
14689 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14692 RETVAL = THIS->GetAppDisplayName();
14693 ST(0) = sv_newmortal();
14694 WXSTRING_OUTPUT( RETVAL, ST(0) );
14701 #if defined( __WXMSW__ ) && WXPERL_W_VERSION_LT( 2, 5, 1 )
14702 #define XSubPPtmpAACW 1
14705 XS(XS_Wx__App_GetAuto3D); /* prototype to pass -Wmissing-prototypes */
14706 XS(XS_Wx__App_GetAuto3D)
14714 croak_xs_usage(cv, "THIS");
14716 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14719 RETVAL = THIS->GetAuto3D();
14720 ST(0) = boolSV(RETVAL);
14728 XS(XS_Wx__App_GetClassName); /* prototype to pass -Wmissing-prototypes */
14729 XS(XS_Wx__App_GetClassName)
14737 croak_xs_usage(cv, "THIS");
14739 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14742 RETVAL = THIS->GetClassName();
14743 ST(0) = sv_newmortal();
14744 WXSTRING_OUTPUT( RETVAL, ST(0) );
14751 XS(XS_Wx__App_GetExitOnFrameDelete); /* prototype to pass -Wmissing-prototypes */
14752 XS(XS_Wx__App_GetExitOnFrameDelete)
14760 croak_xs_usage(cv, "THIS");
14762 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14765 RETVAL = THIS->GetExitOnFrameDelete();
14766 ST(0) = boolSV(RETVAL);
14773 XS(XS_Wx__App_GetStdIcon); /* prototype to pass -Wmissing-prototypes */
14774 XS(XS_Wx__App_GetStdIcon)
14782 croak_xs_usage(cv, "THIS, which");
14784 int which = (int)SvIV(ST(1));
14785 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14790 case wxICON_EXCLAMATION:
14791 id = wxART_WARNING;
14796 case wxICON_QUESTION:
14797 id = wxART_QUESTION;
14799 case wxICON_INFORMATION:
14800 id = wxART_INFORMATION;
14804 RETVAL = new wxIcon( wxArtProvider::GetIcon( id, wxART_MESSAGE_BOX ) );
14805 ST(0) = sv_newmortal();
14806 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
14807 wxPli_thread_sv_register( aTHX_ "Wx::Icon", RETVAL, ST(0) );
14814 XS(XS_Wx__App_GetTopWindow); /* prototype to pass -Wmissing-prototypes */
14815 XS(XS_Wx__App_GetTopWindow)
14823 croak_xs_usage(cv, "THIS");
14825 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14828 RETVAL = THIS->GetTopWindow();
14829 ST(0) = sv_newmortal();
14830 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
14837 XS(XS_Wx__App_GetUseBestVisual); /* prototype to pass -Wmissing-prototypes */
14838 XS(XS_Wx__App_GetUseBestVisual)
14846 croak_xs_usage(cv, "THIS");
14848 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14851 RETVAL = THIS->GetUseBestVisual();
14852 ST(0) = boolSV(RETVAL);
14859 XS(XS_Wx__App_GetVendorName); /* prototype to pass -Wmissing-prototypes */
14860 XS(XS_Wx__App_GetVendorName)
14868 croak_xs_usage(cv, "THIS");
14870 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14873 RETVAL = THIS->GetVendorName();
14874 ST(0) = sv_newmortal();
14875 WXSTRING_OUTPUT( RETVAL, ST(0) );
14881 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
14882 #define XSubPPtmpAACX 1
14885 XS(XS_Wx__App_GetVendorDisplayName); /* prototype to pass -Wmissing-prototypes */
14886 XS(XS_Wx__App_GetVendorDisplayName)
14894 croak_xs_usage(cv, "THIS");
14896 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14899 RETVAL = THIS->GetVendorDisplayName();
14900 ST(0) = sv_newmortal();
14901 WXSTRING_OUTPUT( RETVAL, ST(0) );
14909 XS(XS_Wx__App_ExitMainLoop); /* prototype to pass -Wmissing-prototypes */
14910 XS(XS_Wx__App_ExitMainLoop)
14918 croak_xs_usage(cv, "THIS");
14920 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14922 THIS->ExitMainLoop();
14927 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
14928 #define XSubPPtmpAACY 1
14931 XS(XS_Wx__App_Initialized); /* prototype to pass -Wmissing-prototypes */
14932 XS(XS_Wx__App_Initialized)
14940 croak_xs_usage(cv, "THIS");
14942 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14945 RETVAL = THIS->Initialized();
14946 ST(0) = boolSV(RETVAL);
14954 XS(XS_Wx__App_MainLoop); /* prototype to pass -Wmissing-prototypes */
14955 XS(XS_Wx__App_MainLoop)
14963 croak_xs_usage(cv, "THIS");
14965 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14968 RETVAL = THIS->MainLoop();
14969 // hack for embedded case...
14970 #if defined( __WXMSW__ ) && WXPERL_W_VERSION_LT( 2, 5, 0 )
14971 wxPliApp::SetKeepGoing( (wxPliApp*) THIS, true );
14973 wxPliApp::DeletePendingObjects( THIS );
14974 XSprePUSH; PUSHi((IV)RETVAL);
14980 XS(XS_Wx__App_Pending); /* prototype to pass -Wmissing-prototypes */
14981 XS(XS_Wx__App_Pending)
14989 croak_xs_usage(cv, "THIS");
14991 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
14994 RETVAL = THIS->Pending();
14995 ST(0) = boolSV(RETVAL);
15002 XS(XS_Wx__App_ProcessPendingEvents); /* prototype to pass -Wmissing-prototypes */
15003 XS(XS_Wx__App_ProcessPendingEvents)
15011 croak_xs_usage(cv, "THIS");
15013 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15015 THIS->ProcessPendingEvents();
15021 XS(XS_Wx__App_SetAppName); /* prototype to pass -Wmissing-prototypes */
15022 XS(XS_Wx__App_SetAppName)
15030 croak_xs_usage(cv, "THIS, name");
15033 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15035 WXSTRING_INPUT( name, wxString, ST(1) );
15037 THIS->SetAppName(name);
15042 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
15043 #define XSubPPtmpAACZ 1
15046 XS(XS_Wx__App_SetAppDisplayName); /* prototype to pass -Wmissing-prototypes */
15047 XS(XS_Wx__App_SetAppDisplayName)
15055 croak_xs_usage(cv, "THIS, name");
15058 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15060 WXSTRING_INPUT( name, wxString, ST(1) );
15062 THIS->SetAppDisplayName(name);
15068 #if defined( __WXMSW__ ) && WXPERL_W_VERSION_LT( 2, 5, 0 )
15069 #define XSubPPtmpAADA 1
15072 XS(XS_Wx__App_SetAuto3D); /* prototype to pass -Wmissing-prototypes */
15073 XS(XS_Wx__App_SetAuto3D)
15081 croak_xs_usage(cv, "THIS, auto3d");
15083 bool auto3d = (bool)SvTRUE(ST(1));
15084 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15086 THIS->SetAuto3D(auto3d);
15093 XS(XS_Wx__App_SetClassName); /* prototype to pass -Wmissing-prototypes */
15094 XS(XS_Wx__App_SetClassName)
15102 croak_xs_usage(cv, "THIS, name");
15105 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15107 WXSTRING_INPUT( name, wxString, ST(1) );
15109 THIS->SetClassName(name);
15115 XS(XS_Wx__App_SetExitOnFrameDelete); /* prototype to pass -Wmissing-prototypes */
15116 XS(XS_Wx__App_SetExitOnFrameDelete)
15124 croak_xs_usage(cv, "THIS, flag");
15126 bool flag = (bool)SvTRUE(ST(1));
15127 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15129 THIS->SetExitOnFrameDelete(flag);
15135 XS(XS_Wx__App_SetTopWindow); /* prototype to pass -Wmissing-prototypes */
15136 XS(XS_Wx__App_SetTopWindow)
15144 croak_xs_usage(cv, "THIS, window");
15146 wxWindow* window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
15147 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15149 THIS->SetTopWindow(window);
15155 XS(XS_Wx__App_SetVendorName); /* prototype to pass -Wmissing-prototypes */
15156 XS(XS_Wx__App_SetVendorName)
15164 croak_xs_usage(cv, "THIS, name");
15167 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15169 WXSTRING_INPUT( name, wxString, ST(1) );
15171 THIS->SetVendorName(name);
15176 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
15177 #define XSubPPtmpAADB 1
15180 XS(XS_Wx__App_SetVendorDisplayName); /* prototype to pass -Wmissing-prototypes */
15181 XS(XS_Wx__App_SetVendorDisplayName)
15189 croak_xs_usage(cv, "THIS, name");
15192 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15194 WXSTRING_INPUT( name, wxString, ST(1) );
15196 THIS->SetVendorDisplayName(name);
15203 XS(XS_Wx__App_SetUseBestVisual); /* prototype to pass -Wmissing-prototypes */
15204 XS(XS_Wx__App_SetUseBestVisual)
15212 croak_xs_usage(cv, "THIS, flag");
15214 bool flag = (bool)SvTRUE(ST(1));
15215 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15217 THIS->SetUseBestVisual(flag);
15223 XS(XS_Wx__App_Yield); /* prototype to pass -Wmissing-prototypes */
15224 XS(XS_Wx__App_Yield)
15232 croak_xs_usage(cv, "THIS");
15234 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15235 THIS->wxApp::Yield();
15240 #if defined( __WXMSW__ ) && WXPERL_W_VERSION_GE( 2, 5, 0 )
15241 #define XSubPPtmpAADC 1
15244 XS(XS_Wx__App_GetComCtl32Version); /* prototype to pass -Wmissing-prototypes */
15245 XS(XS_Wx__App_GetComCtl32Version)
15253 croak_xs_usage(cv, "");
15257 RETVAL = wxApp::GetComCtl32Version();
15258 XSprePUSH; PUSHi((IV)RETVAL);
15264 #if WXPERL_W_VERSION_GE( 2, 5, 2 )
15265 #define XSubPPtmpAADD 1
15268 XS(XS_Wx__App_Exit); /* prototype to pass -Wmissing-prototypes */
15269 XS(XS_Wx__App_Exit)
15277 croak_xs_usage(cv, "THIS");
15279 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15287 XS(XS_Wx__App_ProcessIdle); /* prototype to pass -Wmissing-prototypes */
15288 XS(XS_Wx__App_ProcessIdle)
15296 croak_xs_usage(cv, "THIS");
15298 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15301 RETVAL = THIS->ProcessIdle();
15302 ST(0) = boolSV(RETVAL);
15309 XS(XS_Wx__App_SendIdleEvents); /* prototype to pass -Wmissing-prototypes */
15310 XS(XS_Wx__App_SendIdleEvents)
15318 croak_xs_usage(cv, "THIS, window, event");
15320 wxWindow* window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
15321 wxIdleEvent* event = (wxIdleEvent *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::IdleEvent" );
15322 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15325 RETVAL = THIS->SendIdleEvents(window, *event);
15326 ST(0) = boolSV(RETVAL);
15333 XS(XS_Wx__App_IsActive); /* prototype to pass -Wmissing-prototypes */
15334 XS(XS_Wx__App_IsActive)
15342 croak_xs_usage(cv, "THIS");
15344 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15347 RETVAL = THIS->IsActive();
15348 ST(0) = boolSV(RETVAL);
15355 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
15356 #define XSubPPtmpAADE 1
15359 XS(XS_Wx__App_GetLayoutDirection); /* prototype to pass -Wmissing-prototypes */
15360 XS(XS_Wx__App_GetLayoutDirection)
15368 croak_xs_usage(cv, "THIS");
15370 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15371 wxLayoutDirection RETVAL;
15374 RETVAL = THIS->GetLayoutDirection();
15375 XSprePUSH; PUSHi((IV)RETVAL);
15382 XS(XS_Wx__App_GetInstance); /* prototype to pass -Wmissing-prototypes */
15383 XS(XS_Wx__App_GetInstance)
15391 croak_xs_usage(cv, "");
15394 RETVAL = (wxApp*)wxApp::GetInstance();
15395 ST(0) = sv_newmortal();
15396 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
15403 XS(XS_Wx__App_SetInstance); /* prototype to pass -Wmissing-prototypes */
15404 XS(XS_Wx__App_SetInstance)
15412 croak_xs_usage(cv, "app");
15414 wxApp* app = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15415 wxApp::SetInstance( app );
15421 XS(XS_Wx__App_IsMainLoopRunning); /* prototype to pass -Wmissing-prototypes */
15422 XS(XS_Wx__App_IsMainLoopRunning)
15430 croak_xs_usage(cv, "THIS");
15432 wxApp * THIS = (wxApp *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::App" );
15435 RETVAL = THIS->IsMainLoopRunning();
15436 ST(0) = boolSV(RETVAL);
15443 /* INCLUDE: Returning to 'Wx.xs' from 'XS/App.xs' */
15446 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/MimeTypes.xsp |' from 'Wx.xs' */
15449 #include <wx/mimetype.h>
15450 #if WXPERL_W_VERSION_GE( 2, 5, 2 )
15451 #define XSubPPtmpAADF 1
15454 XS(XS_Wx__IconLocation_IsOk); /* prototype to pass -Wmissing-prototypes */
15455 XS(XS_Wx__IconLocation_IsOk)
15463 croak_xs_usage(cv, "THIS");
15465 wxIconLocation * THIS = (wxIconLocation *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::IconLocation" );
15468 RETVAL = THIS->IsOk();
15469 ST(0) = boolSV(RETVAL);
15476 #define XSubPPtmpAADG 1
15479 XS(XS_Wx__FileTypeInfo_IsValid); /* prototype to pass -Wmissing-prototypes */
15480 XS(XS_Wx__FileTypeInfo_IsValid)
15488 croak_xs_usage(cv, "THIS");
15490 wxFileTypeInfo * THIS = (wxFileTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileTypeInfo" );
15493 RETVAL = THIS->IsValid();
15494 ST(0) = boolSV(RETVAL);
15501 XS(XS_Wx__FileTypeInfo_SetIcon); /* prototype to pass -Wmissing-prototypes */
15502 XS(XS_Wx__FileTypeInfo_SetIcon)
15509 if (items < 2 || items > 3)
15510 croak_xs_usage(cv, "THIS, iconFile, iconIndex = 0");
15514 wxFileTypeInfo * THIS = (wxFileTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileTypeInfo" );
15516 WXSTRING_INPUT( iconFile, wxString, ST(1) );
15521 iconIndex = (int)SvIV(ST(2));
15524 THIS->SetIcon(iconFile, iconIndex);
15530 XS(XS_Wx__FileTypeInfo_SetShortDesc); /* prototype to pass -Wmissing-prototypes */
15531 XS(XS_Wx__FileTypeInfo_SetShortDesc)
15539 croak_xs_usage(cv, "THIS, shortDesc");
15541 wxString shortDesc;
15542 wxFileTypeInfo * THIS = (wxFileTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileTypeInfo" );
15544 WXSTRING_INPUT( shortDesc, wxString, ST(1) );
15546 THIS->SetShortDesc(shortDesc);
15552 XS(XS_Wx__FileTypeInfo_GetMimeType); /* prototype to pass -Wmissing-prototypes */
15553 XS(XS_Wx__FileTypeInfo_GetMimeType)
15561 croak_xs_usage(cv, "THIS");
15563 wxFileTypeInfo * THIS = (wxFileTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileTypeInfo" );
15566 RETVAL = THIS->GetMimeType();
15567 ST(0) = sv_newmortal();
15568 WXSTRING_OUTPUT( RETVAL, ST(0) );
15575 XS(XS_Wx__FileTypeInfo_GetOpenCommand); /* prototype to pass -Wmissing-prototypes */
15576 XS(XS_Wx__FileTypeInfo_GetOpenCommand)
15584 croak_xs_usage(cv, "THIS");
15586 wxFileTypeInfo * THIS = (wxFileTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileTypeInfo" );
15589 RETVAL = THIS->GetOpenCommand();
15590 ST(0) = sv_newmortal();
15591 WXSTRING_OUTPUT( RETVAL, ST(0) );
15598 XS(XS_Wx__FileTypeInfo_GetPrintCommand); /* prototype to pass -Wmissing-prototypes */
15599 XS(XS_Wx__FileTypeInfo_GetPrintCommand)
15607 croak_xs_usage(cv, "THIS");
15609 wxFileTypeInfo * THIS = (wxFileTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileTypeInfo" );
15612 RETVAL = THIS->GetPrintCommand();
15613 ST(0) = sv_newmortal();
15614 WXSTRING_OUTPUT( RETVAL, ST(0) );
15621 XS(XS_Wx__FileTypeInfo_GetShortDesc); /* prototype to pass -Wmissing-prototypes */
15622 XS(XS_Wx__FileTypeInfo_GetShortDesc)
15630 croak_xs_usage(cv, "THIS");
15632 wxFileTypeInfo * THIS = (wxFileTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileTypeInfo" );
15635 RETVAL = THIS->GetShortDesc();
15636 ST(0) = sv_newmortal();
15637 WXSTRING_OUTPUT( RETVAL, ST(0) );
15644 XS(XS_Wx__FileTypeInfo_GetDescription); /* prototype to pass -Wmissing-prototypes */
15645 XS(XS_Wx__FileTypeInfo_GetDescription)
15653 croak_xs_usage(cv, "THIS");
15655 wxFileTypeInfo * THIS = (wxFileTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileTypeInfo" );
15658 RETVAL = THIS->GetDescription();
15659 ST(0) = sv_newmortal();
15660 WXSTRING_OUTPUT( RETVAL, ST(0) );
15667 XS(XS_Wx__FileTypeInfo_GetExtensionsCount); /* prototype to pass -Wmissing-prototypes */
15668 XS(XS_Wx__FileTypeInfo_GetExtensionsCount)
15676 croak_xs_usage(cv, "THIS");
15678 wxFileTypeInfo * THIS = (wxFileTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileTypeInfo" );
15682 RETVAL = THIS->GetExtensionsCount();
15683 XSprePUSH; PUSHi((IV)RETVAL);
15689 XS(XS_Wx__FileTypeInfo_GetIconFile); /* prototype to pass -Wmissing-prototypes */
15690 XS(XS_Wx__FileTypeInfo_GetIconFile)
15698 croak_xs_usage(cv, "THIS");
15700 wxFileTypeInfo * THIS = (wxFileTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileTypeInfo" );
15703 RETVAL = THIS->GetIconFile();
15704 ST(0) = sv_newmortal();
15705 WXSTRING_OUTPUT( RETVAL, ST(0) );
15712 XS(XS_Wx__FileTypeInfo_GetIconIndex); /* prototype to pass -Wmissing-prototypes */
15713 XS(XS_Wx__FileTypeInfo_GetIconIndex)
15721 croak_xs_usage(cv, "THIS");
15723 wxFileTypeInfo * THIS = (wxFileTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileTypeInfo" );
15727 RETVAL = THIS->GetIconIndex();
15728 XSprePUSH; PUSHi((IV)RETVAL);
15734 XS(XS_Wx__FileTypeInfo_new); /* prototype to pass -Wmissing-prototypes */
15735 XS(XS_Wx__FileTypeInfo_new)
15743 croak_xs_usage(cv, "CLASS, strings");
15745 wxArrayString strings;
15746 char * CLASS = (char *)SvPV_nolen(ST(0));
15747 wxFileTypeInfo * RETVAL;
15749 wxPli_av_2_arraystring( aTHX_ ST(1), & strings );
15751 RETVAL = new wxFileTypeInfo(strings);
15752 ST(0) = sv_newmortal();
15753 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::FileTypeInfo" );
15760 XS(XS_Wx__FileTypeInfo_GetExtensions); /* prototype to pass -Wmissing-prototypes */
15761 XS(XS_Wx__FileTypeInfo_GetExtensions)
15769 croak_xs_usage(cv, "THIS");
15770 PERL_UNUSED_VAR(ax); /* -Wall */
15773 wxFileTypeInfo * THIS = (wxFileTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileTypeInfo" );
15774 const wxArrayString& extensions = THIS->GetExtensions();
15776 wxPli_stringarray_push( aTHX_ extensions );
15784 XS(XS_Wx__FileType_GetMimeTypes); /* prototype to pass -Wmissing-prototypes */
15785 XS(XS_Wx__FileType_GetMimeTypes)
15793 croak_xs_usage(cv, "THIS");
15794 PERL_UNUSED_VAR(ax); /* -Wall */
15797 wxArrayString mimeTypes;
15798 wxFileType * THIS = (wxFileType *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileType" );
15799 bool ok = THIS->GetMimeTypes( mimeTypes );
15803 wxPli_stringarray_push( aTHX_ mimeTypes );
15814 XS(XS_Wx__FileType_GetMimeType); /* prototype to pass -Wmissing-prototypes */
15815 XS(XS_Wx__FileType_GetMimeType)
15823 croak_xs_usage(cv, "THIS");
15824 PERL_UNUSED_VAR(ax); /* -Wall */
15828 wxFileType * THIS = (wxFileType *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileType" );
15829 bool ok = THIS->GetMimeType( &mimeType );
15832 XPUSHs( wxPli_wxString_2_sv( aTHX_ mimeType, sv_newmortal() ) );
15842 XS(XS_Wx__FileType_GetExtensions); /* prototype to pass -Wmissing-prototypes */
15843 XS(XS_Wx__FileType_GetExtensions)
15851 croak_xs_usage(cv, "THIS");
15852 PERL_UNUSED_VAR(ax); /* -Wall */
15855 wxArrayString extensions;
15856 wxFileType * THIS = (wxFileType *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileType" );
15857 bool ok = THIS->GetExtensions( extensions );
15861 wxPli_stringarray_push( aTHX_ extensions );
15872 XS(XS_Wx__FileType_GetIcon); /* prototype to pass -Wmissing-prototypes */
15873 XS(XS_Wx__FileType_GetIcon)
15881 croak_xs_usage(cv, "THIS");
15882 PERL_UNUSED_VAR(ax); /* -Wall */
15885 #if WXPERL_W_VERSION_GE( 2, 5, 2 )
15886 wxIconLocation iconLoc;
15890 wxFileType * THIS = (wxFileType *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileType" );
15891 bool ok = THIS->GetIcon( &iconLoc );
15894 #if WXPERL_W_VERSION_GE( 2, 5, 2 )
15895 XPUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
15896 new wxIconLocation( iconLoc ),
15897 "Wx::IconLocation" ) );
15899 XPUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
15900 new wxIcon( iconLoc ),
15912 XS(XS_Wx__FileType_GetDescription); /* prototype to pass -Wmissing-prototypes */
15913 XS(XS_Wx__FileType_GetDescription)
15921 croak_xs_usage(cv, "THIS");
15922 PERL_UNUSED_VAR(ax); /* -Wall */
15926 wxFileType * THIS = (wxFileType *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileType" );
15927 bool ok = THIS->GetDescription( &desc );
15930 XPUSHs( wxPli_wxString_2_sv( aTHX_ desc, sv_newmortal() ) );
15940 XS(XS_Wx__FileType_GetOpenCommand); /* prototype to pass -Wmissing-prototypes */
15941 XS(XS_Wx__FileType_GetOpenCommand)
15948 if (items < 2 || items > 3)
15949 croak_xs_usage(cv, "THIS, file, mimeType = wxEmptyString");
15950 PERL_UNUSED_VAR(ax); /* -Wall */
15956 wxFileType * THIS = (wxFileType *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileType" );
15958 WXSTRING_INPUT( file, wxString, ST(1) );
15961 mimeType = wxEmptyString;
15963 WXSTRING_INPUT( mimeType, wxString, ST(2) );
15965 bool ok = THIS->GetOpenCommand( &command,
15966 wxFileType::MessageParameters
15967 ( file, mimeType ) );
15969 XPUSHs( wxPli_wxString_2_sv( aTHX_ command, sv_newmortal() ) );
15978 XS(XS_Wx__FileType_GetPrintCommand); /* prototype to pass -Wmissing-prototypes */
15979 XS(XS_Wx__FileType_GetPrintCommand)
15986 if (items < 2 || items > 3)
15987 croak_xs_usage(cv, "THIS, file, mimeType = wxEmptyString");
15988 PERL_UNUSED_VAR(ax); /* -Wall */
15994 wxFileType * THIS = (wxFileType *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::FileType" );
15996 WXSTRING_INPUT( file, wxString, ST(1) );
15999 mimeType = wxEmptyString;
16001 WXSTRING_INPUT( mimeType, wxString, ST(2) );
16003 bool ok = THIS->GetPrintCommand( &command,
16004 wxFileType::MessageParameters
16005 ( file, mimeType ) );
16007 XPUSHs( wxPli_wxString_2_sv( aTHX_ command, sv_newmortal() ) );
16016 XS(XS_Wx__MimeTypesManager_new); /* prototype to pass -Wmissing-prototypes */
16017 XS(XS_Wx__MimeTypesManager_new)
16025 croak_xs_usage(cv, "CLASS");
16027 char * CLASS = (char *)SvPV_nolen(ST(0));
16028 wxMimeTypesManager * RETVAL;
16030 RETVAL = new wxMimeTypesManager();
16031 ST(0) = sv_newmortal();
16032 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::MimeTypesManager" );
16033 wxPli_thread_sv_register( aTHX_ "Wx::MimeTypesManager", RETVAL, ST(0) );
16040 XS(XS_Wx__MimeTypesManager_CLONE); /* prototype to pass -Wmissing-prototypes */
16041 XS(XS_Wx__MimeTypesManager_CLONE)
16049 croak_xs_usage(cv, "CLASS");
16051 char * CLASS = (char *)SvPV_nolen(ST(0));
16052 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
16058 XS(XS_Wx__MimeTypesManager_DESTROY); /* prototype to pass -Wmissing-prototypes */
16059 XS(XS_Wx__MimeTypesManager_DESTROY)
16067 croak_xs_usage(cv, "THIS");
16069 wxMimeTypesManager * THIS = (wxMimeTypesManager *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MimeTypesManager" );
16070 wxPli_thread_sv_unregister( aTHX_ "Wx::MimeTypesManager", THIS, ST(0) );
16077 XS(XS_Wx__MimeTypesManager_AddFallbacks); /* prototype to pass -Wmissing-prototypes */
16078 XS(XS_Wx__MimeTypesManager_AddFallbacks)
16086 croak_xs_usage(cv, "THIS, fallbacks");
16088 wxFileTypeInfo* fallbacks = (wxFileTypeInfo *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::FileTypeInfo" );
16089 wxMimeTypesManager * THIS = (wxMimeTypesManager *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MimeTypesManager" );
16091 THIS->AddFallbacks(fallbacks);
16097 XS(XS_Wx__MimeTypesManager_GetFileTypeFromExtension); /* prototype to pass -Wmissing-prototypes */
16098 XS(XS_Wx__MimeTypesManager_GetFileTypeFromExtension)
16106 croak_xs_usage(cv, "THIS, extension");
16108 wxString extension;
16109 wxMimeTypesManager * THIS = (wxMimeTypesManager *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MimeTypesManager" );
16110 wxFileType * RETVAL;
16112 WXSTRING_INPUT( extension, wxString, ST(1) );
16114 RETVAL = THIS->GetFileTypeFromExtension(extension);
16115 ST(0) = sv_newmortal();
16116 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::FileType" );
16123 XS(XS_Wx__MimeTypesManager_GetFileTypeFromMimeType); /* prototype to pass -Wmissing-prototypes */
16124 XS(XS_Wx__MimeTypesManager_GetFileTypeFromMimeType)
16132 croak_xs_usage(cv, "THIS, mimeType");
16135 wxMimeTypesManager * THIS = (wxMimeTypesManager *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MimeTypesManager" );
16136 wxFileType * RETVAL;
16138 WXSTRING_INPUT( mimeType, wxString, ST(1) );
16140 RETVAL = THIS->GetFileTypeFromMimeType(mimeType);
16141 ST(0) = sv_newmortal();
16142 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::FileType" );
16149 XS(XS_Wx__MimeTypesManager_IsOfType); /* prototype to pass -Wmissing-prototypes */
16150 XS(XS_Wx__MimeTypesManager_IsOfType)
16158 croak_xs_usage(cv, "THIS, mimeType, wildcard");
16162 wxMimeTypesManager * THIS = (wxMimeTypesManager *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MimeTypesManager" );
16165 WXSTRING_INPUT( mimeType, wxString, ST(1) );
16167 WXSTRING_INPUT( wildcard, wxString, ST(2) );
16169 RETVAL = THIS->IsOfType(mimeType, wildcard);
16170 ST(0) = boolSV(RETVAL);
16176 #if WXPERL_W_VERSION_LT( 2, 9, 0 )
16177 #define XSubPPtmpAADH 1
16180 XS(XS_Wx__MimeTypesManager_ReadMailcap); /* prototype to pass -Wmissing-prototypes */
16181 XS(XS_Wx__MimeTypesManager_ReadMailcap)
16188 if (items < 2 || items > 3)
16189 croak_xs_usage(cv, "THIS, filename, fallback = false");
16193 wxMimeTypesManager * THIS = (wxMimeTypesManager *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MimeTypesManager" );
16196 WXSTRING_INPUT( filename, wxString, ST(1) );
16201 fallback = (bool)SvTRUE(ST(2));
16204 RETVAL = THIS->ReadMailcap(filename, fallback);
16205 ST(0) = boolSV(RETVAL);
16212 XS(XS_Wx__MimeTypesManager_ReadMimeTypes); /* prototype to pass -Wmissing-prototypes */
16213 XS(XS_Wx__MimeTypesManager_ReadMimeTypes)
16221 croak_xs_usage(cv, "THIS, filename");
16224 wxMimeTypesManager * THIS = (wxMimeTypesManager *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::MimeTypesManager" );
16227 WXSTRING_INPUT( filename, wxString, ST(1) );
16229 RETVAL = THIS->ReadMimeTypes(filename);
16230 ST(0) = boolSV(RETVAL);
16237 #endif // wxUSE_MIMETYPE
16239 /* INCLUDE: Returning to 'Wx.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/MimeTypes.xsp |' */
16242 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Sound.xsp |' from 'Wx.xs' */
16244 #if WXPERL_W_VERSION_GE( 2, 5, 1 )
16245 #include <wx/sound.h>
16246 #define XSubPPtmpAADI 1
16249 XS(XS_Wx__Sound_newDefault); /* prototype to pass -Wmissing-prototypes */
16250 XS(XS_Wx__Sound_newDefault)
16258 croak_xs_usage(cv, "CLASS");
16260 char * CLASS = (char *)SvPV_nolen(ST(0));
16262 RETVAL = new wxSound();
16263 ST(0) = sv_newmortal();
16264 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Sound" );
16265 wxPli_thread_sv_register( aTHX_ "Wx::Sound", RETVAL, ST(0) );
16272 XS(XS_Wx__Sound_newFile); /* prototype to pass -Wmissing-prototypes */
16273 XS(XS_Wx__Sound_newFile)
16281 croak_xs_usage(cv, "CLASS, fileName");
16284 char * CLASS = (char *)SvPV_nolen(ST(0));
16287 WXSTRING_INPUT( fileName, wxString, ST(1) );
16288 RETVAL = new wxSound( fileName );
16289 ST(0) = sv_newmortal();
16290 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Sound" );
16291 wxPli_thread_sv_register( aTHX_ "Wx::Sound", RETVAL, ST(0) );
16298 XS(XS_Wx__Sound_CLONE); /* prototype to pass -Wmissing-prototypes */
16299 XS(XS_Wx__Sound_CLONE)
16307 croak_xs_usage(cv, "CLASS");
16309 char * CLASS = (char *)SvPV_nolen(ST(0));
16310 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
16316 XS(XS_Wx__Sound_DESTROY); /* prototype to pass -Wmissing-prototypes */
16317 XS(XS_Wx__Sound_DESTROY)
16325 croak_xs_usage(cv, "THIS");
16327 wxSound * THIS = (wxSound *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sound" );
16328 wxPli_thread_sv_unregister( aTHX_ "Wx::Sound", THIS, ST(0) );
16335 XS(XS_Wx__Sound_Create); /* prototype to pass -Wmissing-prototypes */
16336 XS(XS_Wx__Sound_Create)
16344 croak_xs_usage(cv, "THIS, fileName");
16347 wxSound * THIS = (wxSound *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sound" );
16350 WXSTRING_INPUT( fileName, wxString, ST(1) );
16352 RETVAL = THIS->Create(fileName);
16353 ST(0) = boolSV(RETVAL);
16360 XS(XS_Wx__Sound_Play); /* prototype to pass -Wmissing-prototypes */
16361 XS(XS_Wx__Sound_Play)
16368 if (items < 1 || items > 2)
16369 croak_xs_usage(cv, "THIS, flags = wxSOUND_ASYNC");
16371 unsigned int flags;
16372 wxSound * THIS = (wxSound *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sound" );
16376 flags = wxSOUND_ASYNC;
16378 flags = (unsigned int)SvUV( ST(1) );
16381 RETVAL = THIS->Play(flags);
16382 ST(0) = boolSV(RETVAL);
16389 XS(XS_Wx__Sound_IsOk); /* prototype to pass -Wmissing-prototypes */
16390 XS(XS_Wx__Sound_IsOk)
16398 croak_xs_usage(cv, "THIS");
16400 wxSound * THIS = (wxSound *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sound" );
16403 RETVAL = THIS->IsOk();
16404 ST(0) = boolSV(RETVAL);
16411 XS(XS_Wx__Sound_new); /* prototype to pass -Wmissing-prototypes */
16412 XS(XS_Wx__Sound_new)
16419 PERL_UNUSED_VAR(cv); /* -W */
16420 PERL_UNUSED_VAR(ax); /* -Wall */
16424 MATCH_VOIDM_REDISP( newDefault )
16425 MATCH_ANY_REDISP( newFile )
16426 END_OVERLOAD( "Wx::Choicebook::new" )
16433 XS(XS_Wx__Sound_newData); /* prototype to pass -Wmissing-prototypes */
16434 XS(XS_Wx__Sound_newData)
16442 croak_xs_usage(cv, "THIS, data");
16445 wxSound * THIS = (wxSound *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sound" );
16448 const wxByte* buffer = (wxByte*) SvPV( data, len );
16449 RETVAL = new wxSound( len, buffer );
16450 ST(0) = sv_newmortal();
16451 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Sound" );
16452 wxPli_thread_sv_register( aTHX_ "Wx::Sound", RETVAL, ST(0) );
16458 #if !defined(__WXMAC__)
16459 #define XSubPPtmpAADJ 1
16462 XS(XS_Wx__Sound_CreateData); /* prototype to pass -Wmissing-prototypes */
16463 XS(XS_Wx__Sound_CreateData)
16471 croak_xs_usage(cv, "THIS, data");
16474 wxSound * THIS = (wxSound *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Sound" );
16477 const wxByte* buffer = (wxByte*) SvPV( data, len );
16478 RETVAL = THIS->Create( len, buffer );
16479 ST(0) = boolSV(RETVAL);
16487 XS(XS_Wx__Sound_Stop); /* prototype to pass -Wmissing-prototypes */
16488 XS(XS_Wx__Sound_Stop)
16496 croak_xs_usage(cv, "");
16503 #if !defined( __WXMSW__ )
16504 #define XSubPPtmpAADK 1
16507 XS(XS_Wx__Sound_IsPlaying); /* prototype to pass -Wmissing-prototypes */
16508 XS(XS_Wx__Sound_IsPlaying)
16516 croak_xs_usage(cv, "");
16519 RETVAL = wxSound::IsPlaying();
16520 ST(0) = boolSV(RETVAL);
16529 /* INCLUDE: Returning to 'Wx.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Sound.xsp |' */
16532 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Power.xsp |' from 'Wx.xs' */
16534 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
16535 #include <wx/power.h>
16536 #ifdef wxHAS_POWER_EVENTS
16537 #define XSubPPtmpAADL 1
16540 XS(XS_Wx__PowerEvent_Veto); /* prototype to pass -Wmissing-prototypes */
16541 XS(XS_Wx__PowerEvent_Veto)
16549 croak_xs_usage(cv, "THIS");
16551 wxPowerEvent * THIS = (wxPowerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PowerEvent" );
16559 XS(XS_Wx__PowerEvent_IsVetoed); /* prototype to pass -Wmissing-prototypes */
16560 XS(XS_Wx__PowerEvent_IsVetoed)
16568 croak_xs_usage(cv, "THIS");
16570 wxPowerEvent * THIS = (wxPowerEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PowerEvent" );
16573 RETVAL = THIS->IsVetoed();
16574 ST(0) = boolSV(RETVAL);
16581 #define XSubPPtmpAADM 1
16584 XS(XS_Wx_GetPowerType); /* prototype to pass -Wmissing-prototypes */
16585 XS(XS_Wx_GetPowerType)
16593 croak_xs_usage(cv, "");
16595 wxPowerType RETVAL;
16597 RETVAL = wxGetPowerType();
16598 XSprePUSH; PUSHi((IV)RETVAL);
16604 XS(XS_Wx_GetBatteryState); /* prototype to pass -Wmissing-prototypes */
16605 XS(XS_Wx_GetBatteryState)
16613 croak_xs_usage(cv, "");
16615 wxBatteryState RETVAL;
16617 RETVAL = wxGetBatteryState();
16618 XSprePUSH; PUSHi((IV)RETVAL);
16625 /* INCLUDE: Returning to 'Wx.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Power.xsp |' */
16628 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ClassInfo.xs |' from 'Wx.xs' */
16631 XS(XS_Wx__ClassInfo_FindClass); /* prototype to pass -Wmissing-prototypes */
16632 XS(XS_Wx__ClassInfo_FindClass)
16640 croak_xs_usage(cv, "name");
16643 wxClassInfo * RETVAL;
16645 WXSTRING_INPUT( name, wxString, ST(0) );
16646 RETVAL = wxClassInfo::FindClass( name );
16647 ST(0) = sv_newmortal();
16648 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ClassInfo" );
16655 XS(XS_Wx__ClassInfo_GetBaseClassName1); /* prototype to pass -Wmissing-prototypes */
16656 XS(XS_Wx__ClassInfo_GetBaseClassName1)
16664 croak_xs_usage(cv, "THIS");
16666 wxClassInfo * THIS = (wxClassInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ClassInfo" );
16667 const wxChar * RETVAL;
16669 RETVAL = THIS->GetBaseClassName1();
16670 ST(0) = sv_newmortal();
16671 WXCHAR_OUTPUT( RETVAL, ST(0) );
16678 XS(XS_Wx__ClassInfo_GetBaseClassName2); /* prototype to pass -Wmissing-prototypes */
16679 XS(XS_Wx__ClassInfo_GetBaseClassName2)
16687 croak_xs_usage(cv, "THIS");
16689 wxClassInfo * THIS = (wxClassInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ClassInfo" );
16690 const wxChar * RETVAL;
16692 RETVAL = THIS->GetBaseClassName2();
16693 ST(0) = sv_newmortal();
16694 WXCHAR_OUTPUT( RETVAL, ST(0) );
16701 XS(XS_Wx__ClassInfo_GetClassName); /* prototype to pass -Wmissing-prototypes */
16702 XS(XS_Wx__ClassInfo_GetClassName)
16710 croak_xs_usage(cv, "THIS");
16712 wxClassInfo * THIS = (wxClassInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ClassInfo" );
16713 const wxChar * RETVAL;
16715 RETVAL = THIS->GetClassName();
16716 ST(0) = sv_newmortal();
16717 WXCHAR_OUTPUT( RETVAL, ST(0) );
16723 #if wxUSE_EXTENDED_RTTI
16724 #define XSubPPtmpAADN 1
16727 XS(XS_Wx__ClassInfo_GetParents); /* prototype to pass -Wmissing-prototypes */
16728 XS(XS_Wx__ClassInfo_GetParents)
16736 croak_xs_usage(cv, "THIS");
16737 PERL_UNUSED_VAR(ax); /* -Wall */
16740 wxClassInfo * THIS = (wxClassInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ClassInfo" );
16741 const wxClassInfo** parents = THIS->GetParents();
16743 XPUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
16744 *parents, "Wx::ClassInfo" ) );
16751 XS(XS_Wx__ClassInfo_GetFirstProperty); /* prototype to pass -Wmissing-prototypes */
16752 XS(XS_Wx__ClassInfo_GetFirstProperty)
16760 croak_xs_usage(cv, "THIS");
16762 wxClassInfo * THIS = (wxClassInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ClassInfo" );
16763 const wxPropertyInfo * RETVAL;
16765 RETVAL = THIS->GetFirstProperty();
16766 ST(0) = sv_newmortal();
16767 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::PropertyInfo" );
16774 XS(XS_Wx__ClassInfo_FindPropertyInfo); /* prototype to pass -Wmissing-prototypes */
16775 XS(XS_Wx__ClassInfo_FindPropertyInfo)
16783 croak_xs_usage(cv, "THIS, name");
16785 const wxChar* name;
16786 wxClassInfo * THIS = (wxClassInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ClassInfo" );
16787 const wxPropertyInfo * RETVAL;
16789 WXCHAR_INPUT( name, wxChar*, ST(1) );
16791 RETVAL = THIS->FindPropertyInfo(name);
16792 ST(0) = sv_newmortal();
16793 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::PropertyInfo" );
16800 XS(XS_Wx__ClassInfo_FindPropertyInfoInThisClass); /* prototype to pass -Wmissing-prototypes */
16801 XS(XS_Wx__ClassInfo_FindPropertyInfoInThisClass)
16809 croak_xs_usage(cv, "THIS, name");
16811 const wxChar* name;
16812 wxClassInfo * THIS = (wxClassInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::ClassInfo" );
16813 const wxPropertyInfo * RETVAL;
16815 WXCHAR_INPUT( name, wxChar*, ST(1) );
16817 RETVAL = THIS->FindPropertyInfoInThisClass(name);
16818 ST(0) = sv_newmortal();
16819 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::PropertyInfo" );
16826 XS(XS_Wx__PropertyInfo_GetDeclaringClass); /* prototype to pass -Wmissing-prototypes */
16827 XS(XS_Wx__PropertyInfo_GetDeclaringClass)
16835 croak_xs_usage(cv, "THIS");
16837 wxPropertyInfo * THIS = (wxPropertyInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyInfo" );
16838 const wxClassInfo * RETVAL;
16840 RETVAL = THIS->GetDeclaringClass();
16841 ST(0) = sv_newmortal();
16842 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::ClassInfo" );
16849 XS(XS_Wx__PropertyInfo_GetName); /* prototype to pass -Wmissing-prototypes */
16850 XS(XS_Wx__PropertyInfo_GetName)
16858 croak_xs_usage(cv, "THIS");
16860 wxPropertyInfo * THIS = (wxPropertyInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyInfo" );
16863 RETVAL = THIS->GetName();
16864 ST(0) = sv_newmortal();
16865 WXSTRING_OUTPUT( RETVAL, ST(0) );
16872 XS(XS_Wx__PropertyInfo_GetFlags); /* prototype to pass -Wmissing-prototypes */
16873 XS(XS_Wx__PropertyInfo_GetFlags)
16881 croak_xs_usage(cv, "THIS");
16883 wxPropertyInfo * THIS = (wxPropertyInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyInfo" );
16884 wxPropertyInfoFlags RETVAL;
16887 RETVAL = THIS->GetFlags();
16888 XSprePUSH; PUSHi((IV)RETVAL);
16894 XS(XS_Wx__PropertyInfo_GetHelpString); /* prototype to pass -Wmissing-prototypes */
16895 XS(XS_Wx__PropertyInfo_GetHelpString)
16903 croak_xs_usage(cv, "THIS");
16905 wxPropertyInfo * THIS = (wxPropertyInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyInfo" );
16908 RETVAL = THIS->GetHelpString();
16909 ST(0) = sv_newmortal();
16910 WXSTRING_OUTPUT( RETVAL, ST(0) );
16917 XS(XS_Wx__PropertyInfo_GetGroupString); /* prototype to pass -Wmissing-prototypes */
16918 XS(XS_Wx__PropertyInfo_GetGroupString)
16926 croak_xs_usage(cv, "THIS");
16928 wxPropertyInfo * THIS = (wxPropertyInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyInfo" );
16931 RETVAL = THIS->GetGroupString();
16932 ST(0) = sv_newmortal();
16933 WXSTRING_OUTPUT( RETVAL, ST(0) );
16940 XS(XS_Wx__PropertyInfo_GetCollectionElementTypeInfo); /* prototype to pass -Wmissing-prototypes */
16941 XS(XS_Wx__PropertyInfo_GetCollectionElementTypeInfo)
16949 croak_xs_usage(cv, "THIS");
16951 wxPropertyInfo * THIS = (wxPropertyInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyInfo" );
16952 const wxTypeInfo * RETVAL;
16954 RETVAL = THIS->GetCollectionElementTypeInfo();
16955 ST(0) = sv_newmortal();
16956 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TypeInfo" );
16963 XS(XS_Wx__PropertyInfo_GetTypeInfo); /* prototype to pass -Wmissing-prototypes */
16964 XS(XS_Wx__PropertyInfo_GetTypeInfo)
16972 croak_xs_usage(cv, "THIS");
16974 wxPropertyInfo * THIS = (wxPropertyInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyInfo" );
16975 const wxTypeInfo * RETVAL;
16977 RETVAL = THIS->GetTypeInfo();
16978 ST(0) = sv_newmortal();
16979 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TypeInfo" );
16986 XS(XS_Wx__PropertyInfo_GetAccessor); /* prototype to pass -Wmissing-prototypes */
16987 XS(XS_Wx__PropertyInfo_GetAccessor)
16995 croak_xs_usage(cv, "THIS");
16997 wxPropertyInfo * THIS = (wxPropertyInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyInfo" );
16998 wxPropertyAccessor * RETVAL;
17000 RETVAL = THIS->GetAccessor();
17001 ST(0) = sv_newmortal();
17002 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::PropertyAccessor" );
17009 XS(XS_Wx__PropertyInfo_GetNext); /* prototype to pass -Wmissing-prototypes */
17010 XS(XS_Wx__PropertyInfo_GetNext)
17018 croak_xs_usage(cv, "THIS");
17020 wxPropertyInfo * THIS = (wxPropertyInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyInfo" );
17021 wxPropertyInfo * RETVAL;
17023 RETVAL = THIS->GetNext();
17024 ST(0) = sv_newmortal();
17025 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::PropertyInfo" );
17032 XS(XS_Wx__TypeInfo_GetKind); /* prototype to pass -Wmissing-prototypes */
17033 XS(XS_Wx__TypeInfo_GetKind)
17041 croak_xs_usage(cv, "THIS");
17043 wxTypeInfo * THIS = (wxTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TypeInfo" );
17047 RETVAL = THIS->GetKind();
17048 XSprePUSH; PUSHi((IV)RETVAL);
17054 XS(XS_Wx__TypeInfo_GetTypeName); /* prototype to pass -Wmissing-prototypes */
17055 XS(XS_Wx__TypeInfo_GetTypeName)
17063 croak_xs_usage(cv, "THIS");
17065 wxTypeInfo * THIS = (wxTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TypeInfo" );
17068 RETVAL = THIS->GetTypeName();
17069 ST(0) = sv_newmortal();
17070 WXSTRING_OUTPUT( RETVAL, ST(0) );
17077 XS(XS_Wx__TypeInfo_IsDelegateType); /* prototype to pass -Wmissing-prototypes */
17078 XS(XS_Wx__TypeInfo_IsDelegateType)
17086 croak_xs_usage(cv, "THIS");
17088 wxTypeInfo * THIS = (wxTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TypeInfo" );
17091 RETVAL = THIS->IsDelegateType();
17092 ST(0) = boolSV(RETVAL);
17099 XS(XS_Wx__TypeInfo_IsCustomType); /* prototype to pass -Wmissing-prototypes */
17100 XS(XS_Wx__TypeInfo_IsCustomType)
17108 croak_xs_usage(cv, "THIS");
17110 wxTypeInfo * THIS = (wxTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TypeInfo" );
17113 RETVAL = THIS->IsCustomType();
17114 ST(0) = boolSV(RETVAL);
17121 XS(XS_Wx__TypeInfo_IsObjectType); /* prototype to pass -Wmissing-prototypes */
17122 XS(XS_Wx__TypeInfo_IsObjectType)
17130 croak_xs_usage(cv, "THIS");
17132 wxTypeInfo * THIS = (wxTypeInfo *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TypeInfo" );
17135 RETVAL = THIS->IsObjectType();
17136 ST(0) = boolSV(RETVAL);
17143 XS(XS_Wx__PropertyAccessor_HasSetter); /* prototype to pass -Wmissing-prototypes */
17144 XS(XS_Wx__PropertyAccessor_HasSetter)
17152 croak_xs_usage(cv, "THIS");
17154 wxPropertyAccessor * THIS = (wxPropertyAccessor *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyAccessor" );
17157 RETVAL = THIS->HasSetter();
17158 ST(0) = boolSV(RETVAL);
17165 XS(XS_Wx__PropertyAccessor_HasCollectionGetter); /* prototype to pass -Wmissing-prototypes */
17166 XS(XS_Wx__PropertyAccessor_HasCollectionGetter)
17174 croak_xs_usage(cv, "THIS");
17176 wxPropertyAccessor * THIS = (wxPropertyAccessor *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyAccessor" );
17179 RETVAL = THIS->HasCollectionGetter();
17180 ST(0) = boolSV(RETVAL);
17187 XS(XS_Wx__PropertyAccessor_HasGetter); /* prototype to pass -Wmissing-prototypes */
17188 XS(XS_Wx__PropertyAccessor_HasGetter)
17196 croak_xs_usage(cv, "THIS");
17198 wxPropertyAccessor * THIS = (wxPropertyAccessor *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyAccessor" );
17201 RETVAL = THIS->HasGetter();
17202 ST(0) = boolSV(RETVAL);
17209 XS(XS_Wx__PropertyAccessor_HasAdder); /* prototype to pass -Wmissing-prototypes */
17210 XS(XS_Wx__PropertyAccessor_HasAdder)
17218 croak_xs_usage(cv, "THIS");
17220 wxPropertyAccessor * THIS = (wxPropertyAccessor *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyAccessor" );
17223 RETVAL = THIS->HasAdder();
17224 ST(0) = boolSV(RETVAL);
17231 XS(XS_Wx__PropertyAccessor_GetCollectionGetterName); /* prototype to pass -Wmissing-prototypes */
17232 XS(XS_Wx__PropertyAccessor_GetCollectionGetterName)
17240 croak_xs_usage(cv, "THIS");
17242 wxPropertyAccessor * THIS = (wxPropertyAccessor *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyAccessor" );
17245 RETVAL = THIS->GetCollectionGetterName();
17246 ST(0) = sv_newmortal();
17247 WXSTRING_OUTPUT( RETVAL, ST(0) );
17254 XS(XS_Wx__PropertyAccessor_GetGetterName); /* prototype to pass -Wmissing-prototypes */
17255 XS(XS_Wx__PropertyAccessor_GetGetterName)
17263 croak_xs_usage(cv, "THIS");
17265 wxPropertyAccessor * THIS = (wxPropertyAccessor *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyAccessor" );
17268 RETVAL = THIS->GetGetterName();
17269 ST(0) = sv_newmortal();
17270 WXSTRING_OUTPUT( RETVAL, ST(0) );
17277 XS(XS_Wx__PropertyAccessor_GetSetterName); /* prototype to pass -Wmissing-prototypes */
17278 XS(XS_Wx__PropertyAccessor_GetSetterName)
17286 croak_xs_usage(cv, "THIS");
17288 wxPropertyAccessor * THIS = (wxPropertyAccessor *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyAccessor" );
17291 RETVAL = THIS->GetSetterName();
17292 ST(0) = sv_newmortal();
17293 WXSTRING_OUTPUT( RETVAL, ST(0) );
17300 XS(XS_Wx__PropertyAccessor_GetAdderName); /* prototype to pass -Wmissing-prototypes */
17301 XS(XS_Wx__PropertyAccessor_GetAdderName)
17309 croak_xs_usage(cv, "THIS");
17311 wxPropertyAccessor * THIS = (wxPropertyAccessor *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PropertyAccessor" );
17314 RETVAL = THIS->GetAdderName();
17315 ST(0) = sv_newmortal();
17316 WXSTRING_OUTPUT( RETVAL, ST(0) );
17324 /* INCLUDE: Returning to 'Wx.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ClassInfo.xs |' */
17327 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Display.xsp |' from 'Wx.xs' */
17329 #include <wx/vidmode.h>
17330 #include <wx/display.h>
17331 #define wxDefaultVideoModePtr (wxVideoMode*)&wxDefaultVideoMode
17333 XS(XS_Wx__VideoMode_new); /* prototype to pass -Wmissing-prototypes */
17334 XS(XS_Wx__VideoMode_new)
17341 if (items < 1 || items > 5)
17342 croak_xs_usage(cv, "CLASS, width = 0, height = 0, depth = 0, freq = 0");
17348 char * CLASS = (char *)SvPV_nolen(ST(0));
17349 wxVideoMode * RETVAL;
17354 width = (int)SvIV(ST(1));
17360 height = (int)SvIV(ST(2));
17366 depth = (int)SvIV(ST(3));
17372 freq = (int)SvIV(ST(4));
17375 RETVAL = new wxVideoMode(width, height, depth, freq);
17376 ST(0) = sv_newmortal();
17377 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::VideoMode" );
17378 wxPli_thread_sv_register( aTHX_ "Wx::VideoMode", RETVAL, ST(0) );
17385 XS(XS_Wx__VideoMode_CLONE); /* prototype to pass -Wmissing-prototypes */
17386 XS(XS_Wx__VideoMode_CLONE)
17394 croak_xs_usage(cv, "CLASS");
17396 char * CLASS = (char *)SvPV_nolen(ST(0));
17397 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
17403 XS(XS_Wx__VideoMode_DESTROY); /* prototype to pass -Wmissing-prototypes */
17404 XS(XS_Wx__VideoMode_DESTROY)
17412 croak_xs_usage(cv, "THIS");
17414 wxVideoMode * THIS = (wxVideoMode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VideoMode" );
17415 wxPli_thread_sv_unregister( aTHX_ "Wx::VideoMode", THIS, ST(0) );
17422 XS(XS_Wx__VideoMode_Matches); /* prototype to pass -Wmissing-prototypes */
17423 XS(XS_Wx__VideoMode_Matches)
17431 croak_xs_usage(cv, "THIS, other");
17433 wxVideoMode* other = (wxVideoMode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::VideoMode" );
17434 wxVideoMode * THIS = (wxVideoMode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VideoMode" );
17436 RETVAL = THIS->Matches( *( other ) );
17437 ST(0) = boolSV(RETVAL);
17444 XS(XS_Wx__VideoMode_GetWidth); /* prototype to pass -Wmissing-prototypes */
17445 XS(XS_Wx__VideoMode_GetWidth)
17453 croak_xs_usage(cv, "THIS");
17455 wxVideoMode * THIS = (wxVideoMode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VideoMode" );
17459 RETVAL = THIS->GetWidth();
17460 XSprePUSH; PUSHi((IV)RETVAL);
17466 XS(XS_Wx__VideoMode_GetHeight); /* prototype to pass -Wmissing-prototypes */
17467 XS(XS_Wx__VideoMode_GetHeight)
17475 croak_xs_usage(cv, "THIS");
17477 wxVideoMode * THIS = (wxVideoMode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VideoMode" );
17481 RETVAL = THIS->GetHeight();
17482 XSprePUSH; PUSHi((IV)RETVAL);
17488 XS(XS_Wx__VideoMode_GetDepth); /* prototype to pass -Wmissing-prototypes */
17489 XS(XS_Wx__VideoMode_GetDepth)
17497 croak_xs_usage(cv, "THIS");
17499 wxVideoMode * THIS = (wxVideoMode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VideoMode" );
17503 RETVAL = THIS->GetDepth();
17504 XSprePUSH; PUSHi((IV)RETVAL);
17510 XS(XS_Wx__VideoMode_IsOk); /* prototype to pass -Wmissing-prototypes */
17511 XS(XS_Wx__VideoMode_IsOk)
17519 croak_xs_usage(cv, "THIS");
17521 wxVideoMode * THIS = (wxVideoMode *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::VideoMode" );
17524 RETVAL = THIS->IsOk();
17525 ST(0) = boolSV(RETVAL);
17532 XS(XS_Wx__Display_new); /* prototype to pass -Wmissing-prototypes */
17533 XS(XS_Wx__Display_new)
17540 if (items < 1 || items > 2)
17541 croak_xs_usage(cv, "CLASS, n = 0");
17544 char * CLASS = (char *)SvPV_nolen(ST(0));
17545 wxDisplay * RETVAL;
17550 n = (unsigned int)SvUV( ST(1) );
17553 RETVAL = new wxDisplay(n);
17554 ST(0) = sv_newmortal();
17555 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Display" );
17556 wxPli_thread_sv_register( aTHX_ "Wx::Display", RETVAL, ST(0) );
17563 XS(XS_Wx__Display_CLONE); /* prototype to pass -Wmissing-prototypes */
17564 XS(XS_Wx__Display_CLONE)
17572 croak_xs_usage(cv, "CLASS");
17574 char * CLASS = (char *)SvPV_nolen(ST(0));
17575 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
17581 XS(XS_Wx__Display_DESTROY); /* prototype to pass -Wmissing-prototypes */
17582 XS(XS_Wx__Display_DESTROY)
17590 croak_xs_usage(cv, "THIS");
17592 wxDisplay * THIS = (wxDisplay *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Display" );
17593 wxPli_thread_sv_unregister( aTHX_ "Wx::Display", THIS, ST(0) );
17600 XS(XS_Wx__Display_GetCount); /* prototype to pass -Wmissing-prototypes */
17601 XS(XS_Wx__Display_GetCount)
17609 croak_xs_usage(cv, "");
17613 RETVAL = wxDisplay::GetCount();
17614 XSprePUSH; PUSHi((IV)RETVAL);
17620 XS(XS_Wx__Display_GetFromPoint); /* prototype to pass -Wmissing-prototypes */
17621 XS(XS_Wx__Display_GetFromPoint)
17629 croak_xs_usage(cv, "point");
17631 wxPoint point = wxPli_sv_2_wxpoint( aTHX_ ST(0) );
17634 RETVAL = wxDisplay::GetFromPoint( point );
17635 XSprePUSH; PUSHi((IV)RETVAL);
17640 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
17641 #define XSubPPtmpAADO 1
17644 XS(XS_Wx__Display_GetFromWindow); /* prototype to pass -Wmissing-prototypes */
17645 XS(XS_Wx__Display_GetFromWindow)
17653 croak_xs_usage(cv, "window");
17655 wxWindow* window = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Window" );
17658 RETVAL = wxDisplay::GetFromWindow( window );
17659 XSprePUSH; PUSHi((IV)RETVAL);
17666 XS(XS_Wx__Display_IsOk); /* prototype to pass -Wmissing-prototypes */
17667 XS(XS_Wx__Display_IsOk)
17675 croak_xs_usage(cv, "THIS");
17677 wxDisplay * THIS = (wxDisplay *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Display" );
17680 RETVAL = THIS->IsOk();
17681 ST(0) = boolSV(RETVAL);
17688 XS(XS_Wx__Display_GetGeometry); /* prototype to pass -Wmissing-prototypes */
17689 XS(XS_Wx__Display_GetGeometry)
17697 croak_xs_usage(cv, "THIS");
17699 wxDisplay * THIS = (wxDisplay *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Display" );
17701 RETVAL = new wxRect( THIS->GetGeometry() );
17702 ST(0) = sv_newmortal();
17703 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
17704 wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
17710 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
17711 #define XSubPPtmpAADP 1
17714 XS(XS_Wx__Display_GetClientArea); /* prototype to pass -Wmissing-prototypes */
17715 XS(XS_Wx__Display_GetClientArea)
17723 croak_xs_usage(cv, "THIS");
17725 wxDisplay * THIS = (wxDisplay *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Display" );
17727 RETVAL = new wxRect( THIS->GetClientArea() );
17728 ST(0) = sv_newmortal();
17729 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Rect" );
17730 wxPli_thread_sv_register( aTHX_ "Wx::Rect", RETVAL, ST(0) );
17738 XS(XS_Wx__Display_GetName); /* prototype to pass -Wmissing-prototypes */
17739 XS(XS_Wx__Display_GetName)
17747 croak_xs_usage(cv, "THIS");
17749 wxDisplay * THIS = (wxDisplay *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Display" );
17752 RETVAL = THIS->GetName();
17753 ST(0) = sv_newmortal();
17754 WXSTRING_OUTPUT( RETVAL, ST(0) );
17761 XS(XS_Wx__Display_IsPrimary); /* prototype to pass -Wmissing-prototypes */
17762 XS(XS_Wx__Display_IsPrimary)
17770 croak_xs_usage(cv, "THIS");
17772 wxDisplay * THIS = (wxDisplay *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Display" );
17775 RETVAL = THIS->IsPrimary();
17776 ST(0) = boolSV(RETVAL);
17783 #define XSubPPtmpAADQ 1
17786 XS(XS_Wx__Display_GetModes); /* prototype to pass -Wmissing-prototypes */
17787 XS(XS_Wx__Display_GetModes)
17794 if (items < 1 || items > 2)
17795 croak_xs_usage(cv, "THIS, videoMode = wxDefaultVideoModePtr");
17796 PERL_UNUSED_VAR(ax); /* -Wall */
17799 wxVideoMode* videoMode;
17800 wxDisplay * THIS = (wxDisplay *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Display" );
17803 videoMode = wxDefaultVideoModePtr;
17805 videoMode = (wxVideoMode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::VideoMode" );
17807 wxArrayVideoModes modes = THIS->GetModes( *videoMode );
17808 size_t mx = modes.GetCount();
17809 EXTEND( SP, int(mx) );
17810 for( size_t i = 0; i < mx; ++i )
17812 wxVideoMode* mode = new wxVideoMode( modes[i] );
17813 PUSHs( wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
17814 mode, "Wx::VideoMode" ) );
17822 XS(XS_Wx__Display_GetCurrentMode); /* prototype to pass -Wmissing-prototypes */
17823 XS(XS_Wx__Display_GetCurrentMode)
17831 croak_xs_usage(cv, "THIS");
17833 wxDisplay * THIS = (wxDisplay *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Display" );
17834 wxVideoMode * RETVAL;
17835 RETVAL = new wxVideoMode( THIS->GetCurrentMode() );
17836 ST(0) = sv_newmortal();
17837 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::VideoMode" );
17838 wxPli_thread_sv_register( aTHX_ "Wx::VideoMode", RETVAL, ST(0) );
17845 XS(XS_Wx__Display_ChangeMode); /* prototype to pass -Wmissing-prototypes */
17846 XS(XS_Wx__Display_ChangeMode)
17853 if (items < 1 || items > 2)
17854 croak_xs_usage(cv, "THIS, mode = wxDefaultVideoModePtr");
17857 wxDisplay * THIS = (wxDisplay *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Display" );
17861 mode = wxDefaultVideoModePtr;
17863 mode = (wxVideoMode *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::VideoMode" );
17865 RETVAL = THIS->ChangeMode( *( mode ) );
17866 ST(0) = boolSV(RETVAL);
17873 XS(XS_Wx__Display_ResetMode); /* prototype to pass -Wmissing-prototypes */
17874 XS(XS_Wx__Display_ResetMode)
17882 croak_xs_usage(cv, "THIS");
17884 wxDisplay * THIS = (wxDisplay *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Display" );
17891 #endif // wxUSE_DISPLAY
17893 /* INCLUDE: Returning to 'Wx.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Display.xsp |' */
17896 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/StandardPaths.xsp |' from 'Wx.xs' */
17898 #if WXPERL_W_VERSION_GE( 2, 6, 0 )
17899 #include <wx/stdpaths.h>
17900 #define ResourceCat wxStandardPathsBase::ResourceCat
17901 #if WXPERL_W_VERSION_GE( 2, 8, 0 )
17902 #define XSubPPtmpAADR 1
17905 XS(XS_Wx__StandardPaths_GetExecutablePath); /* prototype to pass -Wmissing-prototypes */
17906 XS(XS_Wx__StandardPaths_GetExecutablePath)
17914 croak_xs_usage(cv, "THIS");
17916 wxStandardPaths * THIS = (wxStandardPaths *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StandardPaths" );
17919 RETVAL = THIS->GetExecutablePath();
17920 ST(0) = sv_newmortal();
17921 WXSTRING_OUTPUT( RETVAL, ST(0) );
17928 #define XSubPPtmpAADS 1
17931 XS(XS_Wx__StandardPaths_GetConfigDir); /* prototype to pass -Wmissing-prototypes */
17932 XS(XS_Wx__StandardPaths_GetConfigDir)
17940 croak_xs_usage(cv, "THIS");
17942 wxStandardPaths * THIS = (wxStandardPaths *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StandardPaths" );
17945 RETVAL = THIS->GetConfigDir();
17946 ST(0) = sv_newmortal();
17947 WXSTRING_OUTPUT( RETVAL, ST(0) );
17954 XS(XS_Wx__StandardPaths_GetUserConfigDir); /* prototype to pass -Wmissing-prototypes */
17955 XS(XS_Wx__StandardPaths_GetUserConfigDir)
17963 croak_xs_usage(cv, "THIS");
17965 wxStandardPaths * THIS = (wxStandardPaths *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StandardPaths" );
17968 RETVAL = THIS->GetUserConfigDir();
17969 ST(0) = sv_newmortal();
17970 WXSTRING_OUTPUT( RETVAL, ST(0) );
17977 XS(XS_Wx__StandardPaths_GetDataDir); /* prototype to pass -Wmissing-prototypes */
17978 XS(XS_Wx__StandardPaths_GetDataDir)
17986 croak_xs_usage(cv, "THIS");
17988 wxStandardPaths * THIS = (wxStandardPaths *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StandardPaths" );
17991 RETVAL = THIS->GetDataDir();
17992 ST(0) = sv_newmortal();
17993 WXSTRING_OUTPUT( RETVAL, ST(0) );
18000 XS(XS_Wx__StandardPaths_GetLocalDataDir); /* prototype to pass -Wmissing-prototypes */
18001 XS(XS_Wx__StandardPaths_GetLocalDataDir)
18009 croak_xs_usage(cv, "THIS");
18011 wxStandardPaths * THIS = (wxStandardPaths *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StandardPaths" );
18014 RETVAL = THIS->GetLocalDataDir();
18015 ST(0) = sv_newmortal();
18016 WXSTRING_OUTPUT( RETVAL, ST(0) );
18023 XS(XS_Wx__StandardPaths_GetUserDataDir); /* prototype to pass -Wmissing-prototypes */
18024 XS(XS_Wx__StandardPaths_GetUserDataDir)
18032 croak_xs_usage(cv, "THIS");
18034 wxStandardPaths * THIS = (wxStandardPaths *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StandardPaths" );
18037 RETVAL = THIS->GetUserDataDir();
18038 ST(0) = sv_newmortal();
18039 WXSTRING_OUTPUT( RETVAL, ST(0) );
18046 XS(XS_Wx__StandardPaths_GetUserLocalDataDir); /* prototype to pass -Wmissing-prototypes */
18047 XS(XS_Wx__StandardPaths_GetUserLocalDataDir)
18055 croak_xs_usage(cv, "THIS");
18057 wxStandardPaths * THIS = (wxStandardPaths *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StandardPaths" );
18060 RETVAL = THIS->GetUserLocalDataDir();
18061 ST(0) = sv_newmortal();
18062 WXSTRING_OUTPUT( RETVAL, ST(0) );
18069 XS(XS_Wx__StandardPaths_GetPluginsDir); /* prototype to pass -Wmissing-prototypes */
18070 XS(XS_Wx__StandardPaths_GetPluginsDir)
18078 croak_xs_usage(cv, "THIS");
18080 wxStandardPaths * THIS = (wxStandardPaths *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StandardPaths" );
18083 RETVAL = THIS->GetPluginsDir();
18084 ST(0) = sv_newmortal();
18085 WXSTRING_OUTPUT( RETVAL, ST(0) );
18091 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
18092 #define XSubPPtmpAADT 1
18095 XS(XS_Wx__StandardPaths_GetResourcesDir); /* prototype to pass -Wmissing-prototypes */
18096 XS(XS_Wx__StandardPaths_GetResourcesDir)
18104 croak_xs_usage(cv, "THIS");
18106 wxStandardPaths * THIS = (wxStandardPaths *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StandardPaths" );
18109 RETVAL = THIS->GetResourcesDir();
18110 ST(0) = sv_newmortal();
18111 WXSTRING_OUTPUT( RETVAL, ST(0) );
18118 XS(XS_Wx__StandardPaths_GetLocalizedResourcesDir); /* prototype to pass -Wmissing-prototypes */
18119 XS(XS_Wx__StandardPaths_GetLocalizedResourcesDir)
18126 if (items < 2 || items > 3)
18127 croak_xs_usage(cv, "THIS, lang, category = wxStandardPathsBase::ResourceCat_None");
18130 ResourceCat category;
18131 wxStandardPaths * THIS = (wxStandardPaths *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StandardPaths" );
18134 WXSTRING_INPUT( lang, wxString, ST(1) );
18137 category = wxStandardPathsBase::ResourceCat_None;
18139 category = (ResourceCat)SvIV(ST(2));
18142 RETVAL = THIS->GetLocalizedResourcesDir(lang, category);
18143 ST(0) = sv_newmortal();
18144 WXSTRING_OUTPUT( RETVAL, ST(0) );
18151 XS(XS_Wx__StandardPaths_GetDocumentsDir); /* prototype to pass -Wmissing-prototypes */
18152 XS(XS_Wx__StandardPaths_GetDocumentsDir)
18160 croak_xs_usage(cv, "THIS");
18162 wxStandardPaths * THIS = (wxStandardPaths *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StandardPaths" );
18165 RETVAL = THIS->GetDocumentsDir();
18166 ST(0) = sv_newmortal();
18167 WXSTRING_OUTPUT( RETVAL, ST(0) );
18174 XS(XS_Wx__StandardPaths_GetTempDir); /* prototype to pass -Wmissing-prototypes */
18175 XS(XS_Wx__StandardPaths_GetTempDir)
18183 croak_xs_usage(cv, "THIS");
18185 wxStandardPaths * THIS = (wxStandardPaths *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StandardPaths" );
18188 RETVAL = THIS->GetTempDir();
18189 ST(0) = sv_newmortal();
18190 WXSTRING_OUTPUT( RETVAL, ST(0) );
18197 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
18198 #define XSubPPtmpAADU 1
18201 XS(XS_Wx__StandardPaths_UseAppInfo); /* prototype to pass -Wmissing-prototypes */
18202 XS(XS_Wx__StandardPaths_UseAppInfo)
18210 croak_xs_usage(cv, "THIS, info");
18212 int info = (int)SvIV(ST(1));
18213 wxStandardPaths * THIS = (wxStandardPaths *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::StandardPaths" );
18215 THIS->UseAppInfo(info);
18222 XS(XS_Wx__StandardPaths_Get); /* prototype to pass -Wmissing-prototypes */
18223 XS(XS_Wx__StandardPaths_Get)
18231 croak_xs_usage(cv, "");
18233 wxStandardPaths * RETVAL;
18234 RETVAL = (wxStandardPaths*)&wxStandardPaths::Get();
18235 ST(0) = sv_newmortal();
18236 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::StandardPaths" );
18244 /* INCLUDE: Returning to 'Wx.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/StandardPaths.xsp |' */
18247 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Variant.xsp |' from 'Wx.xs' */
18249 #include <wx/variant.h>
18251 XS(XS_Wx__Variant_new); /* prototype to pass -Wmissing-prototypes */
18252 XS(XS_Wx__Variant_new)
18260 croak_xs_usage(cv, "CLASS, sv");
18263 char * CLASS = (char *)SvPV_nolen(ST(0));
18264 wxVariant * RETVAL;
18265 RETVAL = new wxVariant( wxPli_sv_2_wxvariant( aTHX_ sv ) );
18267 ST(0) = sv_newmortal();
18268 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Variant" );
18269 wxPli_thread_sv_register( aTHX_ "Wx::Variant", RETVAL, ST(0) );
18276 XS(XS_Wx__Variant_CLONE); /* prototype to pass -Wmissing-prototypes */
18277 XS(XS_Wx__Variant_CLONE)
18285 croak_xs_usage(cv, "CLASS");
18287 char * CLASS = (char *)SvPV_nolen(ST(0));
18288 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
18294 XS(XS_Wx__Variant_DESTROY); /* prototype to pass -Wmissing-prototypes */
18295 XS(XS_Wx__Variant_DESTROY)
18303 croak_xs_usage(cv, "THIS");
18305 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18306 wxPli_thread_sv_unregister( aTHX_ "Wx::Variant", THIS, ST(0) );
18307 if( wxPli_object_is_deleteable( aTHX_ ST(0) ) )
18314 XS(XS_Wx__Variant_Append); /* prototype to pass -Wmissing-prototypes */
18315 XS(XS_Wx__Variant_Append)
18323 croak_xs_usage(cv, "THIS, variant");
18325 wxVariant* variant = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Variant" );
18326 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18327 THIS->Append( *( variant ) );
18332 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
18333 #define XSubPPtmpAADV 1
18336 XS(XS_Wx__Variant_Clear); /* prototype to pass -Wmissing-prototypes */
18337 XS(XS_Wx__Variant_Clear)
18345 croak_xs_usage(cv, "THIS");
18347 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18356 XS(XS_Wx__Variant_ClearList); /* prototype to pass -Wmissing-prototypes */
18357 XS(XS_Wx__Variant_ClearList)
18365 croak_xs_usage(cv, "THIS");
18367 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18375 XS(XS_Wx__Variant_Delete); /* prototype to pass -Wmissing-prototypes */
18376 XS(XS_Wx__Variant_Delete)
18384 croak_xs_usage(cv, "THIS, item");
18386 size_t item = (size_t)SvUV( ST(1) );
18387 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18390 RETVAL = THIS->Delete(item);
18391 ST(0) = boolSV(RETVAL);
18398 XS(XS_Wx__Variant_GetCount); /* prototype to pass -Wmissing-prototypes */
18399 XS(XS_Wx__Variant_GetCount)
18407 croak_xs_usage(cv, "THIS");
18409 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18413 RETVAL = THIS->GetCount();
18414 XSprePUSH; PUSHu((UV)RETVAL );
18420 XS(XS_Wx__Variant_GetBool); /* prototype to pass -Wmissing-prototypes */
18421 XS(XS_Wx__Variant_GetBool)
18429 croak_xs_usage(cv, "THIS");
18431 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18434 RETVAL = THIS->GetBool();
18435 ST(0) = boolSV(RETVAL);
18442 XS(XS_Wx__Variant_GetChar); /* prototype to pass -Wmissing-prototypes */
18443 XS(XS_Wx__Variant_GetChar)
18451 croak_xs_usage(cv, "THIS");
18453 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18457 RETVAL = THIS->GetChar();
18458 XSprePUSH; PUSHi((IV)RETVAL);
18464 XS(XS_Wx__Variant_GetDateTime); /* prototype to pass -Wmissing-prototypes */
18465 XS(XS_Wx__Variant_GetDateTime)
18473 croak_xs_usage(cv, "THIS");
18475 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18476 wxDateTime * RETVAL;
18477 RETVAL = new wxDateTime( THIS->GetDateTime() );
18478 ST(0) = sv_newmortal();
18479 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::DateTime" );
18486 XS(XS_Wx__Variant_GetString); /* prototype to pass -Wmissing-prototypes */
18487 XS(XS_Wx__Variant_GetString)
18495 croak_xs_usage(cv, "THIS");
18497 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18500 RETVAL = THIS->GetString();
18501 ST(0) = sv_newmortal();
18502 WXSTRING_OUTPUT( RETVAL, ST(0) );
18509 XS(XS_Wx__Variant_GetType); /* prototype to pass -Wmissing-prototypes */
18510 XS(XS_Wx__Variant_GetType)
18518 croak_xs_usage(cv, "THIS");
18520 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18523 RETVAL = THIS->GetType();
18524 ST(0) = sv_newmortal();
18525 WXSTRING_OUTPUT( RETVAL, ST(0) );
18532 XS(XS_Wx__Variant_GetLong); /* prototype to pass -Wmissing-prototypes */
18533 XS(XS_Wx__Variant_GetLong)
18541 croak_xs_usage(cv, "THIS");
18543 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18547 RETVAL = THIS->GetLong();
18548 XSprePUSH; PUSHi((IV)RETVAL);
18554 XS(XS_Wx__Variant_GetDouble); /* prototype to pass -Wmissing-prototypes */
18555 XS(XS_Wx__Variant_GetDouble)
18563 croak_xs_usage(cv, "THIS");
18565 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18569 RETVAL = THIS->GetDouble();
18570 XSprePUSH; PUSHn((double)RETVAL);
18576 XS(XS_Wx__Variant_GetWxObjectPtr); /* prototype to pass -Wmissing-prototypes */
18577 XS(XS_Wx__Variant_GetWxObjectPtr)
18585 croak_xs_usage(cv, "THIS");
18587 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18590 RETVAL = THIS->GetWxObjectPtr();
18591 ST(0) = sv_newmortal();
18592 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
18599 XS(XS_Wx__Variant_GetArrayString); /* prototype to pass -Wmissing-prototypes */
18600 XS(XS_Wx__Variant_GetArrayString)
18608 croak_xs_usage(cv, "THIS");
18609 PERL_UNUSED_VAR(ax); /* -Wall */
18612 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18614 wxPli_stringarray_push( aTHX_ THIS->GetArrayString() );
18622 XS(XS_Wx__Variant_GetList); /* prototype to pass -Wmissing-prototypes */
18623 XS(XS_Wx__Variant_GetList)
18631 croak_xs_usage(cv, "THIS");
18632 PERL_UNUSED_VAR(ax); /* -Wall */
18635 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18636 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
18637 const wxVariantList& lst = THIS->GetList();
18639 const wxList& lst = THIS->GetList();
18642 wxPli_objlist_push( aTHX_ lst );
18644 for( int i = lst.GetCount() - 0; i >= 0; --i )
18645 wxPli_object_set_deleteable( aTHX_ SP[-i], false );
18652 XS(XS_Wx__Variant_IsNull); /* prototype to pass -Wmissing-prototypes */
18653 XS(XS_Wx__Variant_IsNull)
18661 croak_xs_usage(cv, "THIS");
18663 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18666 RETVAL = THIS->IsNull();
18667 ST(0) = boolSV(RETVAL);
18674 XS(XS_Wx__Variant_IsType); /* prototype to pass -Wmissing-prototypes */
18675 XS(XS_Wx__Variant_IsType)
18683 croak_xs_usage(cv, "THIS, type");
18686 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18689 WXSTRING_INPUT( type, wxString, ST(1) );
18691 RETVAL = THIS->IsType(type);
18692 ST(0) = boolSV(RETVAL);
18699 XS(XS_Wx__Variant_IsValueKindOf); /* prototype to pass -Wmissing-prototypes */
18700 XS(XS_Wx__Variant_IsValueKindOf)
18708 croak_xs_usage(cv, "THIS, type");
18710 const wxClassInfo* type = (const wxClassInfo *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ClassInfo" );
18711 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18714 RETVAL = THIS->IsValueKindOf(type);
18715 ST(0) = boolSV(RETVAL);
18722 XS(XS_Wx__Variant_MakeNull); /* prototype to pass -Wmissing-prototypes */
18723 XS(XS_Wx__Variant_MakeNull)
18731 croak_xs_usage(cv, "THIS");
18733 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18741 XS(XS_Wx__Variant_MakeString); /* prototype to pass -Wmissing-prototypes */
18742 XS(XS_Wx__Variant_MakeString)
18750 croak_xs_usage(cv, "THIS");
18752 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18755 RETVAL = THIS->MakeString();
18756 ST(0) = sv_newmortal();
18757 WXSTRING_OUTPUT( RETVAL, ST(0) );
18764 XS(XS_Wx__Variant_Member); /* prototype to pass -Wmissing-prototypes */
18765 XS(XS_Wx__Variant_Member)
18773 croak_xs_usage(cv, "THIS, value");
18775 wxVariant* value = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Variant" );
18776 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18778 RETVAL = THIS->Member( *( value ) );
18779 ST(0) = boolSV(RETVAL);
18786 XS(XS_Wx__Variant_NullList); /* prototype to pass -Wmissing-prototypes */
18787 XS(XS_Wx__Variant_NullList)
18795 croak_xs_usage(cv, "THIS");
18797 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18805 XS(XS_Wx__Variant_Insert); /* prototype to pass -Wmissing-prototypes */
18806 XS(XS_Wx__Variant_Insert)
18814 croak_xs_usage(cv, "THIS, value");
18816 wxVariant* value = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Variant" );
18817 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18818 THIS->Insert( *( value ) );
18824 XS(XS_Wx__Variant_SetBool); /* prototype to pass -Wmissing-prototypes */
18825 XS(XS_Wx__Variant_SetBool)
18833 croak_xs_usage(cv, "THIS, value");
18835 bool value = (bool)SvTRUE(ST(1));
18836 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18842 #if WXPERL_W_VERSION_GE( 2, 7, 0 )
18843 #define XSubPPtmpAADW 1
18846 XS(XS_Wx__Variant_SetChar); /* prototype to pass -Wmissing-prototypes */
18847 XS(XS_Wx__Variant_SetChar)
18855 croak_xs_usage(cv, "THIS, value");
18857 wxChar value = (wxChar)SvIV(ST(1));
18858 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18866 XS(XS_Wx__Variant_SetDateTime); /* prototype to pass -Wmissing-prototypes */
18867 XS(XS_Wx__Variant_SetDateTime)
18875 croak_xs_usage(cv, "THIS, value");
18877 wxDateTime* value = (wxDateTime *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::DateTime" );
18878 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18885 XS(XS_Wx__Variant_SetString); /* prototype to pass -Wmissing-prototypes */
18886 XS(XS_Wx__Variant_SetString)
18894 croak_xs_usage(cv, "THIS, string");
18897 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18899 WXSTRING_INPUT( string, wxString, ST(1) );
18906 XS(XS_Wx__Variant_SetLong); /* prototype to pass -Wmissing-prototypes */
18907 XS(XS_Wx__Variant_SetLong)
18915 croak_xs_usage(cv, "THIS, value");
18917 long value = (long)SvIV(ST(1));
18918 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18925 XS(XS_Wx__Variant_SetDouble); /* prototype to pass -Wmissing-prototypes */
18926 XS(XS_Wx__Variant_SetDouble)
18934 croak_xs_usage(cv, "THIS, value");
18936 double value = (double)SvNV(ST(1));
18937 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18944 XS(XS_Wx__Variant_SetWxObjectPtr); /* prototype to pass -Wmissing-prototypes */
18945 XS(XS_Wx__Variant_SetWxObjectPtr)
18953 croak_xs_usage(cv, "THIS, value");
18955 wxObject* value = (wxObject *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Object" );
18956 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18963 XS(XS_Wx__Variant_SetVariant); /* prototype to pass -Wmissing-prototypes */
18964 XS(XS_Wx__Variant_SetVariant)
18972 croak_xs_usage(cv, "THIS, value");
18974 wxVariant* value = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Variant" );
18975 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18981 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
18982 #define XSubPPtmpAADX 1
18985 XS(XS_Wx__Variant_Unshare); /* prototype to pass -Wmissing-prototypes */
18986 XS(XS_Wx__Variant_Unshare)
18994 croak_xs_usage(cv, "THIS");
18996 wxVariant * THIS = (wxVariant *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::Variant" );
18999 RETVAL = THIS->Unshare();
19000 ST(0) = boolSV(RETVAL);
19008 /* INCLUDE: Returning to 'Wx.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/Variant.xsp |' */
19011 /* INCLUDE: Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/NotificationMessage.xsp |' from 'Wx.xs' */
19013 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
19014 #include <wx/notifmsg.h>
19015 #define XSubPPtmpAADY 1
19018 XS(XS_Wx__NotificationMessage_new); /* prototype to pass -Wmissing-prototypes */
19019 XS(XS_Wx__NotificationMessage_new)
19026 PERL_UNUSED_VAR(cv); /* -W */
19027 PERL_UNUSED_VAR(ax); /* -Wall */
19031 MATCH_VOIDM_REDISP( newDefault )
19032 MATCH_ANY_REDISP( newFull )
19033 END_OVERLOAD( "Wx::NotificationMessage::new" )
19040 XS(XS_Wx__NotificationMessage_newDefault); /* prototype to pass -Wmissing-prototypes */
19041 XS(XS_Wx__NotificationMessage_newDefault)
19049 croak_xs_usage(cv, "CLASS");
19051 char * CLASS = (char *)SvPV_nolen(ST(0));
19052 wxNotificationMessage * RETVAL;
19053 RETVAL = new wxNotificationMessage();
19054 ST(0) = sv_newmortal();
19055 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::NotificationMessage" );
19056 wxPli_thread_sv_register( aTHX_ "Wx::NotificationMessage", RETVAL, ST(0) );
19063 #define XSubPPtmpAADZ 1
19066 XS(XS_Wx__NotificationMessage_newFull); /* prototype to pass -Wmissing-prototypes */
19067 XS(XS_Wx__NotificationMessage_newFull)
19074 if (items < 2 || items > 5)
19075 croak_xs_usage(cv, "CLASS, title, message = wxEmptyString, parent = NULL, flags = wxICON_INFORMATION");
19081 char * CLASS = (char *)SvPV_nolen(ST(0));
19082 wxNotificationMessage * RETVAL;
19084 WXSTRING_INPUT( title, wxString, ST(1) );
19087 message = wxEmptyString;
19089 WXSTRING_INPUT( message, wxString, ST(2) );
19095 parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Window" );
19099 flags = wxICON_INFORMATION;
19101 flags = (int)SvIV(ST(4));
19103 RETVAL = new wxNotificationMessage( title, message, parent );
19105 ST(0) = sv_newmortal();
19106 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::NotificationMessage" );
19107 wxPli_thread_sv_register( aTHX_ "Wx::NotificationMessage", RETVAL, ST(0) );
19114 #define XSubPPtmpAAEA 1
19117 XS(XS_Wx__NotificationMessage_newFull); /* prototype to pass -Wmissing-prototypes */
19118 XS(XS_Wx__NotificationMessage_newFull)
19125 if (items < 2 || items > 5)
19126 croak_xs_usage(cv, "CLASS, title, message = wxEmptyString, parent = NULL, flags = wxICON_INFORMATION");
19132 char * CLASS = (char *)SvPV_nolen(ST(0));
19133 wxNotificationMessage * RETVAL;
19135 WXSTRING_INPUT( title, wxString, ST(1) );
19138 message = wxEmptyString;
19140 WXSTRING_INPUT( message, wxString, ST(2) );
19146 parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Window" );
19150 flags = wxICON_INFORMATION;
19152 flags = (int)SvIV(ST(4));
19154 RETVAL = new wxNotificationMessage( title, message, parent, flags );
19155 ST(0) = sv_newmortal();
19156 wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::NotificationMessage" );
19157 wxPli_thread_sv_register( aTHX_ "Wx::NotificationMessage", RETVAL, ST(0) );
19165 XS(XS_Wx__NotificationMessage_CLONE); /* prototype to pass -Wmissing-prototypes */
19166 XS(XS_Wx__NotificationMessage_CLONE)
19174 croak_xs_usage(cv, "CLASS");
19176 char * CLASS = (char *)SvPV_nolen(ST(0));
19177 wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
19183 XS(XS_Wx__NotificationMessage_DESTROY); /* prototype to pass -Wmissing-prototypes */
19184 XS(XS_Wx__NotificationMessage_DESTROY)
19192 croak_xs_usage(cv, "THIS");
19194 wxNotificationMessage * THIS = (wxNotificationMessage *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotificationMessage" );
19195 wxPli_thread_sv_unregister( aTHX_ "Wx::NotificationMessage", THIS, ST(0) );
19202 XS(XS_Wx__NotificationMessage_Show); /* prototype to pass -Wmissing-prototypes */
19203 XS(XS_Wx__NotificationMessage_Show)
19210 if (items < 1 || items > 2)
19211 croak_xs_usage(cv, "THIS, timeout = -1");
19214 wxNotificationMessage * THIS = (wxNotificationMessage *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotificationMessage" );
19220 timeout = (int)SvIV(ST(1));
19223 RETVAL = THIS->Show(timeout);
19224 ST(0) = boolSV(RETVAL);
19231 XS(XS_Wx__NotificationMessage_Close); /* prototype to pass -Wmissing-prototypes */
19232 XS(XS_Wx__NotificationMessage_Close)
19240 croak_xs_usage(cv, "THIS");
19242 wxNotificationMessage * THIS = (wxNotificationMessage *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotificationMessage" );
19245 RETVAL = THIS->Close();
19246 ST(0) = boolSV(RETVAL);
19253 XS(XS_Wx__NotificationMessage_SetFlags); /* prototype to pass -Wmissing-prototypes */
19254 XS(XS_Wx__NotificationMessage_SetFlags)
19262 croak_xs_usage(cv, "THIS, flags");
19264 int flags = (int)SvIV(ST(1));
19265 wxNotificationMessage * THIS = (wxNotificationMessage *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotificationMessage" );
19267 THIS->SetFlags(flags);
19273 XS(XS_Wx__NotificationMessage_SetTitle); /* prototype to pass -Wmissing-prototypes */
19274 XS(XS_Wx__NotificationMessage_SetTitle)
19282 croak_xs_usage(cv, "THIS, title");
19285 wxNotificationMessage * THIS = (wxNotificationMessage *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotificationMessage" );
19287 WXSTRING_INPUT( title, wxString, ST(1) );
19289 THIS->SetTitle(title);
19295 XS(XS_Wx__NotificationMessage_SetMessage); /* prototype to pass -Wmissing-prototypes */
19296 XS(XS_Wx__NotificationMessage_SetMessage)
19304 croak_xs_usage(cv, "THIS, message");
19307 wxNotificationMessage * THIS = (wxNotificationMessage *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotificationMessage" );
19309 WXSTRING_INPUT( message, wxString, ST(1) );
19311 THIS->SetMessage(message);
19317 XS(XS_Wx__NotificationMessage_SetParent); /* prototype to pass -Wmissing-prototypes */
19318 XS(XS_Wx__NotificationMessage_SetParent)
19326 croak_xs_usage(cv, "THIS, parent");
19328 wxWindow* parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
19329 wxNotificationMessage * THIS = (wxNotificationMessage *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::NotificationMessage" );
19331 THIS->SetParent(parent);
19337 #define XSubPPtmpAAEB 1
19340 XS(XS_Wx__NotificationMessage_UseTaskBarIcon); /* prototype to pass -Wmissing-prototypes */
19341 XS(XS_Wx__NotificationMessage_UseTaskBarIcon)
19349 croak_xs_usage(cv, "icon");
19351 wxTaskBarIcon* icon = (wxTaskBarIcon *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TaskBarIcon" );
19352 wxTaskBarIcon * RETVAL;
19353 RETVAL = wxNotificationMessage::UseTaskBarIcon( icon );
19354 ST(0) = sv_newmortal();
19355 wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
19362 XS(XS_Wx__NotificationMessage_AlwaysUseGeneric); /* prototype to pass -Wmissing-prototypes */
19363 XS(XS_Wx__NotificationMessage_AlwaysUseGeneric)
19371 croak_xs_usage(cv, "alwaysUseGeneric");
19373 bool alwaysUseGeneric = (bool)SvTRUE(ST(0));
19374 wxNotificationMessage::AlwaysUseGeneric( alwaysUseGeneric );
19382 /* INCLUDE: Returning to 'Wx.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/NotificationMessage.xsp |' */
19387 XS(boot_Wx); /* prototype to pass -Wmissing-prototypes */
19395 #if (PERL_REVISION == 5 && PERL_VERSION < 9)
19396 char* file = __FILE__;
19398 const char* file = __FILE__;
19401 PERL_UNUSED_VAR(cv); /* -W */
19402 PERL_UNUSED_VAR(items); /* -W */
19403 XS_VERSION_BOOTCHECK ;
19408 newXS("Wx::Load", XS_Wx_Load, file);
19409 newXS("Wx::SetConstants", XS_Wx_SetConstants, file);
19410 newXS("Wx::SetConstantsOnce", XS_Wx_SetConstantsOnce, file);
19411 newXS("Wx::SetOvlConstants", XS_Wx_SetOvlConstants, file);
19412 newXS("Wx::UnLoad", XS_Wx_UnLoad, file);
19413 newXS("Wx::SetAlwaysUTF8", XS_Wx_SetAlwaysUTF8, file);
19415 newXS("Wx::_load_plugin", XS_Wx__load_plugin, file);
19416 newXS("Wx::_unload_plugin", XS_Wx__unload_plugin, file);
19418 (void)newXSproto_portable("Wx::_xsmatch", XS_Wx__xsmatch, file, "\\@$;$$");
19419 newXS("Wx::looks_like_number", XS_Wx_looks_like_number, file);
19420 newXS("Wx::CLONE", XS_Wx_CLONE, file);
19422 newXS("Wx::ArtProvider::GetBitmap", XS_Wx__ArtProvider_GetBitmap, file);
19423 newXS("Wx::ArtProvider::GetIcon", XS_Wx__ArtProvider_GetIcon, file);
19425 newXS("Wx::ArtProvider::GetIconBundle", XS_Wx__ArtProvider_GetIconBundle, file);
19427 newXS("Wx::ArtProvider::PopProvider", XS_Wx__ArtProvider_PopProvider, file);
19428 newXS("Wx::ArtProvider::PushProvider", XS_Wx__ArtProvider_PushProvider, file);
19430 newXS("Wx::ArtProvider::InsertProvider", XS_Wx__ArtProvider_InsertProvider, file);
19432 newXS("Wx::ArtProvider::RemoveProvider", XS_Wx__ArtProvider_RemoveProvider, file);
19434 newXS("Wx::ArtProvider::DeleteProvider", XS_Wx__ArtProvider_DeleteProvider, file);
19436 newXS("Wx::PlArtProvider::new", XS_Wx__PlArtProvider_new, file);
19437 newXS("Wx::PlArtProvider::CreateBitmap", XS_Wx__PlArtProvider_CreateBitmap, file);
19440 newXS("Wx::Wave::new", XS_Wx__Wave_new, file);
19441 newXS("Wx::Wave::IsOk", XS_Wx__Wave_IsOk, file);
19442 newXS("Wx::Wave::Play", XS_Wx__Wave_Play, file);
19444 newXS("Wx::FontEnumerator::new", XS_Wx__FontEnumerator_new, file);
19445 newXS("Wx::FontEnumerator::CLONE", XS_Wx__FontEnumerator_CLONE, file);
19446 newXS("Wx::FontEnumerator::DESTROY", XS_Wx__FontEnumerator_DESTROY, file);
19447 newXS("Wx::FontEnumerator::EnumerateFacenames", XS_Wx__FontEnumerator_EnumerateFacenames, file);
19448 newXS("Wx::FontEnumerator::EnumerateEncodings", XS_Wx__FontEnumerator_EnumerateEncodings, file);
19449 newXS("Wx::FontEnumerator::GetEncodings", XS_Wx__FontEnumerator_GetEncodings, file);
19450 newXS("Wx::FontEnumerator::GetFacenames", XS_Wx__FontEnumerator_GetFacenames, file);
19452 newXS("Wx::FontEnumerator::IsValidFacename", XS_Wx__FontEnumerator_IsValidFacename, file);
19454 newXS("Wx::FontMapper::Get", XS_Wx__FontMapper_Get, file);
19455 newXS("Wx::FontMapper::GetAltForEncoding", XS_Wx__FontMapper_GetAltForEncoding, file);
19456 newXS("Wx::FontMapper::IsEncodingAvailable", XS_Wx__FontMapper_IsEncodingAvailable, file);
19457 newXS("Wx::FontMapper::CharsetToEncoding", XS_Wx__FontMapper_CharsetToEncoding, file);
19458 newXS("Wx::FontMapper::GetEncodingName", XS_Wx__FontMapper_GetEncodingName, file);
19459 newXS("Wx::FontMapper::GetEncodingDescription", XS_Wx__FontMapper_GetEncodingDescription, file);
19461 newXS("Wx::FontMapper::GetAllEncodingNames", XS_Wx__FontMapper_GetAllEncodingNames, file);
19463 newXS("Wx::FontMapper::GetEncoding", XS_Wx__FontMapper_GetEncoding, file);
19464 newXS("Wx::FontMapper::GetEncodingFromName", XS_Wx__FontMapper_GetEncodingFromName, file);
19465 newXS("Wx::FontMapper::GetSupportedEncodingsCount", XS_Wx__FontMapper_GetSupportedEncodingsCount, file);
19466 newXS("Wx::FontMapper::SetDialogParent", XS_Wx__FontMapper_SetDialogParent, file);
19467 newXS("Wx::FontMapper::SetDialogTitle", XS_Wx__FontMapper_SetDialogTitle, file);
19469 newXS("Wx::FontMapper::SetConfig", XS_Wx__FontMapper_SetConfig, file);
19471 newXS("Wx::FontMapper::SetConfigPath", XS_Wx__FontMapper_SetConfigPath, file);
19472 newXS("Wx::ProcessEvent::new", XS_Wx__ProcessEvent_new, file);
19473 newXS("Wx::ProcessEvent::GetPid", XS_Wx__ProcessEvent_GetPid, file);
19474 newXS("Wx::ProcessEvent::GetExitCode", XS_Wx__ProcessEvent_GetExitCode, file);
19475 newXS("Wx::Process::new", XS_Wx__Process_new, file);
19476 newXS("Wx::Process::Destroy", XS_Wx__Process_Destroy, file);
19477 newXS("Wx::Process::CloseOutput", XS_Wx__Process_CloseOutput, file);
19478 newXS("Wx::Process::Detach", XS_Wx__Process_Detach, file);
19479 newXS("Wx::Process::GetErrorStream", XS_Wx__Process_GetErrorStream, file);
19480 newXS("Wx::Process::GetInputStream", XS_Wx__Process_GetInputStream, file);
19481 newXS("Wx::Process::GetOutputStream", XS_Wx__Process_GetOutputStream, file);
19482 newXS("Wx::Process::IsErrorAvailable", XS_Wx__Process_IsErrorAvailable, file);
19483 newXS("Wx::Process::IsInputAvailable", XS_Wx__Process_IsInputAvailable, file);
19484 newXS("Wx::Process::IsInputOpened", XS_Wx__Process_IsInputOpened, file);
19485 newXS("Wx::Process::Kill", XS_Wx__Process_Kill, file);
19486 newXS("Wx::Process::Exists", XS_Wx__Process_Exists, file);
19487 newXS("Wx::Process::OnTerminate", XS_Wx__Process_OnTerminate, file);
19488 newXS("Wx::Process::Redirect", XS_Wx__Process_Redirect, file);
19489 newXS("Wx::Process::Open", XS_Wx__Process_Open, file);
19491 newXS("Wx::Process::GetPid", XS_Wx__Process_GetPid, file);
19493 newXS("Wx::ExecuteCommand", XS_Wx_ExecuteCommand, file);
19495 newXS("Wx::ExecuteArgs", XS_Wx_ExecuteArgs, file);
19498 newXS("Wx::ExecuteArgs", XS_Wx_ExecuteArgs, file);
19500 newXS("Wx::ExecuteStdout", XS_Wx_ExecuteStdout, file);
19501 newXS("Wx::ExecuteStdoutStderr", XS_Wx_ExecuteStdoutStderr, file);
19502 newXS("Wx::ConfigBase::Destroy", XS_Wx__ConfigBase_Destroy, file);
19503 newXS("Wx::ConfigBase::Create", XS_Wx__ConfigBase_Create, file);
19504 newXS("Wx::ConfigBase::DontCreateOnDemand", XS_Wx__ConfigBase_DontCreateOnDemand, file);
19505 newXS("Wx::ConfigBase::DeleteAll", XS_Wx__ConfigBase_DeleteAll, file);
19506 newXS("Wx::ConfigBase::DeleteEntry", XS_Wx__ConfigBase_DeleteEntry, file);
19507 newXS("Wx::ConfigBase::DeleteGroup", XS_Wx__ConfigBase_DeleteGroup, file);
19508 newXS("Wx::ConfigBase::Exists", XS_Wx__ConfigBase_Exists, file);
19509 newXS("Wx::ConfigBase::Flush", XS_Wx__ConfigBase_Flush, file);
19510 newXS("Wx::ConfigBase::Get", XS_Wx__ConfigBase_Get, file);
19511 newXS("Wx::ConfigBase::GetAppName", XS_Wx__ConfigBase_GetAppName, file);
19512 newXS("Wx::ConfigBase::GetEntryType", XS_Wx__ConfigBase_GetEntryType, file);
19513 newXS("Wx::ConfigBase::GetFirstEntry", XS_Wx__ConfigBase_GetFirstEntry, file);
19514 newXS("Wx::ConfigBase::GetFirstGroup", XS_Wx__ConfigBase_GetFirstGroup, file);
19515 newXS("Wx::ConfigBase::GetNextEntry", XS_Wx__ConfigBase_GetNextEntry, file);
19516 newXS("Wx::ConfigBase::GetNextGroup", XS_Wx__ConfigBase_GetNextGroup, file);
19517 newXS("Wx::ConfigBase::GetNumberOfEntries", XS_Wx__ConfigBase_GetNumberOfEntries, file);
19518 newXS("Wx::ConfigBase::GetNumberOfGroups", XS_Wx__ConfigBase_GetNumberOfGroups, file);
19519 newXS("Wx::ConfigBase::GetPath", XS_Wx__ConfigBase_GetPath, file);
19520 newXS("Wx::ConfigBase::GetVendorName", XS_Wx__ConfigBase_GetVendorName, file);
19521 newXS("Wx::ConfigBase::HasEntry", XS_Wx__ConfigBase_HasEntry, file);
19522 newXS("Wx::ConfigBase::HasGroup", XS_Wx__ConfigBase_HasGroup, file);
19523 newXS("Wx::ConfigBase::IsExpandingEnvVars", XS_Wx__ConfigBase_IsExpandingEnvVars, file);
19524 newXS("Wx::ConfigBase::IsRecordingDefaults", XS_Wx__ConfigBase_IsRecordingDefaults, file);
19525 newXS("Wx::ConfigBase::Read", XS_Wx__ConfigBase_Read, file);
19526 newXS("Wx::ConfigBase::ReadInt", XS_Wx__ConfigBase_ReadInt, file);
19528 newXS("Wx::ConfigBase::ReadLong", XS_Wx__ConfigBase_ReadLong, file);
19529 newXS("Wx::ConfigBase::ReadDouble", XS_Wx__ConfigBase_ReadDouble, file);
19530 newXS("Wx::ConfigBase::ReadBool", XS_Wx__ConfigBase_ReadBool, file);
19533 newXS("Wx::ConfigBase::ReadBool", XS_Wx__ConfigBase_ReadBool, file);
19536 newXS("Wx::ConfigBase::ReadBinary", XS_Wx__ConfigBase_ReadBinary, file);
19538 newXS("Wx::ConfigBase::RenameEntry", XS_Wx__ConfigBase_RenameEntry, file);
19539 newXS("Wx::ConfigBase::RenameGroup", XS_Wx__ConfigBase_RenameGroup, file);
19540 newXS("Wx::ConfigBase::Set", XS_Wx__ConfigBase_Set, file);
19541 newXS("Wx::ConfigBase::SetExpandEnvVars", XS_Wx__ConfigBase_SetExpandEnvVars, file);
19542 newXS("Wx::ConfigBase::SetPath", XS_Wx__ConfigBase_SetPath, file);
19543 newXS("Wx::ConfigBase::SetRecordDefaults", XS_Wx__ConfigBase_SetRecordDefaults, file);
19544 newXS("Wx::ConfigBase::Write", XS_Wx__ConfigBase_Write, file);
19545 newXS("Wx::ConfigBase::WriteInt", XS_Wx__ConfigBase_WriteInt, file);
19546 newXS("Wx::ConfigBase::WriteFloat", XS_Wx__ConfigBase_WriteFloat, file);
19547 newXS("Wx::ConfigBase::WriteBool", XS_Wx__ConfigBase_WriteBool, file);
19549 newXS("Wx::ConfigBase::WriteBinary", XS_Wx__ConfigBase_WriteBinary, file);
19552 newXS("Wx::RegConfig::new", XS_Wx__RegConfig_new, file);
19554 newXS("Wx::FileConfig::new", XS_Wx__FileConfig_new, file);
19555 newXS("Wx::FileConfig::SetUmask", XS_Wx__FileConfig_SetUmask, file);
19557 newXS("Wx::TaskBarIcon::new", XS_Wx__TaskBarIcon_new, file);
19558 newXS("Wx::TaskBarIcon::Destroy", XS_Wx__TaskBarIcon_Destroy, file);
19559 newXS("Wx::TaskBarIcon::IsOk", XS_Wx__TaskBarIcon_IsOk, file);
19560 newXS("Wx::TaskBarIcon::IsIconInstalled", XS_Wx__TaskBarIcon_IsIconInstalled, file);
19561 newXS("Wx::TaskBarIcon::SetIcon", XS_Wx__TaskBarIcon_SetIcon, file);
19562 newXS("Wx::TaskBarIcon::RemoveIcon", XS_Wx__TaskBarIcon_RemoveIcon, file);
19563 newXS("Wx::TaskBarIcon::PopupMenu", XS_Wx__TaskBarIcon_PopupMenu, file);
19564 newXS("Wx::TaskBarIconEvent::new", XS_Wx__TaskBarIconEvent_new, file);
19566 newXS("Wx::Stream::TIEHANDLE", XS_Wx__Stream_TIEHANDLE, file);
19567 newXS("Wx::InputStream::READ", XS_Wx__InputStream_READ, file);
19568 newXS("Wx::InputStream::GETC", XS_Wx__InputStream_GETC, file);
19569 newXS("Wx::InputStream::SEEK", XS_Wx__InputStream_SEEK, file);
19570 newXS("Wx::InputStream::TELL", XS_Wx__InputStream_TELL, file);
19571 newXS("Wx::InputStream::READLINE", XS_Wx__InputStream_READLINE, file);
19572 newXS("Wx::OutputStream::WRITE", XS_Wx__OutputStream_WRITE, file);
19573 newXS("Wx::OutputStream::SEEK", XS_Wx__OutputStream_SEEK, file);
19574 newXS("Wx::OutputStream::TELL", XS_Wx__OutputStream_TELL, file);
19575 newXS("Wx::TimerEvent::GetInterval", XS_Wx__TimerEvent_GetInterval, file);
19577 newXS("Wx::TimerEvent::GetTimer", XS_Wx__TimerEvent_GetTimer, file);
19579 newXS("Wx::Timer::newDefault", XS_Wx__Timer_newDefault, file);
19580 newXS("Wx::Timer::newEH", XS_Wx__Timer_newEH, file);
19581 newXS("Wx::Timer::Destroy", XS_Wx__Timer_Destroy, file);
19582 newXS("Wx::Timer::GetInterval", XS_Wx__Timer_GetInterval, file);
19584 newXS("Wx::Timer::GetId", XS_Wx__Timer_GetId, file);
19586 newXS("Wx::Timer::IsOneShot", XS_Wx__Timer_IsOneShot, file);
19587 newXS("Wx::Timer::IsRunning", XS_Wx__Timer_IsRunning, file);
19588 newXS("Wx::Timer::SetOwner", XS_Wx__Timer_SetOwner, file);
19589 newXS("Wx::Timer::Start", XS_Wx__Timer_Start, file);
19590 newXS("Wx::Timer::Stop", XS_Wx__Timer_Stop, file);
19591 newXS("Wx::CaretSuspend::new", XS_Wx__CaretSuspend_new, file);
19592 newXS("Wx::CaretSuspend::CLONE", XS_Wx__CaretSuspend_CLONE, file);
19593 newXS("Wx::CaretSuspend::DESTROY", XS_Wx__CaretSuspend_DESTROY, file);
19594 newXS("Wx::SplashScreen::new", XS_Wx__SplashScreen_new, file);
19595 newXS("Wx::SplashScreen::GetSplashStyle", XS_Wx__SplashScreen_GetSplashStyle, file);
19596 newXS("Wx::SplashScreen::GetSplashWindow", XS_Wx__SplashScreen_GetSplashWindow, file);
19597 newXS("Wx::SplashScreen::GetTimeout", XS_Wx__SplashScreen_GetTimeout, file);
19598 newXS("Wx::WindowDisabler::new", XS_Wx__WindowDisabler_new, file);
19599 newXS("Wx::WindowDisabler::CLONE", XS_Wx__WindowDisabler_CLONE, file);
19600 newXS("Wx::WindowDisabler::DESTROY", XS_Wx__WindowDisabler_DESTROY, file);
19602 newXS("Wx::BusyCursor::new", XS_Wx__BusyCursor_new, file);
19605 newXS("Wx::BusyCursor::new", XS_Wx__BusyCursor_new, file);
19607 newXS("Wx::BusyCursor::CLONE", XS_Wx__BusyCursor_CLONE, file);
19608 newXS("Wx::BusyCursor::DESTROY", XS_Wx__BusyCursor_DESTROY, file);
19609 newXS("Wx::BusyInfo::new", XS_Wx__BusyInfo_new, file);
19610 newXS("Wx::BusyInfo::CLONE", XS_Wx__BusyInfo_CLONE, file);
19611 newXS("Wx::BusyInfo::DESTROY", XS_Wx__BusyInfo_DESTROY, file);
19612 newXS("Wx::StopWatch::new", XS_Wx__StopWatch_new, file);
19613 newXS("Wx::StopWatch::CLONE", XS_Wx__StopWatch_CLONE, file);
19614 newXS("Wx::StopWatch::DESTROY", XS_Wx__StopWatch_DESTROY, file);
19615 newXS("Wx::StopWatch::Pause", XS_Wx__StopWatch_Pause, file);
19616 newXS("Wx::StopWatch::Start", XS_Wx__StopWatch_Start, file);
19617 newXS("Wx::StopWatch::Resume", XS_Wx__StopWatch_Resume, file);
19618 newXS("Wx::StopWatch::Time", XS_Wx__StopWatch_Time, file);
19620 newXS("Wx::SingleInstanceChecker::new", XS_Wx__SingleInstanceChecker_new, file);
19621 newXS("Wx::SingleInstanceChecker::CLONE", XS_Wx__SingleInstanceChecker_CLONE, file);
19622 newXS("Wx::SingleInstanceChecker::DESTROY", XS_Wx__SingleInstanceChecker_DESTROY, file);
19623 newXS("Wx::SingleInstanceChecker::Create", XS_Wx__SingleInstanceChecker_Create, file);
19624 newXS("Wx::SingleInstanceChecker::IsAnotherRunning", XS_Wx__SingleInstanceChecker_IsAnotherRunning, file);
19627 newXS("Wx::SystemOptions::SetOption", XS_Wx__SystemOptions_SetOption, file);
19628 newXS("Wx::SystemOptions::SetOptionInt", XS_Wx__SystemOptions_SetOptionInt, file);
19629 newXS("Wx::SystemOptions::GetOption", XS_Wx__SystemOptions_GetOption, file);
19630 newXS("Wx::SystemOptions::GetOptionInt", XS_Wx__SystemOptions_GetOptionInt, file);
19631 newXS("Wx::SystemOptions::HasOption", XS_Wx__SystemOptions_HasOption, file);
19632 newXS("Wx::SystemOptions::IsFalse", XS_Wx__SystemOptions_IsFalse, file);
19634 newXS("Wx::SystemSettings::GetColour", XS_Wx__SystemSettings_GetColour, file);
19635 newXS("Wx::SystemSettings::GetSystemColour", XS_Wx__SystemSettings_GetSystemColour, file);
19636 newXS("Wx::SystemSettings::GetFont", XS_Wx__SystemSettings_GetFont, file);
19637 newXS("Wx::SystemSettings::GetSystemFont", XS_Wx__SystemSettings_GetSystemFont, file);
19638 newXS("Wx::SystemSettings::GetMetric", XS_Wx__SystemSettings_GetMetric, file);
19639 newXS("Wx::SystemSettings::GetSystemMetric", XS_Wx__SystemSettings_GetSystemMetric, file);
19640 newXS("Wx::SystemSettings::GetScreenType", XS_Wx__SystemSettings_GetScreenType, file);
19641 newXS("Wx::TipProvider::new", XS_Wx__TipProvider_new, file);
19642 newXS("Wx::TipProvider::Destroy", XS_Wx__TipProvider_Destroy, file);
19643 newXS("Wx::TipProvider::GetCurrentTip", XS_Wx__TipProvider_GetCurrentTip, file);
19644 newXS("Wx::TipProvider::GetTip", XS_Wx__TipProvider_GetTip, file);
19645 newXS("Wx::TipProvider::PreprocessTip", XS_Wx__TipProvider_PreprocessTip, file);
19646 newXS("Wx::TipProvider::SetCurrentTip", XS_Wx__TipProvider_SetCurrentTip, file);
19648 newXS("Wx::Thread::IsMain", XS_Wx__Thread_IsMain, file);
19651 newXS("Wx::IsStockID", XS_Wx_IsStockID, file);
19652 newXS("Wx::IsStockLabel", XS_Wx_IsStockLabel, file);
19654 newXS("Wx::GetStockLabel", XS_Wx_GetStockLabel, file);
19657 newXS("Wx::GetStockLabel", XS_Wx_GetStockLabel, file);
19660 newXS("Wx::GetStockLabel", XS_Wx_GetStockLabel, file);
19664 newXS("Wx::GetStockAccelerator", XS_Wx_GetStockAccelerator, file);
19665 newXS("Wx::GetStockHelpString", XS_Wx_GetStockHelpString, file);
19668 newXS("Wx::LaunchDefaultBrowser", XS_Wx_LaunchDefaultBrowser, file);
19671 newXS("Wx::LaunchDefaultBrowser", XS_Wx_LaunchDefaultBrowser, file);
19673 newXS("Wx::ShowTip", XS_Wx_ShowTip, file);
19674 newXS("Wx::CreateFileTipProvider", XS_Wx_CreateFileTipProvider, file);
19675 newXS("Wx::Usleep", XS_Wx_Usleep, file);
19677 newXS("Wx::MicroSleep", XS_Wx_MicroSleep, file);
19679 newXS("Wx::MilliSleep", XS_Wx_MilliSleep, file);
19680 newXS("Wx::Sleep", XS_Wx_Sleep, file);
19681 newXS("Wx::Yield", XS_Wx_Yield, file);
19682 newXS("Wx::SafeYield", XS_Wx_SafeYield, file);
19683 newXS("Wx::YieldIfNeeded", XS_Wx_YieldIfNeeded, file);
19684 newXS("Wx::Trap", XS_Wx_Trap, file);
19685 newXS("Wx::GetOsDescription", XS_Wx_GetOsDescription, file);
19686 newXS("Wx::NewId", XS_Wx_NewId, file);
19687 newXS("Wx::NewEventType", XS_Wx_NewEventType, file);
19688 newXS("Wx::RegisterId", XS_Wx_RegisterId, file);
19689 newXS("Wx::Bell", XS_Wx_Bell, file);
19690 newXS("Wx::Exit", XS_Wx_Exit, file);
19691 newXS("Wx::Shell", XS_Wx_Shell, file);
19693 newXS("Wx::GetKeyState", XS_Wx_GetKeyState, file);
19695 newXS("Wx::_utf8_on", XS_Wx__utf8_on, file);
19696 newXS("Wx::_utf8_off", XS_Wx__utf8_off, file);
19697 newXS("Wx::LanguageInfo::new", XS_Wx__LanguageInfo_new, file);
19698 newXS("Wx::LanguageInfo::CLONE", XS_Wx__LanguageInfo_CLONE, file);
19699 newXS("Wx::LanguageInfo::DESTROY", XS_Wx__LanguageInfo_DESTROY, file);
19700 newXS("Wx::LanguageInfo::GetLanguage", XS_Wx__LanguageInfo_GetLanguage, file);
19701 newXS("Wx::LanguageInfo::GetCanonicalName", XS_Wx__LanguageInfo_GetCanonicalName, file);
19702 newXS("Wx::LanguageInfo::GetWinLang", XS_Wx__LanguageInfo_GetWinLang, file);
19703 newXS("Wx::LanguageInfo::GetWinSublang", XS_Wx__LanguageInfo_GetWinSublang, file);
19704 newXS("Wx::LanguageInfo::GetDescription", XS_Wx__LanguageInfo_GetDescription, file);
19705 newXS("Wx::Locale::newLong", XS_Wx__Locale_newLong, file);
19706 newXS("Wx::Locale::newShort", XS_Wx__Locale_newShort, file);
19707 newXS("Wx::Locale::CLONE", XS_Wx__Locale_CLONE, file);
19708 newXS("Wx::Locale::DESTROY", XS_Wx__Locale_DESTROY, file);
19709 newXS("Wx::Locale::AddCatalog", XS_Wx__Locale_AddCatalog, file);
19710 newXS("Wx::Locale::AddCatalogLookupPathPrefix", XS_Wx__Locale_AddCatalogLookupPathPrefix, file);
19712 newXS("Wx::Locale::IsAvailable", XS_Wx__Locale_IsAvailable, file);
19714 newXS("Wx::Locale::AddLanguage", XS_Wx__Locale_AddLanguage, file);
19715 newXS("Wx::Locale::GetLocale", XS_Wx__Locale_GetLocale, file);
19716 newXS("Wx::Locale::GetName", XS_Wx__Locale_GetName, file);
19717 newXS("Wx::Locale::GetString", XS_Wx__Locale_GetString, file);
19719 newXS("Wx::Locale::GetHeaderValue", XS_Wx__Locale_GetHeaderValue, file);
19721 newXS("Wx::Locale::GetSystemLanguage", XS_Wx__Locale_GetSystemLanguage, file);
19722 newXS("Wx::Locale::GetLanguage", XS_Wx__Locale_GetLanguage, file);
19724 newXS("Wx::Locale::GetLanguageName", XS_Wx__Locale_GetLanguageName, file);
19726 newXS("Wx::Locale::GetSysName", XS_Wx__Locale_GetSysName, file);
19727 newXS("Wx::Locale::GetCanonicalName", XS_Wx__Locale_GetCanonicalName, file);
19728 newXS("Wx::Locale::GetSystemEncoding", XS_Wx__Locale_GetSystemEncoding, file);
19729 newXS("Wx::Locale::GetSystemEncodingName", XS_Wx__Locale_GetSystemEncodingName, file);
19730 newXS("Wx::Locale::IsLoaded", XS_Wx__Locale_IsLoaded, file);
19731 newXS("Wx::Locale::IsOk", XS_Wx__Locale_IsOk, file);
19732 newXS("Wx::Locale::FindLanguageInfo", XS_Wx__Locale_FindLanguageInfo, file);
19733 newXS("Wx::Locale::Init", XS_Wx__Locale_Init, file);
19734 newXS("Wx::Locale::GetLanguageInfo", XS_Wx__Locale_GetLanguageInfo, file);
19735 newXS("Wx::GetTranslation", XS_Wx_GetTranslation, file);
19737 newXS("Wx::ToolTip::Enable", XS_Wx__ToolTip_Enable, file);
19738 newXS("Wx::ToolTip::SetDelay", XS_Wx__ToolTip_SetDelay, file);
19740 newXS("Wx::ToolTip::SetAutoPop", XS_Wx__ToolTip_SetAutoPop, file);
19741 newXS("Wx::ToolTip::SetReshow", XS_Wx__ToolTip_SetReshow, file);
19743 newXS("Wx::ToolTip::new", XS_Wx__ToolTip_new, file);
19744 newXS("Wx::ToolTip::SetTip", XS_Wx__ToolTip_SetTip, file);
19745 newXS("Wx::ToolTip::GetTip", XS_Wx__ToolTip_GetTip, file);
19746 newXS("Wx::ToolTip::GetWindow", XS_Wx__ToolTip_GetWindow, file);
19748 newXS("Wx::Log::Destroy", XS_Wx__Log_Destroy, file);
19749 newXS("Wx::Log::AddTraceMask", XS_Wx__Log_AddTraceMask, file);
19750 newXS("Wx::Log::ClearTraceMasks", XS_Wx__Log_ClearTraceMasks, file);
19751 newXS("Wx::Log::RemoveTraceMask", XS_Wx__Log_RemoveTraceMask, file);
19752 newXS("Wx::Log::IsAllowedTraceMask", XS_Wx__Log_IsAllowedTraceMask, file);
19753 newXS("Wx::Log::GetActiveTarget", XS_Wx__Log_GetActiveTarget, file);
19754 newXS("Wx::Log::SetActiveTarget", XS_Wx__Log_SetActiveTarget, file);
19755 newXS("Wx::Log::DontCreateOnDemand", XS_Wx__Log_DontCreateOnDemand, file);
19756 newXS("Wx::Log::Flush", XS_Wx__Log_Flush, file);
19757 newXS("Wx::Log::FlushActive", XS_Wx__Log_FlushActive, file);
19758 newXS("Wx::Log::HasPendingMessages", XS_Wx__Log_HasPendingMessages, file);
19759 newXS("Wx::Log::SetVerbose", XS_Wx__Log_SetVerbose, file);
19760 newXS("Wx::Log::GetVerbose", XS_Wx__Log_GetVerbose, file);
19762 newXS("Wx::Log::_SetTimestamp", XS_Wx__Log__SetTimestamp, file);
19763 newXS("Wx::Log::GetTimestamp", XS_Wx__Log_GetTimestamp, file);
19766 newXS("Wx::Log::_SetTimestamp", XS_Wx__Log__SetTimestamp, file);
19767 newXS("Wx::Log::GetTimestamp", XS_Wx__Log_GetTimestamp, file);
19769 newXS("Wx::Log::SetTraceMask", XS_Wx__Log_SetTraceMask, file);
19770 newXS("Wx::Log::GetTraceMask", XS_Wx__Log_GetTraceMask, file);
19771 newXS("Wx::PlLog::new", XS_Wx__PlLog_new, file);
19772 newXS("Wx::LogTextCtrl::new", XS_Wx__LogTextCtrl_new, file);
19773 newXS("Wx::LogNull::new", XS_Wx__LogNull_new, file);
19774 newXS("Wx::LogNull::CLONE", XS_Wx__LogNull_CLONE, file);
19775 newXS("Wx::LogNull::DESTROY", XS_Wx__LogNull_DESTROY, file);
19776 newXS("Wx::LogGui::new", XS_Wx__LogGui_new, file);
19777 newXS("Wx::LogWindow::new", XS_Wx__LogWindow_new, file);
19779 cv = newXS("Wx::wxLogError", XS_Wx_interface__wxstring, file);
19780 XSINTERFACE__wxstring_SET(cv,wxLogError) ;
19781 cv = newXS("Wx::wxLogWarning", XS_Wx_interface__wxstring, file);
19782 XSINTERFACE__wxstring_SET(cv,wxLogWarning) ;
19783 cv = newXS("Wx::wxLogFatalError", XS_Wx_interface__wxstring, file);
19784 XSINTERFACE__wxstring_SET(cv,wxLogFatalError) ;
19785 cv = newXS("Wx::wxLogMessage", XS_Wx_interface__wxstring, file);
19786 XSINTERFACE__wxstring_SET(cv,wxLogMessage) ;
19787 cv = newXS("Wx::wxLogDebug", XS_Wx_interface__wxstring, file);
19788 XSINTERFACE__wxstring_SET(cv,wxLogDebug) ;
19789 cv = newXS("Wx::wxLogVerbose", XS_Wx_interface__wxstring, file);
19790 XSINTERFACE__wxstring_SET(cv,wxLogVerbose) ;
19793 newXS("Wx::wxLogError", XS_Wx_wxLogError, file);
19794 newXS("Wx::wxLogFatalError", XS_Wx_wxLogFatalError, file);
19795 newXS("Wx::wxLogWarning", XS_Wx_wxLogWarning, file);
19796 newXS("Wx::wxLogMessage", XS_Wx_wxLogMessage, file);
19797 newXS("Wx::wxLogVerbose", XS_Wx_wxLogVerbose, file);
19798 newXS("Wx::wxLogDebug", XS_Wx_wxLogDebug, file);
19801 newXS("Wx::wxLogError", XS_Wx_wxLogError, file);
19802 newXS("Wx::wxLogFatalError", XS_Wx_wxLogFatalError, file);
19803 newXS("Wx::wxLogWarning", XS_Wx_wxLogWarning, file);
19804 newXS("Wx::wxLogMessage", XS_Wx_wxLogMessage, file);
19805 newXS("Wx::wxLogVerbose", XS_Wx_wxLogVerbose, file);
19806 newXS("Wx::wxLogDebug", XS_Wx_wxLogDebug, file);
19808 newXS("Wx::wxLogStatusFrame", XS_Wx_wxLogStatusFrame, file);
19809 newXS("Wx::wxLogStatus", XS_Wx_wxLogStatus, file);
19811 newXS("Wx::wxLogTrace", XS_Wx_wxLogTrace, file);
19813 newXS("Wx::wxLogTraceMask", XS_Wx_wxLogTraceMask, file);
19814 newXS("Wx::wxLogSysError", XS_Wx_wxLogSysError, file);
19815 newXS("Wx::SysErrorCode", XS_Wx_SysErrorCode, file);
19816 newXS("Wx::SysErrorMsg", XS_Wx_SysErrorMsg, file);
19817 newXS("Wx::LogChain::new", XS_Wx__LogChain_new, file);
19818 newXS("Wx::LogChain::GetOldLog", XS_Wx__LogChain_GetOldLog, file);
19819 newXS("Wx::LogChain::IsPassingMessages", XS_Wx__LogChain_IsPassingMessages, file);
19820 newXS("Wx::LogChain::PassMessages", XS_Wx__LogChain_PassMessages, file);
19821 newXS("Wx::LogChain::SetLog", XS_Wx__LogChain_SetLog, file);
19822 newXS("Wx::LogPassThrough::new", XS_Wx__LogPassThrough_new, file);
19823 newXS("Wx::PlLogPassThrough::new", XS_Wx__PlLogPassThrough_new, file);
19824 newXS("Wx::LogStderr::new", XS_Wx__LogStderr_new, file);
19825 newXS("Wx::Menu::new", XS_Wx__Menu_new, file);
19827 newXS("Wx::Menu::AppendSubMenu", XS_Wx__Menu_AppendSubMenu, file);
19829 newXS("Wx::Menu::AppendString", XS_Wx__Menu_AppendString, file);
19830 newXS("Wx::Menu::AppendSubMenu_", XS_Wx__Menu_AppendSubMenu_, file);
19831 newXS("Wx::Menu::AppendItem", XS_Wx__Menu_AppendItem, file);
19832 newXS("Wx::Menu::AppendCheckItem", XS_Wx__Menu_AppendCheckItem, file);
19833 newXS("Wx::Menu::AppendRadioItem", XS_Wx__Menu_AppendRadioItem, file);
19834 newXS("Wx::Menu::AppendSeparator", XS_Wx__Menu_AppendSeparator, file);
19835 newXS("Wx::Menu::Break", XS_Wx__Menu_Break, file);
19836 newXS("Wx::Menu::Check", XS_Wx__Menu_Check, file);
19837 newXS("Wx::Menu::DeleteId", XS_Wx__Menu_DeleteId, file);
19838 newXS("Wx::Menu::DeleteItem", XS_Wx__Menu_DeleteItem, file);
19839 newXS("Wx::Menu::DestroyMenu", XS_Wx__Menu_DestroyMenu, file);
19840 newXS("Wx::Menu::DestroyId", XS_Wx__Menu_DestroyId, file);
19841 newXS("Wx::Menu::DestroyItem", XS_Wx__Menu_DestroyItem, file);
19842 newXS("Wx::Menu::Enable", XS_Wx__Menu_Enable, file);
19844 newXS("Wx::Menu::FindItemByPosition", XS_Wx__Menu_FindItemByPosition, file);
19846 newXS("Wx::Menu::FindItem", XS_Wx__Menu_FindItem, file);
19847 newXS("Wx::Menu::GetHelpString", XS_Wx__Menu_GetHelpString, file);
19848 newXS("Wx::Menu::GetLabel", XS_Wx__Menu_GetLabel, file);
19850 newXS("Wx::Menu::GetLabelText", XS_Wx__Menu_GetLabelText, file);
19852 newXS("Wx::Menu::GetMenuItemCount", XS_Wx__Menu_GetMenuItemCount, file);
19853 newXS("Wx::Menu::GetMenuItems", XS_Wx__Menu_GetMenuItems, file);
19854 newXS("Wx::Menu::GetTitle", XS_Wx__Menu_GetTitle, file);
19855 newXS("Wx::Menu::InsertItem", XS_Wx__Menu_InsertItem, file);
19856 newXS("Wx::Menu::InsertString", XS_Wx__Menu_InsertString, file);
19857 newXS("Wx::Menu::InsertSubMenu", XS_Wx__Menu_InsertSubMenu, file);
19858 newXS("Wx::Menu::InsertCheckItem", XS_Wx__Menu_InsertCheckItem, file);
19859 newXS("Wx::Menu::InsertRadioItem", XS_Wx__Menu_InsertRadioItem, file);
19860 newXS("Wx::Menu::InsertSeparator", XS_Wx__Menu_InsertSeparator, file);
19861 newXS("Wx::Menu::IsChecked", XS_Wx__Menu_IsChecked, file);
19862 newXS("Wx::Menu::IsEnabled", XS_Wx__Menu_IsEnabled, file);
19863 newXS("Wx::Menu::PrependString", XS_Wx__Menu_PrependString, file);
19864 newXS("Wx::Menu::PrependItem", XS_Wx__Menu_PrependItem, file);
19865 newXS("Wx::Menu::PrependSubMenu", XS_Wx__Menu_PrependSubMenu, file);
19866 newXS("Wx::Menu::PrependCheckItem", XS_Wx__Menu_PrependCheckItem, file);
19867 newXS("Wx::Menu::PrependRadioItem", XS_Wx__Menu_PrependRadioItem, file);
19868 newXS("Wx::Menu::PrependSeparator", XS_Wx__Menu_PrependSeparator, file);
19869 newXS("Wx::Menu::RemoveId", XS_Wx__Menu_RemoveId, file);
19870 newXS("Wx::Menu::RemoveItem", XS_Wx__Menu_RemoveItem, file);
19871 newXS("Wx::Menu::SetHelpString", XS_Wx__Menu_SetHelpString, file);
19872 newXS("Wx::Menu::SetLabel", XS_Wx__Menu_SetLabel, file);
19873 newXS("Wx::Menu::SetTitle", XS_Wx__Menu_SetTitle, file);
19874 newXS("Wx::Menu::UpdateUI", XS_Wx__Menu_UpdateUI, file);
19875 newXS("Wx::MenuBar::new", XS_Wx__MenuBar_new, file);
19876 newXS("Wx::MenuBar::Append", XS_Wx__MenuBar_Append, file);
19877 newXS("Wx::MenuBar::Check", XS_Wx__MenuBar_Check, file);
19878 newXS("Wx::MenuBar::Enable", XS_Wx__MenuBar_Enable, file);
19879 newXS("Wx::MenuBar::EnableTop", XS_Wx__MenuBar_EnableTop, file);
19880 newXS("Wx::MenuBar::FindItem", XS_Wx__MenuBar_FindItem, file);
19881 newXS("Wx::MenuBar::FindMenu", XS_Wx__MenuBar_FindMenu, file);
19882 newXS("Wx::MenuBar::FindMenuItem", XS_Wx__MenuBar_FindMenuItem, file);
19883 newXS("Wx::MenuBar::GetHelpString", XS_Wx__MenuBar_GetHelpString, file);
19884 newXS("Wx::MenuBar::GetLabel", XS_Wx__MenuBar_GetLabel, file);
19886 newXS("Wx::MenuBar::GetLabelTop", XS_Wx__MenuBar_GetLabelTop, file);
19889 newXS("Wx::MenuBar::GetMenuLabel", XS_Wx__MenuBar_GetMenuLabel, file);
19890 newXS("Wx::MenuBar::GetMenuLabelText", XS_Wx__MenuBar_GetMenuLabelText, file);
19892 newXS("Wx::MenuBar::GetMenu", XS_Wx__MenuBar_GetMenu, file);
19893 newXS("Wx::MenuBar::GetMenuCount", XS_Wx__MenuBar_GetMenuCount, file);
19894 newXS("Wx::MenuBar::Insert", XS_Wx__MenuBar_Insert, file);
19895 newXS("Wx::MenuBar::IsChecked", XS_Wx__MenuBar_IsChecked, file);
19896 newXS("Wx::MenuBar::IsEnabled", XS_Wx__MenuBar_IsEnabled, file);
19897 newXS("Wx::MenuBar::Refresh", XS_Wx__MenuBar_Refresh, file);
19898 newXS("Wx::MenuBar::Remove", XS_Wx__MenuBar_Remove, file);
19899 newXS("Wx::MenuBar::Replace", XS_Wx__MenuBar_Replace, file);
19900 newXS("Wx::MenuBar::SetHelpString", XS_Wx__MenuBar_SetHelpString, file);
19901 newXS("Wx::MenuBar::SetLabel", XS_Wx__MenuBar_SetLabel, file);
19903 newXS("Wx::MenuBar::SetLabelTop", XS_Wx__MenuBar_SetLabelTop, file);
19906 newXS("Wx::MenuBar::SetMenuLabel", XS_Wx__MenuBar_SetMenuLabel, file);
19908 newXS("Wx::MenuBar::IsEnabledTop", XS_Wx__MenuBar_IsEnabledTop, file);
19909 newXS("Wx::MenuItem::new", XS_Wx__MenuItem_new, file);
19910 newXS("Wx::MenuItem::Check", XS_Wx__MenuItem_Check, file);
19911 newXS("Wx::MenuItem::Enable", XS_Wx__MenuItem_Enable, file);
19913 newXS("Wx::MenuItem::GetBackgroundColour", XS_Wx__MenuItem_GetBackgroundColour, file);
19914 newXS("Wx::MenuItem::GetFont", XS_Wx__MenuItem_GetFont, file);
19917 newXS("Wx::MenuItem::GetBitmap", XS_Wx__MenuItem_GetBitmap, file);
19919 newXS("Wx::MenuItem::GetHelp", XS_Wx__MenuItem_GetHelp, file);
19921 newXS("Wx::MenuItem::GetName", XS_Wx__MenuItem_GetName, file);
19923 newXS("Wx::MenuItem::GetId", XS_Wx__MenuItem_GetId, file);
19924 newXS("Wx::MenuItem::GetKind", XS_Wx__MenuItem_GetKind, file);
19926 newXS("Wx::MenuItem::GetLabel", XS_Wx__MenuItem_GetLabel, file);
19927 newXS("Wx::MenuItem::GetLabelFromText", XS_Wx__MenuItem_GetLabelFromText, file);
19930 newXS("Wx::MenuItem::GetItemLabel", XS_Wx__MenuItem_GetItemLabel, file);
19931 newXS("Wx::MenuItem::GetItemLabelText", XS_Wx__MenuItem_GetItemLabelText, file);
19932 newXS("Wx::MenuItem::GetLabelText", XS_Wx__MenuItem_GetLabelText, file);
19934 newXS("Wx::MenuItem::GetMenu", XS_Wx__MenuItem_GetMenu, file);
19936 newXS("Wx::MenuItem::GetMarginWidth", XS_Wx__MenuItem_GetMarginWidth, file);
19939 newXS("Wx::MenuItem::GetText", XS_Wx__MenuItem_GetText, file);
19941 newXS("Wx::MenuItem::GetSubMenu", XS_Wx__MenuItem_GetSubMenu, file);
19943 newXS("Wx::MenuItem::GetTextColour", XS_Wx__MenuItem_GetTextColour, file);
19945 newXS("Wx::MenuItem::IsCheckable", XS_Wx__MenuItem_IsCheckable, file);
19946 newXS("Wx::MenuItem::IsChecked", XS_Wx__MenuItem_IsChecked, file);
19947 newXS("Wx::MenuItem::IsEnabled", XS_Wx__MenuItem_IsEnabled, file);
19948 newXS("Wx::MenuItem::IsSeparator", XS_Wx__MenuItem_IsSeparator, file);
19949 newXS("Wx::MenuItem::IsSubMenu", XS_Wx__MenuItem_IsSubMenu, file);
19951 newXS("Wx::MenuItem::SetBackgroundColour", XS_Wx__MenuItem_SetBackgroundColour, file);
19952 newXS("Wx::MenuItem::SetFont", XS_Wx__MenuItem_SetFont, file);
19954 newXS("Wx::MenuItem::SetHelp", XS_Wx__MenuItem_SetHelp, file);
19955 newXS("Wx::MenuItem::SetMenu", XS_Wx__MenuItem_SetMenu, file);
19956 newXS("Wx::MenuItem::SetSubMenu", XS_Wx__MenuItem_SetSubMenu, file);
19958 newXS("Wx::MenuItem::SetText", XS_Wx__MenuItem_SetText, file);
19961 newXS("Wx::MenuItem::SetItemLabel", XS_Wx__MenuItem_SetItemLabel, file);
19964 newXS("Wx::MenuItem::SetMarginWidth", XS_Wx__MenuItem_SetMarginWidth, file);
19965 newXS("Wx::MenuItem::SetTextColour", XS_Wx__MenuItem_SetTextColour, file);
19966 newXS("Wx::MenuItem::SetBitmaps", XS_Wx__MenuItem_SetBitmaps, file);
19969 newXS("Wx::MenuItem::SetBitmap", XS_Wx__MenuItem_SetBitmap, file);
19971 newXS("Wx::Size::new", XS_Wx__Size_new, file);
19972 newXS("Wx::Size::CLONE", XS_Wx__Size_CLONE, file);
19973 newXS("Wx::Size::DESTROY", XS_Wx__Size_DESTROY, file);
19974 newXS("Wx::Size::width", XS_Wx__Size_width, file);
19975 newXS("Wx::Size::height", XS_Wx__Size_height, file);
19976 newXS("Wx::Size::GetHeight", XS_Wx__Size_GetHeight, file);
19977 newXS("Wx::Size::GetWidth", XS_Wx__Size_GetWidth, file);
19978 newXS("Wx::Size::Set", XS_Wx__Size_Set, file);
19979 newXS("Wx::Size::SetHeight", XS_Wx__Size_SetHeight, file);
19980 newXS("Wx::Size::SetWidth", XS_Wx__Size_SetWidth, file);
19981 newXS("Wx::Size::IncTo", XS_Wx__Size_IncTo, file);
19982 newXS("Wx::Size::DecTo", XS_Wx__Size_DecTo, file);
19984 newXS("Wx::Size::Scale", XS_Wx__Size_Scale, file);
19986 newXS("Wx::Size::IsFullySpecified", XS_Wx__Size_IsFullySpecified, file);
19987 newXS("Wx::Size::SetDefaults", XS_Wx__Size_SetDefaults, file);
19988 newXS("Wx::Point::new", XS_Wx__Point_new, file);
19989 newXS("Wx::Point::CLONE", XS_Wx__Point_CLONE, file);
19990 newXS("Wx::Point::DESTROY", XS_Wx__Point_DESTROY, file);
19991 newXS("Wx::Point::x", XS_Wx__Point_x, file);
19992 newXS("Wx::Point::y", XS_Wx__Point_y, file);
19993 newXS("Wx::Rect::new", XS_Wx__Rect_new, file);
19994 newXS("Wx::Rect::newXYWH", XS_Wx__Rect_newXYWH, file);
19995 newXS("Wx::Rect::newPP", XS_Wx__Rect_newPP, file);
19996 newXS("Wx::Rect::newPS", XS_Wx__Rect_newPS, file);
19997 newXS("Wx::Rect::CLONE", XS_Wx__Rect_CLONE, file);
19998 newXS("Wx::Rect::DESTROY", XS_Wx__Rect_DESTROY, file);
19999 newXS("Wx::Rect::x", XS_Wx__Rect_x, file);
20000 newXS("Wx::Rect::y", XS_Wx__Rect_y, file);
20001 newXS("Wx::Rect::width", XS_Wx__Rect_width, file);
20002 newXS("Wx::Rect::height", XS_Wx__Rect_height, file);
20003 newXS("Wx::Rect::GetBottom", XS_Wx__Rect_GetBottom, file);
20004 newXS("Wx::Rect::GetHeight", XS_Wx__Rect_GetHeight, file);
20005 newXS("Wx::Rect::GetLeft", XS_Wx__Rect_GetLeft, file);
20006 newXS("Wx::Rect::GetPosition", XS_Wx__Rect_GetPosition, file);
20007 newXS("Wx::Rect::GetTopLeft", XS_Wx__Rect_GetTopLeft, file);
20008 newXS("Wx::Rect::GetBottomRight", XS_Wx__Rect_GetBottomRight, file);
20010 newXS("Wx::Rect::GetBottomLeft", XS_Wx__Rect_GetBottomLeft, file);
20011 newXS("Wx::Rect::GetTopRight", XS_Wx__Rect_GetTopRight, file);
20012 newXS("Wx::Rect::IsEmpty", XS_Wx__Rect_IsEmpty, file);
20013 newXS("Wx::Rect::Union", XS_Wx__Rect_Union, file);
20015 newXS("Wx::Rect::GetRight", XS_Wx__Rect_GetRight, file);
20016 newXS("Wx::Rect::GetSize", XS_Wx__Rect_GetSize, file);
20017 newXS("Wx::Rect::GetTop", XS_Wx__Rect_GetTop, file);
20018 newXS("Wx::Rect::GetWidth", XS_Wx__Rect_GetWidth, file);
20019 newXS("Wx::Rect::GetX", XS_Wx__Rect_GetX, file);
20020 newXS("Wx::Rect::GetY", XS_Wx__Rect_GetY, file);
20021 newXS("Wx::Rect::Deflate", XS_Wx__Rect_Deflate, file);
20022 newXS("Wx::Rect::Inflate", XS_Wx__Rect_Inflate, file);
20023 newXS("Wx::Rect::Intersect", XS_Wx__Rect_Intersect, file);
20024 newXS("Wx::Rect::Intersects", XS_Wx__Rect_Intersects, file);
20025 newXS("Wx::Rect::SetHeight", XS_Wx__Rect_SetHeight, file);
20026 newXS("Wx::Rect::SetWidth", XS_Wx__Rect_SetWidth, file);
20027 newXS("Wx::Rect::SetX", XS_Wx__Rect_SetX, file);
20028 newXS("Wx::Rect::SetY", XS_Wx__Rect_SetY, file);
20029 newXS("Wx::Rect::SetPosition", XS_Wx__Rect_SetPosition, file);
20030 newXS("Wx::Rect::SetSize", XS_Wx__Rect_SetSize, file);
20031 newXS("Wx::Rect::Offset", XS_Wx__Rect_Offset, file);
20032 newXS("Wx::Rect::Contains", XS_Wx__Rect_Contains, file);
20033 newXS("Wx::Rect::Inside", XS_Wx__Rect_Inside, file);
20034 newXS("Wx::Rect::ContainsXY", XS_Wx__Rect_ContainsXY, file);
20035 newXS("Wx::Rect::ContainsPoint", XS_Wx__Rect_ContainsPoint, file);
20037 newXS("Wx::Rect::ContainsRect", XS_Wx__Rect_ContainsRect, file);
20038 newXS("Wx::Rect::CentreIn", XS_Wx__Rect_CentreIn, file);
20040 newXS("Wx::Region::newEmpty", XS_Wx__Region_newEmpty, file);
20041 newXS("Wx::Region::newXYWH", XS_Wx__Region_newXYWH, file);
20042 newXS("Wx::Region::newPP", XS_Wx__Region_newPP, file);
20043 newXS("Wx::Region::newRect", XS_Wx__Region_newRect, file);
20045 newXS("Wx::Region::newPolygon", XS_Wx__Region_newPolygon, file);
20048 newXS("Wx::Region::newBitmap", XS_Wx__Region_newBitmap, file);
20049 newXS("Wx::Region::newBitmapOnly", XS_Wx__Region_newBitmapOnly, file);
20051 newXS("Wx::Region::new", XS_Wx__Region_new, file);
20052 newXS("Wx::Region::CLONE", XS_Wx__Region_CLONE, file);
20053 newXS("Wx::Region::DESTROY", XS_Wx__Region_DESTROY, file);
20054 newXS("Wx::Region::Clear", XS_Wx__Region_Clear, file);
20055 newXS("Wx::Region::ContainsXY", XS_Wx__Region_ContainsXY, file);
20056 newXS("Wx::Region::ContainsPoint", XS_Wx__Region_ContainsPoint, file);
20057 newXS("Wx::Region::ContainsXYWH", XS_Wx__Region_ContainsXYWH, file);
20058 newXS("Wx::Region::ContainsRect", XS_Wx__Region_ContainsRect, file);
20059 newXS("Wx::Region::Contains", XS_Wx__Region_Contains, file);
20060 newXS("Wx::Region::ConvertToBitmap", XS_Wx__Region_ConvertToBitmap, file);
20061 newXS("Wx::Region::GetBox", XS_Wx__Region_GetBox, file);
20062 newXS("Wx::Region::GetBoxXYWH", XS_Wx__Region_GetBoxXYWH, file);
20063 newXS("Wx::Region::IntersectXYWH", XS_Wx__Region_IntersectXYWH, file);
20064 newXS("Wx::Region::IntersectRect", XS_Wx__Region_IntersectRect, file);
20065 newXS("Wx::Region::IntersectRegion", XS_Wx__Region_IntersectRegion, file);
20066 newXS("Wx::Region::Intersect", XS_Wx__Region_Intersect, file);
20067 newXS("Wx::Region::IsEmpty", XS_Wx__Region_IsEmpty, file);
20069 newXS("Wx::Region::IsEqual", XS_Wx__Region_IsEqual, file);
20071 newXS("Wx::Region::SubtractRect", XS_Wx__Region_SubtractRect, file);
20073 newXS("Wx::Region::Offset", XS_Wx__Region_Offset, file);
20075 newXS("Wx::Region::SubtractRegion", XS_Wx__Region_SubtractRegion, file);
20076 newXS("Wx::Region::Subtract", XS_Wx__Region_Subtract, file);
20077 newXS("Wx::Region::UnionXYWH", XS_Wx__Region_UnionXYWH, file);
20078 newXS("Wx::Region::UnionRect", XS_Wx__Region_UnionRect, file);
20079 newXS("Wx::Region::UnionRegion", XS_Wx__Region_UnionRegion, file);
20080 newXS("Wx::Region::UnionBitmapOnly", XS_Wx__Region_UnionBitmapOnly, file);
20081 newXS("Wx::Region::UnionBitmap", XS_Wx__Region_UnionBitmap, file);
20082 newXS("Wx::Region::Union", XS_Wx__Region_Union, file);
20083 newXS("Wx::Region::XorXYWH", XS_Wx__Region_XorXYWH, file);
20084 newXS("Wx::Region::XorRect", XS_Wx__Region_XorRect, file);
20085 newXS("Wx::Region::XorRegion", XS_Wx__Region_XorRegion, file);
20086 newXS("Wx::Region::Xor", XS_Wx__Region_Xor, file);
20088 newXS("Wx::Position::new", XS_Wx__Position_new, file);
20089 newXS("Wx::Position::CLONE", XS_Wx__Position_CLONE, file);
20090 newXS("Wx::Position::DESTROY", XS_Wx__Position_DESTROY, file);
20091 newXS("Wx::Position::row", XS_Wx__Position_row, file);
20092 newXS("Wx::Position::col", XS_Wx__Position_col, file);
20093 newXS("Wx::Position::column", XS_Wx__Position_column, file);
20094 newXS("Wx::Position::GetRow", XS_Wx__Position_GetRow, file);
20095 newXS("Wx::Position::GetCol", XS_Wx__Position_GetCol, file);
20096 newXS("Wx::Position::GetColumn", XS_Wx__Position_GetColumn, file);
20097 newXS("Wx::Position::SetRow", XS_Wx__Position_SetRow, file);
20098 newXS("Wx::Position::SetCol", XS_Wx__Position_SetCol, file);
20099 newXS("Wx::Position::SetColumn", XS_Wx__Position_SetColumn, file);
20101 newXS("Wx::Caret::new", XS_Wx__Caret_new, file);
20102 newXS("Wx::Caret::newDefault", XS_Wx__Caret_newDefault, file);
20103 newXS("Wx::Caret::newSize", XS_Wx__Caret_newSize, file);
20104 newXS("Wx::Caret::newWH", XS_Wx__Caret_newWH, file);
20105 newXS("Wx::Caret::Create", XS_Wx__Caret_Create, file);
20106 newXS("Wx::Caret::CreateSize", XS_Wx__Caret_CreateSize, file);
20107 newXS("Wx::Caret::CreateWH", XS_Wx__Caret_CreateWH, file);
20108 newXS("Wx::Caret::Destroy", XS_Wx__Caret_Destroy, file);
20109 newXS("Wx::Caret::GetBlinkTime", XS_Wx__Caret_GetBlinkTime, file);
20110 newXS("Wx::Caret::GetSizeWH", XS_Wx__Caret_GetSizeWH, file);
20111 newXS("Wx::Caret::GetSize", XS_Wx__Caret_GetSize, file);
20112 newXS("Wx::Caret::GetPositionXY", XS_Wx__Caret_GetPositionXY, file);
20113 newXS("Wx::Caret::GetPosition", XS_Wx__Caret_GetPosition, file);
20114 newXS("Wx::Caret::GetWindow", XS_Wx__Caret_GetWindow, file);
20115 newXS("Wx::Caret::Hide", XS_Wx__Caret_Hide, file);
20116 newXS("Wx::Caret::IsOk", XS_Wx__Caret_IsOk, file);
20117 newXS("Wx::Caret::IsVisible", XS_Wx__Caret_IsVisible, file);
20118 newXS("Wx::Caret::Move", XS_Wx__Caret_Move, file);
20119 newXS("Wx::Caret::MovePoint", XS_Wx__Caret_MovePoint, file);
20120 newXS("Wx::Caret::MoveXY", XS_Wx__Caret_MoveXY, file);
20121 newXS("Wx::Caret::SetBlinkTime", XS_Wx__Caret_SetBlinkTime, file);
20122 newXS("Wx::Caret::SetSize", XS_Wx__Caret_SetSize, file);
20123 newXS("Wx::Caret::SetSizeSize", XS_Wx__Caret_SetSizeSize, file);
20124 newXS("Wx::Caret::SetSizeWH", XS_Wx__Caret_SetSizeWH, file);
20125 newXS("Wx::Caret::Show", XS_Wx__Caret_Show, file);
20126 newXS("Wx::PostEvent", XS_Wx_PostEvent, file);
20127 newXS("Wx::WakeUpIdle", XS_Wx_WakeUpIdle, file);
20128 newXS("Wx::_App::Start", XS_Wx___App_Start, file);
20129 newXS("Wx::_App::new", XS_Wx___App_new, file);
20130 newXS("Wx::App::Dispatch", XS_Wx__App_Dispatch, file);
20131 newXS("Wx::App::GetAppName", XS_Wx__App_GetAppName, file);
20133 newXS("Wx::App::GetAppDisplayName", XS_Wx__App_GetAppDisplayName, file);
20136 newXS("Wx::App::GetAuto3D", XS_Wx__App_GetAuto3D, file);
20138 newXS("Wx::App::GetClassName", XS_Wx__App_GetClassName, file);
20139 newXS("Wx::App::GetExitOnFrameDelete", XS_Wx__App_GetExitOnFrameDelete, file);
20140 newXS("Wx::App::GetStdIcon", XS_Wx__App_GetStdIcon, file);
20141 newXS("Wx::App::GetTopWindow", XS_Wx__App_GetTopWindow, file);
20142 newXS("Wx::App::GetUseBestVisual", XS_Wx__App_GetUseBestVisual, file);
20143 newXS("Wx::App::GetVendorName", XS_Wx__App_GetVendorName, file);
20145 newXS("Wx::App::GetVendorDisplayName", XS_Wx__App_GetVendorDisplayName, file);
20147 newXS("Wx::App::ExitMainLoop", XS_Wx__App_ExitMainLoop, file);
20149 newXS("Wx::App::Initialized", XS_Wx__App_Initialized, file);
20151 newXS("Wx::App::MainLoop", XS_Wx__App_MainLoop, file);
20152 newXS("Wx::App::Pending", XS_Wx__App_Pending, file);
20153 newXS("Wx::App::ProcessPendingEvents", XS_Wx__App_ProcessPendingEvents, file);
20154 newXS("Wx::App::SetAppName", XS_Wx__App_SetAppName, file);
20156 newXS("Wx::App::SetAppDisplayName", XS_Wx__App_SetAppDisplayName, file);
20159 newXS("Wx::App::SetAuto3D", XS_Wx__App_SetAuto3D, file);
20161 newXS("Wx::App::SetClassName", XS_Wx__App_SetClassName, file);
20162 newXS("Wx::App::SetExitOnFrameDelete", XS_Wx__App_SetExitOnFrameDelete, file);
20163 newXS("Wx::App::SetTopWindow", XS_Wx__App_SetTopWindow, file);
20164 newXS("Wx::App::SetVendorName", XS_Wx__App_SetVendorName, file);
20166 newXS("Wx::App::SetVendorDisplayName", XS_Wx__App_SetVendorDisplayName, file);
20168 newXS("Wx::App::SetUseBestVisual", XS_Wx__App_SetUseBestVisual, file);
20169 newXS("Wx::App::Yield", XS_Wx__App_Yield, file);
20171 newXS("Wx::App::GetComCtl32Version", XS_Wx__App_GetComCtl32Version, file);
20174 newXS("Wx::App::Exit", XS_Wx__App_Exit, file);
20175 newXS("Wx::App::ProcessIdle", XS_Wx__App_ProcessIdle, file);
20176 newXS("Wx::App::SendIdleEvents", XS_Wx__App_SendIdleEvents, file);
20177 newXS("Wx::App::IsActive", XS_Wx__App_IsActive, file);
20180 newXS("Wx::App::GetLayoutDirection", XS_Wx__App_GetLayoutDirection, file);
20182 newXS("Wx::App::GetInstance", XS_Wx__App_GetInstance, file);
20183 newXS("Wx::App::SetInstance", XS_Wx__App_SetInstance, file);
20184 newXS("Wx::App::IsMainLoopRunning", XS_Wx__App_IsMainLoopRunning, file);
20186 newXS("Wx::IconLocation::IsOk", XS_Wx__IconLocation_IsOk, file);
20189 newXS("Wx::FileTypeInfo::IsValid", XS_Wx__FileTypeInfo_IsValid, file);
20190 newXS("Wx::FileTypeInfo::SetIcon", XS_Wx__FileTypeInfo_SetIcon, file);
20191 newXS("Wx::FileTypeInfo::SetShortDesc", XS_Wx__FileTypeInfo_SetShortDesc, file);
20192 newXS("Wx::FileTypeInfo::GetMimeType", XS_Wx__FileTypeInfo_GetMimeType, file);
20193 newXS("Wx::FileTypeInfo::GetOpenCommand", XS_Wx__FileTypeInfo_GetOpenCommand, file);
20194 newXS("Wx::FileTypeInfo::GetPrintCommand", XS_Wx__FileTypeInfo_GetPrintCommand, file);
20195 newXS("Wx::FileTypeInfo::GetShortDesc", XS_Wx__FileTypeInfo_GetShortDesc, file);
20196 newXS("Wx::FileTypeInfo::GetDescription", XS_Wx__FileTypeInfo_GetDescription, file);
20197 newXS("Wx::FileTypeInfo::GetExtensionsCount", XS_Wx__FileTypeInfo_GetExtensionsCount, file);
20198 newXS("Wx::FileTypeInfo::GetIconFile", XS_Wx__FileTypeInfo_GetIconFile, file);
20199 newXS("Wx::FileTypeInfo::GetIconIndex", XS_Wx__FileTypeInfo_GetIconIndex, file);
20200 newXS("Wx::FileTypeInfo::new", XS_Wx__FileTypeInfo_new, file);
20201 newXS("Wx::FileTypeInfo::GetExtensions", XS_Wx__FileTypeInfo_GetExtensions, file);
20202 newXS("Wx::FileType::GetMimeTypes", XS_Wx__FileType_GetMimeTypes, file);
20203 newXS("Wx::FileType::GetMimeType", XS_Wx__FileType_GetMimeType, file);
20204 newXS("Wx::FileType::GetExtensions", XS_Wx__FileType_GetExtensions, file);
20205 newXS("Wx::FileType::GetIcon", XS_Wx__FileType_GetIcon, file);
20206 newXS("Wx::FileType::GetDescription", XS_Wx__FileType_GetDescription, file);
20207 newXS("Wx::FileType::GetOpenCommand", XS_Wx__FileType_GetOpenCommand, file);
20208 newXS("Wx::FileType::GetPrintCommand", XS_Wx__FileType_GetPrintCommand, file);
20209 newXS("Wx::MimeTypesManager::new", XS_Wx__MimeTypesManager_new, file);
20210 newXS("Wx::MimeTypesManager::CLONE", XS_Wx__MimeTypesManager_CLONE, file);
20211 newXS("Wx::MimeTypesManager::DESTROY", XS_Wx__MimeTypesManager_DESTROY, file);
20212 newXS("Wx::MimeTypesManager::AddFallbacks", XS_Wx__MimeTypesManager_AddFallbacks, file);
20213 newXS("Wx::MimeTypesManager::GetFileTypeFromExtension", XS_Wx__MimeTypesManager_GetFileTypeFromExtension, file);
20214 newXS("Wx::MimeTypesManager::GetFileTypeFromMimeType", XS_Wx__MimeTypesManager_GetFileTypeFromMimeType, file);
20215 newXS("Wx::MimeTypesManager::IsOfType", XS_Wx__MimeTypesManager_IsOfType, file);
20217 newXS("Wx::MimeTypesManager::ReadMailcap", XS_Wx__MimeTypesManager_ReadMailcap, file);
20218 newXS("Wx::MimeTypesManager::ReadMimeTypes", XS_Wx__MimeTypesManager_ReadMimeTypes, file);
20222 newXS("Wx::Sound::newDefault", XS_Wx__Sound_newDefault, file);
20223 newXS("Wx::Sound::newFile", XS_Wx__Sound_newFile, file);
20224 newXS("Wx::Sound::CLONE", XS_Wx__Sound_CLONE, file);
20225 newXS("Wx::Sound::DESTROY", XS_Wx__Sound_DESTROY, file);
20226 newXS("Wx::Sound::Create", XS_Wx__Sound_Create, file);
20227 newXS("Wx::Sound::Play", XS_Wx__Sound_Play, file);
20228 newXS("Wx::Sound::IsOk", XS_Wx__Sound_IsOk, file);
20229 newXS("Wx::Sound::new", XS_Wx__Sound_new, file);
20230 newXS("Wx::Sound::newData", XS_Wx__Sound_newData, file);
20232 newXS("Wx::Sound::CreateData", XS_Wx__Sound_CreateData, file);
20234 newXS("Wx::Sound::Stop", XS_Wx__Sound_Stop, file);
20236 newXS("Wx::Sound::IsPlaying", XS_Wx__Sound_IsPlaying, file);
20240 newXS("Wx::PowerEvent::Veto", XS_Wx__PowerEvent_Veto, file);
20241 newXS("Wx::PowerEvent::IsVetoed", XS_Wx__PowerEvent_IsVetoed, file);
20244 newXS("Wx::GetPowerType", XS_Wx_GetPowerType, file);
20245 newXS("Wx::GetBatteryState", XS_Wx_GetBatteryState, file);
20247 newXS("Wx::ClassInfo::FindClass", XS_Wx__ClassInfo_FindClass, file);
20248 newXS("Wx::ClassInfo::GetBaseClassName1", XS_Wx__ClassInfo_GetBaseClassName1, file);
20249 newXS("Wx::ClassInfo::GetBaseClassName2", XS_Wx__ClassInfo_GetBaseClassName2, file);
20250 newXS("Wx::ClassInfo::GetClassName", XS_Wx__ClassInfo_GetClassName, file);
20252 newXS("Wx::ClassInfo::GetParents", XS_Wx__ClassInfo_GetParents, file);
20253 newXS("Wx::ClassInfo::GetFirstProperty", XS_Wx__ClassInfo_GetFirstProperty, file);
20254 newXS("Wx::ClassInfo::FindPropertyInfo", XS_Wx__ClassInfo_FindPropertyInfo, file);
20255 newXS("Wx::ClassInfo::FindPropertyInfoInThisClass", XS_Wx__ClassInfo_FindPropertyInfoInThisClass, file);
20256 newXS("Wx::PropertyInfo::GetDeclaringClass", XS_Wx__PropertyInfo_GetDeclaringClass, file);
20257 newXS("Wx::PropertyInfo::GetName", XS_Wx__PropertyInfo_GetName, file);
20258 newXS("Wx::PropertyInfo::GetFlags", XS_Wx__PropertyInfo_GetFlags, file);
20259 newXS("Wx::PropertyInfo::GetHelpString", XS_Wx__PropertyInfo_GetHelpString, file);
20260 newXS("Wx::PropertyInfo::GetGroupString", XS_Wx__PropertyInfo_GetGroupString, file);
20261 newXS("Wx::PropertyInfo::GetCollectionElementTypeInfo", XS_Wx__PropertyInfo_GetCollectionElementTypeInfo, file);
20262 newXS("Wx::PropertyInfo::GetTypeInfo", XS_Wx__PropertyInfo_GetTypeInfo, file);
20263 newXS("Wx::PropertyInfo::GetAccessor", XS_Wx__PropertyInfo_GetAccessor, file);
20264 newXS("Wx::PropertyInfo::GetNext", XS_Wx__PropertyInfo_GetNext, file);
20265 newXS("Wx::TypeInfo::GetKind", XS_Wx__TypeInfo_GetKind, file);
20266 newXS("Wx::TypeInfo::GetTypeName", XS_Wx__TypeInfo_GetTypeName, file);
20267 newXS("Wx::TypeInfo::IsDelegateType", XS_Wx__TypeInfo_IsDelegateType, file);
20268 newXS("Wx::TypeInfo::IsCustomType", XS_Wx__TypeInfo_IsCustomType, file);
20269 newXS("Wx::TypeInfo::IsObjectType", XS_Wx__TypeInfo_IsObjectType, file);
20270 newXS("Wx::PropertyAccessor::HasSetter", XS_Wx__PropertyAccessor_HasSetter, file);
20271 newXS("Wx::PropertyAccessor::HasCollectionGetter", XS_Wx__PropertyAccessor_HasCollectionGetter, file);
20272 newXS("Wx::PropertyAccessor::HasGetter", XS_Wx__PropertyAccessor_HasGetter, file);
20273 newXS("Wx::PropertyAccessor::HasAdder", XS_Wx__PropertyAccessor_HasAdder, file);
20274 newXS("Wx::PropertyAccessor::GetCollectionGetterName", XS_Wx__PropertyAccessor_GetCollectionGetterName, file);
20275 newXS("Wx::PropertyAccessor::GetGetterName", XS_Wx__PropertyAccessor_GetGetterName, file);
20276 newXS("Wx::PropertyAccessor::GetSetterName", XS_Wx__PropertyAccessor_GetSetterName, file);
20277 newXS("Wx::PropertyAccessor::GetAdderName", XS_Wx__PropertyAccessor_GetAdderName, file);
20279 newXS("Wx::VideoMode::new", XS_Wx__VideoMode_new, file);
20280 newXS("Wx::VideoMode::CLONE", XS_Wx__VideoMode_CLONE, file);
20281 newXS("Wx::VideoMode::DESTROY", XS_Wx__VideoMode_DESTROY, file);
20282 newXS("Wx::VideoMode::Matches", XS_Wx__VideoMode_Matches, file);
20283 newXS("Wx::VideoMode::GetWidth", XS_Wx__VideoMode_GetWidth, file);
20284 newXS("Wx::VideoMode::GetHeight", XS_Wx__VideoMode_GetHeight, file);
20285 newXS("Wx::VideoMode::GetDepth", XS_Wx__VideoMode_GetDepth, file);
20286 newXS("Wx::VideoMode::IsOk", XS_Wx__VideoMode_IsOk, file);
20287 newXS("Wx::Display::new", XS_Wx__Display_new, file);
20288 newXS("Wx::Display::CLONE", XS_Wx__Display_CLONE, file);
20289 newXS("Wx::Display::DESTROY", XS_Wx__Display_DESTROY, file);
20290 newXS("Wx::Display::GetCount", XS_Wx__Display_GetCount, file);
20291 newXS("Wx::Display::GetFromPoint", XS_Wx__Display_GetFromPoint, file);
20293 newXS("Wx::Display::GetFromWindow", XS_Wx__Display_GetFromWindow, file);
20295 newXS("Wx::Display::IsOk", XS_Wx__Display_IsOk, file);
20296 newXS("Wx::Display::GetGeometry", XS_Wx__Display_GetGeometry, file);
20298 newXS("Wx::Display::GetClientArea", XS_Wx__Display_GetClientArea, file);
20300 newXS("Wx::Display::GetName", XS_Wx__Display_GetName, file);
20301 newXS("Wx::Display::IsPrimary", XS_Wx__Display_IsPrimary, file);
20303 newXS("Wx::Display::GetModes", XS_Wx__Display_GetModes, file);
20304 newXS("Wx::Display::GetCurrentMode", XS_Wx__Display_GetCurrentMode, file);
20305 newXS("Wx::Display::ChangeMode", XS_Wx__Display_ChangeMode, file);
20306 newXS("Wx::Display::ResetMode", XS_Wx__Display_ResetMode, file);
20309 newXS("Wx::StandardPaths::GetExecutablePath", XS_Wx__StandardPaths_GetExecutablePath, file);
20312 newXS("Wx::StandardPaths::GetConfigDir", XS_Wx__StandardPaths_GetConfigDir, file);
20313 newXS("Wx::StandardPaths::GetUserConfigDir", XS_Wx__StandardPaths_GetUserConfigDir, file);
20314 newXS("Wx::StandardPaths::GetDataDir", XS_Wx__StandardPaths_GetDataDir, file);
20315 newXS("Wx::StandardPaths::GetLocalDataDir", XS_Wx__StandardPaths_GetLocalDataDir, file);
20316 newXS("Wx::StandardPaths::GetUserDataDir", XS_Wx__StandardPaths_GetUserDataDir, file);
20317 newXS("Wx::StandardPaths::GetUserLocalDataDir", XS_Wx__StandardPaths_GetUserLocalDataDir, file);
20318 newXS("Wx::StandardPaths::GetPluginsDir", XS_Wx__StandardPaths_GetPluginsDir, file);
20320 newXS("Wx::StandardPaths::GetResourcesDir", XS_Wx__StandardPaths_GetResourcesDir, file);
20321 newXS("Wx::StandardPaths::GetLocalizedResourcesDir", XS_Wx__StandardPaths_GetLocalizedResourcesDir, file);
20322 newXS("Wx::StandardPaths::GetDocumentsDir", XS_Wx__StandardPaths_GetDocumentsDir, file);
20323 newXS("Wx::StandardPaths::GetTempDir", XS_Wx__StandardPaths_GetTempDir, file);
20326 newXS("Wx::StandardPaths::UseAppInfo", XS_Wx__StandardPaths_UseAppInfo, file);
20328 newXS("Wx::StandardPaths::Get", XS_Wx__StandardPaths_Get, file);
20330 newXS("Wx::Variant::new", XS_Wx__Variant_new, file);
20331 newXS("Wx::Variant::CLONE", XS_Wx__Variant_CLONE, file);
20332 newXS("Wx::Variant::DESTROY", XS_Wx__Variant_DESTROY, file);
20333 newXS("Wx::Variant::Append", XS_Wx__Variant_Append, file);
20335 newXS("Wx::Variant::Clear", XS_Wx__Variant_Clear, file);
20337 newXS("Wx::Variant::ClearList", XS_Wx__Variant_ClearList, file);
20338 newXS("Wx::Variant::Delete", XS_Wx__Variant_Delete, file);
20339 newXS("Wx::Variant::GetCount", XS_Wx__Variant_GetCount, file);
20340 newXS("Wx::Variant::GetBool", XS_Wx__Variant_GetBool, file);
20341 newXS("Wx::Variant::GetChar", XS_Wx__Variant_GetChar, file);
20342 newXS("Wx::Variant::GetDateTime", XS_Wx__Variant_GetDateTime, file);
20343 newXS("Wx::Variant::GetString", XS_Wx__Variant_GetString, file);
20344 newXS("Wx::Variant::GetType", XS_Wx__Variant_GetType, file);
20345 newXS("Wx::Variant::GetLong", XS_Wx__Variant_GetLong, file);
20346 newXS("Wx::Variant::GetDouble", XS_Wx__Variant_GetDouble, file);
20347 newXS("Wx::Variant::GetWxObjectPtr", XS_Wx__Variant_GetWxObjectPtr, file);
20348 newXS("Wx::Variant::GetArrayString", XS_Wx__Variant_GetArrayString, file);
20349 newXS("Wx::Variant::GetList", XS_Wx__Variant_GetList, file);
20350 newXS("Wx::Variant::IsNull", XS_Wx__Variant_IsNull, file);
20351 newXS("Wx::Variant::IsType", XS_Wx__Variant_IsType, file);
20352 newXS("Wx::Variant::IsValueKindOf", XS_Wx__Variant_IsValueKindOf, file);
20353 newXS("Wx::Variant::MakeNull", XS_Wx__Variant_MakeNull, file);
20354 newXS("Wx::Variant::MakeString", XS_Wx__Variant_MakeString, file);
20355 newXS("Wx::Variant::Member", XS_Wx__Variant_Member, file);
20356 newXS("Wx::Variant::NullList", XS_Wx__Variant_NullList, file);
20357 newXS("Wx::Variant::Insert", XS_Wx__Variant_Insert, file);
20358 newXS("Wx::Variant::SetBool", XS_Wx__Variant_SetBool, file);
20360 newXS("Wx::Variant::SetChar", XS_Wx__Variant_SetChar, file);
20362 newXS("Wx::Variant::SetDateTime", XS_Wx__Variant_SetDateTime, file);
20363 newXS("Wx::Variant::SetString", XS_Wx__Variant_SetString, file);
20364 newXS("Wx::Variant::SetLong", XS_Wx__Variant_SetLong, file);
20365 newXS("Wx::Variant::SetDouble", XS_Wx__Variant_SetDouble, file);
20366 newXS("Wx::Variant::SetWxObjectPtr", XS_Wx__Variant_SetWxObjectPtr, file);
20367 newXS("Wx::Variant::SetVariant", XS_Wx__Variant_SetVariant, file);
20369 newXS("Wx::Variant::Unshare", XS_Wx__Variant_Unshare, file);
20372 newXS("Wx::NotificationMessage::new", XS_Wx__NotificationMessage_new, file);
20373 newXS("Wx::NotificationMessage::newDefault", XS_Wx__NotificationMessage_newDefault, file);
20375 newXS("Wx::NotificationMessage::newFull", XS_Wx__NotificationMessage_newFull, file);
20378 newXS("Wx::NotificationMessage::newFull", XS_Wx__NotificationMessage_newFull, file);
20380 newXS("Wx::NotificationMessage::CLONE", XS_Wx__NotificationMessage_CLONE, file);
20381 newXS("Wx::NotificationMessage::DESTROY", XS_Wx__NotificationMessage_DESTROY, file);
20382 newXS("Wx::NotificationMessage::Show", XS_Wx__NotificationMessage_Show, file);
20383 newXS("Wx::NotificationMessage::Close", XS_Wx__NotificationMessage_Close, file);
20384 newXS("Wx::NotificationMessage::SetFlags", XS_Wx__NotificationMessage_SetFlags, file);
20385 newXS("Wx::NotificationMessage::SetTitle", XS_Wx__NotificationMessage_SetTitle, file);
20386 newXS("Wx::NotificationMessage::SetMessage", XS_Wx__NotificationMessage_SetMessage, file);
20387 newXS("Wx::NotificationMessage::SetParent", XS_Wx__NotificationMessage_SetParent, file);
20389 newXS("Wx::NotificationMessage::UseTaskBarIcon", XS_Wx__NotificationMessage_UseTaskBarIcon, file);
20390 newXS("Wx::NotificationMessage::AlwaysUseGeneric", XS_Wx__NotificationMessage_AlwaysUseGeneric, file);
20395 /* Initialisation Section */
20397 newXSproto( "Wx::_boot_Constant", boot_Wx_Const, file, "$$" );
20398 newXSproto( "Wx::_boot_Controls", boot_Wx_Ctrl, file, "$$" );
20399 newXSproto( "Wx::_boot_Events", boot_Wx_Evt, file, "$$" );
20400 newXSproto( "Wx::_boot_Window", boot_Wx_Win, file, "$$" );
20401 newXSproto( "Wx::_boot_Frames", boot_Wx_Wnd, file, "$$" );
20402 newXSproto( "Wx::_boot_GDI", boot_Wx_GDI, file, "$$" );
20403 #if defined( WXPL_STATIC )
20404 newXSproto( "Wx::_boot_Wx__DocView", boot_Wx__DocView, file, "$$" );
20406 newXSproto( "Wx::_boot_Wx__STC", boot_Wx__STC, file, "$$" );
20409 newXSproto( "Wx::_boot_Wx__XRC", boot_Wx__XRC, file, "$$" );
20411 newXSproto( "Wx::_boot_Wx__Print", boot_Wx__Print, file, "$$" );
20412 newXSproto( "Wx::_boot_Wx__MDI", boot_Wx__MDI, file, "$$" );
20413 newXSproto( "Wx::_boot_Wx__Html", boot_Wx__Html, file, "$$" );
20414 newXSproto( "Wx::_boot_Wx__Help", boot_Wx__Help, file, "$$" );
20415 newXSproto( "Wx::_boot_Wx__Grid", boot_Wx__Grid, file, "$$" );
20416 newXSproto( "Wx::_boot_Wx__FS", boot_Wx__FS, file, "$$" );
20417 newXSproto( "Wx::_boot_Wx__DND", boot_Wx__DND, file, "$$" );
20419 SV* tmp = get_sv( "Wx::_exports", 1 );
20420 sv_setiv( tmp, (IV)(void*)&st_wxPliHelpers );
20635 /* End of Initialisation Section */
20637 #if (PERL_REVISION == 5 && PERL_VERSION >= 9)
20638 if (PL_unitcheckav)
20639 call_list(PL_scopestack_ix, PL_unitcheckav);