1 /* ---------------------------------------------------------------------------- 
   2  * This file was automatically generated by SWIG (http://www.swig.org). 
   5  * This file is not intended to be easily readable and contains a number of  
   6  * coding conventions designed to improve portability and efficiency. Do not make 
   7  * changes to this file unless you know what you are doing--modify the SWIG  
   8  * interface file instead.  
   9  * ----------------------------------------------------------------------------- */ 
  12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE 
  15 template<class T
> class SwigValueWrapper 
{ 
  18     SwigValueWrapper() : tt(0) { } 
  19     SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { } 
  20     SwigValueWrapper(const T
& t
) : tt(new T(t
)) { } 
  21     ~SwigValueWrapper() { delete tt
; }  
  22     SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt 
= new T(t
); return *this; } 
  23     operator T
&() const { return *tt
; } 
  24     T 
*operator&() { return tt
; } 
  26     SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
); 
  30 /* ----------------------------------------------------------------------------- 
  31  *  This section contains generic SWIG labels for method/variable 
  32  *  declarations/attributes, and other compiler dependent labels. 
  33  * ----------------------------------------------------------------------------- */ 
  35 /* template workaround for compilers that cannot correctly implement the C++ standard */ 
  36 #ifndef SWIGTEMPLATEDISAMBIGUATOR 
  37 # if defined(__SUNPRO_CC) 
  38 #   if (__SUNPRO_CC <= 0x560) 
  39 #     define SWIGTEMPLATEDISAMBIGUATOR template 
  41 #     define SWIGTEMPLATEDISAMBIGUATOR  
  44 #   define SWIGTEMPLATEDISAMBIGUATOR  
  48 /* inline attribute */ 
  50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) 
  51 #   define SWIGINLINE inline 
  57 /* attribute recognised by some compilers to avoid 'unused' warnings */ 
  59 # if defined(__GNUC__) 
  60 #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) 
  61 #     define SWIGUNUSED __attribute__ ((__unused__))  
  66 #   define SWIGUNUSED __attribute__ ((__unused__))  
  72 #ifndef SWIGUNUSEDPARM 
  74 #   define SWIGUNUSEDPARM(p) 
  76 #   define SWIGUNUSEDPARM(p) p SWIGUNUSED  
  80 /* internal SWIG method */ 
  82 # define SWIGINTERN static SWIGUNUSED 
  85 /* internal inline SWIG method */ 
  86 #ifndef SWIGINTERNINLINE 
  87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE 
  90 /* exporting methods */ 
  91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) 
  92 #  ifndef GCC_HASCLASSVISIBILITY 
  93 #    define GCC_HASCLASSVISIBILITY 
  98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
  99 #   if defined(STATIC_LINKED) 
 102 #     define SWIGEXPORT __declspec(dllexport) 
 105 #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) 
 106 #     define SWIGEXPORT __attribute__ ((visibility("default"))) 
 113 /* calling conventions for Windows */ 
 115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
 116 #   define SWIGSTDCALL __stdcall 
 122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ 
 123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) 
 124 # define _CRT_SECURE_NO_DEPRECATE 
 128 /* Python.h has to appear first */ 
 131 /* ----------------------------------------------------------------------------- 
 134  * This file contains generic CAPI SWIG runtime support for pointer 
 136  * ----------------------------------------------------------------------------- */ 
 138 /* This should only be incremented when either the layout of swig_type_info changes, 
 139    or for whatever reason, the runtime changes incompatibly */ 
 140 #define SWIG_RUNTIME_VERSION "2" 
 142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ 
 143 #ifdef SWIG_TYPE_TABLE 
 144 # define SWIG_QUOTE_STRING(x) #x 
 145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) 
 146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) 
 148 # define SWIG_TYPE_TABLE_NAME 
 152   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for 
 153   creating a static or dynamic library from the swig runtime code. 
 154   In 99.9% of the cases, swig just needs to declare them as 'static'. 
 156   But only do this if is strictly necessary, ie, if you have problems 
 157   with your compiler or so. 
 161 # define SWIGRUNTIME SWIGINTERN 
 164 #ifndef SWIGRUNTIMEINLINE 
 165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE 
 168 /*  Generic buffer size */ 
 169 #ifndef SWIG_BUFFER_SIZE 
 170 # define SWIG_BUFFER_SIZE 1024 
 173 /* Flags for pointer conversions */ 
 174 #define SWIG_POINTER_DISOWN        0x1 
 176 /* Flags for new pointer objects */ 
 177 #define SWIG_POINTER_OWN           0x1 
 181    Flags/methods for returning states. 
 183    The swig conversion methods, as ConvertPtr, return and integer  
 184    that tells if the conversion was successful or not. And if not, 
 185    an error code can be returned (see swigerrors.swg for the codes). 
 187    Use the following macros/flags to set or process the returning 
 190    In old swig versions, you usually write code as: 
 192      if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { 
 198    Now you can be more explicit as: 
 200     int res = SWIG_ConvertPtr(obj,vptr,ty.flags); 
 201     if (SWIG_IsOK(res)) { 
 207    that seems to be the same, but now you can also do 
 210     int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); 
 211     if (SWIG_IsOK(res)) { 
 213       if (SWIG_IsNewObj(res) { 
 223    I.e., now SWIG_ConvertPtr can return new objects and you can 
 224    identify the case and take care of the deallocation. Of course that 
 225    requires also to SWIG_ConvertPtr to return new result values, as 
 227       int SWIG_ConvertPtr(obj, ptr,...) {          
 229           if (<need new object>) {                      
 230             *ptr = <ptr to new allocated object>;  
 233             *ptr = <ptr to old object>;         
 241    Of course, returning the plain '0(success)/-1(fail)' still works, but you can be 
 242    more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the 
 245    Finally, if the SWIG_CASTRANK_MODE is enabled, the result code 
 246    allows to return the 'cast rank', for example, if you have this 
 253       food(1)   // cast rank '1'  (1 -> 1.0) 
 254       fooi(1)   // cast rank '0' 
 256    just use the SWIG_AddCast()/SWIG_CheckState() 
 261 #define SWIG_ERROR                 (-1) 
 262 #define SWIG_IsOK(r)               (r >= 0) 
 263 #define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)   
 265 /* The CastRankLimit says how many bits are used for the cast rank */ 
 266 #define SWIG_CASTRANKLIMIT         (1 << 8) 
 267 /* The NewMask denotes the object was created (using new/malloc) */ 
 268 #define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1) 
 269 /* The TmpMask is for in/out typemaps that use temporal objects */ 
 270 #define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1) 
 271 /* Simple returning values */ 
 272 #define SWIG_BADOBJ                (SWIG_ERROR) 
 273 #define SWIG_OLDOBJ                (SWIG_OK) 
 274 #define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK) 
 275 #define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK) 
 276 /* Check, add and del mask methods */ 
 277 #define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) 
 278 #define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) 
 279 #define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) 
 280 #define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) 
 281 #define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) 
 282 #define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) 
 286 #if defined(SWIG_CASTRANK_MODE) 
 287 #  ifndef SWIG_TypeRank 
 288 #    define SWIG_TypeRank             unsigned long 
 290 #  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */ 
 291 #    define SWIG_MAXCASTRANK          (2) 
 293 #  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1) 
 294 #  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK) 
 295 SWIGINTERNINLINE 
int SWIG_AddCast(int r
) {  
 296   return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r 
+ 1) : SWIG_ERROR
) : r
; 
 298 SWIGINTERNINLINE 
int SWIG_CheckState(int r
) {  
 299   return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;  
 301 #else /* no cast-rank mode */ 
 302 #  define SWIG_AddCast 
 303 #  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) 
 315 typedef void *(*swig_converter_func
)(void *); 
 316 typedef struct swig_type_info 
*(*swig_dycast_func
)(void **); 
 318 /* Structure to store inforomation on one type */ 
 319 typedef struct swig_type_info 
{ 
 320   const char             *name
;                 /* mangled name of this type */ 
 321   const char             *str
;                  /* human readable name of this type */ 
 322   swig_dycast_func        dcast
;                /* dynamic cast function down a hierarchy */ 
 323   struct swig_cast_info  
*cast
;                 /* linked list of types that can cast into this type */ 
 324   void                   *clientdata
;           /* language specific type data */ 
 325   int                    owndata
;               /* flag if the structure owns the clientdata */ 
 328 /* Structure to store a type and conversion function used for casting */ 
 329 typedef struct swig_cast_info 
{ 
 330   swig_type_info         
*type
;                 /* pointer to type that is equivalent to this type */ 
 331   swig_converter_func     converter
;            /* function to cast the void pointers */ 
 332   struct swig_cast_info  
*next
;                 /* pointer to next cast in linked list */ 
 333   struct swig_cast_info  
*prev
;                 /* pointer to the previous cast */ 
 336 /* Structure used to store module information 
 337  * Each module generates one structure like this, and the runtime collects 
 338  * all of these structures and stores them in a circularly linked list.*/ 
 339 typedef struct swig_module_info 
{ 
 340   swig_type_info         
**types
;               /* Array of pointers to swig_type_info structures that are in this module */ 
 341   size_t                 size
;                  /* Number of types in this module */ 
 342   struct swig_module_info 
*next
;                /* Pointer to next element in circularly linked list */ 
 343   swig_type_info         
**type_initial
;        /* Array of initially generated type structures */ 
 344   swig_cast_info         
**cast_initial
;        /* Array of initially generated casting structures */ 
 345   void                    *clientdata
;          /* Language specific module data */ 
 349   Compare two type names skipping the space characters, therefore 
 350   "char*" == "char *" and "Class<int>" == "Class<int >", etc. 
 352   Return 0 when the two name types are equivalent, as in 
 353   strncmp, but skipping ' '. 
 356 SWIG_TypeNameComp(const char *f1
, const char *l1
, 
 357                   const char *f2
, const char *l2
) { 
 358   for (;(f1 
!= l1
) && (f2 
!= l2
); ++f1
, ++f2
) { 
 359     while ((*f1 
== ' ') && (f1 
!= l1
)) ++f1
; 
 360     while ((*f2 
== ' ') && (f2 
!= l2
)) ++f2
; 
 361     if (*f1 
!= *f2
) return (*f1 
> *f2
) ? 1 : -1; 
 363   return (l1 
- f1
) - (l2 
- f2
); 
 367   Check type equivalence in a name list like <name1>|<name2>|... 
 368   Return 0 if not equal, 1 if equal 
 371 SWIG_TypeEquiv(const char *nb
, const char *tb
) { 
 373   const char* te 
= tb 
+ strlen(tb
); 
 375   while (!equiv 
&& *ne
) { 
 376     for (nb 
= ne
; *ne
; ++ne
) { 
 377       if (*ne 
== '|') break; 
 379     equiv 
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0; 
 386   Check type equivalence in a name list like <name1>|<name2>|... 
 387   Return 0 if equal, -1 if nb < tb, 1 if nb > tb 
 390 SWIG_TypeCompare(const char *nb
, const char *tb
) { 
 392   const char* te 
= tb 
+ strlen(tb
); 
 394   while (!equiv 
&& *ne
) { 
 395     for (nb 
= ne
; *ne
; ++ne
) { 
 396       if (*ne 
== '|') break; 
 398     equiv 
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0; 
 405 /* think of this as a c++ template<> or a scheme macro */ 
 406 #define SWIG_TypeCheck_Template(comparison, ty)         \ 
 408     swig_cast_info *iter = ty->cast;                    \ 
 411         if (iter == ty->cast) return iter;              \ 
 412         /* Move iter to the top of the linked list */   \ 
 413         iter->prev->next = iter->next;                  \ 
 415           iter->next->prev = iter->prev;                \ 
 416         iter->next = ty->cast;                          \ 
 418         if (ty->cast) ty->cast->prev = iter;            \ 
 430 SWIGRUNTIME swig_cast_info 
* 
 431 SWIG_TypeCheck(const char *c
, swig_type_info 
*ty
) { 
 432   SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
); 
 435 /* Same as previous function, except strcmp is replaced with a pointer comparison */ 
 436 SWIGRUNTIME swig_cast_info 
* 
 437 SWIG_TypeCheckStruct(swig_type_info 
*from
, swig_type_info 
*into
) { 
 438   SWIG_TypeCheck_Template(iter
->type 
== from
, into
); 
 442   Cast a pointer up an inheritance hierarchy 
 444 SWIGRUNTIMEINLINE 
void * 
 445 SWIG_TypeCast(swig_cast_info 
*ty
, void *ptr
) { 
 446   return ((!ty
) || (!ty
->converter
)) ? ptr 
: (*ty
->converter
)(ptr
); 
 450    Dynamic pointer casting. Down an inheritance hierarchy 
 452 SWIGRUNTIME swig_type_info 
* 
 453 SWIG_TypeDynamicCast(swig_type_info 
*ty
, void **ptr
) { 
 454   swig_type_info 
*lastty 
= ty
; 
 455   if (!ty 
|| !ty
->dcast
) return ty
; 
 456   while (ty 
&& (ty
->dcast
)) { 
 457     ty 
= (*ty
->dcast
)(ptr
); 
 464   Return the name associated with this type 
 466 SWIGRUNTIMEINLINE 
const char * 
 467 SWIG_TypeName(const swig_type_info 
*ty
) { 
 472   Return the pretty name associated with this type, 
 473   that is an unmangled type name in a form presentable to the user. 
 475 SWIGRUNTIME 
const char * 
 476 SWIG_TypePrettyName(const swig_type_info 
*type
) { 
 477   /* The "str" field contains the equivalent pretty names of the 
 478      type, separated by vertical-bar characters.  We choose 
 479      to print the last name, as it is often (?) the most 
 481   if (!type
) return NULL
; 
 482   if (type
->str 
!= NULL
) { 
 483     const char *last_name 
= type
->str
; 
 485     for (s 
= type
->str
; *s
; s
++) 
 486       if (*s 
== '|') last_name 
= s
+1; 
 494    Set the clientdata field for a type 
 497 SWIG_TypeClientData(swig_type_info 
*ti
, void *clientdata
) { 
 498   swig_cast_info 
*cast 
= ti
->cast
; 
 499   /* if (ti->clientdata == clientdata) return; */ 
 500   ti
->clientdata 
= clientdata
; 
 503     if (!cast
->converter
) { 
 504       swig_type_info 
*tc 
= cast
->type
; 
 505       if (!tc
->clientdata
) { 
 506         SWIG_TypeClientData(tc
, clientdata
); 
 513 SWIG_TypeNewClientData(swig_type_info 
*ti
, void *clientdata
) { 
 514   SWIG_TypeClientData(ti
, clientdata
); 
 519   Search for a swig_type_info structure only by mangled name 
 520   Search is a O(log #types) 
 522   We start searching at module start, and finish searching when start == end.   
 523   Note: if start == end at the beginning of the function, we go all the way around 
 526 SWIGRUNTIME swig_type_info 
* 
 527 SWIG_MangledTypeQueryModule(swig_module_info 
*start
,  
 528                             swig_module_info 
*end
,  
 530   swig_module_info 
*iter 
= start
; 
 533       register size_t l 
= 0; 
 534       register size_t r 
= iter
->size 
- 1; 
 536         /* since l+r >= 0, we can (>> 1) instead (/ 2) */ 
 537         register size_t i 
= (l 
+ r
) >> 1;  
 538         const char *iname 
= iter
->types
[i
]->name
; 
 540           register int compare 
= strcmp(name
, iname
); 
 542             return iter
->types
[i
]; 
 543           } else if (compare 
< 0) { 
 549           } else if (compare 
> 0) { 
 553           break; /* should never happen */ 
 558   } while (iter 
!= end
); 
 563   Search for a swig_type_info structure for either a mangled name or a human readable name. 
 564   It first searches the mangled names of the types, which is a O(log #types) 
 565   If a type is not found it then searches the human readable names, which is O(#types). 
 567   We start searching at module start, and finish searching when start == end.   
 568   Note: if start == end at the beginning of the function, we go all the way around 
 571 SWIGRUNTIME swig_type_info 
* 
 572 SWIG_TypeQueryModule(swig_module_info 
*start
,  
 573                      swig_module_info 
*end
,  
 575   /* STEP 1: Search the name field using binary search */ 
 576   swig_type_info 
*ret 
= SWIG_MangledTypeQueryModule(start
, end
, name
); 
 580     /* STEP 2: If the type hasn't been found, do a complete search 
 581        of the str field (the human readable name) */ 
 582     swig_module_info 
*iter 
= start
; 
 584       register size_t i 
= 0; 
 585       for (; i 
< iter
->size
; ++i
) { 
 586         if (iter
->types
[i
]->str 
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
))) 
 587           return iter
->types
[i
]; 
 590     } while (iter 
!= end
); 
 593   /* neither found a match */ 
 598    Pack binary data into a string 
 601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) { 
 602   static const char hex
[17] = "0123456789abcdef"; 
 603   register const unsigned char *u 
= (unsigned char *) ptr
; 
 604   register const unsigned char *eu 
=  u 
+ sz
; 
 605   for (; u 
!= eu
; ++u
) { 
 606     register unsigned char uu 
= *u
; 
 607     *(c
++) = hex
[(uu 
& 0xf0) >> 4]; 
 608     *(c
++) = hex
[uu 
& 0xf]; 
 614    Unpack binary data from a string 
 616 SWIGRUNTIME 
const char * 
 617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) { 
 618   register unsigned char *u 
= (unsigned char *) ptr
; 
 619   register const unsigned char *eu 
= u 
+ sz
; 
 620   for (; u 
!= eu
; ++u
) { 
 621     register char d 
= *(c
++); 
 622     register unsigned char uu
; 
 623     if ((d 
>= '0') && (d 
<= '9')) 
 624       uu 
= ((d 
- '0') << 4); 
 625     else if ((d 
>= 'a') && (d 
<= 'f')) 
 626       uu 
= ((d 
- ('a'-10)) << 4); 
 630     if ((d 
>= '0') && (d 
<= '9')) 
 632     else if ((d 
>= 'a') && (d 
<= 'f')) 
 633       uu 
|= (d 
- ('a'-10)); 
 642    Pack 'void *' into a string buffer. 
 645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) { 
 647   if ((2*sizeof(void *) + 2) > bsz
) return 0; 
 649   r 
= SWIG_PackData(r
,&ptr
,sizeof(void *)); 
 650   if (strlen(name
) + 1 > (bsz 
- (r 
- buff
))) return 0; 
 655 SWIGRUNTIME 
const char * 
 656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) { 
 658     if (strcmp(c
,"NULL") == 0) { 
 665   return SWIG_UnpackData(++c
,ptr
,sizeof(void *)); 
 669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) { 
 671   size_t lname 
= (name 
? strlen(name
) : 0); 
 672   if ((2*sz 
+ 2 + lname
) > bsz
) return 0; 
 674   r 
= SWIG_PackData(r
,ptr
,sz
); 
 676     strncpy(r
,name
,lname
+1); 
 683 SWIGRUNTIME 
const char * 
 684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) { 
 686     if (strcmp(c
,"NULL") == 0) { 
 693   return SWIG_UnpackData(++c
,ptr
,sz
); 
 701 #define  SWIG_UnknownError         -1  
 702 #define  SWIG_IOError              -2  
 703 #define  SWIG_RuntimeError         -3  
 704 #define  SWIG_IndexError           -4  
 705 #define  SWIG_TypeError            -5  
 706 #define  SWIG_DivisionByZero       -6  
 707 #define  SWIG_OverflowError        -7  
 708 #define  SWIG_SyntaxError          -8  
 709 #define  SWIG_ValueError           -9  
 710 #define  SWIG_SystemError          -10 
 711 #define  SWIG_AttributeError       -11 
 712 #define  SWIG_MemoryError          -12  
 713 #define  SWIG_NullReferenceError   -13 
 717 /* Python.h has to appear first */ 
 720 /* Add PyOS_snprintf for old Pythons */ 
 721 #if PY_VERSION_HEX < 0x02020000 
 722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) 
 723 #  define PyOS_snprintf _snprintf 
 725 #  define PyOS_snprintf snprintf 
 729 /* A crude PyString_FromFormat implementation for old Pythons */ 
 730 #if PY_VERSION_HEX < 0x02020000 
 732 #ifndef SWIG_PYBUFFER_SIZE 
 733 # define SWIG_PYBUFFER_SIZE 1024 
 737 PyString_FromFormat(const char *fmt
, ...) { 
 739   char buf
[SWIG_PYBUFFER_SIZE 
* 2]; 
 742   res 
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
); 
 744   return (res 
< 0 || res 
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
); 
 748 /* Add PyObject_Del for old Pythons */ 
 749 #if PY_VERSION_HEX < 0x01060000 
 750 # define PyObject_Del(op) PyMem_DEL((op)) 
 753 # define PyObject_DEL PyObject_Del 
 756 /* A crude PyExc_StopIteration exception for old Pythons */ 
 757 #if PY_VERSION_HEX < 0x02020000 
 758 # ifndef PyExc_StopIteration 
 759 #  define PyExc_StopIteration PyExc_RuntimeError 
 761 # ifndef PyObject_GenericGetAttr 
 762 #  define PyObject_GenericGetAttr 0 
 765 /* Py_NotImplemented is defined in 2.1 and up. */ 
 766 #if PY_VERSION_HEX < 0x02010000 
 767 # ifndef Py_NotImplemented 
 768 #  define Py_NotImplemented PyExc_RuntimeError 
 773 /* A crude PyString_AsStringAndSize implementation for old Pythons */ 
 774 #if PY_VERSION_HEX < 0x02010000 
 775 # ifndef PyString_AsStringAndSize 
 776 #  define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} 
 780 /* PySequence_Size for old Pythons */ 
 781 #if PY_VERSION_HEX < 0x02000000 
 782 # ifndef PySequence_Size 
 783 #  define PySequence_Size PySequence_Length 
 788 /* PyBool_FromLong for old Pythons */ 
 789 #if PY_VERSION_HEX < 0x02030000 
 791 PyObject 
*PyBool_FromLong(long ok
) 
 793   PyObject 
*result 
= ok 
? Py_True 
: Py_False
; 
 800 /* ----------------------------------------------------------------------------- 
 802  * ----------------------------------------------------------------------------- */ 
 804 SWIGRUNTIME PyObject
* 
 805 SWIG_Python_ErrorType(int code
) { 
 808   case SWIG_MemoryError
: 
 809     type 
= PyExc_MemoryError
; 
 812     type 
= PyExc_IOError
; 
 814   case SWIG_RuntimeError
: 
 815     type 
= PyExc_RuntimeError
; 
 817   case SWIG_IndexError
: 
 818     type 
= PyExc_IndexError
; 
 821     type 
= PyExc_TypeError
; 
 823   case SWIG_DivisionByZero
: 
 824     type 
= PyExc_ZeroDivisionError
; 
 826   case SWIG_OverflowError
: 
 827     type 
= PyExc_OverflowError
; 
 829   case SWIG_SyntaxError
: 
 830     type 
= PyExc_SyntaxError
; 
 832   case SWIG_ValueError
: 
 833     type 
= PyExc_ValueError
; 
 835   case SWIG_SystemError
: 
 836     type 
= PyExc_SystemError
; 
 838   case SWIG_AttributeError
: 
 839     type 
= PyExc_AttributeError
; 
 842     type 
= PyExc_RuntimeError
; 
 849 SWIG_Python_AddErrorMsg(const char* mesg
) 
 853   PyObject 
*traceback 
= 0; 
 855   if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
); 
 857     PyObject 
*old_str 
= PyObject_Str(value
); 
 860     PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
 864     PyErr_Format(PyExc_RuntimeError
, mesg
); 
 870 #if defined(SWIG_PYTHON_NO_THREADS) 
 871 #  if defined(SWIG_PYTHON_THREADS) 
 872 #    undef SWIG_PYTHON_THREADS 
 875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ 
 876 #  if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) 
 877 #    if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ 
 878 #      define SWIG_PYTHON_USE_GIL 
 881 #  if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ 
 882 #    ifndef SWIG_PYTHON_INITIALIZE_THREADS 
 883 #     define SWIG_PYTHON_INITIALIZE_THREADS  PyEval_InitThreads()  
 885 #    ifdef __cplusplus /* C++ code */ 
 886        class SWIG_Python_Thread_Block 
{ 
 888          PyGILState_STATE state
; 
 890          void end() { if (status
) { PyGILState_Release(state
); status 
= false;} } 
 891          SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} 
 892          ~SWIG_Python_Thread_Block() { end(); } 
 894        class SWIG_Python_Thread_Allow 
{ 
 898          void end() { if (status
) { PyEval_RestoreThread(save
); status 
= false; }} 
 899          SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} 
 900          ~SWIG_Python_Thread_Allow() { end(); } 
 902 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   SWIG_Python_Thread_Block _swig_thread_block 
 903 #      define SWIG_PYTHON_THREAD_END_BLOCK     _swig_thread_block.end() 
 904 #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   SWIG_Python_Thread_Allow _swig_thread_allow 
 905 #      define SWIG_PYTHON_THREAD_END_ALLOW     _swig_thread_allow.end() 
 907 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK   PyGILState_STATE _swig_thread_block = PyGILState_Ensure() 
 908 #      define SWIG_PYTHON_THREAD_END_BLOCK     PyGILState_Release(_swig_thread_block) 
 909 #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW   PyThreadState *_swig_thread_allow = PyEval_SaveThread() 
 910 #      define SWIG_PYTHON_THREAD_END_ALLOW     PyEval_RestoreThread(_swig_thread_allow) 
 912 #  else /* Old thread way, not implemented, user must provide it */ 
 913 #    if !defined(SWIG_PYTHON_INITIALIZE_THREADS) 
 914 #      define SWIG_PYTHON_INITIALIZE_THREADS 
 916 #    if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) 
 917 #      define SWIG_PYTHON_THREAD_BEGIN_BLOCK 
 919 #    if !defined(SWIG_PYTHON_THREAD_END_BLOCK) 
 920 #      define SWIG_PYTHON_THREAD_END_BLOCK 
 922 #    if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) 
 923 #      define SWIG_PYTHON_THREAD_BEGIN_ALLOW 
 925 #    if !defined(SWIG_PYTHON_THREAD_END_ALLOW) 
 926 #      define SWIG_PYTHON_THREAD_END_ALLOW 
 929 #else /* No thread support */ 
 930 #  define SWIG_PYTHON_INITIALIZE_THREADS 
 931 #  define SWIG_PYTHON_THREAD_BEGIN_BLOCK 
 932 #  define SWIG_PYTHON_THREAD_END_BLOCK 
 933 #  define SWIG_PYTHON_THREAD_BEGIN_ALLOW 
 934 #  define SWIG_PYTHON_THREAD_END_ALLOW 
 937 /* ----------------------------------------------------------------------------- 
 938  * Python API portion that goes into the runtime 
 939  * ----------------------------------------------------------------------------- */ 
 948 /* ----------------------------------------------------------------------------- 
 949  * Constant declarations 
 950  * ----------------------------------------------------------------------------- */ 
 953 #define SWIG_PY_POINTER 4 
 954 #define SWIG_PY_BINARY  5 
 956 /* Constant information structure */ 
 957 typedef struct swig_const_info 
{ 
 963   swig_type_info 
**ptype
; 
 974 /* ----------------------------------------------------------------------------- 
 975  * See the LICENSE file for information on copyright, usage and redistribution 
 976  * of SWIG, and the README file for authors - http://www.swig.org/release.html. 
 980  * This file contains the runtime support for Python modules 
 981  * and includes code for managing global variables and pointer 
 984  * ----------------------------------------------------------------------------- */ 
 986 /* Common SWIG API */ 
 988 /* for raw pointers */ 
 989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) 
 990 #define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Python_ConvertPtr(obj, pptr, type, flags) 
 991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) 
 992 #define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(ptr, type, flags) 
 993 #define SWIG_CheckImplicit(ty)                          SWIG_Python_CheckImplicit(ty)  
 994 #define SWIG_AcquirePtr(ptr, src)                       SWIG_Python_AcquirePtr(ptr, src) 
 995 #define swig_owntype                                    int 
 997 /* for raw packed data */ 
 998 #define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 
 999 #define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type) 
1001 /* for class or struct pointers */ 
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags) 
1003 #define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags) 
1005 /* for C or C++ function pointers */ 
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_Python_ConvertFunctionPtr(obj, pptr, type) 
1007 #define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_Python_NewPointerObj(ptr, type, 0) 
1009 /* for C++ member pointers, ie, member methods */ 
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 
1011 #define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type) 
1016 #define SWIG_GetModule(clientdata)                      SWIG_Python_GetModule() 
1017 #define SWIG_SetModule(clientdata, pointer)             SWIG_Python_SetModule(pointer) 
1018 #define SWIG_NewClientData(obj)                         PySwigClientData_New(obj) 
1020 #define SWIG_SetErrorObj                                SWIG_Python_SetErrorObj                             
1021 #define SWIG_SetErrorMsg                                SWIG_Python_SetErrorMsg                             
1022 #define SWIG_ErrorType(code)                            SWIG_Python_ErrorType(code)                         
1023 #define SWIG_Error(code, msg)                           SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)  
1024 #define SWIG_fail                                       goto fail                                           
1027 /* Runtime API implementation */ 
1029 /* Error manipulation */ 
1032 SWIG_Python_SetErrorObj(PyObject 
*errtype
, PyObject 
*obj
) { 
1033   SWIG_PYTHON_THREAD_BEGIN_BLOCK
;  
1034   PyErr_SetObject(errtype
, obj
); 
1036   SWIG_PYTHON_THREAD_END_BLOCK
; 
1040 SWIG_Python_SetErrorMsg(PyObject 
*errtype
, const char *msg
) { 
1041   SWIG_PYTHON_THREAD_BEGIN_BLOCK
; 
1042   PyErr_SetString(errtype
, (char *) msg
); 
1043   SWIG_PYTHON_THREAD_END_BLOCK
; 
1046 #define SWIG_Python_Raise(obj, type, desc)  SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) 
1048 /* Set a constant value */ 
1051 SWIG_Python_SetConstant(PyObject 
*d
, const char *name
, PyObject 
*obj
) {    
1052   PyDict_SetItemString(d
, (char*) name
, obj
); 
1056 /* Append a value to the result obj */ 
1058 SWIGINTERN PyObject
* 
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) { 
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) 
1063   } else if (result 
== Py_None
) { 
1067     if (!PyList_Check(result
)) { 
1068       PyObject 
*o2 
= result
; 
1069       result 
= PyList_New(1); 
1070       PyList_SetItem(result
, 0, o2
); 
1072     PyList_Append(result
,obj
); 
1081   } else if (result 
== Py_None
) { 
1085     if (!PyTuple_Check(result
)) { 
1087       result 
= PyTuple_New(1); 
1088       PyTuple_SET_ITEM(result
, 0, o2
); 
1090     o3 
= PyTuple_New(1); 
1091     PyTuple_SET_ITEM(o3
, 0, obj
); 
1093     result 
= PySequence_Concat(o2
, o3
); 
1101 /* Unpack the argument tuple */ 
1104 SWIG_Python_UnpackTuple(PyObject 
*args
, const char *name
, int min
, int max
, PyObject 
**objs
) 
1110       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",  
1111                    name
, (min 
== max 
? "" : "at least "), min
); 
1115   if (!PyTuple_Check(args
)) { 
1116     PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple"); 
1119     register int l 
= PyTuple_GET_SIZE(args
); 
1121       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",  
1122                    name
, (min 
== max 
? "" : "at least "), min
, l
); 
1124     } else if (l 
> max
) { 
1125       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",  
1126                    name
, (min 
== max 
? "" : "at most "), max
, l
); 
1130       for (i 
= 0; i 
< l
; ++i
) { 
1131         objs
[i
] = PyTuple_GET_ITEM(args
, i
); 
1133       for (; l 
< max
; ++l
) { 
1141 /* A functor is a function object with one single object argument */ 
1142 #if PY_VERSION_HEX >= 0x02020000 
1143 #define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunctionObjArgs(functor, obj, NULL); 
1145 #define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunction(functor, "O", obj); 
1149   Helper for static pointer initialization for both C and C++ code, for example 
1150   static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); 
1153 #define SWIG_STATIC_POINTER(var)  var 
1155 #define SWIG_STATIC_POINTER(var)  var = 0; if (!var) var 
1158 /* ----------------------------------------------------------------------------- 
1159  * Pointer declarations 
1160  * ----------------------------------------------------------------------------- */ 
1162 /* Flags for new pointer objects */ 
1163 #define SWIG_POINTER_NOSHADOW       (SWIG_POINTER_OWN      << 1) 
1164 #define SWIG_POINTER_NEW            (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) 
1166 #define SWIG_POINTER_IMPLICIT_CONV  (SWIG_POINTER_DISOWN   << 1) 
1175 /*  How to access Py_None */ 
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
1177 #  ifndef SWIG_PYTHON_NO_BUILD_NONE 
1178 #    ifndef SWIG_PYTHON_BUILD_NONE 
1179 #      define SWIG_PYTHON_BUILD_NONE 
1184 #ifdef SWIG_PYTHON_BUILD_NONE 
1187 #   define Py_None SWIG_Py_None() 
1189 SWIGRUNTIMEINLINE PyObject 
*  
1192   PyObject 
*none 
= Py_BuildValue(""); 
1196 SWIGRUNTIME PyObject 
*  
1199   static PyObject 
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None(); 
1204 /* The python void return value */ 
1206 SWIGRUNTIMEINLINE PyObject 
*  
1209   PyObject 
*none 
= Py_None
; 
1214 /* PySwigClientData */ 
1225 SWIGRUNTIMEINLINE 
int  
1226 SWIG_Python_CheckImplicit(swig_type_info 
*ty
) 
1228   PySwigClientData 
*data 
= (PySwigClientData 
*)ty
->clientdata
; 
1229   return data 
? data
->implicitconv 
: 0; 
1232 SWIGRUNTIMEINLINE PyObject 
* 
1233 SWIG_Python_ExceptionType(swig_type_info 
*desc
) { 
1234   PySwigClientData 
*data 
= desc 
? (PySwigClientData 
*) desc
->clientdata 
: 0; 
1235   PyObject 
*klass 
= data 
? data
->klass 
: 0; 
1236   return (klass 
? klass 
: PyExc_RuntimeError
); 
1240 SWIGRUNTIME PySwigClientData 
*  
1241 PySwigClientData_New(PyObject
* obj
) 
1246     PySwigClientData 
*data 
= (PySwigClientData 
*)malloc(sizeof(PySwigClientData
)); 
1247     /* the klass element */ 
1249     Py_INCREF(data
->klass
); 
1250     /* the newraw method and newargs arguments used to create a new raw instance */ 
1251     if (PyClass_Check(obj
)) { 
1253       data
->newargs 
= obj
; 
1256 #if (PY_VERSION_HEX < 0x02020000) 
1259       data
->newraw 
= PyObject_GetAttrString(data
->klass
, (char *)"__new__"); 
1262         Py_INCREF(data
->newraw
); 
1263         data
->newargs 
= PyTuple_New(1); 
1264         PyTuple_SetItem(data
->newargs
, 0, obj
); 
1266         data
->newargs 
= obj
; 
1268       Py_INCREF(data
->newargs
); 
1270     /* the destroy method, aka as the C++ delete method */ 
1271     data
->destroy 
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__"); 
1272     if (PyErr_Occurred()) { 
1276     if (data
->destroy
) { 
1278       Py_INCREF(data
->destroy
); 
1279       flags 
= PyCFunction_GET_FLAGS(data
->destroy
); 
1281       data
->delargs 
= !(flags 
& (METH_O
)); 
1288     data
->implicitconv 
= 0; 
1294 PySwigClientData_Del(PySwigClientData
* data
) 
1296   Py_XDECREF(data
->newraw
); 
1297   Py_XDECREF(data
->newargs
); 
1298   Py_XDECREF(data
->destroy
); 
1301 /* =============== PySwigObject =====================*/ 
1311 SWIGRUNTIME PyObject 
* 
1312 PySwigObject_long(PySwigObject 
*v
) 
1314   return PyLong_FromVoidPtr(v
->ptr
); 
1317 SWIGRUNTIME PyObject 
* 
1318 PySwigObject_format(const char* fmt
, PySwigObject 
*v
) 
1320   PyObject 
*res 
= NULL
; 
1321   PyObject 
*args 
= PyTuple_New(1); 
1323     if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) { 
1324       PyObject 
*ofmt 
= PyString_FromString(fmt
); 
1326         res 
= PyString_Format(ofmt
,args
); 
1335 SWIGRUNTIME PyObject 
* 
1336 PySwigObject_oct(PySwigObject 
*v
) 
1338   return PySwigObject_format("%o",v
); 
1341 SWIGRUNTIME PyObject 
* 
1342 PySwigObject_hex(PySwigObject 
*v
) 
1344   return PySwigObject_format("%x",v
); 
1347 SWIGRUNTIME PyObject 
* 
1349 PySwigObject_repr(PySwigObject 
*v
) 
1351 PySwigObject_repr(PySwigObject 
*v
, PyObject 
*args
) 
1354   const char *name 
= SWIG_TypePrettyName(v
->ty
); 
1355   PyObject 
*hex 
= PySwigObject_hex(v
);     
1356   PyObject 
*repr 
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
)); 
1360     PyObject 
*nrep 
= PySwigObject_repr((PySwigObject 
*)v
->next
); 
1362     PyObject 
*nrep 
= PySwigObject_repr((PySwigObject 
*)v
->next
, args
); 
1364     PyString_ConcatAndDel(&repr
,nrep
); 
1370 PySwigObject_print(PySwigObject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) 
1373   PyObject 
*repr 
= PySwigObject_repr(v
); 
1375   PyObject 
*repr 
= PySwigObject_repr(v
, NULL
); 
1378     fputs(PyString_AsString(repr
), fp
); 
1386 SWIGRUNTIME PyObject 
* 
1387 PySwigObject_str(PySwigObject 
*v
) 
1389   char result
[SWIG_BUFFER_SIZE
]; 
1390   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ? 
1391     PyString_FromString(result
) : 0; 
1395 PySwigObject_compare(PySwigObject 
*v
, PySwigObject 
*w
) 
1399   return (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void); 
1404 SWIGRUNTIME PyTypeObject
* 
1405 PySwigObject_type(void) { 
1406   static PyTypeObject 
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type(); 
1410 SWIGRUNTIMEINLINE 
int 
1411 PySwigObject_Check(PyObject 
*op
) { 
1412   return ((op
)->ob_type 
== PySwigObject_type()) 
1413     || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0); 
1416 SWIGRUNTIME PyObject 
* 
1417 PySwigObject_New(void *ptr
, swig_type_info 
*ty
, int own
); 
1420 PySwigObject_dealloc(PyObject 
*v
) 
1422   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1423   PyObject 
*next 
= sobj
->next
; 
1425     swig_type_info 
*ty 
= sobj
->ty
; 
1426     PySwigClientData 
*data 
= ty 
? (PySwigClientData 
*) ty
->clientdata 
: 0; 
1427     PyObject 
*destroy 
= data 
? data
->destroy 
: 0; 
1429       /* destroy is always a VARARGS method */ 
1431       if (data
->delargs
) { 
1432         /* we need to create a temporal object to carry the destroy operation */ 
1433         PyObject 
*tmp 
= PySwigObject_New(sobj
->ptr
, ty
, 0); 
1434         res 
= SWIG_Python_CallFunctor(destroy
, tmp
); 
1437         PyCFunction meth 
= PyCFunction_GET_FUNCTION(destroy
); 
1438         PyObject 
*mself 
= PyCFunction_GET_SELF(destroy
); 
1439         res 
= ((*meth
)(mself
, v
)); 
1443       const char *name 
= SWIG_TypePrettyName(ty
); 
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) 
1445       printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
); 
1453 SWIGRUNTIME PyObject
*  
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
) 
1456   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1459   if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
; 
1462   if (!PySwigObject_Check(next
)) { 
1467   return SWIG_Py_Void(); 
1470 SWIGRUNTIME PyObject
*  
1472 PySwigObject_next(PyObject
* v
) 
1474 PySwigObject_next(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1477   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1479     Py_INCREF(sobj
->next
); 
1482     return SWIG_Py_Void(); 
1486 SWIGINTERN PyObject
* 
1488 PySwigObject_disown(PyObject 
*v
) 
1490 PySwigObject_disown(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1493   PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1495   return SWIG_Py_Void(); 
1498 SWIGINTERN PyObject
* 
1500 PySwigObject_acquire(PyObject 
*v
) 
1502 PySwigObject_acquire(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1505   PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1506   sobj
->own 
= SWIG_POINTER_OWN
; 
1507   return SWIG_Py_Void(); 
1510 SWIGINTERN PyObject
* 
1511 PySwigObject_own(PyObject 
*v
, PyObject 
*args
) 
1514 #if (PY_VERSION_HEX < 0x02020000) 
1515   if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
)) 
1517   if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))  
1524       PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1525       PyObject 
*obj 
= PyBool_FromLong(sobj
->own
); 
1528         if (PyObject_IsTrue(val
)) { 
1529           PySwigObject_acquire(v
); 
1531           PySwigObject_disown(v
); 
1534         if (PyObject_IsTrue(val
)) { 
1535           PySwigObject_acquire(v
,args
); 
1537           PySwigObject_disown(v
,args
); 
1547 swigobject_methods
[] = { 
1548   {(char *)"disown",  (PyCFunction
)PySwigObject_disown
,  METH_NOARGS
,  (char *)"releases ownership of the pointer"}, 
1549   {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
,  (char *)"aquires ownership of the pointer"}, 
1550   {(char *)"own",     (PyCFunction
)PySwigObject_own
,     METH_VARARGS
, (char *)"returns/sets ownership of the pointer"}, 
1551   {(char *)"append",  (PyCFunction
)PySwigObject_append
,  METH_O
,       (char *)"appends another 'this' object"}, 
1552   {(char *)"next",    (PyCFunction
)PySwigObject_next
,    METH_NOARGS
,  (char *)"returns the next 'this' object"}, 
1553   {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
,    METH_NOARGS
,  (char *)"returns object representation"}, 
1558 swigobject_methods
[] = { 
1559   {(char *)"disown",  (PyCFunction
)PySwigObject_disown
,  METH_VARARGS
,  (char *)"releases ownership of the pointer"}, 
1560   {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
,  (char *)"aquires ownership of the pointer"}, 
1561   {(char *)"own",     (PyCFunction
)PySwigObject_own
,     METH_VARARGS
,  (char *)"returns/sets ownership of the pointer"}, 
1562   {(char *)"append",  (PyCFunction
)PySwigObject_append
,  METH_VARARGS
,  (char *)"appends another 'this' object"}, 
1563   {(char *)"next",    (PyCFunction
)PySwigObject_next
,    METH_VARARGS
,  (char *)"returns the next 'this' object"}, 
1564   {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
,   METH_VARARGS
,  (char *)"returns object representation"}, 
1569 #if PY_VERSION_HEX < 0x02020000 
1570 SWIGINTERN PyObject 
* 
1571 PySwigObject_getattr(PySwigObject 
*sobj
,char *name
) 
1573   return Py_FindMethod(swigobject_methods
, (PyObject 
*)sobj
, name
); 
1577 SWIGRUNTIME PyTypeObject
* 
1578 _PySwigObject_type(void) { 
1579   static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer"; 
1581   static PyNumberMethods PySwigObject_as_number 
= { 
1582     (binaryfunc
)0, /*nb_add*/ 
1583     (binaryfunc
)0, /*nb_subtract*/ 
1584     (binaryfunc
)0, /*nb_multiply*/ 
1585     (binaryfunc
)0, /*nb_divide*/ 
1586     (binaryfunc
)0, /*nb_remainder*/ 
1587     (binaryfunc
)0, /*nb_divmod*/ 
1588     (ternaryfunc
)0,/*nb_power*/ 
1589     (unaryfunc
)0,  /*nb_negative*/ 
1590     (unaryfunc
)0,  /*nb_positive*/ 
1591     (unaryfunc
)0,  /*nb_absolute*/ 
1592     (inquiry
)0,    /*nb_nonzero*/ 
1599     (coercion
)0,   /*nb_coerce*/ 
1600     (unaryfunc
)PySwigObject_long
, /*nb_int*/ 
1601     (unaryfunc
)PySwigObject_long
, /*nb_long*/ 
1602     (unaryfunc
)0,                 /*nb_float*/ 
1603     (unaryfunc
)PySwigObject_oct
,  /*nb_oct*/ 
1604     (unaryfunc
)PySwigObject_hex
,  /*nb_hex*/ 
1605 #if PY_VERSION_HEX >= 0x02020000 
1606     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */  
1607 #elif PY_VERSION_HEX >= 0x02000000 
1608     0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ 
1612   static PyTypeObject pyswigobject_type
;   
1613   static int type_init 
= 0; 
1615     const PyTypeObject tmp
 
1617         PyObject_HEAD_INIT(NULL
) 
1619         (char *)"PySwigObject",             /* tp_name */ 
1620         sizeof(PySwigObject
),               /* tp_basicsize */ 
1621         0,                                  /* tp_itemsize */ 
1622         (destructor
)PySwigObject_dealloc
,   /* tp_dealloc */ 
1623         (printfunc
)PySwigObject_print
,      /* tp_print */ 
1624 #if PY_VERSION_HEX < 0x02020000 
1625         (getattrfunc
)PySwigObject_getattr
,  /* tp_getattr */  
1627         (getattrfunc
)0,                     /* tp_getattr */  
1629         (setattrfunc
)0,                     /* tp_setattr */  
1630         (cmpfunc
)PySwigObject_compare
,      /* tp_compare */  
1631         (reprfunc
)PySwigObject_repr
,        /* tp_repr */     
1632         &PySwigObject_as_number
,            /* tp_as_number */ 
1633         0,                                  /* tp_as_sequence */ 
1634         0,                                  /* tp_as_mapping */ 
1635         (hashfunc
)0,                        /* tp_hash */ 
1636         (ternaryfunc
)0,                     /* tp_call */ 
1637         (reprfunc
)PySwigObject_str
,         /* tp_str */ 
1638         PyObject_GenericGetAttr
,            /* tp_getattro */ 
1639         0,                                  /* tp_setattro */ 
1640         0,                                  /* tp_as_buffer */ 
1641         Py_TPFLAGS_DEFAULT
,                 /* tp_flags */ 
1642         swigobject_doc
,                     /* tp_doc */         
1643         0,                                  /* tp_traverse */ 
1645         0,                                  /* tp_richcompare */ 
1646         0,                                  /* tp_weaklistoffset */ 
1647 #if PY_VERSION_HEX >= 0x02020000 
1649         0,                                  /* tp_iternext */ 
1650         swigobject_methods
,                 /* tp_methods */  
1655         0,                                  /* tp_descr_get */           
1656         0,                                  /* tp_descr_set */           
1657         0,                                  /* tp_dictoffset */          
1666         0,                                  /* tp_subclasses */ 
1667         0,                                  /* tp_weaklist */ 
1669 #if PY_VERSION_HEX >= 0x02030000 
1673         0,0,0,0                             /* tp_alloc -> tp_next */ 
1676     pyswigobject_type 
= tmp
; 
1677     pyswigobject_type
.ob_type 
= &PyType_Type
; 
1680   return &pyswigobject_type
; 
1683 SWIGRUNTIME PyObject 
* 
1684 PySwigObject_New(void *ptr
, swig_type_info 
*ty
, int own
) 
1686   PySwigObject 
*sobj 
= PyObject_NEW(PySwigObject
, PySwigObject_type()); 
1693   return (PyObject 
*)sobj
; 
1696 /* ----------------------------------------------------------------------------- 
1697  * Implements a simple Swig Packed type, and use it instead of string 
1698  * ----------------------------------------------------------------------------- */ 
1708 PySwigPacked_print(PySwigPacked 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) 
1710   char result
[SWIG_BUFFER_SIZE
]; 
1711   fputs("<Swig Packed ", fp
);  
1712   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
1716   fputs(v
->ty
->name
,fp
);  
1721 SWIGRUNTIME PyObject 
* 
1722 PySwigPacked_repr(PySwigPacked 
*v
) 
1724   char result
[SWIG_BUFFER_SIZE
]; 
1725   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
1726     return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
); 
1728     return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
); 
1732 SWIGRUNTIME PyObject 
* 
1733 PySwigPacked_str(PySwigPacked 
*v
) 
1735   char result
[SWIG_BUFFER_SIZE
]; 
1736   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){ 
1737     return PyString_FromFormat("%s%s", result
, v
->ty
->name
); 
1739     return PyString_FromString(v
->ty
->name
); 
1744 PySwigPacked_compare(PySwigPacked 
*v
, PySwigPacked 
*w
) 
1748   int s 
= (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
1749   return s 
? s 
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
); 
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void); 
1754 SWIGRUNTIME PyTypeObject
* 
1755 PySwigPacked_type(void) { 
1756   static PyTypeObject 
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type(); 
1760 SWIGRUNTIMEINLINE 
int 
1761 PySwigPacked_Check(PyObject 
*op
) { 
1762   return ((op
)->ob_type 
== _PySwigPacked_type())  
1763     || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0); 
1767 PySwigPacked_dealloc(PyObject 
*v
) 
1769   if (PySwigPacked_Check(v
)) { 
1770     PySwigPacked 
*sobj 
= (PySwigPacked 
*) v
; 
1776 SWIGRUNTIME PyTypeObject
* 
1777 _PySwigPacked_type(void) { 
1778   static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer"; 
1779   static PyTypeObject pyswigpacked_type
; 
1780   static int type_init 
= 0;   
1782     const PyTypeObject tmp
 
1784         PyObject_HEAD_INIT(NULL
) 
1786         (char *)"PySwigPacked",             /* tp_name */        
1787         sizeof(PySwigPacked
),               /* tp_basicsize */   
1788         0,                                  /* tp_itemsize */    
1789         (destructor
)PySwigPacked_dealloc
,   /* tp_dealloc */     
1790         (printfunc
)PySwigPacked_print
,      /* tp_print */       
1791         (getattrfunc
)0,                     /* tp_getattr */     
1792         (setattrfunc
)0,                     /* tp_setattr */     
1793         (cmpfunc
)PySwigPacked_compare
,      /* tp_compare */     
1794         (reprfunc
)PySwigPacked_repr
,        /* tp_repr */        
1795         0,                                  /* tp_as_number */   
1796         0,                                  /* tp_as_sequence */ 
1797         0,                                  /* tp_as_mapping */  
1798         (hashfunc
)0,                        /* tp_hash */        
1799         (ternaryfunc
)0,                     /* tp_call */        
1800         (reprfunc
)PySwigPacked_str
,         /* tp_str */         
1801         PyObject_GenericGetAttr
,            /* tp_getattro */ 
1802         0,                                  /* tp_setattro */ 
1803         0,                                  /* tp_as_buffer */ 
1804         Py_TPFLAGS_DEFAULT
,                 /* tp_flags */ 
1805         swigpacked_doc
,                     /* tp_doc */ 
1806         0,                                  /* tp_traverse */ 
1808         0,                                  /* tp_richcompare */ 
1809         0,                                  /* tp_weaklistoffset */ 
1810 #if PY_VERSION_HEX >= 0x02020000 
1812         0,                                  /* tp_iternext */ 
1818         0,                                  /* tp_descr_get */           
1819         0,                                  /* tp_descr_set */           
1820         0,                                  /* tp_dictoffset */          
1829         0,                                  /* tp_subclasses */ 
1830         0,                                  /* tp_weaklist */ 
1832 #if PY_VERSION_HEX >= 0x02030000 
1836         0,0,0,0                             /* tp_alloc -> tp_next */ 
1839     pyswigpacked_type 
= tmp
; 
1840     pyswigpacked_type
.ob_type 
= &PyType_Type
; 
1843   return &pyswigpacked_type
; 
1846 SWIGRUNTIME PyObject 
* 
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info 
*ty
) 
1849   PySwigPacked 
*sobj 
= PyObject_NEW(PySwigPacked
, PySwigPacked_type()); 
1851     void *pack 
= malloc(size
); 
1853       memcpy(pack
, ptr
, size
); 
1858       PyObject_DEL((PyObject 
*) sobj
); 
1862   return (PyObject 
*) sobj
; 
1865 SWIGRUNTIME swig_type_info 
* 
1866 PySwigPacked_UnpackData(PyObject 
*obj
, void *ptr
, size_t size
) 
1868   if (PySwigPacked_Check(obj
)) { 
1869     PySwigPacked 
*sobj 
= (PySwigPacked 
*)obj
; 
1870     if (sobj
->size 
!= size
) return 0; 
1871     memcpy(ptr
, sobj
->pack
, size
); 
1878 /* ----------------------------------------------------------------------------- 
1879  * pointers/data manipulation 
1880  * ----------------------------------------------------------------------------- */ 
1882 SWIGRUNTIMEINLINE PyObject 
* 
1885   return PyString_FromString("this"); 
1888 SWIGRUNTIME PyObject 
* 
1891   static PyObject 
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This(); 
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ 
1897 SWIGRUNTIME PySwigObject 
* 
1898 SWIG_Python_GetSwigThis(PyObject 
*pyobj
)  
1900   if (PySwigObject_Check(pyobj
)) { 
1901     return (PySwigObject 
*) pyobj
; 
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) 
1905     if (PyInstance_Check(pyobj
)) { 
1906       obj 
= _PyInstance_Lookup(pyobj
, SWIG_This());       
1908       PyObject 
**dictptr 
= _PyObject_GetDictPtr(pyobj
); 
1909       if (dictptr 
!= NULL
) { 
1910         PyObject 
*dict 
= *dictptr
; 
1911         obj 
= dict 
? PyDict_GetItem(dict
, SWIG_This()) : 0; 
1913 #ifdef PyWeakref_CheckProxy 
1914         if (PyWeakref_CheckProxy(pyobj
)) { 
1915           PyObject 
*wobj 
= PyWeakref_GET_OBJECT(pyobj
); 
1916           return wobj 
? SWIG_Python_GetSwigThis(wobj
) : 0; 
1919         obj 
= PyObject_GetAttr(pyobj
,SWIG_This()); 
1923           if (PyErr_Occurred()) PyErr_Clear(); 
1929     obj 
= PyObject_GetAttr(pyobj
,SWIG_This()); 
1933       if (PyErr_Occurred()) PyErr_Clear(); 
1937     if (obj 
&& !PySwigObject_Check(obj
)) { 
1938       /* a PyObject is called 'this', try to get the 'real this' 
1939          PySwigObject from it */  
1940       return SWIG_Python_GetSwigThis(obj
); 
1942     return (PySwigObject 
*)obj
; 
1946 /* Acquire a pointer value */ 
1949 SWIG_Python_AcquirePtr(PyObject 
*obj
, int own
) { 
1951     PySwigObject 
*sobj 
= SWIG_Python_GetSwigThis(obj
); 
1953       int oldown 
= sobj
->own
; 
1961 /* Convert a pointer value */ 
1964 SWIG_Python_ConvertPtrAndOwn(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
, int flags
, int *own
) { 
1965   if (!obj
) return SWIG_ERROR
; 
1966   if (obj 
== Py_None
) { 
1970     PySwigObject 
*sobj 
= SWIG_Python_GetSwigThis(obj
); 
1972       void *vptr 
= sobj
->ptr
; 
1974         swig_type_info 
*to 
= sobj
->ty
; 
1976           /* no type cast needed */ 
1977           if (ptr
) *ptr 
= vptr
; 
1980           swig_cast_info 
*tc 
= SWIG_TypeCheck(to
->name
,ty
); 
1982             sobj 
= (PySwigObject 
*)sobj
->next
; 
1984             if (ptr
) *ptr 
= SWIG_TypeCast(tc
,vptr
); 
1989         if (ptr
) *ptr 
= vptr
; 
1994       if (own
) *own 
= sobj
->own
; 
1995       if (flags 
& SWIG_POINTER_DISOWN
) { 
2000       int res 
= SWIG_ERROR
; 
2001       if (flags 
& SWIG_POINTER_IMPLICIT_CONV
) { 
2002         PySwigClientData 
*data 
= ty 
? (PySwigClientData 
*) ty
->clientdata 
: 0; 
2003         if (data 
&& !data
->implicitconv
) { 
2004           PyObject 
*klass 
= data
->klass
; 
2007             data
->implicitconv 
= 1; /* avoid recursion and call 'explicit' constructors*/ 
2008             impconv 
= SWIG_Python_CallFunctor(klass
, obj
); 
2009             data
->implicitconv 
= 0; 
2010             if (PyErr_Occurred()) { 
2015               PySwigObject 
*iobj 
= SWIG_Python_GetSwigThis(impconv
); 
2018                 res 
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0); 
2019                 if (SWIG_IsOK(res
)) { 
2022                     /* transfer the ownership to 'ptr' */ 
2024                     res 
= SWIG_AddCast(res
); 
2025                     res 
= SWIG_AddNewMask(res
); 
2027                     res 
= SWIG_AddCast(res
);                 
2041 /* Convert a function ptr value */ 
2044 SWIG_Python_ConvertFunctionPtr(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
) { 
2045   if (!PyCFunction_Check(obj
)) { 
2046     return SWIG_ConvertPtr(obj
, ptr
, ty
, 0); 
2050     /* here we get the method pointer for callbacks */ 
2051     char *doc 
= (((PyCFunctionObject 
*)obj
) -> m_ml 
-> ml_doc
); 
2052     const char *desc 
= doc 
? strstr(doc
, "swig_ptr: ") : 0; 
2054       desc 
= ty 
? SWIG_UnpackVoidPtr(desc 
+ 10, &vptr
, ty
->name
) : 0; 
2055       if (!desc
) return SWIG_ERROR
; 
2058       swig_cast_info 
*tc 
= SWIG_TypeCheck(desc
,ty
); 
2059       if (!tc
) return SWIG_ERROR
; 
2060       *ptr 
= SWIG_TypeCast(tc
,vptr
); 
2068 /* Convert a packed value value */ 
2071 SWIG_Python_ConvertPacked(PyObject 
*obj
, void *ptr
, size_t sz
, swig_type_info 
*ty
) { 
2072   swig_type_info 
*to 
= PySwigPacked_UnpackData(obj
, ptr
, sz
); 
2073   if (!to
) return SWIG_ERROR
; 
2076       /* check type cast? */ 
2077       swig_cast_info 
*tc 
= SWIG_TypeCheck(to
->name
,ty
); 
2078       if (!tc
) return SWIG_ERROR
; 
2084 /* ----------------------------------------------------------------------------- 
2085  * Create a new pointer object 
2086  * ----------------------------------------------------------------------------- */ 
2089   Create a new instance object, whitout calling __init__, and set the 
2093 SWIGRUNTIME PyObject
*  
2094 SWIG_Python_NewShadowInstance(PySwigClientData 
*data
, PyObject 
*swig_this
) 
2096 #if (PY_VERSION_HEX >= 0x02020000) 
2098   PyObject 
*newraw 
= data
->newraw
; 
2100     inst 
= PyObject_Call(newraw
, data
->newargs
, NULL
); 
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 
2103       PyObject 
**dictptr 
= _PyObject_GetDictPtr(inst
); 
2104       if (dictptr 
!= NULL
) { 
2105         PyObject 
*dict 
= *dictptr
; 
2107           dict 
= PyDict_New(); 
2109           PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2113       PyObject 
*key 
= SWIG_This(); 
2114       PyObject_SetAttr(inst
, key
, swig_this
); 
2118     PyObject 
*dict 
= PyDict_New(); 
2119     PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2120     inst 
= PyInstance_NewRaw(data
->newargs
, dict
); 
2125 #if (PY_VERSION_HEX >= 0x02010000) 
2127   PyObject 
*dict 
= PyDict_New(); 
2128   PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2129   inst 
= PyInstance_NewRaw(data
->newargs
, dict
); 
2131   return (PyObject 
*) inst
; 
2133   PyInstanceObject 
*inst 
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
); 
2137   inst
->in_class 
= (PyClassObject 
*)data
->newargs
; 
2138   Py_INCREF(inst
->in_class
); 
2139   inst
->in_dict 
= PyDict_New(); 
2140   if (inst
->in_dict 
== NULL
) { 
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS 
2145   inst
->in_weakreflist 
= NULL
; 
2147 #ifdef Py_TPFLAGS_GC 
2148   PyObject_GC_Init(inst
); 
2150   PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
); 
2151   return (PyObject 
*) inst
; 
2157 SWIG_Python_SetSwigThis(PyObject 
*inst
, PyObject 
*swig_this
) 
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 
2161  PyObject 
**dictptr 
= _PyObject_GetDictPtr(inst
); 
2162  if (dictptr 
!= NULL
) { 
2165      dict 
= PyDict_New(); 
2168    PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2172  dict 
= PyObject_GetAttrString(inst
, "__dict__"); 
2173  PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2178 SWIGINTERN PyObject 
* 
2179 SWIG_Python_InitShadowInstance(PyObject 
*args
) { 
2181   if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) { 
2184     PySwigObject 
*sthis 
= SWIG_Python_GetSwigThis(obj
[0]); 
2186       PySwigObject_append((PyObject
*) sthis
, obj
[1]); 
2188       SWIG_Python_SetSwigThis(obj
[0], obj
[1]); 
2190     return SWIG_Py_Void(); 
2194 /* Create a new pointer object */ 
2196 SWIGRUNTIME PyObject 
* 
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info 
*type
, int flags
) { 
2199     return SWIG_Py_Void(); 
2201     int own 
= (flags 
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN 
: 0; 
2202     PyObject 
*robj 
= PySwigObject_New(ptr
, type
, own
); 
2203     PySwigClientData 
*clientdata 
= type 
? (PySwigClientData 
*)(type
->clientdata
) : 0; 
2204     if (clientdata 
&& !(flags 
& SWIG_POINTER_NOSHADOW
)) { 
2205       PyObject 
*inst 
= SWIG_Python_NewShadowInstance(clientdata
, robj
); 
2215 /* Create a new packed object */ 
2217 SWIGRUNTIMEINLINE PyObject 
* 
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info 
*type
) { 
2219   return ptr 
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void(); 
2222 /* -----------------------------------------------------------------------------* 
2224  * -----------------------------------------------------------------------------*/ 
2226 #ifdef SWIG_LINK_RUNTIME 
2227 void *SWIG_ReturnGlobalTypeList(void *); 
2230 SWIGRUNTIME swig_module_info 
* 
2231 SWIG_Python_GetModule(void) { 
2232   static void *type_pointer 
= (void *)0; 
2233   /* first check if module already created */ 
2234   if (!type_pointer
) { 
2235 #ifdef SWIG_LINK_RUNTIME 
2236     type_pointer 
= SWIG_ReturnGlobalTypeList((void *)0); 
2238     type_pointer 
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
2239                                     (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
); 
2240     if (PyErr_Occurred()) { 
2242       type_pointer 
= (void *)0; 
2246   return (swig_module_info 
*) type_pointer
; 
2249 #if PY_MAJOR_VERSION < 2 
2250 /* PyModule_AddObject function was introduced in Python 2.0.  The following function 
2251    is copied out of Python/modsupport.c in python version 2.3.4 */ 
2253 PyModule_AddObject(PyObject 
*m
, char *name
, PyObject 
*o
) 
2256   if (!PyModule_Check(m
)) { 
2257     PyErr_SetString(PyExc_TypeError
, 
2258                     "PyModule_AddObject() needs module as first arg"); 
2262     PyErr_SetString(PyExc_TypeError
, 
2263                     "PyModule_AddObject() needs non-NULL value"); 
2267   dict 
= PyModule_GetDict(m
); 
2269     /* Internal error -- modules must have a dict! */ 
2270     PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__", 
2271                  PyModule_GetName(m
)); 
2274   if (PyDict_SetItemString(dict
, name
, o
)) 
2282 SWIG_Python_DestroyModule(void *vptr
) 
2284   swig_module_info 
*swig_module 
= (swig_module_info 
*) vptr
; 
2285   swig_type_info 
**types 
= swig_module
->types
; 
2287   for (i 
=0; i 
< swig_module
->size
; ++i
) { 
2288     swig_type_info 
*ty 
= types
[i
]; 
2290       PySwigClientData 
*data 
= (PySwigClientData 
*) ty
->clientdata
; 
2291       if (data
) PySwigClientData_Del(data
); 
2294   Py_DECREF(SWIG_This()); 
2298 SWIG_Python_SetModule(swig_module_info 
*swig_module
) { 
2299   static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */ 
2301   PyObject 
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
2302                                    swig_empty_runtime_method_table
); 
2303   PyObject 
*pointer 
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
); 
2304   if (pointer 
&& module) { 
2305     PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
); 
2307     Py_XDECREF(pointer
); 
2311 /* The python cached type query */ 
2312 SWIGRUNTIME PyObject 
* 
2313 SWIG_Python_TypeCache() { 
2314   static PyObject 
*SWIG_STATIC_POINTER(cache
) = PyDict_New(); 
2318 SWIGRUNTIME swig_type_info 
* 
2319 SWIG_Python_TypeQuery(const char *type
) 
2321   PyObject 
*cache 
= SWIG_Python_TypeCache(); 
2322   PyObject 
*key 
= PyString_FromString(type
);  
2323   PyObject 
*obj 
= PyDict_GetItem(cache
, key
); 
2324   swig_type_info 
*descriptor
; 
2326     descriptor 
= (swig_type_info 
*) PyCObject_AsVoidPtr(obj
); 
2328     swig_module_info 
*swig_module 
= SWIG_Python_GetModule(); 
2329     descriptor 
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
); 
2331       obj 
= PyCObject_FromVoidPtr(descriptor
, NULL
); 
2332       PyDict_SetItem(cache
, key
, obj
); 
2341    For backward compatibility only 
2343 #define SWIG_POINTER_EXCEPTION  0 
2344 #define SWIG_arg_fail(arg)      SWIG_Python_ArgFail(arg) 
2345 #define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags) 
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
) 
2350   if (PyErr_Occurred()) { 
2352     PyObject 
*value 
= 0; 
2353     PyObject 
*traceback 
= 0; 
2354     PyErr_Fetch(&type
, &value
, &traceback
); 
2356       PyObject 
*old_str 
= PyObject_Str(value
); 
2360         PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
)); 
2362         PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
2373 SWIG_Python_ArgFail(int argnum
) 
2375   if (PyErr_Occurred()) { 
2376     /* add information about failing argument */ 
2378     PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
); 
2379     return SWIG_Python_AddErrMesg(mesg
, 1); 
2385 SWIGRUNTIMEINLINE 
const char * 
2386 PySwigObject_GetDesc(PyObject 
*self
) 
2388   PySwigObject 
*v 
= (PySwigObject 
*)self
; 
2389   swig_type_info 
*ty 
= v 
? v
->ty 
: 0; 
2390   return ty 
? ty
->str 
: (char*)""; 
2394 SWIG_Python_TypeError(const char *type
, PyObject 
*obj
) 
2397 #if defined(SWIG_COBJECT_TYPES) 
2398     if (obj 
&& PySwigObject_Check(obj
)) { 
2399       const char *otype 
= (const char *) PySwigObject_GetDesc(obj
); 
2401         PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received", 
2408       const char *otype 
= (obj 
? obj
->ob_type
->tp_name 
: 0);  
2410         PyObject 
*str 
= PyObject_Str(obj
); 
2411         const char *cstr 
= str 
? PyString_AsString(str
) : 0; 
2413           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received", 
2416           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received", 
2423     PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
); 
2425     PyErr_Format(PyExc_TypeError
, "unexpected type is received"); 
2430 /* Convert a pointer value, signal an exception on a type mismatch */ 
2432 SWIG_Python_MustGetPtr(PyObject 
*obj
, swig_type_info 
*ty
, int argnum
, int flags
) { 
2434   if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) { 
2436     if (flags 
& SWIG_POINTER_EXCEPTION
) { 
2437       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
2438       SWIG_Python_ArgFail(argnum
); 
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)  
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else  
2460 /* -------- TYPES TABLE (BEGIN) -------- */ 
2462 #define SWIGTYPE_p_char swig_types[0] 
2463 #define SWIGTYPE_p_form_ops_t swig_types[1] 
2464 #define SWIGTYPE_p_int swig_types[2] 
2465 #define SWIGTYPE_p_unsigned_char swig_types[3] 
2466 #define SWIGTYPE_p_unsigned_int swig_types[4] 
2467 #define SWIGTYPE_p_unsigned_long swig_types[5] 
2468 #define SWIGTYPE_p_wxANIHandler swig_types[6] 
2469 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7] 
2470 #define SWIGTYPE_p_wxActivateEvent swig_types[8] 
2471 #define SWIGTYPE_p_wxArrayInt swig_types[9] 
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10] 
2473 #define SWIGTYPE_p_wxBitmap swig_types[11] 
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12] 
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13] 
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14] 
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15] 
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16] 
2479 #define SWIGTYPE_p_wxColour swig_types[17] 
2480 #define SWIGTYPE_p_wxColourData swig_types[18] 
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19] 
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20] 
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21] 
2484 #define SWIGTYPE_p_wxControl swig_types[22] 
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23] 
2486 #define SWIGTYPE_p_wxDC swig_types[24] 
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25] 
2488 #define SWIGTYPE_p_wxDialog swig_types[26] 
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27] 
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28] 
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29] 
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30] 
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31] 
2494 #define SWIGTYPE_p_wxEvent swig_types[32] 
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33] 
2496 #define SWIGTYPE_p_wxFSFile swig_types[34] 
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35] 
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36] 
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37] 
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38] 
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39] 
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40] 
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41] 
2504 #define SWIGTYPE_p_wxFont swig_types[42] 
2505 #define SWIGTYPE_p_wxFontData swig_types[43] 
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44] 
2507 #define SWIGTYPE_p_wxFrame swig_types[45] 
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46] 
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47] 
2510 #define SWIGTYPE_p_wxGridBagSizer swig_types[48] 
2511 #define SWIGTYPE_p_wxGridSizer swig_types[49] 
2512 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[50] 
2513 #define SWIGTYPE_p_wxICOHandler swig_types[51] 
2514 #define SWIGTYPE_p_wxIcon swig_types[52] 
2515 #define SWIGTYPE_p_wxIconBundle swig_types[53] 
2516 #define SWIGTYPE_p_wxIconizeEvent swig_types[54] 
2517 #define SWIGTYPE_p_wxIdleEvent swig_types[55] 
2518 #define SWIGTYPE_p_wxImage swig_types[56] 
2519 #define SWIGTYPE_p_wxImageHandler swig_types[57] 
2520 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[58] 
2521 #define SWIGTYPE_p_wxInitDialogEvent swig_types[59] 
2522 #define SWIGTYPE_p_wxJPEGHandler swig_types[60] 
2523 #define SWIGTYPE_p_wxKeyEvent swig_types[61] 
2524 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[62] 
2525 #define SWIGTYPE_p_wxLayoutConstraints swig_types[63] 
2526 #define SWIGTYPE_p_wxMDIChildFrame swig_types[64] 
2527 #define SWIGTYPE_p_wxMDIClientWindow swig_types[65] 
2528 #define SWIGTYPE_p_wxMDIParentFrame swig_types[66] 
2529 #define SWIGTYPE_p_wxMaximizeEvent swig_types[67] 
2530 #define SWIGTYPE_p_wxMenu swig_types[68] 
2531 #define SWIGTYPE_p_wxMenuBar swig_types[69] 
2532 #define SWIGTYPE_p_wxMenuEvent swig_types[70] 
2533 #define SWIGTYPE_p_wxMenuItem swig_types[71] 
2534 #define SWIGTYPE_p_wxMessageDialog swig_types[72] 
2535 #define SWIGTYPE_p_wxMiniFrame swig_types[73] 
2536 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[74] 
2537 #define SWIGTYPE_p_wxMouseEvent swig_types[75] 
2538 #define SWIGTYPE_p_wxMoveEvent swig_types[76] 
2539 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[77] 
2540 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78] 
2541 #define SWIGTYPE_p_wxNcPaintEvent swig_types[79] 
2542 #define SWIGTYPE_p_wxNotifyEvent swig_types[80] 
2543 #define SWIGTYPE_p_wxObject swig_types[81] 
2544 #define SWIGTYPE_p_wxPCXHandler swig_types[82] 
2545 #define SWIGTYPE_p_wxPNGHandler swig_types[83] 
2546 #define SWIGTYPE_p_wxPNMHandler swig_types[84] 
2547 #define SWIGTYPE_p_wxPageSetupDialog swig_types[85] 
2548 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[86] 
2549 #define SWIGTYPE_p_wxPaintEvent swig_types[87] 
2550 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[88] 
2551 #define SWIGTYPE_p_wxPanel swig_types[89] 
2552 #define SWIGTYPE_p_wxPaperSize swig_types[90] 
2553 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[91] 
2554 #define SWIGTYPE_p_wxPoint swig_types[92] 
2555 #define SWIGTYPE_p_wxPopupWindow swig_types[93] 
2556 #define SWIGTYPE_p_wxPreviewCanvas swig_types[94] 
2557 #define SWIGTYPE_p_wxPreviewControlBar swig_types[95] 
2558 #define SWIGTYPE_p_wxPreviewFrame swig_types[96] 
2559 #define SWIGTYPE_p_wxPrintData swig_types[97] 
2560 #define SWIGTYPE_p_wxPrintDialog swig_types[98] 
2561 #define SWIGTYPE_p_wxPrintDialogData swig_types[99] 
2562 #define SWIGTYPE_p_wxPrintPreview swig_types[100] 
2563 #define SWIGTYPE_p_wxPrinter swig_types[101] 
2564 #define SWIGTYPE_p_wxProgressDialog swig_types[102] 
2565 #define SWIGTYPE_p_wxPyApp swig_types[103] 
2566 #define SWIGTYPE_p_wxPyCommandEvent swig_types[104] 
2567 #define SWIGTYPE_p_wxPyEvent swig_types[105] 
2568 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[106] 
2569 #define SWIGTYPE_p_wxPyImageHandler swig_types[107] 
2570 #define SWIGTYPE_p_wxPyPanel swig_types[108] 
2571 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[109] 
2572 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[110] 
2573 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[111] 
2574 #define SWIGTYPE_p_wxPyPrintPreview swig_types[112] 
2575 #define SWIGTYPE_p_wxPyPrintout swig_types[113] 
2576 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[114] 
2577 #define SWIGTYPE_p_wxPySizer swig_types[115] 
2578 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[116] 
2579 #define SWIGTYPE_p_wxPyVListBox swig_types[117] 
2580 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[118] 
2581 #define SWIGTYPE_p_wxPyValidator swig_types[119] 
2582 #define SWIGTYPE_p_wxPyWindow swig_types[120] 
2583 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[121] 
2584 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[122] 
2585 #define SWIGTYPE_p_wxRect swig_types[123] 
2586 #define SWIGTYPE_p_wxRegion swig_types[124] 
2587 #define SWIGTYPE_p_wxSashEvent swig_types[125] 
2588 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[126] 
2589 #define SWIGTYPE_p_wxSashWindow swig_types[127] 
2590 #define SWIGTYPE_p_wxScrollEvent swig_types[128] 
2591 #define SWIGTYPE_p_wxScrollWinEvent swig_types[129] 
2592 #define SWIGTYPE_p_wxScrolledWindow swig_types[130] 
2593 #define SWIGTYPE_p_wxSetCursorEvent swig_types[131] 
2594 #define SWIGTYPE_p_wxShowEvent swig_types[132] 
2595 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[133] 
2596 #define SWIGTYPE_p_wxSize swig_types[134] 
2597 #define SWIGTYPE_p_wxSizeEvent swig_types[135] 
2598 #define SWIGTYPE_p_wxSizer swig_types[136] 
2599 #define SWIGTYPE_p_wxSizerItem swig_types[137] 
2600 #define SWIGTYPE_p_wxSplashScreen swig_types[138] 
2601 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[139] 
2602 #define SWIGTYPE_p_wxSplitterEvent swig_types[140] 
2603 #define SWIGTYPE_p_wxSplitterWindow swig_types[141] 
2604 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[142] 
2605 #define SWIGTYPE_p_wxStatusBar swig_types[143] 
2606 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[144] 
2607 #define SWIGTYPE_p_wxString swig_types[145] 
2608 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[146] 
2609 #define SWIGTYPE_p_wxTIFFHandler swig_types[147] 
2610 #define SWIGTYPE_p_wxTaskBarIcon swig_types[148] 
2611 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[149] 
2612 #define SWIGTYPE_p_wxTextEntryDialog swig_types[150] 
2613 #define SWIGTYPE_p_wxTipWindow swig_types[151] 
2614 #define SWIGTYPE_p_wxToolBar swig_types[152] 
2615 #define SWIGTYPE_p_wxTopLevelWindow swig_types[153] 
2616 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[154] 
2617 #define SWIGTYPE_p_wxValidator swig_types[155] 
2618 #define SWIGTYPE_p_wxVisualAttributes swig_types[156] 
2619 #define SWIGTYPE_p_wxWindow swig_types[157] 
2620 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[158] 
2621 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[159] 
2622 #define SWIGTYPE_p_wxXPMHandler swig_types[160] 
2623 static swig_type_info 
*swig_types
[162]; 
2624 static swig_module_info swig_module 
= {swig_types
, 161, 0, 0, 0, 0}; 
2625 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 
2626 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 
2628 /* -------- TYPES TABLE (END) -------- */ 
2630 #if (PY_VERSION_HEX <= 0x02000000) 
2631 # if !defined(SWIG_PYTHON_CLASSIC) 
2632 #  error "This python version requires to use swig with the '-classic' option" 
2635 #if (PY_VERSION_HEX <= 0x02020000) 
2636 # error "This python version requires to use swig with the '-nomodern' option" 
2638 #if (PY_VERSION_HEX <= 0x02020000) 
2639 # error "This python version requires to use swig with the '-nomodernargs' option" 
2642 # error "This python version requires to use swig with the '-nofastunpack' option" 
2645 /*----------------------------------------------- 
2646               @(target):= _windows_.so 
2647   ------------------------------------------------*/ 
2648 #define SWIG_init    init_windows_ 
2650 #define SWIG_name    "_windows_" 
2652 #define SWIGVERSION 0x010329  
2655 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))  
2656 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))  
2659 #include <stdexcept> 
2663   class PyObject_ptr 
{ 
2668     PyObject_ptr() :_obj(0) 
2672     PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
) 
2677     PyObject_ptr(PyObject 
*obj
, bool initial_ref 
= true) :_obj(obj
) 
2679       if (initial_ref
) Py_XINCREF(_obj
); 
2682     PyObject_ptr 
& operator=(const PyObject_ptr
& item
)  
2684       Py_XINCREF(item
._obj
); 
2695     operator PyObject 
*() const 
2700     PyObject 
*operator->() const 
2709   struct PyObject_var 
: PyObject_ptr 
{ 
2710     PyObject_var(PyObject
* obj 
= 0) : PyObject_ptr(obj
, false) { } 
2712     PyObject_var 
& operator = (PyObject
* obj
) 
2722 #include "wx/wxPython/wxPython.h" 
2723 #include "wx/wxPython/pyclasses.h" 
2726  static const wxString 
wxPyEmptyString(wxEmptyString
);  
2727  static const wxString 
wxPyPanelNameStr(wxPanelNameStr
);  
2733 # define LLONG_MIN      LONG_LONG_MIN 
2736 # define LLONG_MAX      LONG_LONG_MAX 
2739 # define ULLONG_MAX     ULONG_LONG_MAX 
2744 SWIG_AsVal_long (PyObject
* obj
, long* val
) 
2746     if (PyNumber_Check(obj
)) { 
2747         if (val
) *val 
= PyInt_AsLong(obj
); 
2750     return SWIG_TypeError
; 
2755 SWIG_AsVal_int (PyObject 
* obj
, int *val
) 
2758   int res 
= SWIG_AsVal_long (obj
, &v
); 
2759   if (SWIG_IsOK(res
)) { 
2760     if ((v 
< INT_MIN 
|| v 
> INT_MAX
)) { 
2761       return SWIG_OverflowError
; 
2763       if (val
) *val 
= static_cast< int >(v
); 
2771 SWIG_AsVal_bool (PyObject 
*obj
, bool *val
) 
2773   if (obj 
== Py_True
) { 
2774     if (val
) *val 
= true; 
2776   } else if (obj 
== Py_False
) { 
2777     if (val
) *val 
= false; 
2781     int res 
= SWIG_AddCast(SWIG_AsVal_long (obj
, val 
? &v 
: 0)); 
2782     if (SWIG_IsOK(res
) && val
) *val 
= v 
? true : false; 
2788   #define SWIG_From_long   PyInt_FromLong  
2791 SWIGINTERNINLINE PyObject 
* 
2792 SWIG_From_int  (int value
) 
2794   return SWIG_From_long  (value
); 
2799 SWIG_AsVal_double (PyObject 
*obj
, double* val
) 
2801     if (PyNumber_Check(obj
)) { 
2802         if (val
) *val 
= PyFloat_AsDouble(obj
); 
2805     return SWIG_TypeError
; 
2809   #define SWIG_From_double   PyFloat_FromDouble  
2811  static const wxString 
wxPyFrameNameStr(wxFrameNameStr
);  
2812  static const wxString 
wxPyDialogNameStr(wxDialogNameStr
);  
2813  static const wxString 
wxPyStatusLineNameStr(wxStatusLineNameStr
);  
2814  static const wxString 
wxPyToolBarNameStr(wxToolBarNameStr
);  
2815 SWIGINTERN 
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow 
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ } 
2816 SWIGINTERN 
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow 
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; } 
2819 SWIGINTERN wxRect 
wxStatusBar_GetFieldRect(wxStatusBar 
*self
,int i
){ 
2821             self
->GetFieldRect(i
, r
); 
2824  static const wxString 
wxPySplitterNameStr(wxT("splitter"));  
2825  static const wxString 
wxPySashNameStr(wxT("sashWindow"));  
2826  static const wxString 
wxPySashLayoutNameStr(wxT("layoutWindow"));  
2828 #include <wx/popupwin.h> 
2831 class wxPyPopupTransientWindow 
: public wxPopupTransientWindow
 
2834     wxPyPopupTransientWindow() : wxPopupTransientWindow() {} 
2835     wxPyPopupTransientWindow(wxWindow
* parent
, int style 
= wxBORDER_NONE
) 
2836         : wxPopupTransientWindow(parent
, style
) {} 
2838     DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
); 
2839     DEC_PYCALLBACK__(OnDismiss
); 
2840     DEC_PYCALLBACK_BOOL_(CanDismiss
); 
2845 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
); 
2846 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
); 
2847 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
); 
2850 #include <wx/tipwin.h> 
2852 SWIGINTERN wxTipWindow 
*new_wxTipWindow(wxWindow 
*parent
,wxString 
const &text
,int maxLength
=100,wxRect 
*rectBound
=NULL
){ 
2853             return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
); 
2856 #include <wx/tipwin.h> 
2859 #include <wx/vscroll.h> 
2862 class wxPyVScrolledWindow  
: public wxVScrolledWindow
 
2864     DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
) 
2866     wxPyVScrolledWindow() : wxVScrolledWindow() {} 
2868     wxPyVScrolledWindow(wxWindow 
*parent
, 
2869                         wxWindowID id 
= wxID_ANY
, 
2870                         const wxPoint
& pos 
= wxDefaultPosition
, 
2871                         const wxSize
& size 
= wxDefaultSize
, 
2873                         const wxString
& name 
= wxPyPanelNameStr
) 
2874         : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
) 
2877     // Overridable virtuals 
2879     // this function must be overridden in the derived class and it should 
2880     // return the height of the given line in pixels 
2881     DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
); 
2884     // this function doesn't have to be overridden but it may be useful to do 
2885     // it if calculating the lines heights is a relatively expensive operation 
2886     // as it gives the user code a possibility to calculate several of them at 
2889     // OnGetLinesHint() is normally called just before OnGetLineHeight() but you 
2890     // shouldn't rely on the latter being called for all lines in the interval 
2891     // specified here. It is also possible that OnGetLineHeight() will be 
2892     // called for the lines outside of this interval, so this is really just a 
2893     // hint, not a promise. 
2895     // finally note that lineMin is inclusive, while lineMax is exclusive, as 
2897     DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
); 
2900     // when the number of lines changes, we try to estimate the total height 
2901     // of all lines which is a rather expensive operation in terms of lines 
2902     // access, so if the user code may estimate the average height 
2903     // better/faster than we do, it should override this function to implement 
2906     // this function should return the best guess for the total height it may 
2908     DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
); 
2911     // Also expose some other interesting protected methods 
2914     // find the index of the line we need to show at the top of the window such 
2915     // that the last (fully or partially) visible line is the given one 
2916     size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible 
= false) 
2917     { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); } 
2919     // get the total height of the lines between lineMin (inclusive) and 
2920     // lineMax (exclusive) 
2921     wxCoord 
GetLinesHeight(size_t lineMin
, size_t lineMax
) const 
2922     { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); } 
2928 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
); 
2930 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
); 
2931 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
); 
2932 IMP_PYCALLBACK_COORD_const          (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
); 
2936 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
) 
2939     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
2940         return SWIG_TypeError
; 
2943         *val 
= (unsigned long)v
; 
2948 SWIGINTERNINLINE 
int 
2949 SWIG_AsVal_size_t (PyObject 
* obj
, size_t *val
) 
2952   int res 
= SWIG_AsVal_unsigned_SS_long (obj
, val 
? &v 
: 0); 
2953   if (SWIG_IsOK(res
) && val
) *val 
= static_cast< size_t >(v
); 
2958 SWIGINTERNINLINE PyObject
*  
2959 SWIG_From_unsigned_SS_long  (unsigned long value
) 
2961   return (value 
> LONG_MAX
) ? 
2962     PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));  
2966 SWIGINTERNINLINE PyObject 
* 
2967 SWIG_From_size_t  (size_t value
) 
2969   return SWIG_From_unsigned_SS_long  (static_cast< unsigned long >(value
)); 
2973 #include <wx/vlbox.h> 
2975  static const wxString 
wxPyVListBoxNameStr(wxVListBoxNameStr
);  
2977 class wxPyVListBox  
: public wxVListBox
 
2979     DECLARE_ABSTRACT_CLASS(wxPyVListBox
) 
2981     wxPyVListBox() : wxVListBox() {} 
2983     wxPyVListBox(wxWindow 
*parent
, 
2984                  wxWindowID id 
= wxID_ANY
, 
2985                  const wxPoint
& pos 
= wxDefaultPosition
, 
2986                  const wxSize
& size 
= wxDefaultSize
, 
2988                  const wxString
& name 
= wxPyVListBoxNameStr
) 
2989         : wxVListBox(parent
, id
, pos
, size
, style
, name
) 
2992     // Overridable virtuals 
2994     // the derived class must implement this function to actually draw the item 
2995     // with the given index on the provided DC 
2996     // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; 
2997     DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
); 
3000     // the derived class must implement this method to return the height of the 
3002     // virtual wxCoord OnMeasureItem(size_t n) const = 0; 
3003     DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
); 
3006     // this method may be used to draw separators between the lines; note that 
3007     // the rectangle may be modified, typically to deflate it a bit before 
3008     // passing to OnDrawItem() 
3010     // the base class version doesn't do anything 
3011     //    virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; 
3012     DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
); 
3015     // this method is used to draw the items background and, maybe, a border 
3018     // the base class version implements a reasonable default behaviour which 
3019     // consists in drawing the selected item with the standard background 
3020     // colour and drawing a border around the item if it is either selected or 
3022     //     virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; 
3023     DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
); 
3029 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
); 
3031 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
); 
3032 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
); 
3033 IMP_PYCALLBACK__DCRECTSIZET2_const   (wxPyVListBox
, wxVListBox
, OnDrawSeparator
); 
3034 IMP_PYCALLBACK__DCRECTSIZET_const    (wxPyVListBox
, wxVListBox
, OnDrawBackground
); 
3037 SWIGINTERN PyObject 
*wxPyVListBox_GetFirstSelected(wxPyVListBox 
*self
){ 
3038             unsigned long cookie 
= 0; 
3039             int selected 
= self
->GetFirstSelected(cookie
); 
3040             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3041             PyObject
* tup 
= PyTuple_New(2); 
3042             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
)); 
3043             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
)); 
3044             wxPyEndBlockThreads(blocked
); 
3047 SWIGINTERN PyObject 
*wxPyVListBox_GetNextSelected(wxPyVListBox 
*self
,unsigned long cookie
){ 
3048             int selected 
= self
->GetNextSelected(cookie
); 
3049             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3050             PyObject
* tup 
= PyTuple_New(2); 
3051             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
)); 
3052             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
)); 
3053             wxPyEndBlockThreads(blocked
); 
3057 #include <wx/htmllbox.h> 
3060 class wxPyHtmlListBox  
: public wxHtmlListBox
 
3062     DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
) 
3064     wxPyHtmlListBox() : wxHtmlListBox() {} 
3066     wxPyHtmlListBox(wxWindow 
*parent
, 
3067                     wxWindowID id 
= wxID_ANY
, 
3068                     const wxPoint
& pos 
= wxDefaultPosition
, 
3069                     const wxSize
& size 
= wxDefaultSize
, 
3071                     const wxString
& name 
= wxPyVListBoxNameStr
) 
3072         : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
) 
3075     // Overridable virtuals 
3077     // this method must be implemented in the derived class and should return 
3078     // the body (i.e. without <html>) of the HTML for the given item 
3079     DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
); 
3081     // this function may be overridden to decorate HTML returned by OnGetItem() 
3082     DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
); 
3084     // These are from wxVListBox 
3085     DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
); 
3086     DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
); 
3089 //     // this method allows to customize the selection appearance: it may be used 
3090 //     // to specify the colour of the text which normally has the given colour 
3091 //     // colFg when it is inside the selection 
3093 //     // by default, the original colour is not used at all and all text has the 
3094 //     // same (default for this system) colour inside selection 
3095 //     virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; 
3097 //     // this is the same as GetSelectedTextColour() but allows to customize the 
3098 //     // background colour -- this is even more rarely used as you can change it 
3099 //     // globally using SetSelectionBackground() 
3100 //     virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; 
3103     // This method may be overriden to handle clicking on a link in 
3104     // the listbox. By default, clicking links is ignored. 
3105     virtual void OnLinkClicked(size_t n
, 
3106                                const wxHtmlLinkInfo
& link
);         
3112 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
) 
3114 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
); 
3115 IMP_PYCALLBACK_STRING_SIZET     (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
); 
3116 IMP_PYCALLBACK__DCRECTSIZET2_const   (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
); 
3117 IMP_PYCALLBACK__DCRECTSIZET_const    (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
); 
3120 void wxPyHtmlListBox::OnLinkClicked(size_t n
, 
3121                                     const wxHtmlLinkInfo
& link
) { 
3123     wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3124     if ((found 
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) { 
3125         PyObject
* obj 
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0); 
3126         wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
)); 
3129     wxPyEndBlockThreads(blocked
); 
3131         wxPyHtmlListBox::OnLinkClicked(n
, link
); 
3138 #ifndef wxHAS_TASK_BAR_ICON 
3139 // implement dummy classes for platforms that don't have it 
3141 class wxTaskBarIcon 
: public wxEvtHandler
 
3144     wxTaskBarIcon()  { wxPyRaiseNotImplemented(); } 
3148 class wxTaskBarIconEvent 
: public wxEvent
 
3151     wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon 
*) 
3152         { wxPyRaiseNotImplemented(); } 
3153     virtual wxEvent
* Clone() const { return NULL
; } 
3154     bool IsOk() const { return false; } 
3155     bool IsIconInstalled() const { return false; } 
3156     bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip 
= wxPyEmptyString
) { return false; } 
3157     bool RemoveIcon() { return false; } 
3158     bool PopupMenu(wxMenu 
*menu
) { return false; } 
3162     wxEVT_TASKBAR_MOVE 
= 0, 
3163     wxEVT_TASKBAR_LEFT_DOWN 
= 0, 
3164     wxEVT_TASKBAR_LEFT_UP 
= 0, 
3165     wxEVT_TASKBAR_RIGHT_DOWN 
= 0, 
3166     wxEVT_TASKBAR_RIGHT_UP 
= 0, 
3167     wxEVT_TASKBAR_LEFT_DCLICK 
= 0, 
3168     wxEVT_TASKBAR_RIGHT_DCLICK 
= 0, 
3173 // Otherwise make a class that can virtualize CreatePopupMenu 
3174 class wxPyTaskBarIcon 
: public wxTaskBarIcon
 
3176     DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
) 
3178     wxPyTaskBarIcon() : wxTaskBarIcon() 
3181     wxMenu
* CreatePopupMenu() { 
3182         wxMenu 
*rval 
= NULL
; 
3184         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3185         if ((found 
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) { 
3188             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
3190                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu"))) 
3195         wxPyEndBlockThreads(blocked
); 
3197             rval 
= wxTaskBarIcon::CreatePopupMenu(); 
3204 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
); 
3208 SWIGINTERN 
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon 
*self
){ 
3212  static const wxString 
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);  
3213  static const wxString 
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);  
3214  static const wxString 
wxPyDirDialogNameStr(wxDirDialogNameStr
);  
3215  static const wxString 
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);  
3216  static const wxString 
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);  
3217  static const wxString 
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);  
3218 SWIGINTERN PyObject 
*wxFileDialog_GetFilenames(wxFileDialog 
*self
){ 
3220             self
->GetFilenames(arr
); 
3221             return wxArrayString2PyList_helper(arr
); 
3223 SWIGINTERN PyObject 
*wxFileDialog_GetPaths(wxFileDialog 
*self
){ 
3225             self
->GetPaths(arr
); 
3226             return wxArrayString2PyList_helper(arr
); 
3228 SWIGINTERN PyObject 
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog 
*self
){ 
3229             return wxArrayInt2PyList_helper(self
->GetSelections()); 
3231 SWIGINTERN wxSingleChoiceDialog 
*new_wxSingleChoiceDialog(wxWindow 
*parent
,wxString 
const &message
,wxString 
const &caption
,int choices
,wxString 
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint 
const &pos
=wxDefaultPosition
){ 
3232             return new wxSingleChoiceDialog(parent
, message
, caption
, 
3233                                             choices
, choices_array
, NULL
, style
, pos
); 
3235  static const wxString 
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);  
3239  // C++ version of Python aware wxWindow 
3240 class wxPyWindow 
: public wxWindow
 
3242     DECLARE_DYNAMIC_CLASS(wxPyWindow
) 
3244     wxPyWindow() : wxWindow() {} 
3245     wxPyWindow(wxWindow
* parent
, const wxWindowID id
, 
3246                const wxPoint
& pos 
= wxDefaultPosition
, 
3247                const wxSize
& size 
= wxDefaultSize
, 
3249                const wxString
& name 
= wxPyPanelNameStr
) 
3250         : wxWindow(parent
, id
, pos
, size
, style
, name
) {} 
3252     void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); } 
3254     bool DoEraseBackground(wxDC
* dc
) { 
3256         return wxWindow::DoEraseBackground(dc
->GetHDC()); 
3258         dc
->SetBackground(wxBrush(GetBackgroundColour())); 
3264     DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
); 
3265     DEC_PYCALLBACK_VOID_INT5(DoSetSize
); 
3266     DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
); 
3267     DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
); 
3269     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
); 
3270     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
); 
3271     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
); 
3273     DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
); 
3274     DEC_PYCALLBACK_SIZE_const(DoGetBestSize
); 
3276     DEC_PYCALLBACK__(InitDialog
); 
3277     DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
); 
3278     DEC_PYCALLBACK_BOOL_(TransferDataToWindow
); 
3279     DEC_PYCALLBACK_BOOL_(Validate
); 
3281     DEC_PYCALLBACK_BOOL_const(AcceptsFocus
); 
3282     DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
); 
3283     DEC_PYCALLBACK_SIZE_const(GetMaxSize
); 
3285     DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
); 
3286     DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
); 
3288     DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
); 
3289     DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
); 
3291     DEC_PYCALLBACK_BOOL_(HasTransparentBackground
); 
3293     DEC_PYCALLBACK_VOID_(OnInternalIdle
); 
3298 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
); 
3300 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
); 
3301 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
); 
3302 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
); 
3303 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
); 
3305 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
); 
3306 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
); 
3307 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
); 
3309 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
); 
3310 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
); 
3312 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
); 
3313 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
); 
3314 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
); 
3315 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
); 
3317 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
); 
3318 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
); 
3319 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
); 
3321 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
); 
3322 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
); 
3324 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
); 
3325 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
); 
3327 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
); 
3329 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
); 
3331  // C++ version of Python aware wxPanel 
3332 class wxPyPanel 
: public wxPanel
 
3334     DECLARE_DYNAMIC_CLASS(wxPyPanel
) 
3336     wxPyPanel() : wxPanel() {} 
3337     wxPyPanel(wxWindow
* parent
, const wxWindowID id
, 
3338                const wxPoint
& pos 
= wxDefaultPosition
, 
3339                const wxSize
& size 
= wxDefaultSize
, 
3341                const wxString
& name 
= wxPyPanelNameStr
) 
3342         : wxPanel(parent
, id
, pos
, size
, style
, name
) {} 
3344     void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); } 
3345     bool DoEraseBackground(wxDC
* dc
) { 
3347         return wxWindow::DoEraseBackground(dc
->GetHDC()); 
3349         dc
->SetBackground(wxBrush(GetBackgroundColour())); 
3356     DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
); 
3357     DEC_PYCALLBACK_VOID_INT5(DoSetSize
); 
3358     DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
); 
3359     DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
); 
3361     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
); 
3362     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
); 
3363     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
); 
3365     DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
); 
3366     DEC_PYCALLBACK_SIZE_const(DoGetBestSize
); 
3368     DEC_PYCALLBACK__(InitDialog
); 
3369     DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
); 
3370     DEC_PYCALLBACK_BOOL_(TransferDataToWindow
); 
3371     DEC_PYCALLBACK_BOOL_(Validate
); 
3373     DEC_PYCALLBACK_BOOL_const(AcceptsFocus
); 
3374     DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
); 
3375     DEC_PYCALLBACK_SIZE_const(GetMaxSize
); 
3377     DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
); 
3378     DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
); 
3380     DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
); 
3381     DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
); 
3383     DEC_PYCALLBACK_BOOL_(HasTransparentBackground
); 
3385     DEC_PYCALLBACK_VOID_(OnInternalIdle
); 
3390 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
); 
3392 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
); 
3393 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
); 
3394 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
); 
3395 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
); 
3397 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
); 
3398 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
); 
3399 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
); 
3401 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
); 
3402 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
); 
3404 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
); 
3405 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
); 
3406 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
); 
3407 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
); 
3409 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
); 
3410 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
); 
3411 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
); 
3413 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
); 
3414 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
); 
3416 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
); 
3417 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
); 
3419 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
); 
3421 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
); 
3423  // C++ version of Python aware wxScrolledWindow 
3424 class wxPyScrolledWindow 
: public wxScrolledWindow
 
3426     DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
) 
3428     wxPyScrolledWindow() : wxScrolledWindow() {} 
3429     wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
, 
3430                const wxPoint
& pos 
= wxDefaultPosition
, 
3431                const wxSize
& size 
= wxDefaultSize
, 
3433                const wxString
& name 
= wxPyPanelNameStr
) 
3434         : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {} 
3436     void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); } 
3437     bool DoEraseBackground(wxDC
* dc
) { 
3439         return wxWindow::DoEraseBackground(dc
->GetHDC()); 
3441         dc
->SetBackground(wxBrush(GetBackgroundColour())); 
3447     DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
); 
3448     DEC_PYCALLBACK_VOID_INT5(DoSetSize
); 
3449     DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
); 
3450     DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
); 
3452     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
); 
3453     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
); 
3454     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
); 
3456     DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
); 
3457     DEC_PYCALLBACK_SIZE_const(DoGetBestSize
); 
3459     DEC_PYCALLBACK__(InitDialog
); 
3460     DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
); 
3461     DEC_PYCALLBACK_BOOL_(TransferDataToWindow
); 
3462     DEC_PYCALLBACK_BOOL_(Validate
); 
3464     DEC_PYCALLBACK_BOOL_const(AcceptsFocus
); 
3465     DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
); 
3466     DEC_PYCALLBACK_SIZE_const(GetMaxSize
); 
3468     DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
); 
3469     DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
); 
3471     DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
); 
3472     DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
); 
3474     DEC_PYCALLBACK_BOOL_(HasTransparentBackground
); 
3476     DEC_PYCALLBACK_VOID_(OnInternalIdle
); 
3481 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
); 
3483 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
); 
3484 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
); 
3485 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
); 
3486 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
); 
3488 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
); 
3489 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
); 
3490 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
); 
3492 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
); 
3493 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
); 
3495 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
); 
3496 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
); 
3497 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
); 
3498 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
); 
3500 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
); 
3501 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
); 
3502 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
); 
3504 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
); 
3505 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
); 
3507 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
); 
3508 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
); 
3510 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
); 
3512 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
); 
3515 #include "wx/wxPython/printfw.h" 
3518  static const wxString 
wxPyPrintoutTitleStr(wxT("Printout"));  
3519  static const wxString 
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));  
3520 SWIGINTERN PyObject 
*wxPrintData_GetPrivData(wxPrintData 
*self
){ 
3522             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3523             data 
= PyString_FromStringAndSize(self
->GetPrivData(), 
3524                                               self
->GetPrivDataLen()); 
3525             wxPyEndBlockThreads(blocked
); 
3528 SWIGINTERN 
void wxPrintData_SetPrivData(wxPrintData 
*self
,PyObject 
*data
){ 
3529             if (! PyString_Check(data
)) { 
3530                 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
, 
3531                                                   "Expected string object")); 
3535             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3536             self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
)); 
3537             wxPyEndBlockThreads(blocked
); 
3541 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
); 
3543 // Since this one would be tough and ugly to do with the Macros... 
3544 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) { 
3545     bool hadErr 
= false; 
3548     wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3549     if ((found 
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) { 
3550         PyObject
* result 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
3551         if (result 
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) { 
3554             val 
= PyTuple_GetItem(result
, 0); 
3555             if (PyInt_Check(val
))    *minPage 
= PyInt_AsLong(val
); 
3558             val 
= PyTuple_GetItem(result
, 1); 
3559             if (PyInt_Check(val
))    *maxPage 
= PyInt_AsLong(val
); 
3562             val 
= PyTuple_GetItem(result
, 2); 
3563             if (PyInt_Check(val
))    *pageFrom 
= PyInt_AsLong(val
); 
3566             val 
= PyTuple_GetItem(result
, 3); 
3567             if (PyInt_Check(val
))    *pageTo 
= PyInt_AsLong(val
); 
3574             PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers."); 
3579     wxPyEndBlockThreads(blocked
); 
3581         wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
); 
3586 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
); 
3587 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
); 
3588 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
); 
3589 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
); 
3590 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
); 
3591 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
); 
3592 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
); 
3598 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME)                                            \ 
3599     bool CBNAME(wxPreviewCanvas* a, wxDC& b) 
3602 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME)                             \ 
3603     bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) {                                   \ 
3606         wxPyBlock_t blocked = wxPyBeginBlockThreads();                                  \ 
3607         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                        \ 
3608             PyObject* win = wxPyMake_wxObject(a,false);                                 \ 
3609             PyObject* dc  = wxPyMake_wxObject(&b,false);                                \ 
3610             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));      \ 
3614         wxPyEndBlockThreads(blocked);                                                   \ 
3616             rval = PCLASS::CBNAME(a, b);                                                \ 
3623 class wxPyPrintPreview 
: public wxPrintPreview
 
3625     DECLARE_CLASS(wxPyPrintPreview
) 
3627     wxPyPrintPreview(wxPyPrintout
* printout
, 
3628                      wxPyPrintout
* printoutForPrinting
, 
3629                      wxPrintDialogData
* data
=NULL
) 
3630         : wxPrintPreview(printout
, printoutForPrinting
, data
) 
3632     wxPyPrintPreview(wxPyPrintout
* printout
, 
3633                      wxPyPrintout
* printoutForPrinting
, 
3635         : wxPrintPreview(printout
, printoutForPrinting
, data
) 
3638     DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
); 
3639     DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
); 
3640     DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
); 
3641     DEC_PYCALLBACK_BOOL_INT(RenderPage
); 
3642     DEC_PYCALLBACK_VOID_INT(SetZoom
); 
3643     DEC_PYCALLBACK_BOOL_BOOL(Print
); 
3644     DEC_PYCALLBACK_VOID_(DetermineScaling
); 
3649 // Stupid renamed classes...  Fix this in 2.5... 
3650 #if defined(__WXMSW__) 
3651 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview 
); 
3652 #elif defined(__WXMAC__) 
3653 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview 
); 
3655 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview 
); 
3658 IMP_PYCALLBACK_BOOL_INT     (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
); 
3659 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
); 
3660 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
); 
3661 IMP_PYCALLBACK_BOOL_INT     (wxPyPrintPreview
, wxPrintPreview
, RenderPage
); 
3662 IMP_PYCALLBACK_VOID_INT     (wxPyPrintPreview
, wxPrintPreview
, SetZoom
); 
3663 IMP_PYCALLBACK_BOOL_BOOL    (wxPyPrintPreview
, wxPrintPreview
, Print
); 
3664 IMP_PYCALLBACK_VOID_        (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
); 
3667 class wxPyPreviewFrame 
: public wxPreviewFrame
 
3669     DECLARE_CLASS(wxPyPreviewFrame
) 
3671     wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
, 
3672                      const wxString
& title
, 
3673                      const wxPoint
& pos 
= wxDefaultPosition
, 
3674                      const wxSize
&  size 
= wxDefaultSize
, 
3675                      long style 
= wxDEFAULT_FRAME_STYLE
, 
3676                      const wxString
& name 
= wxPyFrameNameStr
) 
3677         : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
) 
3680     void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas 
= canvas
; } 
3681     void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar 
= bar
; } 
3683     DEC_PYCALLBACK_VOID_(Initialize
); 
3684     DEC_PYCALLBACK_VOID_(CreateCanvas
); 
3685     DEC_PYCALLBACK_VOID_(CreateControlBar
); 
3690 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
); 
3692 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
); 
3693 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
); 
3694 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
); 
3697 class wxPyPreviewControlBar 
: public wxPreviewControlBar
 
3699     DECLARE_CLASS(wxPyPreviewControlBar
) 
3701     wxPyPreviewControlBar(wxPrintPreview 
*preview
, 
3704                           const wxPoint
& pos 
= wxDefaultPosition
, 
3705                           const wxSize
& size 
= wxDefaultSize
, 
3707                           const wxString
& name 
= wxPyPanelNameStr
) 
3708         : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
) 
3711     void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview 
= preview
; } 
3713     DEC_PYCALLBACK_VOID_(CreateButtons
); 
3714     DEC_PYCALLBACK_VOID_INT(SetZoomControl
); 
3719 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
); 
3720 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
); 
3721 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
); 
3726 SWIGINTERN PyObject 
*_wrap_new_Panel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3727   PyObject 
*resultobj 
= 0; 
3728   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
3729   int arg2 
= (int) (int)-1 ; 
3730   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
3731   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
3732   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
3733   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
3734   long arg5 
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER 
; 
3735   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
3736   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
3737   wxPanel 
*result 
= 0 ; 
3746   bool temp6 
= false ; 
3747   PyObject 
* obj0 
= 0 ; 
3748   PyObject 
* obj1 
= 0 ; 
3749   PyObject 
* obj2 
= 0 ; 
3750   PyObject 
* obj3 
= 0 ; 
3751   PyObject 
* obj4 
= 0 ; 
3752   PyObject 
* obj5 
= 0 ; 
3753   char *  kwnames
[] = { 
3754     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
3757   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
3758   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
3759   if (!SWIG_IsOK(res1
)) { 
3760     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");  
3762   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
3764     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3765     if (!SWIG_IsOK(ecode2
)) { 
3766       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'"); 
3768     arg2 
= static_cast< int >(val2
); 
3773       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
3779       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
3783     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
3784     if (!SWIG_IsOK(ecode5
)) { 
3785       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'"); 
3787     arg5 
= static_cast< long >(val5
); 
3791       arg6 
= wxString_in_helper(obj5
); 
3792       if (arg6 
== NULL
) SWIG_fail
; 
3797     if (!wxPyCheckForApp()) SWIG_fail
; 
3798     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3799     result 
= (wxPanel 
*)new wxPanel(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
3800     wxPyEndAllowThreads(__tstate
); 
3801     if (PyErr_Occurred()) SWIG_fail
; 
3803   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW 
|  0 ); 
3818 SWIGINTERN PyObject 
*_wrap_new_PrePanel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3819   PyObject 
*resultobj 
= 0; 
3820   wxPanel 
*result 
= 0 ; 
3822   if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
; 
3824     if (!wxPyCheckForApp()) SWIG_fail
; 
3825     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3826     result 
= (wxPanel 
*)new wxPanel(); 
3827     wxPyEndAllowThreads(__tstate
); 
3828     if (PyErr_Occurred()) SWIG_fail
; 
3830   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN 
|  0 ); 
3837 SWIGINTERN PyObject 
*_wrap_Panel_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3838   PyObject 
*resultobj 
= 0; 
3839   wxPanel 
*arg1 
= (wxPanel 
*) 0 ; 
3840   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
3841   int arg3 
= (int) (int)-1 ; 
3842   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3843   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3844   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
3845   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
3846   long arg6 
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER 
; 
3847   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
3848   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
3860   bool temp7 
= false ; 
3861   PyObject 
* obj0 
= 0 ; 
3862   PyObject 
* obj1 
= 0 ; 
3863   PyObject 
* obj2 
= 0 ; 
3864   PyObject 
* obj3 
= 0 ; 
3865   PyObject 
* obj4 
= 0 ; 
3866   PyObject 
* obj5 
= 0 ; 
3867   PyObject 
* obj6 
= 0 ; 
3868   char *  kwnames
[] = { 
3869     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
3872   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
3873   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 |  0 ); 
3874   if (!SWIG_IsOK(res1
)) { 
3875     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");  
3877   arg1 
= reinterpret_cast< wxPanel 
* >(argp1
); 
3878   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
3879   if (!SWIG_IsOK(res2
)) { 
3880     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
3882   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
3884     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
3885     if (!SWIG_IsOK(ecode3
)) { 
3886       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'"); 
3888     arg3 
= static_cast< int >(val3
); 
3893       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
3899       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
3903     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
3904     if (!SWIG_IsOK(ecode6
)) { 
3905       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'"); 
3907     arg6 
= static_cast< long >(val6
); 
3911       arg7 
= wxString_in_helper(obj6
); 
3912       if (arg7 
== NULL
) SWIG_fail
; 
3917     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3918     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
3919     wxPyEndAllowThreads(__tstate
); 
3920     if (PyErr_Occurred()) SWIG_fail
; 
3923     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3939 SWIGINTERN PyObject 
*_wrap_Panel_SetFocusIgnoringChildren(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3940   PyObject 
*resultobj 
= 0; 
3941   wxPanel 
*arg1 
= (wxPanel 
*) 0 ; 
3944   PyObject 
*swig_obj
[1] ; 
3946   if (!args
) SWIG_fail
; 
3948   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 |  0 ); 
3949   if (!SWIG_IsOK(res1
)) { 
3950     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");  
3952   arg1 
= reinterpret_cast< wxPanel 
* >(argp1
); 
3954     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3955     (arg1
)->SetFocusIgnoringChildren(); 
3956     wxPyEndAllowThreads(__tstate
); 
3957     if (PyErr_Occurred()) SWIG_fail
; 
3959   resultobj 
= SWIG_Py_Void(); 
3966 SWIGINTERN PyObject 
*_wrap_Panel_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3967   PyObject 
*resultobj 
= 0; 
3968   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
3969   SwigValueWrapper
<wxVisualAttributes 
> result
; 
3972   PyObject 
* obj0 
= 0 ; 
3973   char *  kwnames
[] = { 
3974     (char *) "variant", NULL 
 
3977   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
3979     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
3980     if (!SWIG_IsOK(ecode1
)) { 
3981       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
3983     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
3986     if (!wxPyCheckForApp()) SWIG_fail
; 
3987     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3988     result 
= wxPanel::GetClassDefaultAttributes(arg1
); 
3989     wxPyEndAllowThreads(__tstate
); 
3990     if (PyErr_Occurred()) SWIG_fail
; 
3992   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
3999 SWIGINTERN PyObject 
*Panel_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4001   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4002   SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
)); 
4003   return SWIG_Py_Void(); 
4006 SWIGINTERN PyObject 
*Panel_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4007   return SWIG_Python_InitShadowInstance(args
); 
4010 SWIGINTERN PyObject 
*_wrap_new_ScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4011   PyObject 
*resultobj 
= 0; 
4012   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4013   int arg2 
= (int) (int)-1 ; 
4014   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
4015   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
4016   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
4017   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
4018   long arg5 
= (long) wxHSCROLL
|wxVSCROLL 
; 
4019   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
4020   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
4021   wxScrolledWindow 
*result 
= 0 ; 
4030   bool temp6 
= false ; 
4031   PyObject 
* obj0 
= 0 ; 
4032   PyObject 
* obj1 
= 0 ; 
4033   PyObject 
* obj2 
= 0 ; 
4034   PyObject 
* obj3 
= 0 ; 
4035   PyObject 
* obj4 
= 0 ; 
4036   PyObject 
* obj5 
= 0 ; 
4037   char *  kwnames
[] = { 
4038     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4041   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
4042   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
4043   if (!SWIG_IsOK(res1
)) { 
4044     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
4046   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
4048     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4049     if (!SWIG_IsOK(ecode2
)) { 
4050       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'"); 
4052     arg2 
= static_cast< int >(val2
); 
4057       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
4063       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
4067     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
4068     if (!SWIG_IsOK(ecode5
)) { 
4069       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'"); 
4071     arg5 
= static_cast< long >(val5
); 
4075       arg6 
= wxString_in_helper(obj5
); 
4076       if (arg6 
== NULL
) SWIG_fail
; 
4081     if (!wxPyCheckForApp()) SWIG_fail
; 
4082     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4083     result 
= (wxScrolledWindow 
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
4084     wxPyEndAllowThreads(__tstate
); 
4085     if (PyErr_Occurred()) SWIG_fail
; 
4087   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW 
|  0 ); 
4102 SWIGINTERN PyObject 
*_wrap_new_PreScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4103   PyObject 
*resultobj 
= 0; 
4104   wxScrolledWindow 
*result 
= 0 ; 
4106   if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
; 
4108     if (!wxPyCheckForApp()) SWIG_fail
; 
4109     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4110     result 
= (wxScrolledWindow 
*)new wxScrolledWindow(); 
4111     wxPyEndAllowThreads(__tstate
); 
4112     if (PyErr_Occurred()) SWIG_fail
; 
4114   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN 
|  0 ); 
4121 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4122   PyObject 
*resultobj 
= 0; 
4123   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4124   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
4125   int arg3 
= (int) (int)-1 ; 
4126   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
4127   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
4128   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
4129   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
4130   long arg6 
= (long) wxHSCROLL
|wxVSCROLL 
; 
4131   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
4132   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
4144   bool temp7 
= false ; 
4145   PyObject 
* obj0 
= 0 ; 
4146   PyObject 
* obj1 
= 0 ; 
4147   PyObject 
* obj2 
= 0 ; 
4148   PyObject 
* obj3 
= 0 ; 
4149   PyObject 
* obj4 
= 0 ; 
4150   PyObject 
* obj5 
= 0 ; 
4151   PyObject 
* obj6 
= 0 ; 
4152   char *  kwnames
[] = { 
4153     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4156   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
4157   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4158   if (!SWIG_IsOK(res1
)) { 
4159     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4161   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4162   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
4163   if (!SWIG_IsOK(res2
)) { 
4164     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
4166   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
4168     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4169     if (!SWIG_IsOK(ecode3
)) { 
4170       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
4172     arg3 
= static_cast< int >(val3
); 
4177       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
4183       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
4187     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
4188     if (!SWIG_IsOK(ecode6
)) { 
4189       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
4191     arg6 
= static_cast< long >(val6
); 
4195       arg7 
= wxString_in_helper(obj6
); 
4196       if (arg7 
== NULL
) SWIG_fail
; 
4201     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4202     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
4203     wxPyEndAllowThreads(__tstate
); 
4204     if (PyErr_Occurred()) SWIG_fail
; 
4207     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4223 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetScrollbars(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4224   PyObject 
*resultobj 
= 0; 
4225   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4230   int arg6 
= (int) 0 ; 
4231   int arg7 
= (int) 0 ; 
4232   bool arg8 
= (bool) false ; 
4249   PyObject 
* obj0 
= 0 ; 
4250   PyObject 
* obj1 
= 0 ; 
4251   PyObject 
* obj2 
= 0 ; 
4252   PyObject 
* obj3 
= 0 ; 
4253   PyObject 
* obj4 
= 0 ; 
4254   PyObject 
* obj5 
= 0 ; 
4255   PyObject 
* obj6 
= 0 ; 
4256   PyObject 
* obj7 
= 0 ; 
4257   char *  kwnames
[] = { 
4258     (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL 
 
4261   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
4262   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4263   if (!SWIG_IsOK(res1
)) { 
4264     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4266   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4267   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4268   if (!SWIG_IsOK(ecode2
)) { 
4269     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'"); 
4271   arg2 
= static_cast< int >(val2
); 
4272   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4273   if (!SWIG_IsOK(ecode3
)) { 
4274     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'"); 
4276   arg3 
= static_cast< int >(val3
); 
4277   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
4278   if (!SWIG_IsOK(ecode4
)) { 
4279     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'"); 
4281   arg4 
= static_cast< int >(val4
); 
4282   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
4283   if (!SWIG_IsOK(ecode5
)) { 
4284     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'"); 
4286   arg5 
= static_cast< int >(val5
); 
4288     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
4289     if (!SWIG_IsOK(ecode6
)) { 
4290       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'"); 
4292     arg6 
= static_cast< int >(val6
); 
4295     ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
4296     if (!SWIG_IsOK(ecode7
)) { 
4297       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'"); 
4299     arg7 
= static_cast< int >(val7
); 
4302     ecode8 
= SWIG_AsVal_bool(obj7
, &val8
); 
4303     if (!SWIG_IsOK(ecode8
)) { 
4304       SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'"); 
4306     arg8 
= static_cast< bool >(val8
); 
4309     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4310     (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
); 
4311     wxPyEndAllowThreads(__tstate
); 
4312     if (PyErr_Occurred()) SWIG_fail
; 
4314   resultobj 
= SWIG_Py_Void(); 
4321 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_Scroll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4322   PyObject 
*resultobj 
= 0; 
4323   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4332   PyObject 
* obj0 
= 0 ; 
4333   PyObject 
* obj1 
= 0 ; 
4334   PyObject 
* obj2 
= 0 ; 
4335   char *  kwnames
[] = { 
4336     (char *) "self",(char *) "x",(char *) "y", NULL 
 
4339   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4340   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4341   if (!SWIG_IsOK(res1
)) { 
4342     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4344   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4345   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4346   if (!SWIG_IsOK(ecode2
)) { 
4347     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'"); 
4349   arg2 
= static_cast< int >(val2
); 
4350   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4351   if (!SWIG_IsOK(ecode3
)) { 
4352     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'"); 
4354   arg3 
= static_cast< int >(val3
); 
4356     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4357     (arg1
)->Scroll(arg2
,arg3
); 
4358     wxPyEndAllowThreads(__tstate
); 
4359     if (PyErr_Occurred()) SWIG_fail
; 
4361   resultobj 
= SWIG_Py_Void(); 
4368 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4369   PyObject 
*resultobj 
= 0; 
4370   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4377   PyObject 
* obj0 
= 0 ; 
4378   PyObject 
* obj1 
= 0 ; 
4379   char *  kwnames
[] = { 
4380     (char *) "self",(char *) "orient", NULL 
 
4383   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4384   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4385   if (!SWIG_IsOK(res1
)) { 
4386     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4388   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4389   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4390   if (!SWIG_IsOK(ecode2
)) { 
4391     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'"); 
4393   arg2 
= static_cast< int >(val2
); 
4395     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4396     result 
= (int)((wxScrolledWindow 
const *)arg1
)->GetScrollPageSize(arg2
); 
4397     wxPyEndAllowThreads(__tstate
); 
4398     if (PyErr_Occurred()) SWIG_fail
; 
4400   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4407 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4408   PyObject 
*resultobj 
= 0; 
4409   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4418   PyObject 
* obj0 
= 0 ; 
4419   PyObject 
* obj1 
= 0 ; 
4420   PyObject 
* obj2 
= 0 ; 
4421   char *  kwnames
[] = { 
4422     (char *) "self",(char *) "orient",(char *) "pageSize", NULL 
 
4425   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4426   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4427   if (!SWIG_IsOK(res1
)) { 
4428     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4430   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4431   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4432   if (!SWIG_IsOK(ecode2
)) { 
4433     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'"); 
4435   arg2 
= static_cast< int >(val2
); 
4436   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4437   if (!SWIG_IsOK(ecode3
)) { 
4438     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'"); 
4440   arg3 
= static_cast< int >(val3
); 
4442     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4443     (arg1
)->SetScrollPageSize(arg2
,arg3
); 
4444     wxPyEndAllowThreads(__tstate
); 
4445     if (PyErr_Occurred()) SWIG_fail
; 
4447   resultobj 
= SWIG_Py_Void(); 
4454 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetScrollRate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4455   PyObject 
*resultobj 
= 0; 
4456   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4465   PyObject 
* obj0 
= 0 ; 
4466   PyObject 
* obj1 
= 0 ; 
4467   PyObject 
* obj2 
= 0 ; 
4468   char *  kwnames
[] = { 
4469     (char *) "self",(char *) "xstep",(char *) "ystep", NULL 
 
4472   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4473   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4474   if (!SWIG_IsOK(res1
)) { 
4475     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4477   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4478   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4479   if (!SWIG_IsOK(ecode2
)) { 
4480     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'"); 
4482   arg2 
= static_cast< int >(val2
); 
4483   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4484   if (!SWIG_IsOK(ecode3
)) { 
4485     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'"); 
4487   arg3 
= static_cast< int >(val3
); 
4489     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4490     (arg1
)->SetScrollRate(arg2
,arg3
); 
4491     wxPyEndAllowThreads(__tstate
); 
4492     if (PyErr_Occurred()) SWIG_fail
; 
4494   resultobj 
= SWIG_Py_Void(); 
4501 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4502   PyObject 
*resultobj 
= 0; 
4503   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4504   int *arg2 
= (int *) 0 ; 
4505   int *arg3 
= (int *) 0 ; 
4509   int res2 
= SWIG_TMPOBJ 
; 
4511   int res3 
= SWIG_TMPOBJ 
; 
4512   PyObject 
*swig_obj
[1] ; 
4516   if (!args
) SWIG_fail
; 
4518   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4519   if (!SWIG_IsOK(res1
)) { 
4520     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4522   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4524     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4525     ((wxScrolledWindow 
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
); 
4526     wxPyEndAllowThreads(__tstate
); 
4527     if (PyErr_Occurred()) SWIG_fail
; 
4529   resultobj 
= SWIG_Py_Void(); 
4530   if (SWIG_IsTmpObj(res2
)) { 
4531     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
4533     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4534     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
4536   if (SWIG_IsTmpObj(res3
)) { 
4537     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
4539     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4540     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
4548 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_EnableScrolling(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4549   PyObject 
*resultobj 
= 0; 
4550   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4559   PyObject 
* obj0 
= 0 ; 
4560   PyObject 
* obj1 
= 0 ; 
4561   PyObject 
* obj2 
= 0 ; 
4562   char *  kwnames
[] = { 
4563     (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL 
 
4566   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4567   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4568   if (!SWIG_IsOK(res1
)) { 
4569     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4571   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4572   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
4573   if (!SWIG_IsOK(ecode2
)) { 
4574     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'"); 
4576   arg2 
= static_cast< bool >(val2
); 
4577   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
4578   if (!SWIG_IsOK(ecode3
)) { 
4579     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'"); 
4581   arg3 
= static_cast< bool >(val3
); 
4583     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4584     (arg1
)->EnableScrolling(arg2
,arg3
); 
4585     wxPyEndAllowThreads(__tstate
); 
4586     if (PyErr_Occurred()) SWIG_fail
; 
4588   resultobj 
= SWIG_Py_Void(); 
4595 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetViewStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4596   PyObject 
*resultobj 
= 0; 
4597   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4598   int *arg2 
= (int *) 0 ; 
4599   int *arg3 
= (int *) 0 ; 
4603   int res2 
= SWIG_TMPOBJ 
; 
4605   int res3 
= SWIG_TMPOBJ 
; 
4606   PyObject 
*swig_obj
[1] ; 
4610   if (!args
) SWIG_fail
; 
4612   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4613   if (!SWIG_IsOK(res1
)) { 
4614     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4616   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4618     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4619     ((wxScrolledWindow 
const *)arg1
)->GetViewStart(arg2
,arg3
); 
4620     wxPyEndAllowThreads(__tstate
); 
4621     if (PyErr_Occurred()) SWIG_fail
; 
4623   resultobj 
= SWIG_Py_Void(); 
4624   if (SWIG_IsTmpObj(res2
)) { 
4625     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
4627     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4628     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
4630   if (SWIG_IsTmpObj(res3
)) { 
4631     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
4633     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4634     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
4642 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetScale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4643   PyObject 
*resultobj 
= 0; 
4644   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4653   PyObject 
* obj0 
= 0 ; 
4654   PyObject 
* obj1 
= 0 ; 
4655   PyObject 
* obj2 
= 0 ; 
4656   char *  kwnames
[] = { 
4657     (char *) "self",(char *) "xs",(char *) "ys", NULL 
 
4660   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4661   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4662   if (!SWIG_IsOK(res1
)) { 
4663     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4665   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4666   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
4667   if (!SWIG_IsOK(ecode2
)) { 
4668     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'"); 
4670   arg2 
= static_cast< double >(val2
); 
4671   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
4672   if (!SWIG_IsOK(ecode3
)) { 
4673     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'"); 
4675   arg3 
= static_cast< double >(val3
); 
4677     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4678     (arg1
)->SetScale(arg2
,arg3
); 
4679     wxPyEndAllowThreads(__tstate
); 
4680     if (PyErr_Occurred()) SWIG_fail
; 
4682   resultobj 
= SWIG_Py_Void(); 
4689 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetScaleX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4690   PyObject 
*resultobj 
= 0; 
4691   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4695   PyObject 
*swig_obj
[1] ; 
4697   if (!args
) SWIG_fail
; 
4699   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4700   if (!SWIG_IsOK(res1
)) { 
4701     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4703   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4705     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4706     result 
= (double)((wxScrolledWindow 
const *)arg1
)->GetScaleX(); 
4707     wxPyEndAllowThreads(__tstate
); 
4708     if (PyErr_Occurred()) SWIG_fail
; 
4710   resultobj 
= SWIG_From_double(static_cast< double >(result
)); 
4717 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetScaleY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4718   PyObject 
*resultobj 
= 0; 
4719   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4723   PyObject 
*swig_obj
[1] ; 
4725   if (!args
) SWIG_fail
; 
4727   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4728   if (!SWIG_IsOK(res1
)) { 
4729     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4731   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4733     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4734     result 
= (double)((wxScrolledWindow 
const *)arg1
)->GetScaleY(); 
4735     wxPyEndAllowThreads(__tstate
); 
4736     if (PyErr_Occurred()) SWIG_fail
; 
4738   resultobj 
= SWIG_From_double(static_cast< double >(result
)); 
4745 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
4746   PyObject 
*resultobj 
= 0; 
4747   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4754   if ((nobjs 
< 2) || (nobjs 
> 2)) SWIG_fail
; 
4755   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4756   if (!SWIG_IsOK(res1
)) { 
4757     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4759   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4762     if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
4765     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4766     result 
= ((wxScrolledWindow 
const *)arg1
)->CalcScrolledPosition((wxPoint 
const &)*arg2
); 
4767     wxPyEndAllowThreads(__tstate
); 
4768     if (PyErr_Occurred()) SWIG_fail
; 
4770   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
4777 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
4778   PyObject 
*resultobj 
= 0; 
4779   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4782   int *arg4 
= (int *) 0 ; 
4783   int *arg5 
= (int *) 0 ; 
4791   int res4 
= SWIG_TMPOBJ 
; 
4793   int res5 
= SWIG_TMPOBJ 
; 
4797   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
4798   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4799   if (!SWIG_IsOK(res1
)) { 
4800     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4802   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4803   ecode2 
= SWIG_AsVal_int(swig_obj
[1], &val2
); 
4804   if (!SWIG_IsOK(ecode2
)) { 
4805     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'"); 
4807   arg2 
= static_cast< int >(val2
); 
4808   ecode3 
= SWIG_AsVal_int(swig_obj
[2], &val3
); 
4809   if (!SWIG_IsOK(ecode3
)) { 
4810     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'"); 
4812   arg3 
= static_cast< int >(val3
); 
4814     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4815     ((wxScrolledWindow 
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
); 
4816     wxPyEndAllowThreads(__tstate
); 
4817     if (PyErr_Occurred()) SWIG_fail
; 
4819   resultobj 
= SWIG_Py_Void(); 
4820   if (SWIG_IsTmpObj(res4
)) { 
4821     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
4823     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4824     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
4826   if (SWIG_IsTmpObj(res5
)) { 
4827     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
4829     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4830     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
4838 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject 
*self
, PyObject 
*args
) { 
4842   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
; 
4845     return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
); 
4848     return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
); 
4852   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); 
4857 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
4858   PyObject 
*resultobj 
= 0; 
4859   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4866   if ((nobjs 
< 2) || (nobjs 
> 2)) SWIG_fail
; 
4867   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4868   if (!SWIG_IsOK(res1
)) { 
4869     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4871   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4874     if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
4877     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4878     result 
= ((wxScrolledWindow 
const *)arg1
)->CalcUnscrolledPosition((wxPoint 
const &)*arg2
); 
4879     wxPyEndAllowThreads(__tstate
); 
4880     if (PyErr_Occurred()) SWIG_fail
; 
4882   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
4889 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
4890   PyObject 
*resultobj 
= 0; 
4891   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4894   int *arg4 
= (int *) 0 ; 
4895   int *arg5 
= (int *) 0 ; 
4903   int res4 
= SWIG_TMPOBJ 
; 
4905   int res5 
= SWIG_TMPOBJ 
; 
4909   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
4910   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4911   if (!SWIG_IsOK(res1
)) { 
4912     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4914   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4915   ecode2 
= SWIG_AsVal_int(swig_obj
[1], &val2
); 
4916   if (!SWIG_IsOK(ecode2
)) { 
4917     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'"); 
4919   arg2 
= static_cast< int >(val2
); 
4920   ecode3 
= SWIG_AsVal_int(swig_obj
[2], &val3
); 
4921   if (!SWIG_IsOK(ecode3
)) { 
4922     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'"); 
4924   arg3 
= static_cast< int >(val3
); 
4926     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4927     ((wxScrolledWindow 
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
); 
4928     wxPyEndAllowThreads(__tstate
); 
4929     if (PyErr_Occurred()) SWIG_fail
; 
4931   resultobj 
= SWIG_Py_Void(); 
4932   if (SWIG_IsTmpObj(res4
)) { 
4933     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
4935     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4936     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
4938   if (SWIG_IsTmpObj(res5
)) { 
4939     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
4941     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4942     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
4950 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject 
*self
, PyObject 
*args
) { 
4954   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
; 
4957     return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
); 
4960     return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
); 
4964   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); 
4969 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4970   PyObject 
*resultobj 
= 0; 
4971   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4974   PyObject 
*swig_obj
[1] ; 
4976   if (!args
) SWIG_fail
; 
4978   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4979   if (!SWIG_IsOK(res1
)) { 
4980     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4982   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4984     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4985     (arg1
)->AdjustScrollbars(); 
4986     wxPyEndAllowThreads(__tstate
); 
4987     if (PyErr_Occurred()) SWIG_fail
; 
4989   resultobj 
= SWIG_Py_Void(); 
4996 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcScrollInc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4997   PyObject 
*resultobj 
= 0; 
4998   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4999   wxScrollWinEvent 
*arg2 
= 0 ; 
5005   PyObject 
* obj0 
= 0 ; 
5006   PyObject 
* obj1 
= 0 ; 
5007   char *  kwnames
[] = { 
5008     (char *) "self",(char *) "event", NULL 
 
5011   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5012   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5013   if (!SWIG_IsOK(res1
)) { 
5014     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
5016   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5017   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
,  0 ); 
5018   if (!SWIG_IsOK(res2
)) { 
5019     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");  
5022     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");  
5024   arg2 
= reinterpret_cast< wxScrollWinEvent 
* >(argp2
); 
5026     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5027     result 
= (int)(arg1
)->CalcScrollInc(*arg2
); 
5028     wxPyEndAllowThreads(__tstate
); 
5029     if (PyErr_Occurred()) SWIG_fail
; 
5031   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5038 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetTargetWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5039   PyObject 
*resultobj 
= 0; 
5040   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5041   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
5046   PyObject 
* obj0 
= 0 ; 
5047   PyObject 
* obj1 
= 0 ; 
5048   char *  kwnames
[] = { 
5049     (char *) "self",(char *) "target", NULL 
 
5052   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5053   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5054   if (!SWIG_IsOK(res1
)) { 
5055     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
5057   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5058   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
5059   if (!SWIG_IsOK(res2
)) { 
5060     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
5062   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
5064     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5065     (arg1
)->SetTargetWindow(arg2
); 
5066     wxPyEndAllowThreads(__tstate
); 
5067     if (PyErr_Occurred()) SWIG_fail
; 
5069   resultobj 
= SWIG_Py_Void(); 
5076 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetTargetWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5077   PyObject 
*resultobj 
= 0; 
5078   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5079   wxWindow 
*result 
= 0 ; 
5082   PyObject 
*swig_obj
[1] ; 
5084   if (!args
) SWIG_fail
; 
5086   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5087   if (!SWIG_IsOK(res1
)) { 
5088     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
5090   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5092     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5093     result 
= (wxWindow 
*)((wxScrolledWindow 
const *)arg1
)->GetTargetWindow(); 
5094     wxPyEndAllowThreads(__tstate
); 
5095     if (PyErr_Occurred()) SWIG_fail
; 
5098     resultobj 
= wxPyMake_wxObject(result
, 0);  
5106 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetTargetRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5107   PyObject 
*resultobj 
= 0; 
5108   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5113   PyObject 
* obj0 
= 0 ; 
5114   PyObject 
* obj1 
= 0 ; 
5115   char *  kwnames
[] = { 
5116     (char *) "self",(char *) "rect", NULL 
 
5119   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5120   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5121   if (!SWIG_IsOK(res1
)) { 
5122     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
5124   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5127     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5130     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5131     (arg1
)->SetTargetRect((wxRect 
const &)*arg2
); 
5132     wxPyEndAllowThreads(__tstate
); 
5133     if (PyErr_Occurred()) SWIG_fail
; 
5135   resultobj 
= SWIG_Py_Void(); 
5142 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetTargetRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5143   PyObject 
*resultobj 
= 0; 
5144   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5148   PyObject 
*swig_obj
[1] ; 
5150   if (!args
) SWIG_fail
; 
5152   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5153   if (!SWIG_IsOK(res1
)) { 
5154     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
5156   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5158     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5159     result 
= ((wxScrolledWindow 
const *)arg1
)->GetTargetRect(); 
5160     wxPyEndAllowThreads(__tstate
); 
5161     if (PyErr_Occurred()) SWIG_fail
; 
5163   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
5170 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_DoPrepareDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5171   PyObject 
*resultobj 
= 0; 
5172   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5178   PyObject 
* obj0 
= 0 ; 
5179   PyObject 
* obj1 
= 0 ; 
5180   char *  kwnames
[] = { 
5181     (char *) "self",(char *) "dc", NULL 
 
5184   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5185   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5186   if (!SWIG_IsOK(res1
)) { 
5187     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
5189   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5190   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
5191   if (!SWIG_IsOK(res2
)) { 
5192     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");  
5195     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");  
5197   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
5199     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5200     (arg1
)->DoPrepareDC(*arg2
); 
5201     wxPyEndAllowThreads(__tstate
); 
5202     if (PyErr_Occurred()) SWIG_fail
; 
5204   resultobj 
= SWIG_Py_Void(); 
5211 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5212   PyObject 
*resultobj 
= 0; 
5213   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
5214   SwigValueWrapper
<wxVisualAttributes 
> result
; 
5217   PyObject 
* obj0 
= 0 ; 
5218   char *  kwnames
[] = { 
5219     (char *) "variant", NULL 
 
5222   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
5224     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
5225     if (!SWIG_IsOK(ecode1
)) { 
5226       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
5228     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
5231     if (!wxPyCheckForApp()) SWIG_fail
; 
5232     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5233     result 
= wxScrolledWindow::GetClassDefaultAttributes(arg1
); 
5234     wxPyEndAllowThreads(__tstate
); 
5235     if (PyErr_Occurred()) SWIG_fail
; 
5237   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
5244 SWIGINTERN PyObject 
*ScrolledWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5246   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5247   SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
)); 
5248   return SWIG_Py_Void(); 
5251 SWIGINTERN PyObject 
*ScrolledWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5252   return SWIG_Python_InitShadowInstance(args
); 
5255 SWIGINTERN 
int FrameNameStr_set(PyObject 
*) { 
5256   SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only."); 
5261 SWIGINTERN PyObject 
*FrameNameStr_get(void) { 
5262   PyObject 
*pyobj 
= 0; 
5266     pyobj 
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len()); 
5268     pyobj 
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len()); 
5275 SWIGINTERN 
int DialogNameStr_set(PyObject 
*) { 
5276   SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only."); 
5281 SWIGINTERN PyObject 
*DialogNameStr_get(void) { 
5282   PyObject 
*pyobj 
= 0; 
5286     pyobj 
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len()); 
5288     pyobj 
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len()); 
5295 SWIGINTERN 
int StatusLineNameStr_set(PyObject 
*) { 
5296   SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only."); 
5301 SWIGINTERN PyObject 
*StatusLineNameStr_get(void) { 
5302   PyObject 
*pyobj 
= 0; 
5306     pyobj 
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len()); 
5308     pyobj 
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len()); 
5315 SWIGINTERN 
int ToolBarNameStr_set(PyObject 
*) { 
5316   SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only."); 
5321 SWIGINTERN PyObject 
*ToolBarNameStr_get(void) { 
5322   PyObject 
*pyobj 
= 0; 
5326     pyobj 
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len()); 
5328     pyobj 
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len()); 
5335 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_Maximize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5336   PyObject 
*resultobj 
= 0; 
5337   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5338   bool arg2 
= (bool) true ; 
5343   PyObject 
* obj0 
= 0 ; 
5344   PyObject 
* obj1 
= 0 ; 
5345   char *  kwnames
[] = { 
5346     (char *) "self",(char *) "maximize", NULL 
 
5349   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5350   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5351   if (!SWIG_IsOK(res1
)) { 
5352     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5354   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5356     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
5357     if (!SWIG_IsOK(ecode2
)) { 
5358       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'"); 
5360     arg2 
= static_cast< bool >(val2
); 
5363     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5364     (arg1
)->Maximize(arg2
); 
5365     wxPyEndAllowThreads(__tstate
); 
5366     if (PyErr_Occurred()) SWIG_fail
; 
5368   resultobj 
= SWIG_Py_Void(); 
5375 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_Restore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5376   PyObject 
*resultobj 
= 0; 
5377   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5380   PyObject 
*swig_obj
[1] ; 
5382   if (!args
) SWIG_fail
; 
5384   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5385   if (!SWIG_IsOK(res1
)) { 
5386     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5388   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5390     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5392     wxPyEndAllowThreads(__tstate
); 
5393     if (PyErr_Occurred()) SWIG_fail
; 
5395   resultobj 
= SWIG_Py_Void(); 
5402 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_Iconize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5403   PyObject 
*resultobj 
= 0; 
5404   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5405   bool arg2 
= (bool) true ; 
5410   PyObject 
* obj0 
= 0 ; 
5411   PyObject 
* obj1 
= 0 ; 
5412   char *  kwnames
[] = { 
5413     (char *) "self",(char *) "iconize", NULL 
 
5416   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5417   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5418   if (!SWIG_IsOK(res1
)) { 
5419     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5421   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5423     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
5424     if (!SWIG_IsOK(ecode2
)) { 
5425       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'"); 
5427     arg2 
= static_cast< bool >(val2
); 
5430     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5431     (arg1
)->Iconize(arg2
); 
5432     wxPyEndAllowThreads(__tstate
); 
5433     if (PyErr_Occurred()) SWIG_fail
; 
5435   resultobj 
= SWIG_Py_Void(); 
5442 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_IsMaximized(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5443   PyObject 
*resultobj 
= 0; 
5444   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5448   PyObject 
*swig_obj
[1] ; 
5450   if (!args
) SWIG_fail
; 
5452   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5453   if (!SWIG_IsOK(res1
)) { 
5454     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5456   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5458     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5459     result 
= (bool)((wxTopLevelWindow 
const *)arg1
)->IsMaximized(); 
5460     wxPyEndAllowThreads(__tstate
); 
5461     if (PyErr_Occurred()) SWIG_fail
; 
5464     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5472 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_IsIconized(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5473   PyObject 
*resultobj 
= 0; 
5474   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5478   PyObject 
*swig_obj
[1] ; 
5480   if (!args
) SWIG_fail
; 
5482   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5483   if (!SWIG_IsOK(res1
)) { 
5484     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5486   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5488     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5489     result 
= (bool)((wxTopLevelWindow 
const *)arg1
)->IsIconized(); 
5490     wxPyEndAllowThreads(__tstate
); 
5491     if (PyErr_Occurred()) SWIG_fail
; 
5494     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5502 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_GetIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5503   PyObject 
*resultobj 
= 0; 
5504   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5508   PyObject 
*swig_obj
[1] ; 
5510   if (!args
) SWIG_fail
; 
5512   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5513   if (!SWIG_IsOK(res1
)) { 
5514     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5516   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5518     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5519     result 
= ((wxTopLevelWindow 
const *)arg1
)->GetIcon(); 
5520     wxPyEndAllowThreads(__tstate
); 
5521     if (PyErr_Occurred()) SWIG_fail
; 
5523   resultobj 
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN 
|  0 ); 
5530 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5531   PyObject 
*resultobj 
= 0; 
5532   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5538   PyObject 
* obj0 
= 0 ; 
5539   PyObject 
* obj1 
= 0 ; 
5540   char *  kwnames
[] = { 
5541     (char *) "self",(char *) "icon", NULL 
 
5544   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5545   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5546   if (!SWIG_IsOK(res1
)) { 
5547     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5549   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5550   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
5551   if (!SWIG_IsOK(res2
)) { 
5552     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
5555     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
5557   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
5559     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5560     (arg1
)->SetIcon((wxIcon 
const &)*arg2
); 
5561     wxPyEndAllowThreads(__tstate
); 
5562     if (PyErr_Occurred()) SWIG_fail
; 
5564   resultobj 
= SWIG_Py_Void(); 
5571 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetIcons(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5572   PyObject 
*resultobj 
= 0; 
5573   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5574   wxIconBundle 
*arg2 
= 0 ; 
5579   PyObject 
* obj0 
= 0 ; 
5580   PyObject 
* obj1 
= 0 ; 
5581   char *  kwnames
[] = { 
5582     (char *) "self",(char *) "icons", NULL 
 
5585   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5586   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5587   if (!SWIG_IsOK(res1
)) { 
5588     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5590   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5591   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
,  0  | 0); 
5592   if (!SWIG_IsOK(res2
)) { 
5593     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");  
5596     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");  
5598   arg2 
= reinterpret_cast< wxIconBundle 
* >(argp2
); 
5600     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5601     (arg1
)->SetIcons((wxIconBundle 
const &)*arg2
); 
5602     wxPyEndAllowThreads(__tstate
); 
5603     if (PyErr_Occurred()) SWIG_fail
; 
5605   resultobj 
= SWIG_Py_Void(); 
5612 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_ShowFullScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5613   PyObject 
*resultobj 
= 0; 
5614   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5616   long arg3 
= (long) wxFULLSCREEN_ALL 
; 
5624   PyObject 
* obj0 
= 0 ; 
5625   PyObject 
* obj1 
= 0 ; 
5626   PyObject 
* obj2 
= 0 ; 
5627   char *  kwnames
[] = { 
5628     (char *) "self",(char *) "show",(char *) "style", NULL 
 
5631   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
5632   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5633   if (!SWIG_IsOK(res1
)) { 
5634     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5636   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5637   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
5638   if (!SWIG_IsOK(ecode2
)) { 
5639     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'"); 
5641   arg2 
= static_cast< bool >(val2
); 
5643     ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
5644     if (!SWIG_IsOK(ecode3
)) { 
5645       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'"); 
5647     arg3 
= static_cast< long >(val3
); 
5650     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5651     result 
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
); 
5652     wxPyEndAllowThreads(__tstate
); 
5653     if (PyErr_Occurred()) SWIG_fail
; 
5656     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5664 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_IsFullScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5665   PyObject 
*resultobj 
= 0; 
5666   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5670   PyObject 
*swig_obj
[1] ; 
5672   if (!args
) SWIG_fail
; 
5674   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5675   if (!SWIG_IsOK(res1
)) { 
5676     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5678   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5680     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5681     result 
= (bool)((wxTopLevelWindow 
const *)arg1
)->IsFullScreen(); 
5682     wxPyEndAllowThreads(__tstate
); 
5683     if (PyErr_Occurred()) SWIG_fail
; 
5686     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5694 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetTitle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5695   PyObject 
*resultobj 
= 0; 
5696   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5697   wxString 
*arg2 
= 0 ; 
5700   bool temp2 
= false ; 
5701   PyObject 
* obj0 
= 0 ; 
5702   PyObject 
* obj1 
= 0 ; 
5703   char *  kwnames
[] = { 
5704     (char *) "self",(char *) "title", NULL 
 
5707   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5708   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5709   if (!SWIG_IsOK(res1
)) { 
5710     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5712   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5714     arg2 
= wxString_in_helper(obj1
); 
5715     if (arg2 
== NULL
) SWIG_fail
; 
5719     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5720     (arg1
)->SetTitle((wxString 
const &)*arg2
); 
5721     wxPyEndAllowThreads(__tstate
); 
5722     if (PyErr_Occurred()) SWIG_fail
; 
5724   resultobj 
= SWIG_Py_Void(); 
5739 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_GetTitle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5740   PyObject 
*resultobj 
= 0; 
5741   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5745   PyObject 
*swig_obj
[1] ; 
5747   if (!args
) SWIG_fail
; 
5749   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5750   if (!SWIG_IsOK(res1
)) { 
5751     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5753   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5755     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5756     result 
= ((wxTopLevelWindow 
const *)arg1
)->GetTitle(); 
5757     wxPyEndAllowThreads(__tstate
); 
5758     if (PyErr_Occurred()) SWIG_fail
; 
5762     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5764     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5773 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetShape(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5774   PyObject 
*resultobj 
= 0; 
5775   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5776   wxRegion 
*arg2 
= 0 ; 
5782   PyObject 
* obj0 
= 0 ; 
5783   PyObject 
* obj1 
= 0 ; 
5784   char *  kwnames
[] = { 
5785     (char *) "self",(char *) "region", NULL 
 
5788   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5789   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5790   if (!SWIG_IsOK(res1
)) { 
5791     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5793   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5794   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
5795   if (!SWIG_IsOK(res2
)) { 
5796     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");  
5799     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");  
5801   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
5803     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5804     result 
= (bool)(arg1
)->SetShape((wxRegion 
const &)*arg2
); 
5805     wxPyEndAllowThreads(__tstate
); 
5806     if (PyErr_Occurred()) SWIG_fail
; 
5809     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5817 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_RequestUserAttention(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5818   PyObject 
*resultobj 
= 0; 
5819   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5820   int arg2 
= (int) wxUSER_ATTENTION_INFO 
; 
5825   PyObject 
* obj0 
= 0 ; 
5826   PyObject 
* obj1 
= 0 ; 
5827   char *  kwnames
[] = { 
5828     (char *) "self",(char *) "flags", NULL 
 
5831   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5832   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5833   if (!SWIG_IsOK(res1
)) { 
5834     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5836   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5838     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5839     if (!SWIG_IsOK(ecode2
)) { 
5840       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'"); 
5842     arg2 
= static_cast< int >(val2
); 
5845     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5846     (arg1
)->RequestUserAttention(arg2
); 
5847     wxPyEndAllowThreads(__tstate
); 
5848     if (PyErr_Occurred()) SWIG_fail
; 
5850   resultobj 
= SWIG_Py_Void(); 
5857 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_IsActive(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5858   PyObject 
*resultobj 
= 0; 
5859   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5863   PyObject 
*swig_obj
[1] ; 
5865   if (!args
) SWIG_fail
; 
5867   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5868   if (!SWIG_IsOK(res1
)) { 
5869     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5871   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5873     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5874     result 
= (bool)(arg1
)->IsActive(); 
5875     wxPyEndAllowThreads(__tstate
); 
5876     if (PyErr_Occurred()) SWIG_fail
; 
5879     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5887 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5888   PyObject 
*resultobj 
= 0; 
5889   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5895   PyObject 
* obj0 
= 0 ; 
5896   PyObject 
* obj1 
= 0 ; 
5897   char *  kwnames
[] = { 
5898     (char *) "self",(char *) "on", NULL 
 
5901   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5902   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5903   if (!SWIG_IsOK(res1
)) { 
5904     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5906   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5907   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
5908   if (!SWIG_IsOK(ecode2
)) { 
5909     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'"); 
5911   arg2 
= static_cast< bool >(val2
); 
5913     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5914     wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
); 
5915     wxPyEndAllowThreads(__tstate
); 
5916     if (PyErr_Occurred()) SWIG_fail
; 
5918   resultobj 
= SWIG_Py_Void(); 
5925 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5926   PyObject 
*resultobj 
= 0; 
5927   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5931   PyObject 
*swig_obj
[1] ; 
5933   if (!args
) SWIG_fail
; 
5935   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5936   if (!SWIG_IsOK(res1
)) { 
5937     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5939   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5941     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5942     result 
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow 
const *)arg1
); 
5943     wxPyEndAllowThreads(__tstate
); 
5944     if (PyErr_Occurred()) SWIG_fail
; 
5947     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5955 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_CenterOnScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5956   PyObject 
*resultobj 
= 0; 
5957   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5958   int arg2 
= (int) wxBOTH 
; 
5963   PyObject 
* obj0 
= 0 ; 
5964   PyObject 
* obj1 
= 0 ; 
5965   char *  kwnames
[] = { 
5966     (char *) "self",(char *) "dir", NULL 
 
5969   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5970   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5971   if (!SWIG_IsOK(res1
)) { 
5972     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5974   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5976     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5977     if (!SWIG_IsOK(ecode2
)) { 
5978       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'"); 
5980     arg2 
= static_cast< int >(val2
); 
5983     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5984     (arg1
)->CenterOnScreen(arg2
); 
5985     wxPyEndAllowThreads(__tstate
); 
5986     if (PyErr_Occurred()) SWIG_fail
; 
5988   resultobj 
= SWIG_Py_Void(); 
5995 SWIGINTERN PyObject 
*TopLevelWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5997   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5998   SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
)); 
5999   return SWIG_Py_Void(); 
6002 SWIGINTERN PyObject 
*_wrap_new_Frame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6003   PyObject 
*resultobj 
= 0; 
6004   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6005   int arg2 
= (int) (int)-1 ; 
6006   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
6007   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
6008   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
6009   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
6010   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
6011   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
6012   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
6013   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
6014   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
6015   wxFrame 
*result 
= 0 ; 
6020   bool temp3 
= false ; 
6025   bool temp7 
= false ; 
6026   PyObject 
* obj0 
= 0 ; 
6027   PyObject 
* obj1 
= 0 ; 
6028   PyObject 
* obj2 
= 0 ; 
6029   PyObject 
* obj3 
= 0 ; 
6030   PyObject 
* obj4 
= 0 ; 
6031   PyObject 
* obj5 
= 0 ; 
6032   PyObject 
* obj6 
= 0 ; 
6033   char *  kwnames
[] = { 
6034     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
6037   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
6038   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
6039   if (!SWIG_IsOK(res1
)) { 
6040     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");  
6042   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
6044     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6045     if (!SWIG_IsOK(ecode2
)) { 
6046       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'"); 
6048     arg2 
= static_cast< int >(val2
); 
6052       arg3 
= wxString_in_helper(obj2
); 
6053       if (arg3 
== NULL
) SWIG_fail
; 
6060       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
6066       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
6070     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
6071     if (!SWIG_IsOK(ecode6
)) { 
6072       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'"); 
6074     arg6 
= static_cast< long >(val6
); 
6078       arg7 
= wxString_in_helper(obj6
); 
6079       if (arg7 
== NULL
) SWIG_fail
; 
6084     if (!wxPyCheckForApp()) SWIG_fail
; 
6085     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6086     result 
= (wxFrame 
*)new wxFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
6087     wxPyEndAllowThreads(__tstate
); 
6088     if (PyErr_Occurred()) SWIG_fail
; 
6090   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW 
|  0 ); 
6113 SWIGINTERN PyObject 
*_wrap_new_PreFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6114   PyObject 
*resultobj 
= 0; 
6115   wxFrame 
*result 
= 0 ; 
6117   if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
; 
6119     if (!wxPyCheckForApp()) SWIG_fail
; 
6120     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6121     result 
= (wxFrame 
*)new wxFrame(); 
6122     wxPyEndAllowThreads(__tstate
); 
6123     if (PyErr_Occurred()) SWIG_fail
; 
6125   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN 
|  0 ); 
6132 SWIGINTERN PyObject 
*_wrap_Frame_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6133   PyObject 
*resultobj 
= 0; 
6134   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6135   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6136   int arg3 
= (int) (int)-1 ; 
6137   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
6138   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
6139   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
6140   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
6141   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
6142   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
6143   long arg7 
= (long) wxDEFAULT_FRAME_STYLE 
; 
6144   wxString 
const &arg8_defvalue 
= wxPyFrameNameStr 
; 
6145   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
6153   bool temp4 
= false ; 
6158   bool temp8 
= false ; 
6159   PyObject 
* obj0 
= 0 ; 
6160   PyObject 
* obj1 
= 0 ; 
6161   PyObject 
* obj2 
= 0 ; 
6162   PyObject 
* obj3 
= 0 ; 
6163   PyObject 
* obj4 
= 0 ; 
6164   PyObject 
* obj5 
= 0 ; 
6165   PyObject 
* obj6 
= 0 ; 
6166   PyObject 
* obj7 
= 0 ; 
6167   char *  kwnames
[] = { 
6168     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
6171   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
6172   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6173   if (!SWIG_IsOK(res1
)) { 
6174     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");  
6176   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6177   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
6178   if (!SWIG_IsOK(res2
)) { 
6179     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
6181   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
6183     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6184     if (!SWIG_IsOK(ecode3
)) { 
6185       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'"); 
6187     arg3 
= static_cast< int >(val3
); 
6191       arg4 
= wxString_in_helper(obj3
); 
6192       if (arg4 
== NULL
) SWIG_fail
; 
6199       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
6205       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
6209     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
6210     if (!SWIG_IsOK(ecode7
)) { 
6211       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'"); 
6213     arg7 
= static_cast< long >(val7
); 
6217       arg8 
= wxString_in_helper(obj7
); 
6218       if (arg8 
== NULL
) SWIG_fail
; 
6223     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6224     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
6225     wxPyEndAllowThreads(__tstate
); 
6226     if (PyErr_Occurred()) SWIG_fail
; 
6229     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6253 SWIGINTERN PyObject 
*_wrap_Frame_SendSizeEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6254   PyObject 
*resultobj 
= 0; 
6255   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6258   PyObject 
*swig_obj
[1] ; 
6260   if (!args
) SWIG_fail
; 
6262   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6263   if (!SWIG_IsOK(res1
)) { 
6264     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");  
6266   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6268     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6269     (arg1
)->SendSizeEvent(); 
6270     wxPyEndAllowThreads(__tstate
); 
6271     if (PyErr_Occurred()) SWIG_fail
; 
6273   resultobj 
= SWIG_Py_Void(); 
6280 SWIGINTERN PyObject 
*_wrap_Frame_SetMenuBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6281   PyObject 
*resultobj 
= 0; 
6282   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6283   wxMenuBar 
*arg2 
= (wxMenuBar 
*) 0 ; 
6288   PyObject 
* obj0 
= 0 ; 
6289   PyObject 
* obj1 
= 0 ; 
6290   char *  kwnames
[] = { 
6291     (char *) "self",(char *) "menubar", NULL 
 
6294   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6295   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6296   if (!SWIG_IsOK(res1
)) { 
6297     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
6299   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6300   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 |  0 ); 
6301   if (!SWIG_IsOK(res2
)) { 
6302     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");  
6304   arg2 
= reinterpret_cast< wxMenuBar 
* >(argp2
); 
6306     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6307     (arg1
)->SetMenuBar(arg2
); 
6308     wxPyEndAllowThreads(__tstate
); 
6309     if (PyErr_Occurred()) SWIG_fail
; 
6311   resultobj 
= SWIG_Py_Void(); 
6318 SWIGINTERN PyObject 
*_wrap_Frame_GetMenuBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6319   PyObject 
*resultobj 
= 0; 
6320   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6321   wxMenuBar 
*result 
= 0 ; 
6324   PyObject 
*swig_obj
[1] ; 
6326   if (!args
) SWIG_fail
; 
6328   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6329   if (!SWIG_IsOK(res1
)) { 
6330     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");  
6332   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6334     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6335     result 
= (wxMenuBar 
*)((wxFrame 
const *)arg1
)->GetMenuBar(); 
6336     wxPyEndAllowThreads(__tstate
); 
6337     if (PyErr_Occurred()) SWIG_fail
; 
6340     resultobj 
= wxPyMake_wxObject(result
, 0);  
6348 SWIGINTERN PyObject 
*_wrap_Frame_ProcessCommand(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6349   PyObject 
*resultobj 
= 0; 
6350   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6357   PyObject 
* obj0 
= 0 ; 
6358   PyObject 
* obj1 
= 0 ; 
6359   char *  kwnames
[] = { 
6360     (char *) "self",(char *) "winid", NULL 
 
6363   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6364   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6365   if (!SWIG_IsOK(res1
)) { 
6366     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");  
6368   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6369   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6370   if (!SWIG_IsOK(ecode2
)) { 
6371     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'"); 
6373   arg2 
= static_cast< int >(val2
); 
6375     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6376     result 
= (bool)(arg1
)->ProcessCommand(arg2
); 
6377     wxPyEndAllowThreads(__tstate
); 
6378     if (PyErr_Occurred()) SWIG_fail
; 
6381     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6389 SWIGINTERN PyObject 
*_wrap_Frame_CreateStatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6390   PyObject 
*resultobj 
= 0; 
6391   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6392   int arg2 
= (int) 1 ; 
6393   long arg3 
= (long) wxDEFAULT_STATUSBAR_STYLE 
; 
6394   int arg4 
= (int) 0 ; 
6395   wxString 
const &arg5_defvalue 
= wxPyStatusLineNameStr 
; 
6396   wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
6397   wxStatusBar 
*result 
= 0 ; 
6406   bool temp5 
= false ; 
6407   PyObject 
* obj0 
= 0 ; 
6408   PyObject 
* obj1 
= 0 ; 
6409   PyObject 
* obj2 
= 0 ; 
6410   PyObject 
* obj3 
= 0 ; 
6411   PyObject 
* obj4 
= 0 ; 
6412   char *  kwnames
[] = { 
6413     (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL 
 
6416   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
6417   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6418   if (!SWIG_IsOK(res1
)) { 
6419     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
6421   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6423     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6424     if (!SWIG_IsOK(ecode2
)) { 
6425       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'"); 
6427     arg2 
= static_cast< int >(val2
); 
6430     ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6431     if (!SWIG_IsOK(ecode3
)) { 
6432       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'"); 
6434     arg3 
= static_cast< long >(val3
); 
6437     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
6438     if (!SWIG_IsOK(ecode4
)) { 
6439       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'"); 
6441     arg4 
= static_cast< int >(val4
); 
6445       arg5 
= wxString_in_helper(obj4
); 
6446       if (arg5 
== NULL
) SWIG_fail
; 
6451     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6452     result 
= (wxStatusBar 
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString 
const &)*arg5
); 
6453     wxPyEndAllowThreads(__tstate
); 
6454     if (PyErr_Occurred()) SWIG_fail
; 
6457     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
6473 SWIGINTERN PyObject 
*_wrap_Frame_GetStatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6474   PyObject 
*resultobj 
= 0; 
6475   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6476   wxStatusBar 
*result 
= 0 ; 
6479   PyObject 
*swig_obj
[1] ; 
6481   if (!args
) SWIG_fail
; 
6483   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6484   if (!SWIG_IsOK(res1
)) { 
6485     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");  
6487   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6489     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6490     result 
= (wxStatusBar 
*)((wxFrame 
const *)arg1
)->GetStatusBar(); 
6491     wxPyEndAllowThreads(__tstate
); 
6492     if (PyErr_Occurred()) SWIG_fail
; 
6495     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
6503 SWIGINTERN PyObject 
*_wrap_Frame_SetStatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6504   PyObject 
*resultobj 
= 0; 
6505   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6506   wxStatusBar 
*arg2 
= (wxStatusBar 
*) 0 ; 
6511   PyObject 
* obj0 
= 0 ; 
6512   PyObject 
* obj1 
= 0 ; 
6513   char *  kwnames
[] = { 
6514     (char *) "self",(char *) "statBar", NULL 
 
6517   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6518   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6519   if (!SWIG_IsOK(res1
)) { 
6520     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
6522   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6523   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
6524   if (!SWIG_IsOK(res2
)) { 
6525     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");  
6527   arg2 
= reinterpret_cast< wxStatusBar 
* >(argp2
); 
6529     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6530     (arg1
)->SetStatusBar(arg2
); 
6531     wxPyEndAllowThreads(__tstate
); 
6532     if (PyErr_Occurred()) SWIG_fail
; 
6534   resultobj 
= SWIG_Py_Void(); 
6541 SWIGINTERN PyObject 
*_wrap_Frame_SetStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6542   PyObject 
*resultobj 
= 0; 
6543   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6544   wxString 
*arg2 
= 0 ; 
6545   int arg3 
= (int) 0 ; 
6548   bool temp2 
= false ; 
6551   PyObject 
* obj0 
= 0 ; 
6552   PyObject 
* obj1 
= 0 ; 
6553   PyObject 
* obj2 
= 0 ; 
6554   char *  kwnames
[] = { 
6555     (char *) "self",(char *) "text",(char *) "number", NULL 
 
6558   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6559   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6560   if (!SWIG_IsOK(res1
)) { 
6561     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");  
6563   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6565     arg2 
= wxString_in_helper(obj1
); 
6566     if (arg2 
== NULL
) SWIG_fail
; 
6570     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6571     if (!SWIG_IsOK(ecode3
)) { 
6572       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'"); 
6574     arg3 
= static_cast< int >(val3
); 
6577     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6578     (arg1
)->SetStatusText((wxString 
const &)*arg2
,arg3
); 
6579     wxPyEndAllowThreads(__tstate
); 
6580     if (PyErr_Occurred()) SWIG_fail
; 
6582   resultobj 
= SWIG_Py_Void(); 
6597 SWIGINTERN PyObject 
*_wrap_Frame_SetStatusWidths(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6598   PyObject 
*resultobj 
= 0; 
6599   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6601   int *arg3 
= (int *) 0 ; 
6604   PyObject 
* obj0 
= 0 ; 
6605   PyObject 
* obj1 
= 0 ; 
6606   char *  kwnames
[] = { 
6607     (char *) "self",(char *) "widths", NULL 
 
6610   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6611   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6612   if (!SWIG_IsOK(res1
)) { 
6613     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");  
6615   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6617     arg2 
= PyList_Size(obj1
); 
6618     arg3 
=  int_LIST_helper(obj1
); 
6619     if (arg3 
== NULL
) SWIG_fail
; 
6622     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6623     (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
); 
6624     wxPyEndAllowThreads(__tstate
); 
6625     if (PyErr_Occurred()) SWIG_fail
; 
6627   resultobj 
= SWIG_Py_Void(); 
6629     if (arg3
) delete [] arg3
; 
6634     if (arg3
) delete [] arg3
; 
6640 SWIGINTERN PyObject 
*_wrap_Frame_PushStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6641   PyObject 
*resultobj 
= 0; 
6642   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6643   wxString 
*arg2 
= 0 ; 
6644   int arg3 
= (int) 0 ; 
6647   bool temp2 
= false ; 
6650   PyObject 
* obj0 
= 0 ; 
6651   PyObject 
* obj1 
= 0 ; 
6652   PyObject 
* obj2 
= 0 ; 
6653   char *  kwnames
[] = { 
6654     (char *) "self",(char *) "text",(char *) "number", NULL 
 
6657   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6658   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6659   if (!SWIG_IsOK(res1
)) { 
6660     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");  
6662   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6664     arg2 
= wxString_in_helper(obj1
); 
6665     if (arg2 
== NULL
) SWIG_fail
; 
6669     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6670     if (!SWIG_IsOK(ecode3
)) { 
6671       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'"); 
6673     arg3 
= static_cast< int >(val3
); 
6676     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6677     (arg1
)->PushStatusText((wxString 
const &)*arg2
,arg3
); 
6678     wxPyEndAllowThreads(__tstate
); 
6679     if (PyErr_Occurred()) SWIG_fail
; 
6681   resultobj 
= SWIG_Py_Void(); 
6696 SWIGINTERN PyObject 
*_wrap_Frame_PopStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6697   PyObject 
*resultobj 
= 0; 
6698   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6699   int arg2 
= (int) 0 ; 
6704   PyObject 
* obj0 
= 0 ; 
6705   PyObject 
* obj1 
= 0 ; 
6706   char *  kwnames
[] = { 
6707     (char *) "self",(char *) "number", NULL 
 
6710   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6711   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6712   if (!SWIG_IsOK(res1
)) { 
6713     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");  
6715   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6717     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6718     if (!SWIG_IsOK(ecode2
)) { 
6719       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'"); 
6721     arg2 
= static_cast< int >(val2
); 
6724     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6725     (arg1
)->PopStatusText(arg2
); 
6726     wxPyEndAllowThreads(__tstate
); 
6727     if (PyErr_Occurred()) SWIG_fail
; 
6729   resultobj 
= SWIG_Py_Void(); 
6736 SWIGINTERN PyObject 
*_wrap_Frame_SetStatusBarPane(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6737   PyObject 
*resultobj 
= 0; 
6738   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6744   PyObject 
* obj0 
= 0 ; 
6745   PyObject 
* obj1 
= 0 ; 
6746   char *  kwnames
[] = { 
6747     (char *) "self",(char *) "n", NULL 
 
6750   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6751   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6752   if (!SWIG_IsOK(res1
)) { 
6753     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");  
6755   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6756   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6757   if (!SWIG_IsOK(ecode2
)) { 
6758     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'"); 
6760   arg2 
= static_cast< int >(val2
); 
6762     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6763     (arg1
)->SetStatusBarPane(arg2
); 
6764     wxPyEndAllowThreads(__tstate
); 
6765     if (PyErr_Occurred()) SWIG_fail
; 
6767   resultobj 
= SWIG_Py_Void(); 
6774 SWIGINTERN PyObject 
*_wrap_Frame_GetStatusBarPane(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6775   PyObject 
*resultobj 
= 0; 
6776   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6780   PyObject 
*swig_obj
[1] ; 
6782   if (!args
) SWIG_fail
; 
6784   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6785   if (!SWIG_IsOK(res1
)) { 
6786     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");  
6788   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6790     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6791     result 
= (int)((wxFrame 
const *)arg1
)->GetStatusBarPane(); 
6792     wxPyEndAllowThreads(__tstate
); 
6793     if (PyErr_Occurred()) SWIG_fail
; 
6795   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6802 SWIGINTERN PyObject 
*_wrap_Frame_CreateToolBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6803   PyObject 
*resultobj 
= 0; 
6804   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6805   long arg2 
= (long) -1 ; 
6806   int arg3 
= (int) -1 ; 
6807   wxString 
const &arg4_defvalue 
= wxPyToolBarNameStr 
; 
6808   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
6809   wxToolBar 
*result 
= 0 ; 
6816   bool temp4 
= false ; 
6817   PyObject 
* obj0 
= 0 ; 
6818   PyObject 
* obj1 
= 0 ; 
6819   PyObject 
* obj2 
= 0 ; 
6820   PyObject 
* obj3 
= 0 ; 
6821   char *  kwnames
[] = { 
6822     (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL 
 
6825   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
6826   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6827   if (!SWIG_IsOK(res1
)) { 
6828     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
6830   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6832     ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6833     if (!SWIG_IsOK(ecode2
)) { 
6834       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'"); 
6836     arg2 
= static_cast< long >(val2
); 
6839     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6840     if (!SWIG_IsOK(ecode3
)) { 
6841       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'"); 
6843     arg3 
= static_cast< int >(val3
); 
6847       arg4 
= wxString_in_helper(obj3
); 
6848       if (arg4 
== NULL
) SWIG_fail
; 
6853     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6854     result 
= (wxToolBar 
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString 
const &)*arg4
); 
6855     wxPyEndAllowThreads(__tstate
); 
6856     if (PyErr_Occurred()) SWIG_fail
; 
6859     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
6875 SWIGINTERN PyObject 
*_wrap_Frame_GetToolBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6876   PyObject 
*resultobj 
= 0; 
6877   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6878   wxToolBar 
*result 
= 0 ; 
6881   PyObject 
*swig_obj
[1] ; 
6883   if (!args
) SWIG_fail
; 
6885   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6886   if (!SWIG_IsOK(res1
)) { 
6887     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");  
6889   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6891     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6892     result 
= (wxToolBar 
*)((wxFrame 
const *)arg1
)->GetToolBar(); 
6893     wxPyEndAllowThreads(__tstate
); 
6894     if (PyErr_Occurred()) SWIG_fail
; 
6897     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
6905 SWIGINTERN PyObject 
*_wrap_Frame_SetToolBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6906   PyObject 
*resultobj 
= 0; 
6907   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6908   wxToolBar 
*arg2 
= (wxToolBar 
*) 0 ; 
6913   PyObject 
* obj0 
= 0 ; 
6914   PyObject 
* obj1 
= 0 ; 
6915   char *  kwnames
[] = { 
6916     (char *) "self",(char *) "toolbar", NULL 
 
6919   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6920   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6921   if (!SWIG_IsOK(res1
)) { 
6922     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
6924   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6925   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 |  0 ); 
6926   if (!SWIG_IsOK(res2
)) { 
6927     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");  
6929   arg2 
= reinterpret_cast< wxToolBar 
* >(argp2
); 
6931     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6932     (arg1
)->SetToolBar(arg2
); 
6933     wxPyEndAllowThreads(__tstate
); 
6934     if (PyErr_Occurred()) SWIG_fail
; 
6936   resultobj 
= SWIG_Py_Void(); 
6943 SWIGINTERN PyObject 
*_wrap_Frame_DoGiveHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6944   PyObject 
*resultobj 
= 0; 
6945   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6946   wxString 
*arg2 
= 0 ; 
6950   bool temp2 
= false ; 
6953   PyObject 
* obj0 
= 0 ; 
6954   PyObject 
* obj1 
= 0 ; 
6955   PyObject 
* obj2 
= 0 ; 
6956   char *  kwnames
[] = { 
6957     (char *) "self",(char *) "text",(char *) "show", NULL 
 
6960   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6961   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6962   if (!SWIG_IsOK(res1
)) { 
6963     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");  
6965   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6967     arg2 
= wxString_in_helper(obj1
); 
6968     if (arg2 
== NULL
) SWIG_fail
; 
6971   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
6972   if (!SWIG_IsOK(ecode3
)) { 
6973     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'"); 
6975   arg3 
= static_cast< bool >(val3
); 
6977     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6978     (arg1
)->DoGiveHelp((wxString 
const &)*arg2
,arg3
); 
6979     wxPyEndAllowThreads(__tstate
); 
6980     if (PyErr_Occurred()) SWIG_fail
; 
6982   resultobj 
= SWIG_Py_Void(); 
6997 SWIGINTERN PyObject 
*_wrap_Frame_DoMenuUpdates(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6998   PyObject 
*resultobj 
= 0; 
6999   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
7000   wxMenu 
*arg2 
= (wxMenu 
*) NULL 
; 
7005   PyObject 
* obj0 
= 0 ; 
7006   PyObject 
* obj1 
= 0 ; 
7007   char *  kwnames
[] = { 
7008     (char *) "self",(char *) "menu", NULL 
 
7011   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7012   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
7013   if (!SWIG_IsOK(res1
)) { 
7014     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");  
7016   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
7018     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 |  0 ); 
7019     if (!SWIG_IsOK(res2
)) { 
7020       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");  
7022     arg2 
= reinterpret_cast< wxMenu 
* >(argp2
); 
7025     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7026     (arg1
)->DoMenuUpdates(arg2
); 
7027     wxPyEndAllowThreads(__tstate
); 
7028     if (PyErr_Occurred()) SWIG_fail
; 
7030   resultobj 
= SWIG_Py_Void(); 
7037 SWIGINTERN PyObject 
*_wrap_Frame_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7038   PyObject 
*resultobj 
= 0; 
7039   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
7040   SwigValueWrapper
<wxVisualAttributes 
> result
; 
7043   PyObject 
* obj0 
= 0 ; 
7044   char *  kwnames
[] = { 
7045     (char *) "variant", NULL 
 
7048   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
7050     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
7051     if (!SWIG_IsOK(ecode1
)) { 
7052       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
7054     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
7057     if (!wxPyCheckForApp()) SWIG_fail
; 
7058     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7059     result 
= wxFrame::GetClassDefaultAttributes(arg1
); 
7060     wxPyEndAllowThreads(__tstate
); 
7061     if (PyErr_Occurred()) SWIG_fail
; 
7063   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
7070 SWIGINTERN PyObject 
*Frame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7072   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7073   SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
)); 
7074   return SWIG_Py_Void(); 
7077 SWIGINTERN PyObject 
*Frame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7078   return SWIG_Python_InitShadowInstance(args
); 
7081 SWIGINTERN PyObject 
*_wrap_new_Dialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7082   PyObject 
*resultobj 
= 0; 
7083   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
7084   int arg2 
= (int) (int)-1 ; 
7085   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
7086   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
7087   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
7088   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
7089   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
7090   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
7091   long arg6 
= (long) wxDEFAULT_DIALOG_STYLE 
; 
7092   wxString 
const &arg7_defvalue 
= wxPyDialogNameStr 
; 
7093   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
7094   wxDialog 
*result 
= 0 ; 
7099   bool temp3 
= false ; 
7104   bool temp7 
= false ; 
7105   PyObject 
* obj0 
= 0 ; 
7106   PyObject 
* obj1 
= 0 ; 
7107   PyObject 
* obj2 
= 0 ; 
7108   PyObject 
* obj3 
= 0 ; 
7109   PyObject 
* obj4 
= 0 ; 
7110   PyObject 
* obj5 
= 0 ; 
7111   PyObject 
* obj6 
= 0 ; 
7112   char *  kwnames
[] = { 
7113     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
7116   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
7117   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
7118   if (!SWIG_IsOK(res1
)) { 
7119     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
7121   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
7123     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7124     if (!SWIG_IsOK(ecode2
)) { 
7125       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'"); 
7127     arg2 
= static_cast< int >(val2
); 
7131       arg3 
= wxString_in_helper(obj2
); 
7132       if (arg3 
== NULL
) SWIG_fail
; 
7139       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
7145       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
7149     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
7150     if (!SWIG_IsOK(ecode6
)) { 
7151       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'"); 
7153     arg6 
= static_cast< long >(val6
); 
7157       arg7 
= wxString_in_helper(obj6
); 
7158       if (arg7 
== NULL
) SWIG_fail
; 
7163     if (!wxPyCheckForApp()) SWIG_fail
; 
7164     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7165     result 
= (wxDialog 
*)new wxDialog(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
7166     wxPyEndAllowThreads(__tstate
); 
7167     if (PyErr_Occurred()) SWIG_fail
; 
7169   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW 
|  0 ); 
7192 SWIGINTERN PyObject 
*_wrap_new_PreDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7193   PyObject 
*resultobj 
= 0; 
7194   wxDialog 
*result 
= 0 ; 
7196   if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
; 
7198     if (!wxPyCheckForApp()) SWIG_fail
; 
7199     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7200     result 
= (wxDialog 
*)new wxDialog(); 
7201     wxPyEndAllowThreads(__tstate
); 
7202     if (PyErr_Occurred()) SWIG_fail
; 
7204   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN 
|  0 ); 
7211 SWIGINTERN PyObject 
*_wrap_Dialog_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7212   PyObject 
*resultobj 
= 0; 
7213   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7214   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
7215   int arg3 
= (int) (int)-1 ; 
7216   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
7217   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
7218   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
7219   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
7220   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
7221   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
7222   long arg7 
= (long) wxDEFAULT_DIALOG_STYLE 
; 
7223   wxString 
const &arg8_defvalue 
= wxPyDialogNameStr 
; 
7224   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
7232   bool temp4 
= false ; 
7237   bool temp8 
= false ; 
7238   PyObject 
* obj0 
= 0 ; 
7239   PyObject 
* obj1 
= 0 ; 
7240   PyObject 
* obj2 
= 0 ; 
7241   PyObject 
* obj3 
= 0 ; 
7242   PyObject 
* obj4 
= 0 ; 
7243   PyObject 
* obj5 
= 0 ; 
7244   PyObject 
* obj6 
= 0 ; 
7245   PyObject 
* obj7 
= 0 ; 
7246   char *  kwnames
[] = { 
7247     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
7250   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
7251   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7252   if (!SWIG_IsOK(res1
)) { 
7253     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");  
7255   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7256   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
7257   if (!SWIG_IsOK(res2
)) { 
7258     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
7260   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
7262     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7263     if (!SWIG_IsOK(ecode3
)) { 
7264       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'"); 
7266     arg3 
= static_cast< int >(val3
); 
7270       arg4 
= wxString_in_helper(obj3
); 
7271       if (arg4 
== NULL
) SWIG_fail
; 
7278       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
7284       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
7288     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
7289     if (!SWIG_IsOK(ecode7
)) { 
7290       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'"); 
7292     arg7 
= static_cast< long >(val7
); 
7296       arg8 
= wxString_in_helper(obj7
); 
7297       if (arg8 
== NULL
) SWIG_fail
; 
7302     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7303     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
7304     wxPyEndAllowThreads(__tstate
); 
7305     if (PyErr_Occurred()) SWIG_fail
; 
7308     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7332 SWIGINTERN PyObject 
*_wrap_Dialog_SetReturnCode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7333   PyObject 
*resultobj 
= 0; 
7334   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7340   PyObject 
* obj0 
= 0 ; 
7341   PyObject 
* obj1 
= 0 ; 
7342   char *  kwnames
[] = { 
7343     (char *) "self",(char *) "returnCode", NULL 
 
7346   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7347   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7348   if (!SWIG_IsOK(res1
)) { 
7349     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");  
7351   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7352   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7353   if (!SWIG_IsOK(ecode2
)) { 
7354     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'"); 
7356   arg2 
= static_cast< int >(val2
); 
7358     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7359     (arg1
)->SetReturnCode(arg2
); 
7360     wxPyEndAllowThreads(__tstate
); 
7361     if (PyErr_Occurred()) SWIG_fail
; 
7363   resultobj 
= SWIG_Py_Void(); 
7370 SWIGINTERN PyObject 
*_wrap_Dialog_GetReturnCode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7371   PyObject 
*resultobj 
= 0; 
7372   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7376   PyObject 
*swig_obj
[1] ; 
7378   if (!args
) SWIG_fail
; 
7380   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7381   if (!SWIG_IsOK(res1
)) { 
7382     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");  
7384   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7386     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7387     result 
= (int)((wxDialog 
const *)arg1
)->GetReturnCode(); 
7388     wxPyEndAllowThreads(__tstate
); 
7389     if (PyErr_Occurred()) SWIG_fail
; 
7391   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7398 SWIGINTERN PyObject 
*_wrap_Dialog_SetAffirmativeId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7399   PyObject 
*resultobj 
= 0; 
7400   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7406   PyObject 
* obj0 
= 0 ; 
7407   PyObject 
* obj1 
= 0 ; 
7408   char *  kwnames
[] = { 
7409     (char *) "self",(char *) "affirmativeId", NULL 
 
7412   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7413   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7414   if (!SWIG_IsOK(res1
)) { 
7415     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");  
7417   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7418   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7419   if (!SWIG_IsOK(ecode2
)) { 
7420     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'"); 
7422   arg2 
= static_cast< int >(val2
); 
7424     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7425     (arg1
)->SetAffirmativeId(arg2
); 
7426     wxPyEndAllowThreads(__tstate
); 
7427     if (PyErr_Occurred()) SWIG_fail
; 
7429   resultobj 
= SWIG_Py_Void(); 
7436 SWIGINTERN PyObject 
*_wrap_Dialog_GetAffirmativeId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7437   PyObject 
*resultobj 
= 0; 
7438   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7442   PyObject 
*swig_obj
[1] ; 
7444   if (!args
) SWIG_fail
; 
7446   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7447   if (!SWIG_IsOK(res1
)) { 
7448     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");  
7450   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7452     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7453     result 
= (int)((wxDialog 
const *)arg1
)->GetAffirmativeId(); 
7454     wxPyEndAllowThreads(__tstate
); 
7455     if (PyErr_Occurred()) SWIG_fail
; 
7457   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7464 SWIGINTERN PyObject 
*_wrap_Dialog_SetEscapeId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7465   PyObject 
*resultobj 
= 0; 
7466   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7472   PyObject 
* obj0 
= 0 ; 
7473   PyObject 
* obj1 
= 0 ; 
7474   char *  kwnames
[] = { 
7475     (char *) "self",(char *) "escapeId", NULL 
 
7478   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7479   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7480   if (!SWIG_IsOK(res1
)) { 
7481     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");  
7483   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7484   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7485   if (!SWIG_IsOK(ecode2
)) { 
7486     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'"); 
7488   arg2 
= static_cast< int >(val2
); 
7490     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7491     (arg1
)->SetEscapeId(arg2
); 
7492     wxPyEndAllowThreads(__tstate
); 
7493     if (PyErr_Occurred()) SWIG_fail
; 
7495   resultobj 
= SWIG_Py_Void(); 
7502 SWIGINTERN PyObject 
*_wrap_Dialog_GetEscapeId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7503   PyObject 
*resultobj 
= 0; 
7504   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7508   PyObject 
*swig_obj
[1] ; 
7510   if (!args
) SWIG_fail
; 
7512   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7513   if (!SWIG_IsOK(res1
)) { 
7514     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");  
7516   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7518     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7519     result 
= (int)((wxDialog 
const *)arg1
)->GetEscapeId(); 
7520     wxPyEndAllowThreads(__tstate
); 
7521     if (PyErr_Occurred()) SWIG_fail
; 
7523   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7530 SWIGINTERN PyObject 
*_wrap_Dialog_CreateTextSizer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7531   PyObject 
*resultobj 
= 0; 
7532   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7533   wxString 
*arg2 
= 0 ; 
7534   wxSizer 
*result 
= 0 ; 
7537   bool temp2 
= false ; 
7538   PyObject 
* obj0 
= 0 ; 
7539   PyObject 
* obj1 
= 0 ; 
7540   char *  kwnames
[] = { 
7541     (char *) "self",(char *) "message", NULL 
 
7544   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7545   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7546   if (!SWIG_IsOK(res1
)) { 
7547     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");  
7549   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7551     arg2 
= wxString_in_helper(obj1
); 
7552     if (arg2 
== NULL
) SWIG_fail
; 
7556     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7557     result 
= (wxSizer 
*)(arg1
)->CreateTextSizer((wxString 
const &)*arg2
); 
7558     wxPyEndAllowThreads(__tstate
); 
7559     if (PyErr_Occurred()) SWIG_fail
; 
7562     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
7578 SWIGINTERN PyObject 
*_wrap_Dialog_CreateButtonSizer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7579   PyObject 
*resultobj 
= 0; 
7580   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7582   bool arg3 
= (bool) false ; 
7583   int arg4 
= (int) 0 ; 
7584   wxSizer 
*result 
= 0 ; 
7593   PyObject 
* obj0 
= 0 ; 
7594   PyObject 
* obj1 
= 0 ; 
7595   PyObject 
* obj2 
= 0 ; 
7596   PyObject 
* obj3 
= 0 ; 
7597   char *  kwnames
[] = { 
7598     (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL 
 
7601   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7602   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7603   if (!SWIG_IsOK(res1
)) { 
7604     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");  
7606   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7607   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7608   if (!SWIG_IsOK(ecode2
)) { 
7609     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'"); 
7611   arg2 
= static_cast< long >(val2
); 
7613     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
7614     if (!SWIG_IsOK(ecode3
)) { 
7615       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'"); 
7617     arg3 
= static_cast< bool >(val3
); 
7620     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7621     if (!SWIG_IsOK(ecode4
)) { 
7622       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'"); 
7624     arg4 
= static_cast< int >(val4
); 
7627     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7628     result 
= (wxSizer 
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
); 
7629     wxPyEndAllowThreads(__tstate
); 
7630     if (PyErr_Occurred()) SWIG_fail
; 
7633     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
7641 SWIGINTERN PyObject 
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7642   PyObject 
*resultobj 
= 0; 
7643   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7645   wxStdDialogButtonSizer 
*result 
= 0 ; 
7650   PyObject 
* obj0 
= 0 ; 
7651   PyObject 
* obj1 
= 0 ; 
7652   char *  kwnames
[] = { 
7653     (char *) "self",(char *) "flags", NULL 
 
7656   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7657   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7658   if (!SWIG_IsOK(res1
)) { 
7659     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");  
7661   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7662   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7663   if (!SWIG_IsOK(ecode2
)) { 
7664     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'"); 
7666   arg2 
= static_cast< long >(val2
); 
7668     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7669     result 
= (wxStdDialogButtonSizer 
*)(arg1
)->CreateStdDialogButtonSizer(arg2
); 
7670     wxPyEndAllowThreads(__tstate
); 
7671     if (PyErr_Occurred()) SWIG_fail
; 
7673   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 |  0 ); 
7680 SWIGINTERN PyObject 
*_wrap_Dialog_IsModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7681   PyObject 
*resultobj 
= 0; 
7682   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7686   PyObject 
*swig_obj
[1] ; 
7688   if (!args
) SWIG_fail
; 
7690   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7691   if (!SWIG_IsOK(res1
)) { 
7692     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");  
7694   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7696     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7697     result 
= (bool)((wxDialog 
const *)arg1
)->IsModal(); 
7698     wxPyEndAllowThreads(__tstate
); 
7699     if (PyErr_Occurred()) SWIG_fail
; 
7702     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7710 SWIGINTERN PyObject 
*_wrap_Dialog_ShowModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7711   PyObject 
*resultobj 
= 0; 
7712   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7716   PyObject 
*swig_obj
[1] ; 
7718   if (!args
) SWIG_fail
; 
7720   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7721   if (!SWIG_IsOK(res1
)) { 
7722     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");  
7724   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7726     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7727     result 
= (int)(arg1
)->ShowModal(); 
7728     wxPyEndAllowThreads(__tstate
); 
7729     if (PyErr_Occurred()) SWIG_fail
; 
7731   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7738 SWIGINTERN PyObject 
*_wrap_Dialog_EndModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7739   PyObject 
*resultobj 
= 0; 
7740   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7746   PyObject 
* obj0 
= 0 ; 
7747   PyObject 
* obj1 
= 0 ; 
7748   char *  kwnames
[] = { 
7749     (char *) "self",(char *) "retCode", NULL 
 
7752   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7753   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7754   if (!SWIG_IsOK(res1
)) { 
7755     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");  
7757   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7758   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7759   if (!SWIG_IsOK(ecode2
)) { 
7760     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'"); 
7762   arg2 
= static_cast< int >(val2
); 
7764     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7765     (arg1
)->EndModal(arg2
); 
7766     wxPyEndAllowThreads(__tstate
); 
7767     if (PyErr_Occurred()) SWIG_fail
; 
7769   resultobj 
= SWIG_Py_Void(); 
7776 SWIGINTERN PyObject 
*_wrap_Dialog_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7777   PyObject 
*resultobj 
= 0; 
7778   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
7779   SwigValueWrapper
<wxVisualAttributes 
> result
; 
7782   PyObject 
* obj0 
= 0 ; 
7783   char *  kwnames
[] = { 
7784     (char *) "variant", NULL 
 
7787   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
7789     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
7790     if (!SWIG_IsOK(ecode1
)) { 
7791       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
7793     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
7796     if (!wxPyCheckForApp()) SWIG_fail
; 
7797     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7798     result 
= wxDialog::GetClassDefaultAttributes(arg1
); 
7799     wxPyEndAllowThreads(__tstate
); 
7800     if (PyErr_Occurred()) SWIG_fail
; 
7802   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
7809 SWIGINTERN PyObject 
*Dialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7811   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7812   SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
)); 
7813   return SWIG_Py_Void(); 
7816 SWIGINTERN PyObject 
*Dialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7817   return SWIG_Python_InitShadowInstance(args
); 
7820 SWIGINTERN PyObject 
*_wrap_new_MiniFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7821   PyObject 
*resultobj 
= 0; 
7822   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
7823   int arg2 
= (int) (int)-1 ; 
7824   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
7825   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
7826   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
7827   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
7828   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
7829   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
7830   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
7831   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
7832   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
7833   wxMiniFrame 
*result 
= 0 ; 
7838   bool temp3 
= false ; 
7843   bool temp7 
= false ; 
7844   PyObject 
* obj0 
= 0 ; 
7845   PyObject 
* obj1 
= 0 ; 
7846   PyObject 
* obj2 
= 0 ; 
7847   PyObject 
* obj3 
= 0 ; 
7848   PyObject 
* obj4 
= 0 ; 
7849   PyObject 
* obj5 
= 0 ; 
7850   PyObject 
* obj6 
= 0 ; 
7851   char *  kwnames
[] = { 
7852     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
7855   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
7856   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
7857   if (!SWIG_IsOK(res1
)) { 
7858     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");  
7860   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
7862     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7863     if (!SWIG_IsOK(ecode2
)) { 
7864       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'"); 
7866     arg2 
= static_cast< int >(val2
); 
7870       arg3 
= wxString_in_helper(obj2
); 
7871       if (arg3 
== NULL
) SWIG_fail
; 
7878       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
7884       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
7888     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
7889     if (!SWIG_IsOK(ecode6
)) { 
7890       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'"); 
7892     arg6 
= static_cast< long >(val6
); 
7896       arg7 
= wxString_in_helper(obj6
); 
7897       if (arg7 
== NULL
) SWIG_fail
; 
7902     if (!wxPyCheckForApp()) SWIG_fail
; 
7903     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7904     result 
= (wxMiniFrame 
*)new wxMiniFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
7905     wxPyEndAllowThreads(__tstate
); 
7906     if (PyErr_Occurred()) SWIG_fail
; 
7908   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW 
|  0 ); 
7931 SWIGINTERN PyObject 
*_wrap_new_PreMiniFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7932   PyObject 
*resultobj 
= 0; 
7933   wxMiniFrame 
*result 
= 0 ; 
7935   if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
; 
7937     if (!wxPyCheckForApp()) SWIG_fail
; 
7938     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7939     result 
= (wxMiniFrame 
*)new wxMiniFrame(); 
7940     wxPyEndAllowThreads(__tstate
); 
7941     if (PyErr_Occurred()) SWIG_fail
; 
7943   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN 
|  0 ); 
7950 SWIGINTERN PyObject 
*_wrap_MiniFrame_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7951   PyObject 
*resultobj 
= 0; 
7952   wxMiniFrame 
*arg1 
= (wxMiniFrame 
*) 0 ; 
7953   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
7954   int arg3 
= (int) (int)-1 ; 
7955   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
7956   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
7957   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
7958   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
7959   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
7960   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
7961   long arg7 
= (long) wxDEFAULT_FRAME_STYLE 
; 
7962   wxString 
const &arg8_defvalue 
= wxPyFrameNameStr 
; 
7963   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
7971   bool temp4 
= false ; 
7976   bool temp8 
= false ; 
7977   PyObject 
* obj0 
= 0 ; 
7978   PyObject 
* obj1 
= 0 ; 
7979   PyObject 
* obj2 
= 0 ; 
7980   PyObject 
* obj3 
= 0 ; 
7981   PyObject 
* obj4 
= 0 ; 
7982   PyObject 
* obj5 
= 0 ; 
7983   PyObject 
* obj6 
= 0 ; 
7984   PyObject 
* obj7 
= 0 ; 
7985   char *  kwnames
[] = { 
7986     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
7989   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
7990   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 |  0 ); 
7991   if (!SWIG_IsOK(res1
)) { 
7992     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");  
7994   arg1 
= reinterpret_cast< wxMiniFrame 
* >(argp1
); 
7995   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
7996   if (!SWIG_IsOK(res2
)) { 
7997     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
7999   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
8001     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8002     if (!SWIG_IsOK(ecode3
)) { 
8003       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'"); 
8005     arg3 
= static_cast< int >(val3
); 
8009       arg4 
= wxString_in_helper(obj3
); 
8010       if (arg4 
== NULL
) SWIG_fail
; 
8017       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
8023       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
8027     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
8028     if (!SWIG_IsOK(ecode7
)) { 
8029       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'"); 
8031     arg7 
= static_cast< long >(val7
); 
8035       arg8 
= wxString_in_helper(obj7
); 
8036       if (arg8 
== NULL
) SWIG_fail
; 
8041     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8042     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
8043     wxPyEndAllowThreads(__tstate
); 
8044     if (PyErr_Occurred()) SWIG_fail
; 
8047     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8071 SWIGINTERN PyObject 
*MiniFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8073   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
8074   SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
)); 
8075   return SWIG_Py_Void(); 
8078 SWIGINTERN PyObject 
*MiniFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8079   return SWIG_Python_InitShadowInstance(args
); 
8082 SWIGINTERN PyObject 
*_wrap_new_SplashScreenWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8083   PyObject 
*resultobj 
= 0; 
8084   wxBitmap 
*arg1 
= 0 ; 
8085   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
8087   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
8088   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
8089   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
8090   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
8091   long arg6 
= (long) wxNO_BORDER 
; 
8092   wxSplashScreenWindow 
*result 
= 0 ; 
8103   PyObject 
* obj0 
= 0 ; 
8104   PyObject 
* obj1 
= 0 ; 
8105   PyObject 
* obj2 
= 0 ; 
8106   PyObject 
* obj3 
= 0 ; 
8107   PyObject 
* obj4 
= 0 ; 
8108   PyObject 
* obj5 
= 0 ; 
8109   char *  kwnames
[] = { 
8110     (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
8113   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
8114   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8115   if (!SWIG_IsOK(res1
)) { 
8116     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8119     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8121   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
8122   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8123   if (!SWIG_IsOK(res2
)) { 
8124     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
8126   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
8127   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8128   if (!SWIG_IsOK(ecode3
)) { 
8129     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'"); 
8131   arg3 
= static_cast< int >(val3
); 
8135       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
8141       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
8145     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
8146     if (!SWIG_IsOK(ecode6
)) { 
8147       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'"); 
8149     arg6 
= static_cast< long >(val6
); 
8152     if (!wxPyCheckForApp()) SWIG_fail
; 
8153     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8154     result 
= (wxSplashScreenWindow 
*)new wxSplashScreenWindow((wxBitmap 
const &)*arg1
,arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
); 
8155     wxPyEndAllowThreads(__tstate
); 
8156     if (PyErr_Occurred()) SWIG_fail
; 
8158   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW 
|  0 ); 
8165 SWIGINTERN PyObject 
*_wrap_SplashScreenWindow_SetBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8166   PyObject 
*resultobj 
= 0; 
8167   wxSplashScreenWindow 
*arg1 
= (wxSplashScreenWindow 
*) 0 ; 
8168   wxBitmap 
*arg2 
= 0 ; 
8173   PyObject 
* obj0 
= 0 ; 
8174   PyObject 
* obj1 
= 0 ; 
8175   char *  kwnames
[] = { 
8176     (char *) "self",(char *) "bitmap", NULL 
 
8179   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8180   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 |  0 ); 
8181   if (!SWIG_IsOK(res1
)) { 
8182     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");  
8184   arg1 
= reinterpret_cast< wxSplashScreenWindow 
* >(argp1
); 
8185   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8186   if (!SWIG_IsOK(res2
)) { 
8187     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8190     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8192   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
8194     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8195     (arg1
)->SetBitmap((wxBitmap 
const &)*arg2
); 
8196     wxPyEndAllowThreads(__tstate
); 
8197     if (PyErr_Occurred()) SWIG_fail
; 
8199   resultobj 
= SWIG_Py_Void(); 
8206 SWIGINTERN PyObject 
*_wrap_SplashScreenWindow_GetBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8207   PyObject 
*resultobj 
= 0; 
8208   wxSplashScreenWindow 
*arg1 
= (wxSplashScreenWindow 
*) 0 ; 
8209   wxBitmap 
*result 
= 0 ; 
8212   PyObject 
*swig_obj
[1] ; 
8214   if (!args
) SWIG_fail
; 
8216   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 |  0 ); 
8217   if (!SWIG_IsOK(res1
)) { 
8218     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");  
8220   arg1 
= reinterpret_cast< wxSplashScreenWindow 
* >(argp1
); 
8222     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8224       wxBitmap 
&_result_ref 
= (arg1
)->GetBitmap(); 
8225       result 
= (wxBitmap 
*) &_result_ref
; 
8227     wxPyEndAllowThreads(__tstate
); 
8228     if (PyErr_Occurred()) SWIG_fail
; 
8231     wxBitmap
* resultptr 
= new wxBitmap(*result
); 
8232     resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
8240 SWIGINTERN PyObject 
*SplashScreenWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8242   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
8243   SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
)); 
8244   return SWIG_Py_Void(); 
8247 SWIGINTERN PyObject 
*SplashScreenWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8248   return SWIG_Python_InitShadowInstance(args
); 
8251 SWIGINTERN PyObject 
*_wrap_new_SplashScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8252   PyObject 
*resultobj 
= 0; 
8253   wxBitmap 
*arg1 
= 0 ; 
8256   wxWindow 
*arg4 
= (wxWindow 
*) 0 ; 
8257   int arg5 
= (int) -1 ; 
8258   wxPoint 
const &arg6_defvalue 
= wxDefaultPosition 
; 
8259   wxPoint 
*arg6 
= (wxPoint 
*) &arg6_defvalue 
; 
8260   wxSize 
const &arg7_defvalue 
= wxDefaultSize 
; 
8261   wxSize 
*arg7 
= (wxSize 
*) &arg7_defvalue 
; 
8262   long arg8 
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP 
; 
8263   wxSplashScreen 
*result 
= 0 ; 
8278   PyObject 
* obj0 
= 0 ; 
8279   PyObject 
* obj1 
= 0 ; 
8280   PyObject 
* obj2 
= 0 ; 
8281   PyObject 
* obj3 
= 0 ; 
8282   PyObject 
* obj4 
= 0 ; 
8283   PyObject 
* obj5 
= 0 ; 
8284   PyObject 
* obj6 
= 0 ; 
8285   PyObject 
* obj7 
= 0 ; 
8286   char *  kwnames
[] = { 
8287     (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
8290   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
8291   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8292   if (!SWIG_IsOK(res1
)) { 
8293     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8296     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8298   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
8299   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
8300   if (!SWIG_IsOK(ecode2
)) { 
8301     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'"); 
8303   arg2 
= static_cast< long >(val2
); 
8304   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8305   if (!SWIG_IsOK(ecode3
)) { 
8306     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'"); 
8308   arg3 
= static_cast< int >(val3
); 
8309   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8310   if (!SWIG_IsOK(res4
)) { 
8311     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");  
8313   arg4 
= reinterpret_cast< wxWindow 
* >(argp4
); 
8315     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
8316     if (!SWIG_IsOK(ecode5
)) { 
8317       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'"); 
8319     arg5 
= static_cast< int >(val5
); 
8324       if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
; 
8330       if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
; 
8334     ecode8 
= SWIG_AsVal_long(obj7
, &val8
); 
8335     if (!SWIG_IsOK(ecode8
)) { 
8336       SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'"); 
8338     arg8 
= static_cast< long >(val8
); 
8341     if (!wxPyCheckForApp()) SWIG_fail
; 
8342     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8343     result 
= (wxSplashScreen 
*)new wxSplashScreen((wxBitmap 
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint 
const &)*arg6
,(wxSize 
const &)*arg7
,arg8
); 
8344     wxPyEndAllowThreads(__tstate
); 
8345     if (PyErr_Occurred()) SWIG_fail
; 
8347   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW 
|  0 ); 
8354 SWIGINTERN PyObject 
*_wrap_SplashScreen_GetSplashStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8355   PyObject 
*resultobj 
= 0; 
8356   wxSplashScreen 
*arg1 
= (wxSplashScreen 
*) 0 ; 
8360   PyObject 
*swig_obj
[1] ; 
8362   if (!args
) SWIG_fail
; 
8364   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 |  0 ); 
8365   if (!SWIG_IsOK(res1
)) { 
8366     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");  
8368   arg1 
= reinterpret_cast< wxSplashScreen 
* >(argp1
); 
8370     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8371     result 
= (long)((wxSplashScreen 
const *)arg1
)->GetSplashStyle(); 
8372     wxPyEndAllowThreads(__tstate
); 
8373     if (PyErr_Occurred()) SWIG_fail
; 
8375   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
8382 SWIGINTERN PyObject 
*_wrap_SplashScreen_GetSplashWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8383   PyObject 
*resultobj 
= 0; 
8384   wxSplashScreen 
*arg1 
= (wxSplashScreen 
*) 0 ; 
8385   wxSplashScreenWindow 
*result 
= 0 ; 
8388   PyObject 
*swig_obj
[1] ; 
8390   if (!args
) SWIG_fail
; 
8392   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 |  0 ); 
8393   if (!SWIG_IsOK(res1
)) { 
8394     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");  
8396   arg1 
= reinterpret_cast< wxSplashScreen 
* >(argp1
); 
8398     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8399     result 
= (wxSplashScreenWindow 
*)((wxSplashScreen 
const *)arg1
)->GetSplashWindow(); 
8400     wxPyEndAllowThreads(__tstate
); 
8401     if (PyErr_Occurred()) SWIG_fail
; 
8403   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 |  0 ); 
8410 SWIGINTERN PyObject 
*_wrap_SplashScreen_GetTimeout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8411   PyObject 
*resultobj 
= 0; 
8412   wxSplashScreen 
*arg1 
= (wxSplashScreen 
*) 0 ; 
8416   PyObject 
*swig_obj
[1] ; 
8418   if (!args
) SWIG_fail
; 
8420   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 |  0 ); 
8421   if (!SWIG_IsOK(res1
)) { 
8422     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");  
8424   arg1 
= reinterpret_cast< wxSplashScreen 
* >(argp1
); 
8426     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8427     result 
= (int)((wxSplashScreen 
const *)arg1
)->GetTimeout(); 
8428     wxPyEndAllowThreads(__tstate
); 
8429     if (PyErr_Occurred()) SWIG_fail
; 
8431   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
8438 SWIGINTERN PyObject 
*SplashScreen_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8440   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
8441   SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
)); 
8442   return SWIG_Py_Void(); 
8445 SWIGINTERN PyObject 
*SplashScreen_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8446   return SWIG_Python_InitShadowInstance(args
); 
8449 SWIGINTERN PyObject 
*_wrap_new_StatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8450   PyObject 
*resultobj 
= 0; 
8451   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
8452   int arg2 
= (int) -1 ; 
8453   long arg3 
= (long) wxDEFAULT_STATUSBAR_STYLE 
; 
8454   wxString 
const &arg4_defvalue 
= wxPyStatusLineNameStr 
; 
8455   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
8456   wxStatusBar 
*result 
= 0 ; 
8463   bool temp4 
= false ; 
8464   PyObject 
* obj0 
= 0 ; 
8465   PyObject 
* obj1 
= 0 ; 
8466   PyObject 
* obj2 
= 0 ; 
8467   PyObject 
* obj3 
= 0 ; 
8468   char *  kwnames
[] = { 
8469     (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL 
 
8472   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8473   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8474   if (!SWIG_IsOK(res1
)) { 
8475     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");  
8477   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
8479     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8480     if (!SWIG_IsOK(ecode2
)) { 
8481       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'"); 
8483     arg2 
= static_cast< int >(val2
); 
8486     ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
8487     if (!SWIG_IsOK(ecode3
)) { 
8488       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'"); 
8490     arg3 
= static_cast< long >(val3
); 
8494       arg4 
= wxString_in_helper(obj3
); 
8495       if (arg4 
== NULL
) SWIG_fail
; 
8500     if (!wxPyCheckForApp()) SWIG_fail
; 
8501     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8502     result 
= (wxStatusBar 
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString 
const &)*arg4
); 
8503     wxPyEndAllowThreads(__tstate
); 
8504     if (PyErr_Occurred()) SWIG_fail
; 
8506   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW 
|  0 ); 
8521 SWIGINTERN PyObject 
*_wrap_new_PreStatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8522   PyObject 
*resultobj 
= 0; 
8523   wxStatusBar 
*result 
= 0 ; 
8525   if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
; 
8527     if (!wxPyCheckForApp()) SWIG_fail
; 
8528     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8529     result 
= (wxStatusBar 
*)new wxStatusBar(); 
8530     wxPyEndAllowThreads(__tstate
); 
8531     if (PyErr_Occurred()) SWIG_fail
; 
8533   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN 
|  0 ); 
8540 SWIGINTERN PyObject 
*_wrap_StatusBar_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8541   PyObject 
*resultobj 
= 0; 
8542   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8543   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
8544   int arg3 
= (int) -1 ; 
8545   long arg4 
= (long) wxST_SIZEGRIP 
; 
8546   wxString 
const &arg5_defvalue 
= wxPyStatusLineNameStr 
; 
8547   wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
8557   bool temp5 
= false ; 
8558   PyObject 
* obj0 
= 0 ; 
8559   PyObject 
* obj1 
= 0 ; 
8560   PyObject 
* obj2 
= 0 ; 
8561   PyObject 
* obj3 
= 0 ; 
8562   PyObject 
* obj4 
= 0 ; 
8563   char *  kwnames
[] = { 
8564     (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL 
 
8567   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
8568   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8569   if (!SWIG_IsOK(res1
)) { 
8570     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8572   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8573   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8574   if (!SWIG_IsOK(res2
)) { 
8575     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
8577   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
8579     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8580     if (!SWIG_IsOK(ecode3
)) { 
8581       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'"); 
8583     arg3 
= static_cast< int >(val3
); 
8586     ecode4 
= SWIG_AsVal_long(obj3
, &val4
); 
8587     if (!SWIG_IsOK(ecode4
)) { 
8588       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'"); 
8590     arg4 
= static_cast< long >(val4
); 
8594       arg5 
= wxString_in_helper(obj4
); 
8595       if (arg5 
== NULL
) SWIG_fail
; 
8600     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8601     result 
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString 
const &)*arg5
); 
8602     wxPyEndAllowThreads(__tstate
); 
8603     if (PyErr_Occurred()) SWIG_fail
; 
8606     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8622 SWIGINTERN PyObject 
*_wrap_StatusBar_SetFieldsCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8623   PyObject 
*resultobj 
= 0; 
8624   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8625   int arg2 
= (int) 1 ; 
8630   PyObject 
* obj0 
= 0 ; 
8631   PyObject 
* obj1 
= 0 ; 
8632   char *  kwnames
[] = { 
8633     (char *) "self",(char *) "number", NULL 
 
8636   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8637   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8638   if (!SWIG_IsOK(res1
)) { 
8639     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8641   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8643     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8644     if (!SWIG_IsOK(ecode2
)) { 
8645       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'"); 
8647     arg2 
= static_cast< int >(val2
); 
8650     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8651     (arg1
)->SetFieldsCount(arg2
); 
8652     wxPyEndAllowThreads(__tstate
); 
8653     if (PyErr_Occurred()) SWIG_fail
; 
8655   resultobj 
= SWIG_Py_Void(); 
8662 SWIGINTERN PyObject 
*_wrap_StatusBar_GetFieldsCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8663   PyObject 
*resultobj 
= 0; 
8664   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8668   PyObject 
*swig_obj
[1] ; 
8670   if (!args
) SWIG_fail
; 
8672   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8673   if (!SWIG_IsOK(res1
)) { 
8674     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");  
8676   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8678     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8679     result 
= (int)((wxStatusBar 
const *)arg1
)->GetFieldsCount(); 
8680     wxPyEndAllowThreads(__tstate
); 
8681     if (PyErr_Occurred()) SWIG_fail
; 
8683   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
8690 SWIGINTERN PyObject 
*_wrap_StatusBar_SetStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8691   PyObject 
*resultobj 
= 0; 
8692   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8693   wxString 
*arg2 
= 0 ; 
8694   int arg3 
= (int) 0 ; 
8697   bool temp2 
= false ; 
8700   PyObject 
* obj0 
= 0 ; 
8701   PyObject 
* obj1 
= 0 ; 
8702   PyObject 
* obj2 
= 0 ; 
8703   char *  kwnames
[] = { 
8704     (char *) "self",(char *) "text",(char *) "number", NULL 
 
8707   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8708   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8709   if (!SWIG_IsOK(res1
)) { 
8710     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8712   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8714     arg2 
= wxString_in_helper(obj1
); 
8715     if (arg2 
== NULL
) SWIG_fail
; 
8719     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8720     if (!SWIG_IsOK(ecode3
)) { 
8721       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'"); 
8723     arg3 
= static_cast< int >(val3
); 
8726     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8727     (arg1
)->SetStatusText((wxString 
const &)*arg2
,arg3
); 
8728     wxPyEndAllowThreads(__tstate
); 
8729     if (PyErr_Occurred()) SWIG_fail
; 
8731   resultobj 
= SWIG_Py_Void(); 
8746 SWIGINTERN PyObject 
*_wrap_StatusBar_GetStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8747   PyObject 
*resultobj 
= 0; 
8748   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8749   int arg2 
= (int) 0 ; 
8755   PyObject 
* obj0 
= 0 ; 
8756   PyObject 
* obj1 
= 0 ; 
8757   char *  kwnames
[] = { 
8758     (char *) "self",(char *) "number", NULL 
 
8761   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8762   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8763   if (!SWIG_IsOK(res1
)) { 
8764     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");  
8766   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8768     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8769     if (!SWIG_IsOK(ecode2
)) { 
8770       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'"); 
8772     arg2 
= static_cast< int >(val2
); 
8775     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8776     result 
= ((wxStatusBar 
const *)arg1
)->GetStatusText(arg2
); 
8777     wxPyEndAllowThreads(__tstate
); 
8778     if (PyErr_Occurred()) SWIG_fail
; 
8782     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8784     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8793 SWIGINTERN PyObject 
*_wrap_StatusBar_PushStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8794   PyObject 
*resultobj 
= 0; 
8795   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8796   wxString 
*arg2 
= 0 ; 
8797   int arg3 
= (int) 0 ; 
8800   bool temp2 
= false ; 
8803   PyObject 
* obj0 
= 0 ; 
8804   PyObject 
* obj1 
= 0 ; 
8805   PyObject 
* obj2 
= 0 ; 
8806   char *  kwnames
[] = { 
8807     (char *) "self",(char *) "text",(char *) "number", NULL 
 
8810   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8811   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8812   if (!SWIG_IsOK(res1
)) { 
8813     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8815   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8817     arg2 
= wxString_in_helper(obj1
); 
8818     if (arg2 
== NULL
) SWIG_fail
; 
8822     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8823     if (!SWIG_IsOK(ecode3
)) { 
8824       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'"); 
8826     arg3 
= static_cast< int >(val3
); 
8829     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8830     (arg1
)->PushStatusText((wxString 
const &)*arg2
,arg3
); 
8831     wxPyEndAllowThreads(__tstate
); 
8832     if (PyErr_Occurred()) SWIG_fail
; 
8834   resultobj 
= SWIG_Py_Void(); 
8849 SWIGINTERN PyObject 
*_wrap_StatusBar_PopStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8850   PyObject 
*resultobj 
= 0; 
8851   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8852   int arg2 
= (int) 0 ; 
8857   PyObject 
* obj0 
= 0 ; 
8858   PyObject 
* obj1 
= 0 ; 
8859   char *  kwnames
[] = { 
8860     (char *) "self",(char *) "number", NULL 
 
8863   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8864   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8865   if (!SWIG_IsOK(res1
)) { 
8866     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8868   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8870     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8871     if (!SWIG_IsOK(ecode2
)) { 
8872       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'"); 
8874     arg2 
= static_cast< int >(val2
); 
8877     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8878     (arg1
)->PopStatusText(arg2
); 
8879     wxPyEndAllowThreads(__tstate
); 
8880     if (PyErr_Occurred()) SWIG_fail
; 
8882   resultobj 
= SWIG_Py_Void(); 
8889 SWIGINTERN PyObject 
*_wrap_StatusBar_SetStatusWidths(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8890   PyObject 
*resultobj 
= 0; 
8891   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8893   int *arg3 
= (int *) 0 ; 
8896   PyObject 
* obj0 
= 0 ; 
8897   PyObject 
* obj1 
= 0 ; 
8898   char *  kwnames
[] = { 
8899     (char *) "self",(char *) "widths", NULL 
 
8902   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8903   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8904   if (!SWIG_IsOK(res1
)) { 
8905     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8907   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8909     arg2 
= PyList_Size(obj1
); 
8910     arg3 
=  int_LIST_helper(obj1
); 
8911     if (arg3 
== NULL
) SWIG_fail
; 
8914     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8915     (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
); 
8916     wxPyEndAllowThreads(__tstate
); 
8917     if (PyErr_Occurred()) SWIG_fail
; 
8919   resultobj 
= SWIG_Py_Void(); 
8921     if (arg3
) delete [] arg3
; 
8926     if (arg3
) delete [] arg3
; 
8932 SWIGINTERN PyObject 
*_wrap_StatusBar_SetStatusStyles(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8933   PyObject 
*resultobj 
= 0; 
8934   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8936   int *arg3 
= (int *) 0 ; 
8939   PyObject 
* obj0 
= 0 ; 
8940   PyObject 
* obj1 
= 0 ; 
8941   char *  kwnames
[] = { 
8942     (char *) "self",(char *) "styles", NULL 
 
8945   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8946   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8947   if (!SWIG_IsOK(res1
)) { 
8948     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8950   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8952     arg2 
= PyList_Size(obj1
); 
8953     arg3 
=  int_LIST_helper(obj1
); 
8954     if (arg3 
== NULL
) SWIG_fail
; 
8957     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8958     (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
); 
8959     wxPyEndAllowThreads(__tstate
); 
8960     if (PyErr_Occurred()) SWIG_fail
; 
8962   resultobj 
= SWIG_Py_Void(); 
8964     if (arg3
) delete [] arg3
; 
8969     if (arg3
) delete [] arg3
; 
8975 SWIGINTERN PyObject 
*_wrap_StatusBar_GetFieldRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8976   PyObject 
*resultobj 
= 0; 
8977   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8984   PyObject 
* obj0 
= 0 ; 
8985   PyObject 
* obj1 
= 0 ; 
8986   char *  kwnames
[] = { 
8987     (char *) "self",(char *) "i", NULL 
 
8990   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8991   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8992   if (!SWIG_IsOK(res1
)) { 
8993     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8995   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8996   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8997   if (!SWIG_IsOK(ecode2
)) { 
8998     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'"); 
9000   arg2 
= static_cast< int >(val2
); 
9002     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9003     result 
= wxStatusBar_GetFieldRect(arg1
,arg2
); 
9004     wxPyEndAllowThreads(__tstate
); 
9005     if (PyErr_Occurred()) SWIG_fail
; 
9007   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
9014 SWIGINTERN PyObject 
*_wrap_StatusBar_SetMinHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9015   PyObject 
*resultobj 
= 0; 
9016   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9022   PyObject 
* obj0 
= 0 ; 
9023   PyObject 
* obj1 
= 0 ; 
9024   char *  kwnames
[] = { 
9025     (char *) "self",(char *) "height", NULL 
 
9028   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9029   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9030   if (!SWIG_IsOK(res1
)) { 
9031     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
9033   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9034   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9035   if (!SWIG_IsOK(ecode2
)) { 
9036     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'"); 
9038   arg2 
= static_cast< int >(val2
); 
9040     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9041     (arg1
)->SetMinHeight(arg2
); 
9042     wxPyEndAllowThreads(__tstate
); 
9043     if (PyErr_Occurred()) SWIG_fail
; 
9045   resultobj 
= SWIG_Py_Void(); 
9052 SWIGINTERN PyObject 
*_wrap_StatusBar_GetBorderX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9053   PyObject 
*resultobj 
= 0; 
9054   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9058   PyObject 
*swig_obj
[1] ; 
9060   if (!args
) SWIG_fail
; 
9062   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9063   if (!SWIG_IsOK(res1
)) { 
9064     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");  
9066   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9068     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9069     result 
= (int)((wxStatusBar 
const *)arg1
)->GetBorderX(); 
9070     wxPyEndAllowThreads(__tstate
); 
9071     if (PyErr_Occurred()) SWIG_fail
; 
9073   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9080 SWIGINTERN PyObject 
*_wrap_StatusBar_GetBorderY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9081   PyObject 
*resultobj 
= 0; 
9082   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9086   PyObject 
*swig_obj
[1] ; 
9088   if (!args
) SWIG_fail
; 
9090   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9091   if (!SWIG_IsOK(res1
)) { 
9092     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");  
9094   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9096     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9097     result 
= (int)((wxStatusBar 
const *)arg1
)->GetBorderY(); 
9098     wxPyEndAllowThreads(__tstate
); 
9099     if (PyErr_Occurred()) SWIG_fail
; 
9101   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9108 SWIGINTERN PyObject 
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9109   PyObject 
*resultobj 
= 0; 
9110   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
9111   SwigValueWrapper
<wxVisualAttributes 
> result
; 
9114   PyObject 
* obj0 
= 0 ; 
9115   char *  kwnames
[] = { 
9116     (char *) "variant", NULL 
 
9119   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
9121     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
9122     if (!SWIG_IsOK(ecode1
)) { 
9123       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
9125     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
9128     if (!wxPyCheckForApp()) SWIG_fail
; 
9129     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9130     result 
= wxStatusBar::GetClassDefaultAttributes(arg1
); 
9131     wxPyEndAllowThreads(__tstate
); 
9132     if (PyErr_Occurred()) SWIG_fail
; 
9134   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
9141 SWIGINTERN PyObject 
*StatusBar_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9143   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9144   SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
)); 
9145   return SWIG_Py_Void(); 
9148 SWIGINTERN PyObject 
*StatusBar_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9149   return SWIG_Python_InitShadowInstance(args
); 
9152 SWIGINTERN 
int SplitterNameStr_set(PyObject 
*) { 
9153   SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only."); 
9158 SWIGINTERN PyObject 
*SplitterNameStr_get(void) { 
9159   PyObject 
*pyobj 
= 0; 
9163     pyobj 
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len()); 
9165     pyobj 
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len()); 
9172 SWIGINTERN PyObject 
*_wrap_new_SplitterWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9173   PyObject 
*resultobj 
= 0; 
9174   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
9175   int arg2 
= (int) -1 ; 
9176   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
9177   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
9178   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
9179   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
9180   long arg5 
= (long) wxSP_3D 
; 
9181   wxString 
const &arg6_defvalue 
= wxPySplitterNameStr 
; 
9182   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
9183   wxSplitterWindow 
*result 
= 0 ; 
9192   bool temp6 
= false ; 
9193   PyObject 
* obj0 
= 0 ; 
9194   PyObject 
* obj1 
= 0 ; 
9195   PyObject 
* obj2 
= 0 ; 
9196   PyObject 
* obj3 
= 0 ; 
9197   PyObject 
* obj4 
= 0 ; 
9198   PyObject 
* obj5 
= 0 ; 
9199   char *  kwnames
[] = { 
9200     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
9203   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
9204   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9205   if (!SWIG_IsOK(res1
)) { 
9206     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
9208   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
9210     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9211     if (!SWIG_IsOK(ecode2
)) { 
9212       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'"); 
9214     arg2 
= static_cast< int >(val2
); 
9219       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
9225       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
9229     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
9230     if (!SWIG_IsOK(ecode5
)) { 
9231       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'"); 
9233     arg5 
= static_cast< long >(val5
); 
9237       arg6 
= wxString_in_helper(obj5
); 
9238       if (arg6 
== NULL
) SWIG_fail
; 
9243     if (!wxPyCheckForApp()) SWIG_fail
; 
9244     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9245     result 
= (wxSplitterWindow 
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
9246     wxPyEndAllowThreads(__tstate
); 
9247     if (PyErr_Occurred()) SWIG_fail
; 
9249   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW 
|  0 ); 
9264 SWIGINTERN PyObject 
*_wrap_new_PreSplitterWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9265   PyObject 
*resultobj 
= 0; 
9266   wxSplitterWindow 
*result 
= 0 ; 
9268   if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
; 
9270     if (!wxPyCheckForApp()) SWIG_fail
; 
9271     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9272     result 
= (wxSplitterWindow 
*)new wxSplitterWindow(); 
9273     wxPyEndAllowThreads(__tstate
); 
9274     if (PyErr_Occurred()) SWIG_fail
; 
9276   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN 
|  0 ); 
9283 SWIGINTERN PyObject 
*_wrap_SplitterWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9284   PyObject 
*resultobj 
= 0; 
9285   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9286   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9287   int arg3 
= (int) -1 ; 
9288   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
9289   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
9290   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
9291   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
9292   long arg6 
= (long) wxSP_3D 
; 
9293   wxString 
const &arg7_defvalue 
= wxPySplitterNameStr 
; 
9294   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
9306   bool temp7 
= false ; 
9307   PyObject 
* obj0 
= 0 ; 
9308   PyObject 
* obj1 
= 0 ; 
9309   PyObject 
* obj2 
= 0 ; 
9310   PyObject 
* obj3 
= 0 ; 
9311   PyObject 
* obj4 
= 0 ; 
9312   PyObject 
* obj5 
= 0 ; 
9313   PyObject 
* obj6 
= 0 ; 
9314   char *  kwnames
[] = { 
9315     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
9318   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
9319   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9320   if (!SWIG_IsOK(res1
)) { 
9321     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9323   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9324   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9325   if (!SWIG_IsOK(res2
)) { 
9326     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
9328   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9330     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9331     if (!SWIG_IsOK(ecode3
)) { 
9332       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
9334     arg3 
= static_cast< int >(val3
); 
9339       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
9345       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
9349     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
9350     if (!SWIG_IsOK(ecode6
)) { 
9351       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
9353     arg6 
= static_cast< long >(val6
); 
9357       arg7 
= wxString_in_helper(obj6
); 
9358       if (arg7 
== NULL
) SWIG_fail
; 
9363     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9364     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
9365     wxPyEndAllowThreads(__tstate
); 
9366     if (PyErr_Occurred()) SWIG_fail
; 
9369     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9385 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetWindow1(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9386   PyObject 
*resultobj 
= 0; 
9387   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9388   wxWindow 
*result 
= 0 ; 
9391   PyObject 
*swig_obj
[1] ; 
9393   if (!args
) SWIG_fail
; 
9395   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9396   if (!SWIG_IsOK(res1
)) { 
9397     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9399   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9401     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9402     result 
= (wxWindow 
*)((wxSplitterWindow 
const *)arg1
)->GetWindow1(); 
9403     wxPyEndAllowThreads(__tstate
); 
9404     if (PyErr_Occurred()) SWIG_fail
; 
9407     resultobj 
= wxPyMake_wxObject(result
, 0);  
9415 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetWindow2(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9416   PyObject 
*resultobj 
= 0; 
9417   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9418   wxWindow 
*result 
= 0 ; 
9421   PyObject 
*swig_obj
[1] ; 
9423   if (!args
) SWIG_fail
; 
9425   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9426   if (!SWIG_IsOK(res1
)) { 
9427     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9429   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9431     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9432     result 
= (wxWindow 
*)((wxSplitterWindow 
const *)arg1
)->GetWindow2(); 
9433     wxPyEndAllowThreads(__tstate
); 
9434     if (PyErr_Occurred()) SWIG_fail
; 
9437     resultobj 
= wxPyMake_wxObject(result
, 0);  
9445 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetSplitMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9446   PyObject 
*resultobj 
= 0; 
9447   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9453   PyObject 
* obj0 
= 0 ; 
9454   PyObject 
* obj1 
= 0 ; 
9455   char *  kwnames
[] = { 
9456     (char *) "self",(char *) "mode", NULL 
 
9459   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9460   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9461   if (!SWIG_IsOK(res1
)) { 
9462     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9464   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9465   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9466   if (!SWIG_IsOK(ecode2
)) { 
9467     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'"); 
9469   arg2 
= static_cast< int >(val2
); 
9471     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9472     (arg1
)->SetSplitMode(arg2
); 
9473     wxPyEndAllowThreads(__tstate
); 
9474     if (PyErr_Occurred()) SWIG_fail
; 
9476   resultobj 
= SWIG_Py_Void(); 
9483 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetSplitMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9484   PyObject 
*resultobj 
= 0; 
9485   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9489   PyObject 
*swig_obj
[1] ; 
9491   if (!args
) SWIG_fail
; 
9493   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9494   if (!SWIG_IsOK(res1
)) { 
9495     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9497   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9499     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9500     result 
= (wxSplitMode
)((wxSplitterWindow 
const *)arg1
)->GetSplitMode(); 
9501     wxPyEndAllowThreads(__tstate
); 
9502     if (PyErr_Occurred()) SWIG_fail
; 
9504   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9511 SWIGINTERN PyObject 
*_wrap_SplitterWindow_Initialize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9512   PyObject 
*resultobj 
= 0; 
9513   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9514   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9519   PyObject 
* obj0 
= 0 ; 
9520   PyObject 
* obj1 
= 0 ; 
9521   char *  kwnames
[] = { 
9522     (char *) "self",(char *) "window", NULL 
 
9525   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9526   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9527   if (!SWIG_IsOK(res1
)) { 
9528     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9530   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9531   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9532   if (!SWIG_IsOK(res2
)) { 
9533     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");  
9535   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9537     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9538     (arg1
)->Initialize(arg2
); 
9539     wxPyEndAllowThreads(__tstate
); 
9540     if (PyErr_Occurred()) SWIG_fail
; 
9542   resultobj 
= SWIG_Py_Void(); 
9549 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SplitVertically(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9550   PyObject 
*resultobj 
= 0; 
9551   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9552   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9553   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
9554   int arg4 
= (int) 0 ; 
9564   PyObject 
* obj0 
= 0 ; 
9565   PyObject 
* obj1 
= 0 ; 
9566   PyObject 
* obj2 
= 0 ; 
9567   PyObject 
* obj3 
= 0 ; 
9568   char *  kwnames
[] = { 
9569     (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL 
 
9572   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
9573   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9574   if (!SWIG_IsOK(res1
)) { 
9575     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9577   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9578   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9579   if (!SWIG_IsOK(res2
)) { 
9580     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");  
9582   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9583   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9584   if (!SWIG_IsOK(res3
)) { 
9585     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");  
9587   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
9589     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9590     if (!SWIG_IsOK(ecode4
)) { 
9591       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'"); 
9593     arg4 
= static_cast< int >(val4
); 
9596     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9597     result 
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
); 
9598     wxPyEndAllowThreads(__tstate
); 
9599     if (PyErr_Occurred()) SWIG_fail
; 
9602     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9610 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SplitHorizontally(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9611   PyObject 
*resultobj 
= 0; 
9612   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9613   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9614   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
9615   int arg4 
= (int) 0 ; 
9625   PyObject 
* obj0 
= 0 ; 
9626   PyObject 
* obj1 
= 0 ; 
9627   PyObject 
* obj2 
= 0 ; 
9628   PyObject 
* obj3 
= 0 ; 
9629   char *  kwnames
[] = { 
9630     (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL 
 
9633   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
9634   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9635   if (!SWIG_IsOK(res1
)) { 
9636     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9638   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9639   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9640   if (!SWIG_IsOK(res2
)) { 
9641     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");  
9643   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9644   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9645   if (!SWIG_IsOK(res3
)) { 
9646     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");  
9648   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
9650     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9651     if (!SWIG_IsOK(ecode4
)) { 
9652       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'"); 
9654     arg4 
= static_cast< int >(val4
); 
9657     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9658     result 
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
); 
9659     wxPyEndAllowThreads(__tstate
); 
9660     if (PyErr_Occurred()) SWIG_fail
; 
9663     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9671 SWIGINTERN PyObject 
*_wrap_SplitterWindow_Unsplit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9672   PyObject 
*resultobj 
= 0; 
9673   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9674   wxWindow 
*arg2 
= (wxWindow 
*) NULL 
; 
9680   PyObject 
* obj0 
= 0 ; 
9681   PyObject 
* obj1 
= 0 ; 
9682   char *  kwnames
[] = { 
9683     (char *) "self",(char *) "toRemove", NULL 
 
9686   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9687   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9688   if (!SWIG_IsOK(res1
)) { 
9689     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9691   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9693     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9694     if (!SWIG_IsOK(res2
)) { 
9695       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");  
9697     arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9700     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9701     result 
= (bool)(arg1
)->Unsplit(arg2
); 
9702     wxPyEndAllowThreads(__tstate
); 
9703     if (PyErr_Occurred()) SWIG_fail
; 
9706     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9714 SWIGINTERN PyObject 
*_wrap_SplitterWindow_ReplaceWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9715   PyObject 
*resultobj 
= 0; 
9716   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9717   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9718   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
9726   PyObject 
* obj0 
= 0 ; 
9727   PyObject 
* obj1 
= 0 ; 
9728   PyObject 
* obj2 
= 0 ; 
9729   char *  kwnames
[] = { 
9730     (char *) "self",(char *) "winOld",(char *) "winNew", NULL 
 
9733   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9734   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9735   if (!SWIG_IsOK(res1
)) { 
9736     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9738   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9739   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9740   if (!SWIG_IsOK(res2
)) { 
9741     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
9743   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9744   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9745   if (!SWIG_IsOK(res3
)) { 
9746     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");  
9748   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
9750     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9751     result 
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
); 
9752     wxPyEndAllowThreads(__tstate
); 
9753     if (PyErr_Occurred()) SWIG_fail
; 
9756     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9764 SWIGINTERN PyObject 
*_wrap_SplitterWindow_UpdateSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9765   PyObject 
*resultobj 
= 0; 
9766   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9769   PyObject 
*swig_obj
[1] ; 
9771   if (!args
) SWIG_fail
; 
9773   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9774   if (!SWIG_IsOK(res1
)) { 
9775     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9777   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9779     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9780     (arg1
)->UpdateSize(); 
9781     wxPyEndAllowThreads(__tstate
); 
9782     if (PyErr_Occurred()) SWIG_fail
; 
9784   resultobj 
= SWIG_Py_Void(); 
9791 SWIGINTERN PyObject 
*_wrap_SplitterWindow_IsSplit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9792   PyObject 
*resultobj 
= 0; 
9793   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9797   PyObject 
*swig_obj
[1] ; 
9799   if (!args
) SWIG_fail
; 
9801   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9802   if (!SWIG_IsOK(res1
)) { 
9803     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9805   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9807     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9808     result 
= (bool)((wxSplitterWindow 
const *)arg1
)->IsSplit(); 
9809     wxPyEndAllowThreads(__tstate
); 
9810     if (PyErr_Occurred()) SWIG_fail
; 
9813     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9821 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetSashSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9822   PyObject 
*resultobj 
= 0; 
9823   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9829   PyObject 
* obj0 
= 0 ; 
9830   PyObject 
* obj1 
= 0 ; 
9831   char *  kwnames
[] = { 
9832     (char *) "self",(char *) "width", NULL 
 
9835   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9836   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9837   if (!SWIG_IsOK(res1
)) { 
9838     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9840   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9841   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9842   if (!SWIG_IsOK(ecode2
)) { 
9843     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'"); 
9845   arg2 
= static_cast< int >(val2
); 
9847     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9848     (arg1
)->SetSashSize(arg2
); 
9849     wxPyEndAllowThreads(__tstate
); 
9850     if (PyErr_Occurred()) SWIG_fail
; 
9852   resultobj 
= SWIG_Py_Void(); 
9859 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9860   PyObject 
*resultobj 
= 0; 
9861   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9867   PyObject 
* obj0 
= 0 ; 
9868   PyObject 
* obj1 
= 0 ; 
9869   char *  kwnames
[] = { 
9870     (char *) "self",(char *) "width", NULL 
 
9873   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9874   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9875   if (!SWIG_IsOK(res1
)) { 
9876     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9878   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9879   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9880   if (!SWIG_IsOK(ecode2
)) { 
9881     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'"); 
9883   arg2 
= static_cast< int >(val2
); 
9885     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9886     (arg1
)->SetBorderSize(arg2
); 
9887     wxPyEndAllowThreads(__tstate
); 
9888     if (PyErr_Occurred()) SWIG_fail
; 
9890   resultobj 
= SWIG_Py_Void(); 
9897 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetSashSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9898   PyObject 
*resultobj 
= 0; 
9899   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9903   PyObject 
*swig_obj
[1] ; 
9905   if (!args
) SWIG_fail
; 
9907   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9908   if (!SWIG_IsOK(res1
)) { 
9909     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9911   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9913     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9914     result 
= (int)((wxSplitterWindow 
const *)arg1
)->GetSashSize(); 
9915     wxPyEndAllowThreads(__tstate
); 
9916     if (PyErr_Occurred()) SWIG_fail
; 
9918   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9925 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9926   PyObject 
*resultobj 
= 0; 
9927   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9931   PyObject 
*swig_obj
[1] ; 
9933   if (!args
) SWIG_fail
; 
9935   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9936   if (!SWIG_IsOK(res1
)) { 
9937     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9939   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9941     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9942     result 
= (int)((wxSplitterWindow 
const *)arg1
)->GetBorderSize(); 
9943     wxPyEndAllowThreads(__tstate
); 
9944     if (PyErr_Occurred()) SWIG_fail
; 
9946   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9953 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetSashPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9954   PyObject 
*resultobj 
= 0; 
9955   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9957   bool arg3 
= (bool) true ; 
9964   PyObject 
* obj0 
= 0 ; 
9965   PyObject 
* obj1 
= 0 ; 
9966   PyObject 
* obj2 
= 0 ; 
9967   char *  kwnames
[] = { 
9968     (char *) "self",(char *) "position",(char *) "redraw", NULL 
 
9971   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9972   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9973   if (!SWIG_IsOK(res1
)) { 
9974     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9976   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9977   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9978   if (!SWIG_IsOK(ecode2
)) { 
9979     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'"); 
9981   arg2 
= static_cast< int >(val2
); 
9983     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
9984     if (!SWIG_IsOK(ecode3
)) { 
9985       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'"); 
9987     arg3 
= static_cast< bool >(val3
); 
9990     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9991     (arg1
)->SetSashPosition(arg2
,arg3
); 
9992     wxPyEndAllowThreads(__tstate
); 
9993     if (PyErr_Occurred()) SWIG_fail
; 
9995   resultobj 
= SWIG_Py_Void(); 
10002 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetSashPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10003   PyObject 
*resultobj 
= 0; 
10004   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10008   PyObject 
*swig_obj
[1] ; 
10010   if (!args
) SWIG_fail
; 
10011   swig_obj
[0] = args
; 
10012   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10013   if (!SWIG_IsOK(res1
)) { 
10014     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10016   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10018     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10019     result 
= (int)((wxSplitterWindow 
const *)arg1
)->GetSashPosition(); 
10020     wxPyEndAllowThreads(__tstate
); 
10021     if (PyErr_Occurred()) SWIG_fail
; 
10023   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10030 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetSashGravity(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10031   PyObject 
*resultobj 
= 0; 
10032   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10038   PyObject 
* obj0 
= 0 ; 
10039   PyObject 
* obj1 
= 0 ; 
10040   char *  kwnames
[] = { 
10041     (char *) "self",(char *) "gravity", NULL 
 
10044   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10045   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10046   if (!SWIG_IsOK(res1
)) { 
10047     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10049   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10050   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
10051   if (!SWIG_IsOK(ecode2
)) { 
10052     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'"); 
10054   arg2 
= static_cast< double >(val2
); 
10056     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10057     (arg1
)->SetSashGravity(arg2
); 
10058     wxPyEndAllowThreads(__tstate
); 
10059     if (PyErr_Occurred()) SWIG_fail
; 
10061   resultobj 
= SWIG_Py_Void(); 
10068 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetSashGravity(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10069   PyObject 
*resultobj 
= 0; 
10070   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10074   PyObject 
*swig_obj
[1] ; 
10076   if (!args
) SWIG_fail
; 
10077   swig_obj
[0] = args
; 
10078   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10079   if (!SWIG_IsOK(res1
)) { 
10080     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10082   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10084     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10085     result 
= (double)((wxSplitterWindow 
const *)arg1
)->GetSashGravity(); 
10086     wxPyEndAllowThreads(__tstate
); 
10087     if (PyErr_Occurred()) SWIG_fail
; 
10089   resultobj 
= SWIG_From_double(static_cast< double >(result
)); 
10096 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10097   PyObject 
*resultobj 
= 0; 
10098   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10104   PyObject 
* obj0 
= 0 ; 
10105   PyObject 
* obj1 
= 0 ; 
10106   char *  kwnames
[] = { 
10107     (char *) "self",(char *) "min", NULL 
 
10110   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10111   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10112   if (!SWIG_IsOK(res1
)) { 
10113     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10115   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10116   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10117   if (!SWIG_IsOK(ecode2
)) { 
10118     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'"); 
10120   arg2 
= static_cast< int >(val2
); 
10122     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10123     (arg1
)->SetMinimumPaneSize(arg2
); 
10124     wxPyEndAllowThreads(__tstate
); 
10125     if (PyErr_Occurred()) SWIG_fail
; 
10127   resultobj 
= SWIG_Py_Void(); 
10134 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10135   PyObject 
*resultobj 
= 0; 
10136   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10140   PyObject 
*swig_obj
[1] ; 
10142   if (!args
) SWIG_fail
; 
10143   swig_obj
[0] = args
; 
10144   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10145   if (!SWIG_IsOK(res1
)) { 
10146     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10148   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10150     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10151     result 
= (int)((wxSplitterWindow 
const *)arg1
)->GetMinimumPaneSize(); 
10152     wxPyEndAllowThreads(__tstate
); 
10153     if (PyErr_Occurred()) SWIG_fail
; 
10155   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10162 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SashHitTest(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10163   PyObject 
*resultobj 
= 0; 
10164   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10167   int arg4 
= (int) 5 ; 
10177   PyObject 
* obj0 
= 0 ; 
10178   PyObject 
* obj1 
= 0 ; 
10179   PyObject 
* obj2 
= 0 ; 
10180   PyObject 
* obj3 
= 0 ; 
10181   char *  kwnames
[] = { 
10182     (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL 
 
10185   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
10186   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10187   if (!SWIG_IsOK(res1
)) { 
10188     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10190   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10191   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10192   if (!SWIG_IsOK(ecode2
)) { 
10193     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'"); 
10195   arg2 
= static_cast< int >(val2
); 
10196   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10197   if (!SWIG_IsOK(ecode3
)) { 
10198     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'"); 
10200   arg3 
= static_cast< int >(val3
); 
10202     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
10203     if (!SWIG_IsOK(ecode4
)) { 
10204       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'"); 
10206     arg4 
= static_cast< int >(val4
); 
10209     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10210     result 
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
); 
10211     wxPyEndAllowThreads(__tstate
); 
10212     if (PyErr_Occurred()) SWIG_fail
; 
10215     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10223 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SizeWindows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10224   PyObject 
*resultobj 
= 0; 
10225   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10228   PyObject 
*swig_obj
[1] ; 
10230   if (!args
) SWIG_fail
; 
10231   swig_obj
[0] = args
; 
10232   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10233   if (!SWIG_IsOK(res1
)) { 
10234     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10236   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10238     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10239     (arg1
)->SizeWindows(); 
10240     wxPyEndAllowThreads(__tstate
); 
10241     if (PyErr_Occurred()) SWIG_fail
; 
10243   resultobj 
= SWIG_Py_Void(); 
10250 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetNeedUpdating(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10251   PyObject 
*resultobj 
= 0; 
10252   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10258   PyObject 
* obj0 
= 0 ; 
10259   PyObject 
* obj1 
= 0 ; 
10260   char *  kwnames
[] = { 
10261     (char *) "self",(char *) "needUpdating", NULL 
 
10264   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10265   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10266   if (!SWIG_IsOK(res1
)) { 
10267     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10269   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10270   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
10271   if (!SWIG_IsOK(ecode2
)) { 
10272     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'"); 
10274   arg2 
= static_cast< bool >(val2
); 
10276     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10277     (arg1
)->SetNeedUpdating(arg2
); 
10278     wxPyEndAllowThreads(__tstate
); 
10279     if (PyErr_Occurred()) SWIG_fail
; 
10281   resultobj 
= SWIG_Py_Void(); 
10288 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetNeedUpdating(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10289   PyObject 
*resultobj 
= 0; 
10290   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10294   PyObject 
*swig_obj
[1] ; 
10296   if (!args
) SWIG_fail
; 
10297   swig_obj
[0] = args
; 
10298   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10299   if (!SWIG_IsOK(res1
)) { 
10300     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10302   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10304     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10305     result 
= (bool)((wxSplitterWindow 
const *)arg1
)->GetNeedUpdating(); 
10306     wxPyEndAllowThreads(__tstate
); 
10307     if (PyErr_Occurred()) SWIG_fail
; 
10310     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10318 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10319   PyObject 
*resultobj 
= 0; 
10320   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
10321   SwigValueWrapper
<wxVisualAttributes 
> result
; 
10324   PyObject 
* obj0 
= 0 ; 
10325   char *  kwnames
[] = { 
10326     (char *) "variant", NULL 
 
10329   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
10331     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
10332     if (!SWIG_IsOK(ecode1
)) { 
10333       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
10335     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
10338     if (!wxPyCheckForApp()) SWIG_fail
; 
10339     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10340     result 
= wxSplitterWindow::GetClassDefaultAttributes(arg1
); 
10341     wxPyEndAllowThreads(__tstate
); 
10342     if (PyErr_Occurred()) SWIG_fail
; 
10344   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
10351 SWIGINTERN PyObject 
*SplitterWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10353   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
10354   SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
)); 
10355   return SWIG_Py_Void(); 
10358 SWIGINTERN PyObject 
*SplitterWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10359   return SWIG_Python_InitShadowInstance(args
); 
10362 SWIGINTERN PyObject 
*_wrap_new_SplitterEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10363   PyObject 
*resultobj 
= 0; 
10364   wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
10365   wxSplitterWindow 
*arg2 
= (wxSplitterWindow 
*) (wxSplitterWindow 
*) NULL 
; 
10366   wxSplitterEvent 
*result 
= 0 ; 
10371   PyObject 
* obj0 
= 0 ; 
10372   PyObject 
* obj1 
= 0 ; 
10373   char *  kwnames
[] = { 
10374     (char *) "type",(char *) "splitter", NULL 
 
10377   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10379     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
10380     if (!SWIG_IsOK(ecode1
)) { 
10381       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'"); 
10383     arg1 
= static_cast< wxEventType 
>(val1
); 
10386     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10387     if (!SWIG_IsOK(res2
)) { 
10388       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");  
10390     arg2 
= reinterpret_cast< wxSplitterWindow 
* >(argp2
); 
10393     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10394     result 
= (wxSplitterEvent 
*)new wxSplitterEvent(arg1
,arg2
); 
10395     wxPyEndAllowThreads(__tstate
); 
10396     if (PyErr_Occurred()) SWIG_fail
; 
10398   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW 
|  0 ); 
10405 SWIGINTERN PyObject 
*_wrap_SplitterEvent_SetSashPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10406   PyObject 
*resultobj 
= 0; 
10407   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10413   PyObject 
* obj0 
= 0 ; 
10414   PyObject 
* obj1 
= 0 ; 
10415   char *  kwnames
[] = { 
10416     (char *) "self",(char *) "pos", NULL 
 
10419   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10420   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10421   if (!SWIG_IsOK(res1
)) { 
10422     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");  
10424   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10425   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10426   if (!SWIG_IsOK(ecode2
)) { 
10427     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'"); 
10429   arg2 
= static_cast< int >(val2
); 
10431     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10432     (arg1
)->SetSashPosition(arg2
); 
10433     wxPyEndAllowThreads(__tstate
); 
10434     if (PyErr_Occurred()) SWIG_fail
; 
10436   resultobj 
= SWIG_Py_Void(); 
10443 SWIGINTERN PyObject 
*_wrap_SplitterEvent_GetSashPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10444   PyObject 
*resultobj 
= 0; 
10445   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10449   PyObject 
*swig_obj
[1] ; 
10451   if (!args
) SWIG_fail
; 
10452   swig_obj
[0] = args
; 
10453   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10454   if (!SWIG_IsOK(res1
)) { 
10455     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");  
10457   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10459     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10460     result 
= (int)((wxSplitterEvent 
const *)arg1
)->GetSashPosition(); 
10461     wxPyEndAllowThreads(__tstate
); 
10462     if (PyErr_Occurred()) SWIG_fail
; 
10464   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10471 SWIGINTERN PyObject 
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10472   PyObject 
*resultobj 
= 0; 
10473   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10474   wxWindow 
*result 
= 0 ; 
10477   PyObject 
*swig_obj
[1] ; 
10479   if (!args
) SWIG_fail
; 
10480   swig_obj
[0] = args
; 
10481   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10482   if (!SWIG_IsOK(res1
)) { 
10483     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");  
10485   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10487     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10488     result 
= (wxWindow 
*)((wxSplitterEvent 
const *)arg1
)->GetWindowBeingRemoved(); 
10489     wxPyEndAllowThreads(__tstate
); 
10490     if (PyErr_Occurred()) SWIG_fail
; 
10493     resultobj 
= wxPyMake_wxObject(result
, 0);  
10501 SWIGINTERN PyObject 
*_wrap_SplitterEvent_GetX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10502   PyObject 
*resultobj 
= 0; 
10503   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10507   PyObject 
*swig_obj
[1] ; 
10509   if (!args
) SWIG_fail
; 
10510   swig_obj
[0] = args
; 
10511   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10512   if (!SWIG_IsOK(res1
)) { 
10513     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");  
10515   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10517     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10518     result 
= (int)((wxSplitterEvent 
const *)arg1
)->GetX(); 
10519     wxPyEndAllowThreads(__tstate
); 
10520     if (PyErr_Occurred()) SWIG_fail
; 
10522   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10529 SWIGINTERN PyObject 
*_wrap_SplitterEvent_GetY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10530   PyObject 
*resultobj 
= 0; 
10531   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10535   PyObject 
*swig_obj
[1] ; 
10537   if (!args
) SWIG_fail
; 
10538   swig_obj
[0] = args
; 
10539   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10540   if (!SWIG_IsOK(res1
)) { 
10541     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");  
10543   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10545     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10546     result 
= (int)((wxSplitterEvent 
const *)arg1
)->GetY(); 
10547     wxPyEndAllowThreads(__tstate
); 
10548     if (PyErr_Occurred()) SWIG_fail
; 
10550   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10557 SWIGINTERN PyObject 
*SplitterEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10559   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
10560   SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
)); 
10561   return SWIG_Py_Void(); 
10564 SWIGINTERN PyObject 
*SplitterEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10565   return SWIG_Python_InitShadowInstance(args
); 
10568 SWIGINTERN 
int SashNameStr_set(PyObject 
*) { 
10569   SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only."); 
10574 SWIGINTERN PyObject 
*SashNameStr_get(void) { 
10575   PyObject 
*pyobj 
= 0; 
10579     pyobj 
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len()); 
10581     pyobj 
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len()); 
10588 SWIGINTERN 
int SashLayoutNameStr_set(PyObject 
*) { 
10589   SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only."); 
10594 SWIGINTERN PyObject 
*SashLayoutNameStr_get(void) { 
10595   PyObject 
*pyobj 
= 0; 
10599     pyobj 
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len()); 
10601     pyobj 
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len()); 
10608 SWIGINTERN PyObject 
*_wrap_new_SashWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10609   PyObject 
*resultobj 
= 0; 
10610   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
10611   int arg2 
= (int) -1 ; 
10612   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
10613   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
10614   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
10615   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
10616   long arg5 
= (long) wxCLIP_CHILDREN
|wxSW_3D 
; 
10617   wxString 
const &arg6_defvalue 
= wxPySashNameStr 
; 
10618   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
10619   wxSashWindow 
*result 
= 0 ; 
10628   bool temp6 
= false ; 
10629   PyObject 
* obj0 
= 0 ; 
10630   PyObject 
* obj1 
= 0 ; 
10631   PyObject 
* obj2 
= 0 ; 
10632   PyObject 
* obj3 
= 0 ; 
10633   PyObject 
* obj4 
= 0 ; 
10634   PyObject 
* obj5 
= 0 ; 
10635   char *  kwnames
[] = { 
10636     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
10639   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
10640   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
10641   if (!SWIG_IsOK(res1
)) { 
10642     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
10644   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
10646     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10647     if (!SWIG_IsOK(ecode2
)) { 
10648       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'"); 
10650     arg2 
= static_cast< int >(val2
); 
10655       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
10661       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
10665     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
10666     if (!SWIG_IsOK(ecode5
)) { 
10667       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'"); 
10669     arg5 
= static_cast< long >(val5
); 
10673       arg6 
= wxString_in_helper(obj5
); 
10674       if (arg6 
== NULL
) SWIG_fail
; 
10679     if (!wxPyCheckForApp()) SWIG_fail
; 
10680     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10681     result 
= (wxSashWindow 
*)new wxSashWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
10682     wxPyEndAllowThreads(__tstate
); 
10683     if (PyErr_Occurred()) SWIG_fail
; 
10685   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW 
|  0 ); 
10700 SWIGINTERN PyObject 
*_wrap_new_PreSashWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10701   PyObject 
*resultobj 
= 0; 
10702   wxSashWindow 
*result 
= 0 ; 
10704   if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
; 
10706     if (!wxPyCheckForApp()) SWIG_fail
; 
10707     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10708     result 
= (wxSashWindow 
*)new wxSashWindow(); 
10709     wxPyEndAllowThreads(__tstate
); 
10710     if (PyErr_Occurred()) SWIG_fail
; 
10712   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN 
|  0 ); 
10719 SWIGINTERN PyObject 
*_wrap_SashWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10720   PyObject 
*resultobj 
= 0; 
10721   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
10722   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
10723   int arg3 
= (int) -1 ; 
10724   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
10725   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
10726   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
10727   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
10728   long arg6 
= (long) wxCLIP_CHILDREN
|wxSW_3D 
; 
10729   wxString 
const &arg7_defvalue 
= wxPySashNameStr 
; 
10730   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
10742   bool temp7 
= false ; 
10743   PyObject 
* obj0 
= 0 ; 
10744   PyObject 
* obj1 
= 0 ; 
10745   PyObject 
* obj2 
= 0 ; 
10746   PyObject 
* obj3 
= 0 ; 
10747   PyObject 
* obj4 
= 0 ; 
10748   PyObject 
* obj5 
= 0 ; 
10749   PyObject 
* obj6 
= 0 ; 
10750   char *  kwnames
[] = { 
10751     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
10754   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
10755   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
10756   if (!SWIG_IsOK(res1
)) { 
10757     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
10759   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
10760   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
10761   if (!SWIG_IsOK(res2
)) { 
10762     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
10764   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
10766     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10767     if (!SWIG_IsOK(ecode3
)) { 
10768       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
10770     arg3 
= static_cast< int >(val3
); 
10775       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
10781       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
10785     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
10786     if (!SWIG_IsOK(ecode6
)) { 
10787       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
10789     arg6 
= static_cast< long >(val6
); 
10793       arg7 
= wxString_in_helper(obj6
); 
10794       if (arg7 
== NULL
) SWIG_fail
; 
10799     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10800     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
10801     wxPyEndAllowThreads(__tstate
); 
10802     if (PyErr_Occurred()) SWIG_fail
; 
10805     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10821 SWIGINTERN PyObject 
*_wrap_SashWindow_SetSashVisible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10822   PyObject 
*resultobj 
= 0; 
10823   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
10824   wxSashEdgePosition arg2 
; 
10832   PyObject 
* obj0 
= 0 ; 
10833   PyObject 
* obj1 
= 0 ; 
10834   PyObject 
* obj2 
= 0 ; 
10835   char *  kwnames
[] = { 
10836     (char *) "self",(char *) "edge",(char *) "sash", NULL 
 
10839   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10840   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
10841   if (!SWIG_IsOK(res1
)) { 
10842     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
10844   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
10845   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10846   if (!SWIG_IsOK(ecode2
)) { 
10847     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
10849   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
10850   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
10851   if (!SWIG_IsOK(ecode3
)) { 
10852     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'"); 
10854   arg3 
= static_cast< bool >(val3
); 
10856     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10857     (arg1
)->SetSashVisible(arg2
,arg3
); 
10858     wxPyEndAllowThreads(__tstate
); 
10859     if (PyErr_Occurred()) SWIG_fail
; 
10861   resultobj 
= SWIG_Py_Void(); 
10868 SWIGINTERN PyObject 
*_wrap_SashWindow_GetSashVisible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10869   PyObject 
*resultobj 
= 0; 
10870   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
10871   wxSashEdgePosition arg2 
; 
10877   PyObject 
* obj0 
= 0 ; 
10878   PyObject 
* obj1 
= 0 ; 
10879   char *  kwnames
[] = { 
10880     (char *) "self",(char *) "edge", NULL 
 
10883   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10884   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
10885   if (!SWIG_IsOK(res1
)) { 
10886     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
10888   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
10889   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10890   if (!SWIG_IsOK(ecode2
)) { 
10891     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
10893   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
10895     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10896     result 
= (bool)((wxSashWindow 
const *)arg1
)->GetSashVisible(arg2
); 
10897     wxPyEndAllowThreads(__tstate
); 
10898     if (PyErr_Occurred()) SWIG_fail
; 
10901     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10909 SWIGINTERN PyObject 
*_wrap_SashWindow_SetSashBorder(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10910   PyObject 
*resultobj 
= 0; 
10911   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
10912   wxSashEdgePosition arg2 
; 
10920   PyObject 
* obj0 
= 0 ; 
10921   PyObject 
* obj1 
= 0 ; 
10922   PyObject 
* obj2 
= 0 ; 
10923   char *  kwnames
[] = { 
10924     (char *) "self",(char *) "edge",(char *) "border", NULL 
 
10927   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10928   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
10929   if (!SWIG_IsOK(res1
)) { 
10930     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
10932   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
10933   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10934   if (!SWIG_IsOK(ecode2
)) { 
10935     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
10937   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
10938   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
10939   if (!SWIG_IsOK(ecode3
)) { 
10940     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'"); 
10942   arg3 
= static_cast< bool >(val3
); 
10944     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10945     (arg1
)->SetSashBorder(arg2
,arg3
); 
10946     wxPyEndAllowThreads(__tstate
); 
10947     if (PyErr_Occurred()) SWIG_fail
; 
10949   resultobj 
= SWIG_Py_Void(); 
10956 SWIGINTERN PyObject 
*_wrap_SashWindow_HasBorder(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10957   PyObject 
*resultobj 
= 0; 
10958   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
10959   wxSashEdgePosition arg2 
; 
10965   PyObject 
* obj0 
= 0 ; 
10966   PyObject 
* obj1 
= 0 ; 
10967   char *  kwnames
[] = { 
10968     (char *) "self",(char *) "edge", NULL 
 
10971   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10972   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
10973   if (!SWIG_IsOK(res1
)) { 
10974     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
10976   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
10977   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10978   if (!SWIG_IsOK(ecode2
)) { 
10979     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
10981   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
10983     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10984     result 
= (bool)((wxSashWindow 
const *)arg1
)->HasBorder(arg2
); 
10985     wxPyEndAllowThreads(__tstate
); 
10986     if (PyErr_Occurred()) SWIG_fail
; 
10989     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10997 SWIGINTERN PyObject 
*_wrap_SashWindow_GetEdgeMargin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10998   PyObject 
*resultobj 
= 0; 
10999   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11000   wxSashEdgePosition arg2 
; 
11006   PyObject 
* obj0 
= 0 ; 
11007   PyObject 
* obj1 
= 0 ; 
11008   char *  kwnames
[] = { 
11009     (char *) "self",(char *) "edge", NULL 
 
11012   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11013   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11014   if (!SWIG_IsOK(res1
)) { 
11015     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11017   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11018   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11019   if (!SWIG_IsOK(ecode2
)) { 
11020     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
11022   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
11024     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11025     result 
= (int)((wxSashWindow 
const *)arg1
)->GetEdgeMargin(arg2
); 
11026     wxPyEndAllowThreads(__tstate
); 
11027     if (PyErr_Occurred()) SWIG_fail
; 
11029   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11036 SWIGINTERN PyObject 
*_wrap_SashWindow_SetDefaultBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11037   PyObject 
*resultobj 
= 0; 
11038   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11044   PyObject 
* obj0 
= 0 ; 
11045   PyObject 
* obj1 
= 0 ; 
11046   char *  kwnames
[] = { 
11047     (char *) "self",(char *) "width", NULL 
 
11050   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11051   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11052   if (!SWIG_IsOK(res1
)) { 
11053     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11055   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11056   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11057   if (!SWIG_IsOK(ecode2
)) { 
11058     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'"); 
11060   arg2 
= static_cast< int >(val2
); 
11062     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11063     (arg1
)->SetDefaultBorderSize(arg2
); 
11064     wxPyEndAllowThreads(__tstate
); 
11065     if (PyErr_Occurred()) SWIG_fail
; 
11067   resultobj 
= SWIG_Py_Void(); 
11074 SWIGINTERN PyObject 
*_wrap_SashWindow_GetDefaultBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11075   PyObject 
*resultobj 
= 0; 
11076   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11080   PyObject 
*swig_obj
[1] ; 
11082   if (!args
) SWIG_fail
; 
11083   swig_obj
[0] = args
; 
11084   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11085   if (!SWIG_IsOK(res1
)) { 
11086     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11088   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11090     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11091     result 
= (int)((wxSashWindow 
const *)arg1
)->GetDefaultBorderSize(); 
11092     wxPyEndAllowThreads(__tstate
); 
11093     if (PyErr_Occurred()) SWIG_fail
; 
11095   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11102 SWIGINTERN PyObject 
*_wrap_SashWindow_SetExtraBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11103   PyObject 
*resultobj 
= 0; 
11104   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11110   PyObject 
* obj0 
= 0 ; 
11111   PyObject 
* obj1 
= 0 ; 
11112   char *  kwnames
[] = { 
11113     (char *) "self",(char *) "width", NULL 
 
11116   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11117   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11118   if (!SWIG_IsOK(res1
)) { 
11119     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11121   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11122   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11123   if (!SWIG_IsOK(ecode2
)) { 
11124     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'"); 
11126   arg2 
= static_cast< int >(val2
); 
11128     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11129     (arg1
)->SetExtraBorderSize(arg2
); 
11130     wxPyEndAllowThreads(__tstate
); 
11131     if (PyErr_Occurred()) SWIG_fail
; 
11133   resultobj 
= SWIG_Py_Void(); 
11140 SWIGINTERN PyObject 
*_wrap_SashWindow_GetExtraBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11141   PyObject 
*resultobj 
= 0; 
11142   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11146   PyObject 
*swig_obj
[1] ; 
11148   if (!args
) SWIG_fail
; 
11149   swig_obj
[0] = args
; 
11150   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11151   if (!SWIG_IsOK(res1
)) { 
11152     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11154   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11156     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11157     result 
= (int)((wxSashWindow 
const *)arg1
)->GetExtraBorderSize(); 
11158     wxPyEndAllowThreads(__tstate
); 
11159     if (PyErr_Occurred()) SWIG_fail
; 
11161   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11168 SWIGINTERN PyObject 
*_wrap_SashWindow_SetMinimumSizeX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11169   PyObject 
*resultobj 
= 0; 
11170   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11176   PyObject 
* obj0 
= 0 ; 
11177   PyObject 
* obj1 
= 0 ; 
11178   char *  kwnames
[] = { 
11179     (char *) "self",(char *) "min", NULL 
 
11182   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11183   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11184   if (!SWIG_IsOK(res1
)) { 
11185     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11187   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11188   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11189   if (!SWIG_IsOK(ecode2
)) { 
11190     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'"); 
11192   arg2 
= static_cast< int >(val2
); 
11194     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11195     (arg1
)->SetMinimumSizeX(arg2
); 
11196     wxPyEndAllowThreads(__tstate
); 
11197     if (PyErr_Occurred()) SWIG_fail
; 
11199   resultobj 
= SWIG_Py_Void(); 
11206 SWIGINTERN PyObject 
*_wrap_SashWindow_SetMinimumSizeY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11207   PyObject 
*resultobj 
= 0; 
11208   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11214   PyObject 
* obj0 
= 0 ; 
11215   PyObject 
* obj1 
= 0 ; 
11216   char *  kwnames
[] = { 
11217     (char *) "self",(char *) "min", NULL 
 
11220   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11221   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11222   if (!SWIG_IsOK(res1
)) { 
11223     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11225   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11226   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11227   if (!SWIG_IsOK(ecode2
)) { 
11228     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'"); 
11230   arg2 
= static_cast< int >(val2
); 
11232     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11233     (arg1
)->SetMinimumSizeY(arg2
); 
11234     wxPyEndAllowThreads(__tstate
); 
11235     if (PyErr_Occurred()) SWIG_fail
; 
11237   resultobj 
= SWIG_Py_Void(); 
11244 SWIGINTERN PyObject 
*_wrap_SashWindow_GetMinimumSizeX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11245   PyObject 
*resultobj 
= 0; 
11246   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11250   PyObject 
*swig_obj
[1] ; 
11252   if (!args
) SWIG_fail
; 
11253   swig_obj
[0] = args
; 
11254   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11255   if (!SWIG_IsOK(res1
)) { 
11256     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11258   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11260     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11261     result 
= (int)((wxSashWindow 
const *)arg1
)->GetMinimumSizeX(); 
11262     wxPyEndAllowThreads(__tstate
); 
11263     if (PyErr_Occurred()) SWIG_fail
; 
11265   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11272 SWIGINTERN PyObject 
*_wrap_SashWindow_GetMinimumSizeY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11273   PyObject 
*resultobj 
= 0; 
11274   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11278   PyObject 
*swig_obj
[1] ; 
11280   if (!args
) SWIG_fail
; 
11281   swig_obj
[0] = args
; 
11282   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11283   if (!SWIG_IsOK(res1
)) { 
11284     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11286   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11288     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11289     result 
= (int)((wxSashWindow 
const *)arg1
)->GetMinimumSizeY(); 
11290     wxPyEndAllowThreads(__tstate
); 
11291     if (PyErr_Occurred()) SWIG_fail
; 
11293   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11300 SWIGINTERN PyObject 
*_wrap_SashWindow_SetMaximumSizeX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11301   PyObject 
*resultobj 
= 0; 
11302   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11308   PyObject 
* obj0 
= 0 ; 
11309   PyObject 
* obj1 
= 0 ; 
11310   char *  kwnames
[] = { 
11311     (char *) "self",(char *) "max", NULL 
 
11314   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11315   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11316   if (!SWIG_IsOK(res1
)) { 
11317     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11319   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11320   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11321   if (!SWIG_IsOK(ecode2
)) { 
11322     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'"); 
11324   arg2 
= static_cast< int >(val2
); 
11326     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11327     (arg1
)->SetMaximumSizeX(arg2
); 
11328     wxPyEndAllowThreads(__tstate
); 
11329     if (PyErr_Occurred()) SWIG_fail
; 
11331   resultobj 
= SWIG_Py_Void(); 
11338 SWIGINTERN PyObject 
*_wrap_SashWindow_SetMaximumSizeY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11339   PyObject 
*resultobj 
= 0; 
11340   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11346   PyObject 
* obj0 
= 0 ; 
11347   PyObject 
* obj1 
= 0 ; 
11348   char *  kwnames
[] = { 
11349     (char *) "self",(char *) "max", NULL 
 
11352   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11353   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11354   if (!SWIG_IsOK(res1
)) { 
11355     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11357   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11358   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11359   if (!SWIG_IsOK(ecode2
)) { 
11360     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'"); 
11362   arg2 
= static_cast< int >(val2
); 
11364     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11365     (arg1
)->SetMaximumSizeY(arg2
); 
11366     wxPyEndAllowThreads(__tstate
); 
11367     if (PyErr_Occurred()) SWIG_fail
; 
11369   resultobj 
= SWIG_Py_Void(); 
11376 SWIGINTERN PyObject 
*_wrap_SashWindow_GetMaximumSizeX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11377   PyObject 
*resultobj 
= 0; 
11378   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11382   PyObject 
*swig_obj
[1] ; 
11384   if (!args
) SWIG_fail
; 
11385   swig_obj
[0] = args
; 
11386   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11387   if (!SWIG_IsOK(res1
)) { 
11388     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11390   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11392     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11393     result 
= (int)((wxSashWindow 
const *)arg1
)->GetMaximumSizeX(); 
11394     wxPyEndAllowThreads(__tstate
); 
11395     if (PyErr_Occurred()) SWIG_fail
; 
11397   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11404 SWIGINTERN PyObject 
*_wrap_SashWindow_GetMaximumSizeY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11405   PyObject 
*resultobj 
= 0; 
11406   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11410   PyObject 
*swig_obj
[1] ; 
11412   if (!args
) SWIG_fail
; 
11413   swig_obj
[0] = args
; 
11414   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11415   if (!SWIG_IsOK(res1
)) { 
11416     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11418   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11420     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11421     result 
= (int)((wxSashWindow 
const *)arg1
)->GetMaximumSizeY(); 
11422     wxPyEndAllowThreads(__tstate
); 
11423     if (PyErr_Occurred()) SWIG_fail
; 
11425   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11432 SWIGINTERN PyObject 
*_wrap_SashWindow_SashHitTest(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11433   PyObject 
*resultobj 
= 0; 
11434   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11437   int arg4 
= (int) 2 ; 
11438   wxSashEdgePosition result
; 
11447   PyObject 
* obj0 
= 0 ; 
11448   PyObject 
* obj1 
= 0 ; 
11449   PyObject 
* obj2 
= 0 ; 
11450   PyObject 
* obj3 
= 0 ; 
11451   char *  kwnames
[] = { 
11452     (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL 
 
11455   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
11456   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11457   if (!SWIG_IsOK(res1
)) { 
11458     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11460   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11461   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11462   if (!SWIG_IsOK(ecode2
)) { 
11463     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'"); 
11465   arg2 
= static_cast< int >(val2
); 
11466   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11467   if (!SWIG_IsOK(ecode3
)) { 
11468     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'"); 
11470   arg3 
= static_cast< int >(val3
); 
11472     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
11473     if (!SWIG_IsOK(ecode4
)) { 
11474       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'"); 
11476     arg4 
= static_cast< int >(val4
); 
11479     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11480     result 
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
); 
11481     wxPyEndAllowThreads(__tstate
); 
11482     if (PyErr_Occurred()) SWIG_fail
; 
11484   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11491 SWIGINTERN PyObject 
*_wrap_SashWindow_SizeWindows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11492   PyObject 
*resultobj 
= 0; 
11493   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11496   PyObject 
*swig_obj
[1] ; 
11498   if (!args
) SWIG_fail
; 
11499   swig_obj
[0] = args
; 
11500   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11501   if (!SWIG_IsOK(res1
)) { 
11502     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11504   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11506     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11507     (arg1
)->SizeWindows(); 
11508     wxPyEndAllowThreads(__tstate
); 
11509     if (PyErr_Occurred()) SWIG_fail
; 
11511   resultobj 
= SWIG_Py_Void(); 
11518 SWIGINTERN PyObject 
*SashWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11520   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11521   SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
)); 
11522   return SWIG_Py_Void(); 
11525 SWIGINTERN PyObject 
*SashWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11526   return SWIG_Python_InitShadowInstance(args
); 
11529 SWIGINTERN PyObject 
*_wrap_new_SashEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11530   PyObject 
*resultobj 
= 0; 
11531   int arg1 
= (int) 0 ; 
11532   wxSashEdgePosition arg2 
= (wxSashEdgePosition
) wxSASH_NONE 
; 
11533   wxSashEvent 
*result 
= 0 ; 
11538   PyObject 
* obj0 
= 0 ; 
11539   PyObject 
* obj1 
= 0 ; 
11540   char *  kwnames
[] = { 
11541     (char *) "id",(char *) "edge", NULL 
 
11544   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11546     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
11547     if (!SWIG_IsOK(ecode1
)) { 
11548       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'"); 
11550     arg1 
= static_cast< int >(val1
); 
11553     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11554     if (!SWIG_IsOK(ecode2
)) { 
11555       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
11557     arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
11560     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11561     result 
= (wxSashEvent 
*)new wxSashEvent(arg1
,arg2
); 
11562     wxPyEndAllowThreads(__tstate
); 
11563     if (PyErr_Occurred()) SWIG_fail
; 
11565   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW 
|  0 ); 
11572 SWIGINTERN PyObject 
*_wrap_SashEvent_SetEdge(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11573   PyObject 
*resultobj 
= 0; 
11574   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11575   wxSashEdgePosition arg2 
; 
11580   PyObject 
* obj0 
= 0 ; 
11581   PyObject 
* obj1 
= 0 ; 
11582   char *  kwnames
[] = { 
11583     (char *) "self",(char *) "edge", NULL 
 
11586   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11587   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11588   if (!SWIG_IsOK(res1
)) { 
11589     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");  
11591   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11592   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11593   if (!SWIG_IsOK(ecode2
)) { 
11594     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
11596   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
11598     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11599     (arg1
)->SetEdge(arg2
); 
11600     wxPyEndAllowThreads(__tstate
); 
11601     if (PyErr_Occurred()) SWIG_fail
; 
11603   resultobj 
= SWIG_Py_Void(); 
11610 SWIGINTERN PyObject 
*_wrap_SashEvent_GetEdge(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11611   PyObject 
*resultobj 
= 0; 
11612   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11613   wxSashEdgePosition result
; 
11616   PyObject 
*swig_obj
[1] ; 
11618   if (!args
) SWIG_fail
; 
11619   swig_obj
[0] = args
; 
11620   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11621   if (!SWIG_IsOK(res1
)) { 
11622     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");  
11624   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11626     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11627     result 
= (wxSashEdgePosition
)((wxSashEvent 
const *)arg1
)->GetEdge(); 
11628     wxPyEndAllowThreads(__tstate
); 
11629     if (PyErr_Occurred()) SWIG_fail
; 
11631   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11638 SWIGINTERN PyObject 
*_wrap_SashEvent_SetDragRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11639   PyObject 
*resultobj 
= 0; 
11640   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11645   PyObject 
* obj0 
= 0 ; 
11646   PyObject 
* obj1 
= 0 ; 
11647   char *  kwnames
[] = { 
11648     (char *) "self",(char *) "rect", NULL 
 
11651   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11652   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11653   if (!SWIG_IsOK(res1
)) { 
11654     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");  
11656   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11659     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
11662     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11663     (arg1
)->SetDragRect((wxRect 
const &)*arg2
); 
11664     wxPyEndAllowThreads(__tstate
); 
11665     if (PyErr_Occurred()) SWIG_fail
; 
11667   resultobj 
= SWIG_Py_Void(); 
11674 SWIGINTERN PyObject 
*_wrap_SashEvent_GetDragRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11675   PyObject 
*resultobj 
= 0; 
11676   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11680   PyObject 
*swig_obj
[1] ; 
11682   if (!args
) SWIG_fail
; 
11683   swig_obj
[0] = args
; 
11684   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11685   if (!SWIG_IsOK(res1
)) { 
11686     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");  
11688   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11690     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11691     result 
= ((wxSashEvent 
const *)arg1
)->GetDragRect(); 
11692     wxPyEndAllowThreads(__tstate
); 
11693     if (PyErr_Occurred()) SWIG_fail
; 
11695   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
11702 SWIGINTERN PyObject 
*_wrap_SashEvent_SetDragStatus(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11703   PyObject 
*resultobj 
= 0; 
11704   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11705   wxSashDragStatus arg2 
; 
11710   PyObject 
* obj0 
= 0 ; 
11711   PyObject 
* obj1 
= 0 ; 
11712   char *  kwnames
[] = { 
11713     (char *) "self",(char *) "status", NULL 
 
11716   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11717   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11718   if (!SWIG_IsOK(res1
)) { 
11719     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");  
11721   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11722   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11723   if (!SWIG_IsOK(ecode2
)) { 
11724     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'"); 
11726   arg2 
= static_cast< wxSashDragStatus 
>(val2
); 
11728     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11729     (arg1
)->SetDragStatus(arg2
); 
11730     wxPyEndAllowThreads(__tstate
); 
11731     if (PyErr_Occurred()) SWIG_fail
; 
11733   resultobj 
= SWIG_Py_Void(); 
11740 SWIGINTERN PyObject 
*_wrap_SashEvent_GetDragStatus(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11741   PyObject 
*resultobj 
= 0; 
11742   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11743   wxSashDragStatus result
; 
11746   PyObject 
*swig_obj
[1] ; 
11748   if (!args
) SWIG_fail
; 
11749   swig_obj
[0] = args
; 
11750   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11751   if (!SWIG_IsOK(res1
)) { 
11752     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");  
11754   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11756     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11757     result 
= (wxSashDragStatus
)((wxSashEvent 
const *)arg1
)->GetDragStatus(); 
11758     wxPyEndAllowThreads(__tstate
); 
11759     if (PyErr_Occurred()) SWIG_fail
; 
11761   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11768 SWIGINTERN PyObject 
*SashEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11770   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11771   SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
)); 
11772   return SWIG_Py_Void(); 
11775 SWIGINTERN PyObject 
*SashEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11776   return SWIG_Python_InitShadowInstance(args
); 
11779 SWIGINTERN PyObject 
*_wrap_new_QueryLayoutInfoEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11780   PyObject 
*resultobj 
= 0; 
11781   int arg1 
= (int) 0 ; 
11782   wxQueryLayoutInfoEvent 
*result 
= 0 ; 
11785   PyObject 
* obj0 
= 0 ; 
11786   char *  kwnames
[] = { 
11787     (char *) "id", NULL 
 
11790   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
; 
11792     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
11793     if (!SWIG_IsOK(ecode1
)) { 
11794       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'"); 
11796     arg1 
= static_cast< int >(val1
); 
11799     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11800     result 
= (wxQueryLayoutInfoEvent 
*)new wxQueryLayoutInfoEvent(arg1
); 
11801     wxPyEndAllowThreads(__tstate
); 
11802     if (PyErr_Occurred()) SWIG_fail
; 
11804   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW 
|  0 ); 
11811 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11812   PyObject 
*resultobj 
= 0; 
11813   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
11819   PyObject 
* obj0 
= 0 ; 
11820   PyObject 
* obj1 
= 0 ; 
11821   char *  kwnames
[] = { 
11822     (char *) "self",(char *) "length", NULL 
 
11825   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11826   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
11827   if (!SWIG_IsOK(res1
)) { 
11828     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
11830   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
11831   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11832   if (!SWIG_IsOK(ecode2
)) { 
11833     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'"); 
11835   arg2 
= static_cast< int >(val2
); 
11837     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11838     (arg1
)->SetRequestedLength(arg2
); 
11839     wxPyEndAllowThreads(__tstate
); 
11840     if (PyErr_Occurred()) SWIG_fail
; 
11842   resultobj 
= SWIG_Py_Void(); 
11849 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11850   PyObject 
*resultobj 
= 0; 
11851   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
11855   PyObject 
*swig_obj
[1] ; 
11857   if (!args
) SWIG_fail
; 
11858   swig_obj
[0] = args
; 
11859   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
11860   if (!SWIG_IsOK(res1
)) { 
11861     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
11863   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
11865     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11866     result 
= (int)((wxQueryLayoutInfoEvent 
const *)arg1
)->GetRequestedLength(); 
11867     wxPyEndAllowThreads(__tstate
); 
11868     if (PyErr_Occurred()) SWIG_fail
; 
11870   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11877 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11878   PyObject 
*resultobj 
= 0; 
11879   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
11885   PyObject 
* obj0 
= 0 ; 
11886   PyObject 
* obj1 
= 0 ; 
11887   char *  kwnames
[] = { 
11888     (char *) "self",(char *) "flags", NULL 
 
11891   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11892   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
11893   if (!SWIG_IsOK(res1
)) { 
11894     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
11896   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
11897   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11898   if (!SWIG_IsOK(ecode2
)) { 
11899     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
11901   arg2 
= static_cast< int >(val2
); 
11903     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11904     (arg1
)->SetFlags(arg2
); 
11905     wxPyEndAllowThreads(__tstate
); 
11906     if (PyErr_Occurred()) SWIG_fail
; 
11908   resultobj 
= SWIG_Py_Void(); 
11915 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11916   PyObject 
*resultobj 
= 0; 
11917   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
11921   PyObject 
*swig_obj
[1] ; 
11923   if (!args
) SWIG_fail
; 
11924   swig_obj
[0] = args
; 
11925   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
11926   if (!SWIG_IsOK(res1
)) { 
11927     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
11929   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
11931     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11932     result 
= (int)((wxQueryLayoutInfoEvent 
const *)arg1
)->GetFlags(); 
11933     wxPyEndAllowThreads(__tstate
); 
11934     if (PyErr_Occurred()) SWIG_fail
; 
11936   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11943 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11944   PyObject 
*resultobj 
= 0; 
11945   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
11950   PyObject 
* obj0 
= 0 ; 
11951   PyObject 
* obj1 
= 0 ; 
11952   char *  kwnames
[] = { 
11953     (char *) "self",(char *) "size", NULL 
 
11956   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11957   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
11958   if (!SWIG_IsOK(res1
)) { 
11959     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
11961   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
11964     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
11967     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11968     (arg1
)->SetSize((wxSize 
const &)*arg2
); 
11969     wxPyEndAllowThreads(__tstate
); 
11970     if (PyErr_Occurred()) SWIG_fail
; 
11972   resultobj 
= SWIG_Py_Void(); 
11979 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11980   PyObject 
*resultobj 
= 0; 
11981   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
11985   PyObject 
*swig_obj
[1] ; 
11987   if (!args
) SWIG_fail
; 
11988   swig_obj
[0] = args
; 
11989   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
11990   if (!SWIG_IsOK(res1
)) { 
11991     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
11993   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
11995     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11996     result 
= ((wxQueryLayoutInfoEvent 
const *)arg1
)->GetSize(); 
11997     wxPyEndAllowThreads(__tstate
); 
11998     if (PyErr_Occurred()) SWIG_fail
; 
12000   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
12007 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12008   PyObject 
*resultobj 
= 0; 
12009   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12010   wxLayoutOrientation arg2 
; 
12015   PyObject 
* obj0 
= 0 ; 
12016   PyObject 
* obj1 
= 0 ; 
12017   char *  kwnames
[] = { 
12018     (char *) "self",(char *) "orient", NULL 
 
12021   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12022   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12023   if (!SWIG_IsOK(res1
)) { 
12024     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
12026   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12027   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12028   if (!SWIG_IsOK(ecode2
)) { 
12029     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'"); 
12031   arg2 
= static_cast< wxLayoutOrientation 
>(val2
); 
12033     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12034     (arg1
)->SetOrientation(arg2
); 
12035     wxPyEndAllowThreads(__tstate
); 
12036     if (PyErr_Occurred()) SWIG_fail
; 
12038   resultobj 
= SWIG_Py_Void(); 
12045 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12046   PyObject 
*resultobj 
= 0; 
12047   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12048   wxLayoutOrientation result
; 
12051   PyObject 
*swig_obj
[1] ; 
12053   if (!args
) SWIG_fail
; 
12054   swig_obj
[0] = args
; 
12055   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12056   if (!SWIG_IsOK(res1
)) { 
12057     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
12059   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12061     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12062     result 
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent 
const *)arg1
)->GetOrientation(); 
12063     wxPyEndAllowThreads(__tstate
); 
12064     if (PyErr_Occurred()) SWIG_fail
; 
12066   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12073 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12074   PyObject 
*resultobj 
= 0; 
12075   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12076   wxLayoutAlignment arg2 
; 
12081   PyObject 
* obj0 
= 0 ; 
12082   PyObject 
* obj1 
= 0 ; 
12083   char *  kwnames
[] = { 
12084     (char *) "self",(char *) "align", NULL 
 
12087   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12088   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12089   if (!SWIG_IsOK(res1
)) { 
12090     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
12092   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12093   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12094   if (!SWIG_IsOK(ecode2
)) { 
12095     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'"); 
12097   arg2 
= static_cast< wxLayoutAlignment 
>(val2
); 
12099     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12100     (arg1
)->SetAlignment(arg2
); 
12101     wxPyEndAllowThreads(__tstate
); 
12102     if (PyErr_Occurred()) SWIG_fail
; 
12104   resultobj 
= SWIG_Py_Void(); 
12111 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12112   PyObject 
*resultobj 
= 0; 
12113   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12114   wxLayoutAlignment result
; 
12117   PyObject 
*swig_obj
[1] ; 
12119   if (!args
) SWIG_fail
; 
12120   swig_obj
[0] = args
; 
12121   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12122   if (!SWIG_IsOK(res1
)) { 
12123     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
12125   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12127     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12128     result 
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent 
const *)arg1
)->GetAlignment(); 
12129     wxPyEndAllowThreads(__tstate
); 
12130     if (PyErr_Occurred()) SWIG_fail
; 
12132   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12139 SWIGINTERN PyObject 
*QueryLayoutInfoEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12141   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12142   SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
)); 
12143   return SWIG_Py_Void(); 
12146 SWIGINTERN PyObject 
*QueryLayoutInfoEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12147   return SWIG_Python_InitShadowInstance(args
); 
12150 SWIGINTERN PyObject 
*_wrap_new_CalculateLayoutEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12151   PyObject 
*resultobj 
= 0; 
12152   int arg1 
= (int) 0 ; 
12153   wxCalculateLayoutEvent 
*result 
= 0 ; 
12156   PyObject 
* obj0 
= 0 ; 
12157   char *  kwnames
[] = { 
12158     (char *) "id", NULL 
 
12161   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
; 
12163     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
12164     if (!SWIG_IsOK(ecode1
)) { 
12165       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'"); 
12167     arg1 
= static_cast< int >(val1
); 
12170     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12171     result 
= (wxCalculateLayoutEvent 
*)new wxCalculateLayoutEvent(arg1
); 
12172     wxPyEndAllowThreads(__tstate
); 
12173     if (PyErr_Occurred()) SWIG_fail
; 
12175   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW 
|  0 ); 
12182 SWIGINTERN PyObject 
*_wrap_CalculateLayoutEvent_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12183   PyObject 
*resultobj 
= 0; 
12184   wxCalculateLayoutEvent 
*arg1 
= (wxCalculateLayoutEvent 
*) 0 ; 
12190   PyObject 
* obj0 
= 0 ; 
12191   PyObject 
* obj1 
= 0 ; 
12192   char *  kwnames
[] = { 
12193     (char *) "self",(char *) "flags", NULL 
 
12196   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12197   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 |  0 ); 
12198   if (!SWIG_IsOK(res1
)) { 
12199     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");  
12201   arg1 
= reinterpret_cast< wxCalculateLayoutEvent 
* >(argp1
); 
12202   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12203   if (!SWIG_IsOK(ecode2
)) { 
12204     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
12206   arg2 
= static_cast< int >(val2
); 
12208     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12209     (arg1
)->SetFlags(arg2
); 
12210     wxPyEndAllowThreads(__tstate
); 
12211     if (PyErr_Occurred()) SWIG_fail
; 
12213   resultobj 
= SWIG_Py_Void(); 
12220 SWIGINTERN PyObject 
*_wrap_CalculateLayoutEvent_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12221   PyObject 
*resultobj 
= 0; 
12222   wxCalculateLayoutEvent 
*arg1 
= (wxCalculateLayoutEvent 
*) 0 ; 
12226   PyObject 
*swig_obj
[1] ; 
12228   if (!args
) SWIG_fail
; 
12229   swig_obj
[0] = args
; 
12230   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 |  0 ); 
12231   if (!SWIG_IsOK(res1
)) { 
12232     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");  
12234   arg1 
= reinterpret_cast< wxCalculateLayoutEvent 
* >(argp1
); 
12236     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12237     result 
= (int)((wxCalculateLayoutEvent 
const *)arg1
)->GetFlags(); 
12238     wxPyEndAllowThreads(__tstate
); 
12239     if (PyErr_Occurred()) SWIG_fail
; 
12241   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12248 SWIGINTERN PyObject 
*_wrap_CalculateLayoutEvent_SetRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12249   PyObject 
*resultobj 
= 0; 
12250   wxCalculateLayoutEvent 
*arg1 
= (wxCalculateLayoutEvent 
*) 0 ; 
12255   PyObject 
* obj0 
= 0 ; 
12256   PyObject 
* obj1 
= 0 ; 
12257   char *  kwnames
[] = { 
12258     (char *) "self",(char *) "rect", NULL 
 
12261   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12262   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 |  0 ); 
12263   if (!SWIG_IsOK(res1
)) { 
12264     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");  
12266   arg1 
= reinterpret_cast< wxCalculateLayoutEvent 
* >(argp1
); 
12269     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
12272     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12273     (arg1
)->SetRect((wxRect 
const &)*arg2
); 
12274     wxPyEndAllowThreads(__tstate
); 
12275     if (PyErr_Occurred()) SWIG_fail
; 
12277   resultobj 
= SWIG_Py_Void(); 
12284 SWIGINTERN PyObject 
*_wrap_CalculateLayoutEvent_GetRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12285   PyObject 
*resultobj 
= 0; 
12286   wxCalculateLayoutEvent 
*arg1 
= (wxCalculateLayoutEvent 
*) 0 ; 
12290   PyObject 
*swig_obj
[1] ; 
12292   if (!args
) SWIG_fail
; 
12293   swig_obj
[0] = args
; 
12294   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 |  0 ); 
12295   if (!SWIG_IsOK(res1
)) { 
12296     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");  
12298   arg1 
= reinterpret_cast< wxCalculateLayoutEvent 
* >(argp1
); 
12300     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12301     result 
= ((wxCalculateLayoutEvent 
const *)arg1
)->GetRect(); 
12302     wxPyEndAllowThreads(__tstate
); 
12303     if (PyErr_Occurred()) SWIG_fail
; 
12305   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
12312 SWIGINTERN PyObject 
*CalculateLayoutEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12314   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12315   SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
)); 
12316   return SWIG_Py_Void(); 
12319 SWIGINTERN PyObject 
*CalculateLayoutEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12320   return SWIG_Python_InitShadowInstance(args
); 
12323 SWIGINTERN PyObject 
*_wrap_new_SashLayoutWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12324   PyObject 
*resultobj 
= 0; 
12325   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
12326   int arg2 
= (int) -1 ; 
12327   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
12328   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
12329   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
12330   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
12331   long arg5 
= (long) wxCLIP_CHILDREN
|wxSW_3D 
; 
12332   wxString 
const &arg6_defvalue 
= wxPySashLayoutNameStr 
; 
12333   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
12334   wxSashLayoutWindow 
*result 
= 0 ; 
12343   bool temp6 
= false ; 
12344   PyObject 
* obj0 
= 0 ; 
12345   PyObject 
* obj1 
= 0 ; 
12346   PyObject 
* obj2 
= 0 ; 
12347   PyObject 
* obj3 
= 0 ; 
12348   PyObject 
* obj4 
= 0 ; 
12349   PyObject 
* obj5 
= 0 ; 
12350   char *  kwnames
[] = { 
12351     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
12354   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
12355   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
12356   if (!SWIG_IsOK(res1
)) { 
12357     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
12359   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
12361     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12362     if (!SWIG_IsOK(ecode2
)) { 
12363       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'"); 
12365     arg2 
= static_cast< int >(val2
); 
12370       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12376       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
12380     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
12381     if (!SWIG_IsOK(ecode5
)) { 
12382       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'"); 
12384     arg5 
= static_cast< long >(val5
); 
12388       arg6 
= wxString_in_helper(obj5
); 
12389       if (arg6 
== NULL
) SWIG_fail
; 
12394     if (!wxPyCheckForApp()) SWIG_fail
; 
12395     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12396     result 
= (wxSashLayoutWindow 
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
12397     wxPyEndAllowThreads(__tstate
); 
12398     if (PyErr_Occurred()) SWIG_fail
; 
12400   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW 
|  0 ); 
12415 SWIGINTERN PyObject 
*_wrap_new_PreSashLayoutWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12416   PyObject 
*resultobj 
= 0; 
12417   wxSashLayoutWindow 
*result 
= 0 ; 
12419   if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
; 
12421     if (!wxPyCheckForApp()) SWIG_fail
; 
12422     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12423     result 
= (wxSashLayoutWindow 
*)new wxSashLayoutWindow(); 
12424     wxPyEndAllowThreads(__tstate
); 
12425     if (PyErr_Occurred()) SWIG_fail
; 
12427   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN 
|  0 ); 
12434 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12435   PyObject 
*resultobj 
= 0; 
12436   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12437   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
12438   int arg3 
= (int) -1 ; 
12439   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
12440   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
12441   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
12442   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
12443   long arg6 
= (long) wxCLIP_CHILDREN
|wxSW_3D 
; 
12444   wxString 
const &arg7_defvalue 
= wxPySashLayoutNameStr 
; 
12445   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
12457   bool temp7 
= false ; 
12458   PyObject 
* obj0 
= 0 ; 
12459   PyObject 
* obj1 
= 0 ; 
12460   PyObject 
* obj2 
= 0 ; 
12461   PyObject 
* obj3 
= 0 ; 
12462   PyObject 
* obj4 
= 0 ; 
12463   PyObject 
* obj5 
= 0 ; 
12464   PyObject 
* obj6 
= 0 ; 
12465   char *  kwnames
[] = { 
12466     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
12469   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
12470   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12471   if (!SWIG_IsOK(res1
)) { 
12472     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12474   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12475   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
12476   if (!SWIG_IsOK(res2
)) { 
12477     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
12479   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
12481     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
12482     if (!SWIG_IsOK(ecode3
)) { 
12483       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
12485     arg3 
= static_cast< int >(val3
); 
12490       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
12496       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
12500     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
12501     if (!SWIG_IsOK(ecode6
)) { 
12502       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
12504     arg6 
= static_cast< long >(val6
); 
12508       arg7 
= wxString_in_helper(obj6
); 
12509       if (arg7 
== NULL
) SWIG_fail
; 
12514     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12515     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
12516     wxPyEndAllowThreads(__tstate
); 
12517     if (PyErr_Occurred()) SWIG_fail
; 
12520     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12536 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_GetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12537   PyObject 
*resultobj 
= 0; 
12538   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12539   wxLayoutAlignment result
; 
12542   PyObject 
*swig_obj
[1] ; 
12544   if (!args
) SWIG_fail
; 
12545   swig_obj
[0] = args
; 
12546   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12547   if (!SWIG_IsOK(res1
)) { 
12548     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12550   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12552     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12553     result 
= (wxLayoutAlignment
)(arg1
)->GetAlignment(); 
12554     wxPyEndAllowThreads(__tstate
); 
12555     if (PyErr_Occurred()) SWIG_fail
; 
12557   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12564 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_GetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12565   PyObject 
*resultobj 
= 0; 
12566   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12567   wxLayoutOrientation result
; 
12570   PyObject 
*swig_obj
[1] ; 
12572   if (!args
) SWIG_fail
; 
12573   swig_obj
[0] = args
; 
12574   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12575   if (!SWIG_IsOK(res1
)) { 
12576     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12578   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12580     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12581     result 
= (wxLayoutOrientation
)(arg1
)->GetOrientation(); 
12582     wxPyEndAllowThreads(__tstate
); 
12583     if (PyErr_Occurred()) SWIG_fail
; 
12585   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12592 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_SetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12593   PyObject 
*resultobj 
= 0; 
12594   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12595   wxLayoutAlignment arg2 
; 
12600   PyObject 
* obj0 
= 0 ; 
12601   PyObject 
* obj1 
= 0 ; 
12602   char *  kwnames
[] = { 
12603     (char *) "self",(char *) "alignment", NULL 
 
12606   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12607   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12608   if (!SWIG_IsOK(res1
)) { 
12609     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12611   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12612   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12613   if (!SWIG_IsOK(ecode2
)) { 
12614     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'"); 
12616   arg2 
= static_cast< wxLayoutAlignment 
>(val2
); 
12618     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12619     (arg1
)->SetAlignment(arg2
); 
12620     wxPyEndAllowThreads(__tstate
); 
12621     if (PyErr_Occurred()) SWIG_fail
; 
12623   resultobj 
= SWIG_Py_Void(); 
12630 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12631   PyObject 
*resultobj 
= 0; 
12632   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12637   PyObject 
* obj0 
= 0 ; 
12638   PyObject 
* obj1 
= 0 ; 
12639   char *  kwnames
[] = { 
12640     (char *) "self",(char *) "size", NULL 
 
12643   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12644   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12645   if (!SWIG_IsOK(res1
)) { 
12646     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12648   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12651     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
12654     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12655     (arg1
)->SetDefaultSize((wxSize 
const &)*arg2
); 
12656     wxPyEndAllowThreads(__tstate
); 
12657     if (PyErr_Occurred()) SWIG_fail
; 
12659   resultobj 
= SWIG_Py_Void(); 
12666 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_SetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12667   PyObject 
*resultobj 
= 0; 
12668   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12669   wxLayoutOrientation arg2 
; 
12674   PyObject 
* obj0 
= 0 ; 
12675   PyObject 
* obj1 
= 0 ; 
12676   char *  kwnames
[] = { 
12677     (char *) "self",(char *) "orientation", NULL 
 
12680   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12681   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12682   if (!SWIG_IsOK(res1
)) { 
12683     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12685   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12686   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12687   if (!SWIG_IsOK(ecode2
)) { 
12688     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'"); 
12690   arg2 
= static_cast< wxLayoutOrientation 
>(val2
); 
12692     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12693     (arg1
)->SetOrientation(arg2
); 
12694     wxPyEndAllowThreads(__tstate
); 
12695     if (PyErr_Occurred()) SWIG_fail
; 
12697   resultobj 
= SWIG_Py_Void(); 
12704 SWIGINTERN PyObject 
*SashLayoutWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12706   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12707   SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
)); 
12708   return SWIG_Py_Void(); 
12711 SWIGINTERN PyObject 
*SashLayoutWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12712   return SWIG_Python_InitShadowInstance(args
); 
12715 SWIGINTERN PyObject 
*_wrap_new_LayoutAlgorithm(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12716   PyObject 
*resultobj 
= 0; 
12717   wxLayoutAlgorithm 
*result 
= 0 ; 
12719   if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
; 
12721     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12722     result 
= (wxLayoutAlgorithm 
*)new wxLayoutAlgorithm(); 
12723     wxPyEndAllowThreads(__tstate
); 
12724     if (PyErr_Occurred()) SWIG_fail
; 
12726   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW 
|  0 ); 
12733 SWIGINTERN PyObject 
*_wrap_delete_LayoutAlgorithm(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12734   PyObject 
*resultobj 
= 0; 
12735   wxLayoutAlgorithm 
*arg1 
= (wxLayoutAlgorithm 
*) 0 ; 
12738   PyObject 
*swig_obj
[1] ; 
12740   if (!args
) SWIG_fail
; 
12741   swig_obj
[0] = args
; 
12742   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN 
|  0 ); 
12743   if (!SWIG_IsOK(res1
)) { 
12744     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");  
12746   arg1 
= reinterpret_cast< wxLayoutAlgorithm 
* >(argp1
); 
12748     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12751     wxPyEndAllowThreads(__tstate
); 
12752     if (PyErr_Occurred()) SWIG_fail
; 
12754   resultobj 
= SWIG_Py_Void(); 
12761 SWIGINTERN PyObject 
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12762   PyObject 
*resultobj 
= 0; 
12763   wxLayoutAlgorithm 
*arg1 
= (wxLayoutAlgorithm 
*) 0 ; 
12764   wxMDIParentFrame 
*arg2 
= (wxMDIParentFrame 
*) 0 ; 
12765   wxRect 
*arg3 
= (wxRect 
*) NULL 
; 
12773   PyObject 
* obj0 
= 0 ; 
12774   PyObject 
* obj1 
= 0 ; 
12775   PyObject 
* obj2 
= 0 ; 
12776   char *  kwnames
[] = { 
12777     (char *) "self",(char *) "frame",(char *) "rect", NULL 
 
12780   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12781   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 |  0 ); 
12782   if (!SWIG_IsOK(res1
)) { 
12783     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");  
12785   arg1 
= reinterpret_cast< wxLayoutAlgorithm 
* >(argp1
); 
12786   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
12787   if (!SWIG_IsOK(res2
)) { 
12788     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");  
12790   arg2 
= reinterpret_cast< wxMDIParentFrame 
* >(argp2
); 
12792     res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 |  0 ); 
12793     if (!SWIG_IsOK(res3
)) { 
12794       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");  
12796     arg3 
= reinterpret_cast< wxRect 
* >(argp3
); 
12799     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12800     result 
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
); 
12801     wxPyEndAllowThreads(__tstate
); 
12802     if (PyErr_Occurred()) SWIG_fail
; 
12805     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12813 SWIGINTERN PyObject 
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12814   PyObject 
*resultobj 
= 0; 
12815   wxLayoutAlgorithm 
*arg1 
= (wxLayoutAlgorithm 
*) 0 ; 
12816   wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
12817   wxWindow 
*arg3 
= (wxWindow 
*) NULL 
; 
12825   PyObject 
* obj0 
= 0 ; 
12826   PyObject 
* obj1 
= 0 ; 
12827   PyObject 
* obj2 
= 0 ; 
12828   char *  kwnames
[] = { 
12829     (char *) "self",(char *) "frame",(char *) "mainWindow", NULL 
 
12832   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12833   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 |  0 ); 
12834   if (!SWIG_IsOK(res1
)) { 
12835     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");  
12837   arg1 
= reinterpret_cast< wxLayoutAlgorithm 
* >(argp1
); 
12838   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
12839   if (!SWIG_IsOK(res2
)) { 
12840     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");  
12842   arg2 
= reinterpret_cast< wxFrame 
* >(argp2
); 
12844     res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
12845     if (!SWIG_IsOK(res3
)) { 
12846       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");  
12848     arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
12851     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12852     result 
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
); 
12853     wxPyEndAllowThreads(__tstate
); 
12854     if (PyErr_Occurred()) SWIG_fail
; 
12857     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12865 SWIGINTERN PyObject 
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12866   PyObject 
*resultobj 
= 0; 
12867   wxLayoutAlgorithm 
*arg1 
= (wxLayoutAlgorithm 
*) 0 ; 
12868   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
12869   wxWindow 
*arg3 
= (wxWindow 
*) NULL 
; 
12877   PyObject 
* obj0 
= 0 ; 
12878   PyObject 
* obj1 
= 0 ; 
12879   PyObject 
* obj2 
= 0 ; 
12880   char *  kwnames
[] = { 
12881     (char *) "self",(char *) "parent",(char *) "mainWindow", NULL 
 
12884   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12885   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 |  0 ); 
12886   if (!SWIG_IsOK(res1
)) { 
12887     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");  
12889   arg1 
= reinterpret_cast< wxLayoutAlgorithm 
* >(argp1
); 
12890   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
12891   if (!SWIG_IsOK(res2
)) { 
12892     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
12894   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
12896     res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
12897     if (!SWIG_IsOK(res3
)) { 
12898       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");  
12900     arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
12903     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12904     result 
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
); 
12905     wxPyEndAllowThreads(__tstate
); 
12906     if (PyErr_Occurred()) SWIG_fail
; 
12909     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12917 SWIGINTERN PyObject 
*LayoutAlgorithm_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12919   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12920   SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
)); 
12921   return SWIG_Py_Void(); 
12924 SWIGINTERN PyObject 
*LayoutAlgorithm_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12925   return SWIG_Python_InitShadowInstance(args
); 
12928 SWIGINTERN PyObject 
*_wrap_new_PopupWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12929   PyObject 
*resultobj 
= 0; 
12930   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
12931   int arg2 
= (int) wxBORDER_NONE 
; 
12932   wxPopupWindow 
*result 
= 0 ; 
12937   PyObject 
* obj0 
= 0 ; 
12938   PyObject 
* obj1 
= 0 ; 
12939   char *  kwnames
[] = { 
12940     (char *) "parent",(char *) "flags", NULL 
 
12943   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12944   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
12945   if (!SWIG_IsOK(res1
)) { 
12946     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
12948   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
12950     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12951     if (!SWIG_IsOK(ecode2
)) { 
12952       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'"); 
12954     arg2 
= static_cast< int >(val2
); 
12957     if (!wxPyCheckForApp()) SWIG_fail
; 
12958     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12959     result 
= (wxPopupWindow 
*)new wxPopupWindow(arg1
,arg2
); 
12960     wxPyEndAllowThreads(__tstate
); 
12961     if (PyErr_Occurred()) SWIG_fail
; 
12963   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW 
|  0 ); 
12970 SWIGINTERN PyObject 
*_wrap_new_PrePopupWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12971   PyObject 
*resultobj 
= 0; 
12972   wxPopupWindow 
*result 
= 0 ; 
12974   if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
; 
12976     if (!wxPyCheckForApp()) SWIG_fail
; 
12977     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12978     result 
= (wxPopupWindow 
*)new wxPopupWindow(); 
12979     wxPyEndAllowThreads(__tstate
); 
12980     if (PyErr_Occurred()) SWIG_fail
; 
12982   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN 
|  0 ); 
12989 SWIGINTERN PyObject 
*_wrap_PopupWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12990   PyObject 
*resultobj 
= 0; 
12991   wxPopupWindow 
*arg1 
= (wxPopupWindow 
*) 0 ; 
12992   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
12993   int arg3 
= (int) wxBORDER_NONE 
; 
13001   PyObject 
* obj0 
= 0 ; 
13002   PyObject 
* obj1 
= 0 ; 
13003   PyObject 
* obj2 
= 0 ; 
13004   char *  kwnames
[] = { 
13005     (char *) "self",(char *) "parent",(char *) "flags", NULL 
 
13008   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13009   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 |  0 ); 
13010   if (!SWIG_IsOK(res1
)) { 
13011     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");  
13013   arg1 
= reinterpret_cast< wxPopupWindow 
* >(argp1
); 
13014   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13015   if (!SWIG_IsOK(res2
)) { 
13016     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
13018   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
13020     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13021     if (!SWIG_IsOK(ecode3
)) { 
13022       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
13024     arg3 
= static_cast< int >(val3
); 
13027     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13028     result 
= (bool)(arg1
)->Create(arg2
,arg3
); 
13029     wxPyEndAllowThreads(__tstate
); 
13030     if (PyErr_Occurred()) SWIG_fail
; 
13033     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13041 SWIGINTERN PyObject 
*_wrap_PopupWindow_Position(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13042   PyObject 
*resultobj 
= 0; 
13043   wxPopupWindow 
*arg1 
= (wxPopupWindow 
*) 0 ; 
13044   wxPoint 
*arg2 
= 0 ; 
13050   PyObject 
* obj0 
= 0 ; 
13051   PyObject 
* obj1 
= 0 ; 
13052   PyObject 
* obj2 
= 0 ; 
13053   char *  kwnames
[] = { 
13054     (char *) "self",(char *) "ptOrigin",(char *) "size", NULL 
 
13057   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13058   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 |  0 ); 
13059   if (!SWIG_IsOK(res1
)) { 
13060     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");  
13062   arg1 
= reinterpret_cast< wxPopupWindow 
* >(argp1
); 
13065     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13069     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
13072     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13073     (arg1
)->Position((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
13074     wxPyEndAllowThreads(__tstate
); 
13075     if (PyErr_Occurred()) SWIG_fail
; 
13077   resultobj 
= SWIG_Py_Void(); 
13084 SWIGINTERN PyObject 
*PopupWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13086   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
13087   SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
)); 
13088   return SWIG_Py_Void(); 
13091 SWIGINTERN PyObject 
*PopupWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13092   return SWIG_Python_InitShadowInstance(args
); 
13095 SWIGINTERN PyObject 
*_wrap_new_PopupTransientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13096   PyObject 
*resultobj 
= 0; 
13097   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
13098   int arg2 
= (int) wxBORDER_NONE 
; 
13099   wxPyPopupTransientWindow 
*result 
= 0 ; 
13104   PyObject 
* obj0 
= 0 ; 
13105   PyObject 
* obj1 
= 0 ; 
13106   char *  kwnames
[] = { 
13107     (char *) "parent",(char *) "style", NULL 
 
13110   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13111   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13112   if (!SWIG_IsOK(res1
)) { 
13113     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
13115   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
13117     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13118     if (!SWIG_IsOK(ecode2
)) { 
13119       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'"); 
13121     arg2 
= static_cast< int >(val2
); 
13124     if (!wxPyCheckForApp()) SWIG_fail
; 
13125     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13126     result 
= (wxPyPopupTransientWindow 
*)new wxPyPopupTransientWindow(arg1
,arg2
); 
13127     wxPyEndAllowThreads(__tstate
); 
13128     if (PyErr_Occurred()) SWIG_fail
; 
13130   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW 
|  0 ); 
13137 SWIGINTERN PyObject 
*_wrap_new_PrePopupTransientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13138   PyObject 
*resultobj 
= 0; 
13139   wxPyPopupTransientWindow 
*result 
= 0 ; 
13141   if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
; 
13143     if (!wxPyCheckForApp()) SWIG_fail
; 
13144     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13145     result 
= (wxPyPopupTransientWindow 
*)new wxPyPopupTransientWindow(); 
13146     wxPyEndAllowThreads(__tstate
); 
13147     if (PyErr_Occurred()) SWIG_fail
; 
13149   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN 
|  0 ); 
13156 SWIGINTERN PyObject 
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13157   PyObject 
*resultobj 
= 0; 
13158   wxPyPopupTransientWindow 
*arg1 
= (wxPyPopupTransientWindow 
*) 0 ; 
13159   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
13160   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
13163   PyObject 
* obj0 
= 0 ; 
13164   PyObject 
* obj1 
= 0 ; 
13165   PyObject 
* obj2 
= 0 ; 
13166   char *  kwnames
[] = { 
13167     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
13170   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13171   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 |  0 ); 
13172   if (!SWIG_IsOK(res1
)) { 
13173     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");  
13175   arg1 
= reinterpret_cast< wxPyPopupTransientWindow 
* >(argp1
); 
13179     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13180     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
13181     wxPyEndAllowThreads(__tstate
); 
13182     if (PyErr_Occurred()) SWIG_fail
; 
13184   resultobj 
= SWIG_Py_Void(); 
13191 SWIGINTERN PyObject 
*_wrap_PopupTransientWindow_Popup(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13192   PyObject 
*resultobj 
= 0; 
13193   wxPyPopupTransientWindow 
*arg1 
= (wxPyPopupTransientWindow 
*) 0 ; 
13194   wxWindow 
*arg2 
= (wxWindow 
*) NULL 
; 
13199   PyObject 
* obj0 
= 0 ; 
13200   PyObject 
* obj1 
= 0 ; 
13201   char *  kwnames
[] = { 
13202     (char *) "self",(char *) "focus", NULL 
 
13205   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13206   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 |  0 ); 
13207   if (!SWIG_IsOK(res1
)) { 
13208     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");  
13210   arg1 
= reinterpret_cast< wxPyPopupTransientWindow 
* >(argp1
); 
13212     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13213     if (!SWIG_IsOK(res2
)) { 
13214       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");  
13216     arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
13219     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13220     (arg1
)->Popup(arg2
); 
13221     wxPyEndAllowThreads(__tstate
); 
13222     if (PyErr_Occurred()) SWIG_fail
; 
13224   resultobj 
= SWIG_Py_Void(); 
13231 SWIGINTERN PyObject 
*_wrap_PopupTransientWindow_Dismiss(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13232   PyObject 
*resultobj 
= 0; 
13233   wxPyPopupTransientWindow 
*arg1 
= (wxPyPopupTransientWindow 
*) 0 ; 
13236   PyObject 
*swig_obj
[1] ; 
13238   if (!args
) SWIG_fail
; 
13239   swig_obj
[0] = args
; 
13240   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 |  0 ); 
13241   if (!SWIG_IsOK(res1
)) { 
13242     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");  
13244   arg1 
= reinterpret_cast< wxPyPopupTransientWindow 
* >(argp1
); 
13246     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13248     wxPyEndAllowThreads(__tstate
); 
13249     if (PyErr_Occurred()) SWIG_fail
; 
13251   resultobj 
= SWIG_Py_Void(); 
13258 SWIGINTERN PyObject 
*PopupTransientWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13260   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
13261   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
)); 
13262   return SWIG_Py_Void(); 
13265 SWIGINTERN PyObject 
*PopupTransientWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13266   return SWIG_Python_InitShadowInstance(args
); 
13269 SWIGINTERN PyObject 
*_wrap_new_TipWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13270   PyObject 
*resultobj 
= 0; 
13271   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
13272   wxString 
*arg2 
= 0 ; 
13273   int arg3 
= (int) 100 ; 
13274   wxRect 
*arg4 
= (wxRect 
*) NULL 
; 
13275   wxTipWindow 
*result 
= 0 ; 
13278   bool temp2 
= false ; 
13283   PyObject 
* obj0 
= 0 ; 
13284   PyObject 
* obj1 
= 0 ; 
13285   PyObject 
* obj2 
= 0 ; 
13286   PyObject 
* obj3 
= 0 ; 
13287   char *  kwnames
[] = { 
13288     (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL 
 
13291   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
13292   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13293   if (!SWIG_IsOK(res1
)) { 
13294     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
13296   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
13298     arg2 
= wxString_in_helper(obj1
); 
13299     if (arg2 
== NULL
) SWIG_fail
; 
13303     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13304     if (!SWIG_IsOK(ecode3
)) { 
13305       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'"); 
13307     arg3 
= static_cast< int >(val3
); 
13310     res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 |  0 ); 
13311     if (!SWIG_IsOK(res4
)) { 
13312       SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");  
13314     arg4 
= reinterpret_cast< wxRect 
* >(argp4
); 
13317     if (!wxPyCheckForApp()) SWIG_fail
; 
13318     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13319     result 
= (wxTipWindow 
*)new_wxTipWindow(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
); 
13320     wxPyEndAllowThreads(__tstate
); 
13321     if (PyErr_Occurred()) SWIG_fail
; 
13323   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW 
|  0 ); 
13338 SWIGINTERN PyObject 
*_wrap_TipWindow_SetBoundingRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13339   PyObject 
*resultobj 
= 0; 
13340   wxTipWindow 
*arg1 
= (wxTipWindow 
*) 0 ; 
13345   PyObject 
* obj0 
= 0 ; 
13346   PyObject 
* obj1 
= 0 ; 
13347   char *  kwnames
[] = { 
13348     (char *) "self",(char *) "rectBound", NULL 
 
13351   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13352   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 |  0 ); 
13353   if (!SWIG_IsOK(res1
)) { 
13354     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");  
13356   arg1 
= reinterpret_cast< wxTipWindow 
* >(argp1
); 
13359     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
13362     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13363     (arg1
)->SetBoundingRect((wxRect 
const &)*arg2
); 
13364     wxPyEndAllowThreads(__tstate
); 
13365     if (PyErr_Occurred()) SWIG_fail
; 
13367   resultobj 
= SWIG_Py_Void(); 
13374 SWIGINTERN PyObject 
*_wrap_TipWindow_Close(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13375   PyObject 
*resultobj 
= 0; 
13376   wxTipWindow 
*arg1 
= (wxTipWindow 
*) 0 ; 
13379   PyObject 
*swig_obj
[1] ; 
13381   if (!args
) SWIG_fail
; 
13382   swig_obj
[0] = args
; 
13383   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 |  0 ); 
13384   if (!SWIG_IsOK(res1
)) { 
13385     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");  
13387   arg1 
= reinterpret_cast< wxTipWindow 
* >(argp1
); 
13389     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13391     wxPyEndAllowThreads(__tstate
); 
13392     if (PyErr_Occurred()) SWIG_fail
; 
13394   resultobj 
= SWIG_Py_Void(); 
13401 SWIGINTERN PyObject 
*TipWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13403   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
13404   SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
)); 
13405   return SWIG_Py_Void(); 
13408 SWIGINTERN PyObject 
*TipWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13409   return SWIG_Python_InitShadowInstance(args
); 
13412 SWIGINTERN PyObject 
*_wrap_new_VScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13413   PyObject 
*resultobj 
= 0; 
13414   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
13415   int arg2 
= (int) wxID_ANY 
; 
13416   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
13417   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
13418   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
13419   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
13420   long arg5 
= (long) 0 ; 
13421   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
13422   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
13423   wxPyVScrolledWindow 
*result 
= 0 ; 
13432   bool temp6 
= false ; 
13433   PyObject 
* obj0 
= 0 ; 
13434   PyObject 
* obj1 
= 0 ; 
13435   PyObject 
* obj2 
= 0 ; 
13436   PyObject 
* obj3 
= 0 ; 
13437   PyObject 
* obj4 
= 0 ; 
13438   PyObject 
* obj5 
= 0 ; 
13439   char *  kwnames
[] = { 
13440     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
13443   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
13444   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13445   if (!SWIG_IsOK(res1
)) { 
13446     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
13448   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
13450     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13451     if (!SWIG_IsOK(ecode2
)) { 
13452       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'"); 
13454     arg2 
= static_cast< int >(val2
); 
13459       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
13465       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
13469     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
13470     if (!SWIG_IsOK(ecode5
)) { 
13471       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'"); 
13473     arg5 
= static_cast< long >(val5
); 
13477       arg6 
= wxString_in_helper(obj5
); 
13478       if (arg6 
== NULL
) SWIG_fail
; 
13483     if (!wxPyCheckForApp()) SWIG_fail
; 
13484     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13485     result 
= (wxPyVScrolledWindow 
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
13486     wxPyEndAllowThreads(__tstate
); 
13487     if (PyErr_Occurred()) SWIG_fail
; 
13489   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW 
|  0 ); 
13504 SWIGINTERN PyObject 
*_wrap_new_PreVScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13505   PyObject 
*resultobj 
= 0; 
13506   wxPyVScrolledWindow 
*result 
= 0 ; 
13508   if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
; 
13510     if (!wxPyCheckForApp()) SWIG_fail
; 
13511     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13512     result 
= (wxPyVScrolledWindow 
*)new wxPyVScrolledWindow(); 
13513     wxPyEndAllowThreads(__tstate
); 
13514     if (PyErr_Occurred()) SWIG_fail
; 
13516   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN 
|  0 ); 
13523 SWIGINTERN PyObject 
*_wrap_VScrolledWindow__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13524   PyObject 
*resultobj 
= 0; 
13525   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13526   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
13527   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
13530   PyObject 
* obj0 
= 0 ; 
13531   PyObject 
* obj1 
= 0 ; 
13532   PyObject 
* obj2 
= 0 ; 
13533   char *  kwnames
[] = { 
13534     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
13537   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13538   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13539   if (!SWIG_IsOK(res1
)) { 
13540     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13542   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13546     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13547     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
13548     wxPyEndAllowThreads(__tstate
); 
13549     if (PyErr_Occurred()) SWIG_fail
; 
13551   resultobj 
= SWIG_Py_Void(); 
13558 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13559   PyObject 
*resultobj 
= 0; 
13560   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13561   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
13562   int arg3 
= (int) wxID_ANY 
; 
13563   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
13564   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
13565   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
13566   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
13567   long arg6 
= (long) 0 ; 
13568   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
13569   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
13581   bool temp7 
= false ; 
13582   PyObject 
* obj0 
= 0 ; 
13583   PyObject 
* obj1 
= 0 ; 
13584   PyObject 
* obj2 
= 0 ; 
13585   PyObject 
* obj3 
= 0 ; 
13586   PyObject 
* obj4 
= 0 ; 
13587   PyObject 
* obj5 
= 0 ; 
13588   PyObject 
* obj6 
= 0 ; 
13589   char *  kwnames
[] = { 
13590     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
13593   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
13594   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13595   if (!SWIG_IsOK(res1
)) { 
13596     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13598   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13599   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13600   if (!SWIG_IsOK(res2
)) { 
13601     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
13603   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
13605     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13606     if (!SWIG_IsOK(ecode3
)) { 
13607       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
13609     arg3 
= static_cast< int >(val3
); 
13614       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
13620       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
13624     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
13625     if (!SWIG_IsOK(ecode6
)) { 
13626       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
13628     arg6 
= static_cast< long >(val6
); 
13632       arg7 
= wxString_in_helper(obj6
); 
13633       if (arg7 
== NULL
) SWIG_fail
; 
13638     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13639     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
13640     wxPyEndAllowThreads(__tstate
); 
13641     if (PyErr_Occurred()) SWIG_fail
; 
13644     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13660 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_SetLineCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13661   PyObject 
*resultobj 
= 0; 
13662   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13668   PyObject 
* obj0 
= 0 ; 
13669   PyObject 
* obj1 
= 0 ; 
13670   char *  kwnames
[] = { 
13671     (char *) "self",(char *) "count", NULL 
 
13674   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13675   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13676   if (!SWIG_IsOK(res1
)) { 
13677     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13679   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13680   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
13681   if (!SWIG_IsOK(ecode2
)) { 
13682     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'"); 
13684   arg2 
= static_cast< size_t >(val2
); 
13686     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13687     (arg1
)->SetLineCount(arg2
); 
13688     wxPyEndAllowThreads(__tstate
); 
13689     if (PyErr_Occurred()) SWIG_fail
; 
13691   resultobj 
= SWIG_Py_Void(); 
13698 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_ScrollToLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13699   PyObject 
*resultobj 
= 0; 
13700   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13707   PyObject 
* obj0 
= 0 ; 
13708   PyObject 
* obj1 
= 0 ; 
13709   char *  kwnames
[] = { 
13710     (char *) "self",(char *) "line", NULL 
 
13713   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13714   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13715   if (!SWIG_IsOK(res1
)) { 
13716     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13718   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13719   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
13720   if (!SWIG_IsOK(ecode2
)) { 
13721     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'"); 
13723   arg2 
= static_cast< size_t >(val2
); 
13725     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13726     result 
= (bool)(arg1
)->ScrollToLine(arg2
); 
13727     wxPyEndAllowThreads(__tstate
); 
13728     if (PyErr_Occurred()) SWIG_fail
; 
13731     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13739 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_RefreshLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13740   PyObject 
*resultobj 
= 0; 
13741   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13747   PyObject 
* obj0 
= 0 ; 
13748   PyObject 
* obj1 
= 0 ; 
13749   char *  kwnames
[] = { 
13750     (char *) "self",(char *) "line", NULL 
 
13753   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13754   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13755   if (!SWIG_IsOK(res1
)) { 
13756     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13758   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13759   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
13760   if (!SWIG_IsOK(ecode2
)) { 
13761     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'"); 
13763   arg2 
= static_cast< size_t >(val2
); 
13765     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13766     (arg1
)->RefreshLine(arg2
); 
13767     wxPyEndAllowThreads(__tstate
); 
13768     if (PyErr_Occurred()) SWIG_fail
; 
13770   resultobj 
= SWIG_Py_Void(); 
13777 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_RefreshLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13778   PyObject 
*resultobj 
= 0; 
13779   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13788   PyObject 
* obj0 
= 0 ; 
13789   PyObject 
* obj1 
= 0 ; 
13790   PyObject 
* obj2 
= 0 ; 
13791   char *  kwnames
[] = { 
13792     (char *) "self",(char *) "_from",(char *) "to", NULL 
 
13795   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13796   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13797   if (!SWIG_IsOK(res1
)) { 
13798     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13800   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13801   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
13802   if (!SWIG_IsOK(ecode2
)) { 
13803     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'"); 
13805   arg2 
= static_cast< size_t >(val2
); 
13806   ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
13807   if (!SWIG_IsOK(ecode3
)) { 
13808     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'"); 
13810   arg3 
= static_cast< size_t >(val3
); 
13812     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13813     (arg1
)->RefreshLines(arg2
,arg3
); 
13814     wxPyEndAllowThreads(__tstate
); 
13815     if (PyErr_Occurred()) SWIG_fail
; 
13817   resultobj 
= SWIG_Py_Void(); 
13824 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_HitTestXY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13825   PyObject 
*resultobj 
= 0; 
13826   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13836   PyObject 
* obj0 
= 0 ; 
13837   PyObject 
* obj1 
= 0 ; 
13838   PyObject 
* obj2 
= 0 ; 
13839   char *  kwnames
[] = { 
13840     (char *) "self",(char *) "x",(char *) "y", NULL 
 
13843   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13844   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13845   if (!SWIG_IsOK(res1
)) { 
13846     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
13848   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13849   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13850   if (!SWIG_IsOK(ecode2
)) { 
13851     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'"); 
13853   arg2 
= static_cast< int >(val2
); 
13854   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13855   if (!SWIG_IsOK(ecode3
)) { 
13856     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'"); 
13858   arg3 
= static_cast< int >(val3
); 
13860     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13861     result 
= (int)((wxPyVScrolledWindow 
const *)arg1
)->HitTest(arg2
,arg3
); 
13862     wxPyEndAllowThreads(__tstate
); 
13863     if (PyErr_Occurred()) SWIG_fail
; 
13865   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13872 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_HitTest(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13873   PyObject 
*resultobj 
= 0; 
13874   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13875   wxPoint 
*arg2 
= 0 ; 
13880   PyObject 
* obj0 
= 0 ; 
13881   PyObject 
* obj1 
= 0 ; 
13882   char *  kwnames
[] = { 
13883     (char *) "self",(char *) "pt", NULL 
 
13886   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13887   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13888   if (!SWIG_IsOK(res1
)) { 
13889     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
13891   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13894     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13897     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13898     result 
= (int)((wxPyVScrolledWindow 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
); 
13899     wxPyEndAllowThreads(__tstate
); 
13900     if (PyErr_Occurred()) SWIG_fail
; 
13902   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13909 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_RefreshAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13910   PyObject 
*resultobj 
= 0; 
13911   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13914   PyObject 
*swig_obj
[1] ; 
13916   if (!args
) SWIG_fail
; 
13917   swig_obj
[0] = args
; 
13918   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13919   if (!SWIG_IsOK(res1
)) { 
13920     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13922   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13924     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13925     (arg1
)->RefreshAll(); 
13926     wxPyEndAllowThreads(__tstate
); 
13927     if (PyErr_Occurred()) SWIG_fail
; 
13929   resultobj 
= SWIG_Py_Void(); 
13936 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetLineCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13937   PyObject 
*resultobj 
= 0; 
13938   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13942   PyObject 
*swig_obj
[1] ; 
13944   if (!args
) SWIG_fail
; 
13945   swig_obj
[0] = args
; 
13946   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13947   if (!SWIG_IsOK(res1
)) { 
13948     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
13950   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13952     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13953     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetLineCount(); 
13954     wxPyEndAllowThreads(__tstate
); 
13955     if (PyErr_Occurred()) SWIG_fail
; 
13957   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
13964 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13965   PyObject 
*resultobj 
= 0; 
13966   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13970   PyObject 
*swig_obj
[1] ; 
13972   if (!args
) SWIG_fail
; 
13973   swig_obj
[0] = args
; 
13974   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13975   if (!SWIG_IsOK(res1
)) { 
13976     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
13978   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13980     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13981     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetVisibleBegin(); 
13982     wxPyEndAllowThreads(__tstate
); 
13983     if (PyErr_Occurred()) SWIG_fail
; 
13985   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
13992 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13993   PyObject 
*resultobj 
= 0; 
13994   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13998   PyObject 
*swig_obj
[1] ; 
14000   if (!args
) SWIG_fail
; 
14001   swig_obj
[0] = args
; 
14002   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14003   if (!SWIG_IsOK(res1
)) { 
14004     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14006   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14008     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14009     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetVisibleEnd(); 
14010     wxPyEndAllowThreads(__tstate
); 
14011     if (PyErr_Occurred()) SWIG_fail
; 
14013   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14020 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_IsVisible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14021   PyObject 
*resultobj 
= 0; 
14022   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14029   PyObject 
* obj0 
= 0 ; 
14030   PyObject 
* obj1 
= 0 ; 
14031   char *  kwnames
[] = { 
14032     (char *) "self",(char *) "line", NULL 
 
14035   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14036   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14037   if (!SWIG_IsOK(res1
)) { 
14038     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14040   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14041   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14042   if (!SWIG_IsOK(ecode2
)) { 
14043     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'"); 
14045   arg2 
= static_cast< size_t >(val2
); 
14047     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14048     result 
= (bool)((wxPyVScrolledWindow 
const *)arg1
)->IsVisible(arg2
); 
14049     wxPyEndAllowThreads(__tstate
); 
14050     if (PyErr_Occurred()) SWIG_fail
; 
14053     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14061 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14062   PyObject 
*resultobj 
= 0; 
14063   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14067   PyObject 
*swig_obj
[1] ; 
14069   if (!args
) SWIG_fail
; 
14070   swig_obj
[0] = args
; 
14071   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14072   if (!SWIG_IsOK(res1
)) { 
14073     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14075   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14077     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14078     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetFirstVisibleLine(); 
14079     wxPyEndAllowThreads(__tstate
); 
14080     if (PyErr_Occurred()) SWIG_fail
; 
14082   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14089 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14090   PyObject 
*resultobj 
= 0; 
14091   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14095   PyObject 
*swig_obj
[1] ; 
14097   if (!args
) SWIG_fail
; 
14098   swig_obj
[0] = args
; 
14099   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14100   if (!SWIG_IsOK(res1
)) { 
14101     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14103   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14105     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14106     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetLastVisibleLine(); 
14107     wxPyEndAllowThreads(__tstate
); 
14108     if (PyErr_Occurred()) SWIG_fail
; 
14110   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14117 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14118   PyObject 
*resultobj 
= 0; 
14119   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14121   bool arg3 
= (bool) false ; 
14129   PyObject 
* obj0 
= 0 ; 
14130   PyObject 
* obj1 
= 0 ; 
14131   PyObject 
* obj2 
= 0 ; 
14132   char *  kwnames
[] = { 
14133     (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL 
 
14136   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14137   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14138   if (!SWIG_IsOK(res1
)) { 
14139     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
14141   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14142   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14143   if (!SWIG_IsOK(ecode2
)) { 
14144     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'"); 
14146   arg2 
= static_cast< size_t >(val2
); 
14148     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
14149     if (!SWIG_IsOK(ecode3
)) { 
14150       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'"); 
14152     arg3 
= static_cast< bool >(val3
); 
14155     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14156     result 
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
); 
14157     wxPyEndAllowThreads(__tstate
); 
14158     if (PyErr_Occurred()) SWIG_fail
; 
14160   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14167 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetLinesHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14168   PyObject 
*resultobj 
= 0; 
14169   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14179   PyObject 
* obj0 
= 0 ; 
14180   PyObject 
* obj1 
= 0 ; 
14181   PyObject 
* obj2 
= 0 ; 
14182   char *  kwnames
[] = { 
14183     (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL 
 
14186   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14187   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14188   if (!SWIG_IsOK(res1
)) { 
14189     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14191   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14192   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14193   if (!SWIG_IsOK(ecode2
)) { 
14194     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'"); 
14196   arg2 
= static_cast< size_t >(val2
); 
14197   ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
14198   if (!SWIG_IsOK(ecode3
)) { 
14199     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'"); 
14201   arg3 
= static_cast< size_t >(val3
); 
14203     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14204     result 
= (int)((wxPyVScrolledWindow 
const *)arg1
)->GetLinesHeight(arg2
,arg3
); 
14205     wxPyEndAllowThreads(__tstate
); 
14206     if (PyErr_Occurred()) SWIG_fail
; 
14208   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14215 SWIGINTERN PyObject 
*VScrolledWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14217   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
14218   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
)); 
14219   return SWIG_Py_Void(); 
14222 SWIGINTERN PyObject 
*VScrolledWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14223   return SWIG_Python_InitShadowInstance(args
); 
14226 SWIGINTERN 
int VListBoxNameStr_set(PyObject 
*) { 
14227   SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only."); 
14232 SWIGINTERN PyObject 
*VListBoxNameStr_get(void) { 
14233   PyObject 
*pyobj 
= 0; 
14237     pyobj 
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len()); 
14239     pyobj 
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len()); 
14246 SWIGINTERN PyObject 
*_wrap_new_VListBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14247   PyObject 
*resultobj 
= 0; 
14248   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
14249   int arg2 
= (int) wxID_ANY 
; 
14250   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
14251   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
14252   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
14253   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
14254   long arg5 
= (long) 0 ; 
14255   wxString 
const &arg6_defvalue 
= wxPyVListBoxNameStr 
; 
14256   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
14257   wxPyVListBox 
*result 
= 0 ; 
14266   bool temp6 
= false ; 
14267   PyObject 
* obj0 
= 0 ; 
14268   PyObject 
* obj1 
= 0 ; 
14269   PyObject 
* obj2 
= 0 ; 
14270   PyObject 
* obj3 
= 0 ; 
14271   PyObject 
* obj4 
= 0 ; 
14272   PyObject 
* obj5 
= 0 ; 
14273   char *  kwnames
[] = { 
14274     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
14277   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
14278   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
14279   if (!SWIG_IsOK(res1
)) { 
14280     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");  
14282   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
14284     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14285     if (!SWIG_IsOK(ecode2
)) { 
14286       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'"); 
14288     arg2 
= static_cast< int >(val2
); 
14293       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
14299       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
14303     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
14304     if (!SWIG_IsOK(ecode5
)) { 
14305       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'"); 
14307     arg5 
= static_cast< long >(val5
); 
14311       arg6 
= wxString_in_helper(obj5
); 
14312       if (arg6 
== NULL
) SWIG_fail
; 
14317     if (!wxPyCheckForApp()) SWIG_fail
; 
14318     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14319     result 
= (wxPyVListBox 
*)new wxPyVListBox(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
14320     wxPyEndAllowThreads(__tstate
); 
14321     if (PyErr_Occurred()) SWIG_fail
; 
14323   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW 
|  0 ); 
14338 SWIGINTERN PyObject 
*_wrap_new_PreVListBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14339   PyObject 
*resultobj 
= 0; 
14340   wxPyVListBox 
*result 
= 0 ; 
14342   if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
; 
14344     if (!wxPyCheckForApp()) SWIG_fail
; 
14345     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14346     result 
= (wxPyVListBox 
*)new wxPyVListBox(); 
14347     wxPyEndAllowThreads(__tstate
); 
14348     if (PyErr_Occurred()) SWIG_fail
; 
14350   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN 
|  0 ); 
14357 SWIGINTERN PyObject 
*_wrap_VListBox__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14358   PyObject 
*resultobj 
= 0; 
14359   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14360   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
14361   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
14364   PyObject 
* obj0 
= 0 ; 
14365   PyObject 
* obj1 
= 0 ; 
14366   PyObject 
* obj2 
= 0 ; 
14367   char *  kwnames
[] = { 
14368     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
14371   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14372   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14373   if (!SWIG_IsOK(res1
)) { 
14374     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14376   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14380     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14381     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
14382     wxPyEndAllowThreads(__tstate
); 
14383     if (PyErr_Occurred()) SWIG_fail
; 
14385   resultobj 
= SWIG_Py_Void(); 
14392 SWIGINTERN PyObject 
*_wrap_VListBox_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14393   PyObject 
*resultobj 
= 0; 
14394   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14395   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
14396   int arg3 
= (int) wxID_ANY 
; 
14397   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
14398   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
14399   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
14400   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
14401   long arg6 
= (long) 0 ; 
14402   wxString 
const &arg7_defvalue 
= wxPyVListBoxNameStr 
; 
14403   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
14415   bool temp7 
= false ; 
14416   PyObject 
* obj0 
= 0 ; 
14417   PyObject 
* obj1 
= 0 ; 
14418   PyObject 
* obj2 
= 0 ; 
14419   PyObject 
* obj3 
= 0 ; 
14420   PyObject 
* obj4 
= 0 ; 
14421   PyObject 
* obj5 
= 0 ; 
14422   PyObject 
* obj6 
= 0 ; 
14423   char *  kwnames
[] = { 
14424     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
14427   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
14428   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14429   if (!SWIG_IsOK(res1
)) { 
14430     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14432   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14433   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
14434   if (!SWIG_IsOK(res2
)) { 
14435     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
14437   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
14439     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14440     if (!SWIG_IsOK(ecode3
)) { 
14441       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'"); 
14443     arg3 
= static_cast< int >(val3
); 
14448       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
14454       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
14458     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
14459     if (!SWIG_IsOK(ecode6
)) { 
14460       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'"); 
14462     arg6 
= static_cast< long >(val6
); 
14466       arg7 
= wxString_in_helper(obj6
); 
14467       if (arg7 
== NULL
) SWIG_fail
; 
14472     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14473     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
14474     wxPyEndAllowThreads(__tstate
); 
14475     if (PyErr_Occurred()) SWIG_fail
; 
14478     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14494 SWIGINTERN PyObject 
*_wrap_VListBox_GetItemCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14495   PyObject 
*resultobj 
= 0; 
14496   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14500   PyObject 
*swig_obj
[1] ; 
14502   if (!args
) SWIG_fail
; 
14503   swig_obj
[0] = args
; 
14504   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14505   if (!SWIG_IsOK(res1
)) { 
14506     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14508   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14510     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14511     result 
= (size_t)((wxPyVListBox 
const *)arg1
)->GetItemCount(); 
14512     wxPyEndAllowThreads(__tstate
); 
14513     if (PyErr_Occurred()) SWIG_fail
; 
14515   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14522 SWIGINTERN PyObject 
*_wrap_VListBox_HasMultipleSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14523   PyObject 
*resultobj 
= 0; 
14524   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14528   PyObject 
*swig_obj
[1] ; 
14530   if (!args
) SWIG_fail
; 
14531   swig_obj
[0] = args
; 
14532   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14533   if (!SWIG_IsOK(res1
)) { 
14534     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14536   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14538     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14539     result 
= (bool)((wxPyVListBox 
const *)arg1
)->HasMultipleSelection(); 
14540     wxPyEndAllowThreads(__tstate
); 
14541     if (PyErr_Occurred()) SWIG_fail
; 
14544     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14552 SWIGINTERN PyObject 
*_wrap_VListBox_GetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14553   PyObject 
*resultobj 
= 0; 
14554   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14558   PyObject 
*swig_obj
[1] ; 
14560   if (!args
) SWIG_fail
; 
14561   swig_obj
[0] = args
; 
14562   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14563   if (!SWIG_IsOK(res1
)) { 
14564     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14566   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14568     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14569     result 
= (int)((wxPyVListBox 
const *)arg1
)->GetSelection(); 
14570     wxPyEndAllowThreads(__tstate
); 
14571     if (PyErr_Occurred()) SWIG_fail
; 
14573   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14580 SWIGINTERN PyObject 
*_wrap_VListBox_IsCurrent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14581   PyObject 
*resultobj 
= 0; 
14582   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14589   PyObject 
* obj0 
= 0 ; 
14590   PyObject 
* obj1 
= 0 ; 
14591   char *  kwnames
[] = { 
14592     (char *) "self",(char *) "item", NULL 
 
14595   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14596   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14597   if (!SWIG_IsOK(res1
)) { 
14598     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14600   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14601   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14602   if (!SWIG_IsOK(ecode2
)) { 
14603     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'"); 
14605   arg2 
= static_cast< size_t >(val2
); 
14607     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14608     result 
= (bool)((wxPyVListBox 
const *)arg1
)->IsCurrent(arg2
); 
14609     wxPyEndAllowThreads(__tstate
); 
14610     if (PyErr_Occurred()) SWIG_fail
; 
14613     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14621 SWIGINTERN PyObject 
*_wrap_VListBox_IsSelected(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14622   PyObject 
*resultobj 
= 0; 
14623   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14630   PyObject 
* obj0 
= 0 ; 
14631   PyObject 
* obj1 
= 0 ; 
14632   char *  kwnames
[] = { 
14633     (char *) "self",(char *) "item", NULL 
 
14636   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14637   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14638   if (!SWIG_IsOK(res1
)) { 
14639     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14641   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14642   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14643   if (!SWIG_IsOK(ecode2
)) { 
14644     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'"); 
14646   arg2 
= static_cast< size_t >(val2
); 
14648     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14649     result 
= (bool)((wxPyVListBox 
const *)arg1
)->IsSelected(arg2
); 
14650     wxPyEndAllowThreads(__tstate
); 
14651     if (PyErr_Occurred()) SWIG_fail
; 
14654     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14662 SWIGINTERN PyObject 
*_wrap_VListBox_GetSelectedCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14663   PyObject 
*resultobj 
= 0; 
14664   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14668   PyObject 
*swig_obj
[1] ; 
14670   if (!args
) SWIG_fail
; 
14671   swig_obj
[0] = args
; 
14672   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14673   if (!SWIG_IsOK(res1
)) { 
14674     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14676   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14678     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14679     result 
= (size_t)((wxPyVListBox 
const *)arg1
)->GetSelectedCount(); 
14680     wxPyEndAllowThreads(__tstate
); 
14681     if (PyErr_Occurred()) SWIG_fail
; 
14683   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14690 SWIGINTERN PyObject 
*_wrap_VListBox_GetFirstSelected(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14691   PyObject 
*resultobj 
= 0; 
14692   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14693   PyObject 
*result 
= 0 ; 
14696   PyObject 
*swig_obj
[1] ; 
14698   if (!args
) SWIG_fail
; 
14699   swig_obj
[0] = args
; 
14700   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14701   if (!SWIG_IsOK(res1
)) { 
14702     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14704   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14706     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14707     result 
= (PyObject 
*)wxPyVListBox_GetFirstSelected(arg1
); 
14708     wxPyEndAllowThreads(__tstate
); 
14709     if (PyErr_Occurred()) SWIG_fail
; 
14711   resultobj 
= result
; 
14718 SWIGINTERN PyObject 
*_wrap_VListBox_GetNextSelected(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14719   PyObject 
*resultobj 
= 0; 
14720   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14721   unsigned long arg2 
; 
14722   PyObject 
*result 
= 0 ; 
14725   unsigned long val2 
; 
14727   PyObject 
* obj0 
= 0 ; 
14728   PyObject 
* obj1 
= 0 ; 
14729   char *  kwnames
[] = { 
14730     (char *) "self",(char *) "cookie", NULL 
 
14733   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14734   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14735   if (!SWIG_IsOK(res1
)) { 
14736     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14738   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14739   ecode2 
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
); 
14740   if (!SWIG_IsOK(ecode2
)) { 
14741     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'"); 
14743   arg2 
= static_cast< unsigned long >(val2
); 
14745     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14746     result 
= (PyObject 
*)wxPyVListBox_GetNextSelected(arg1
,arg2
); 
14747     wxPyEndAllowThreads(__tstate
); 
14748     if (PyErr_Occurred()) SWIG_fail
; 
14750   resultobj 
= result
; 
14757 SWIGINTERN PyObject 
*_wrap_VListBox_GetMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14758   PyObject 
*resultobj 
= 0; 
14759   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14763   PyObject 
*swig_obj
[1] ; 
14765   if (!args
) SWIG_fail
; 
14766   swig_obj
[0] = args
; 
14767   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14768   if (!SWIG_IsOK(res1
)) { 
14769     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14771   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14773     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14774     result 
= ((wxPyVListBox 
const *)arg1
)->GetMargins(); 
14775     wxPyEndAllowThreads(__tstate
); 
14776     if (PyErr_Occurred()) SWIG_fail
; 
14778   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
14785 SWIGINTERN PyObject 
*_wrap_VListBox_GetSelectionBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14786   PyObject 
*resultobj 
= 0; 
14787   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14788   wxColour 
*result 
= 0 ; 
14791   PyObject 
*swig_obj
[1] ; 
14793   if (!args
) SWIG_fail
; 
14794   swig_obj
[0] = args
; 
14795   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14796   if (!SWIG_IsOK(res1
)) { 
14797     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14799   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14801     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14803       wxColour 
const &_result_ref 
= ((wxPyVListBox 
const *)arg1
)->GetSelectionBackground(); 
14804       result 
= (wxColour 
*) &_result_ref
; 
14806     wxPyEndAllowThreads(__tstate
); 
14807     if (PyErr_Occurred()) SWIG_fail
; 
14809   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
14816 SWIGINTERN PyObject 
*_wrap_VListBox_SetItemCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14817   PyObject 
*resultobj 
= 0; 
14818   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14824   PyObject 
* obj0 
= 0 ; 
14825   PyObject 
* obj1 
= 0 ; 
14826   char *  kwnames
[] = { 
14827     (char *) "self",(char *) "count", NULL 
 
14830   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14831   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14832   if (!SWIG_IsOK(res1
)) { 
14833     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14835   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14836   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14837   if (!SWIG_IsOK(ecode2
)) { 
14838     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'"); 
14840   arg2 
= static_cast< size_t >(val2
); 
14842     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14843     (arg1
)->SetItemCount(arg2
); 
14844     wxPyEndAllowThreads(__tstate
); 
14845     if (PyErr_Occurred()) SWIG_fail
; 
14847   resultobj 
= SWIG_Py_Void(); 
14854 SWIGINTERN PyObject 
*_wrap_VListBox_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14855   PyObject 
*resultobj 
= 0; 
14856   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14859   PyObject 
*swig_obj
[1] ; 
14861   if (!args
) SWIG_fail
; 
14862   swig_obj
[0] = args
; 
14863   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14864   if (!SWIG_IsOK(res1
)) { 
14865     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14867   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14869     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14871     wxPyEndAllowThreads(__tstate
); 
14872     if (PyErr_Occurred()) SWIG_fail
; 
14874   resultobj 
= SWIG_Py_Void(); 
14881 SWIGINTERN PyObject 
*_wrap_VListBox_SetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14882   PyObject 
*resultobj 
= 0; 
14883   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14889   PyObject 
* obj0 
= 0 ; 
14890   PyObject 
* obj1 
= 0 ; 
14891   char *  kwnames
[] = { 
14892     (char *) "self",(char *) "selection", NULL 
 
14895   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14896   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14897   if (!SWIG_IsOK(res1
)) { 
14898     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14900   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14901   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14902   if (!SWIG_IsOK(ecode2
)) { 
14903     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'"); 
14905   arg2 
= static_cast< int >(val2
); 
14907     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14908     (arg1
)->SetSelection(arg2
); 
14909     wxPyEndAllowThreads(__tstate
); 
14910     if (PyErr_Occurred()) SWIG_fail
; 
14912   resultobj 
= SWIG_Py_Void(); 
14919 SWIGINTERN PyObject 
*_wrap_VListBox_Select(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14920   PyObject 
*resultobj 
= 0; 
14921   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14923   bool arg3 
= (bool) true ; 
14931   PyObject 
* obj0 
= 0 ; 
14932   PyObject 
* obj1 
= 0 ; 
14933   PyObject 
* obj2 
= 0 ; 
14934   char *  kwnames
[] = { 
14935     (char *) "self",(char *) "item",(char *) "select", NULL 
 
14938   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14939   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14940   if (!SWIG_IsOK(res1
)) { 
14941     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14943   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14944   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14945   if (!SWIG_IsOK(ecode2
)) { 
14946     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'"); 
14948   arg2 
= static_cast< size_t >(val2
); 
14950     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
14951     if (!SWIG_IsOK(ecode3
)) { 
14952       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'"); 
14954     arg3 
= static_cast< bool >(val3
); 
14957     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14958     result 
= (bool)(arg1
)->Select(arg2
,arg3
); 
14959     wxPyEndAllowThreads(__tstate
); 
14960     if (PyErr_Occurred()) SWIG_fail
; 
14963     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14971 SWIGINTERN PyObject 
*_wrap_VListBox_SelectRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14972   PyObject 
*resultobj 
= 0; 
14973   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14983   PyObject 
* obj0 
= 0 ; 
14984   PyObject 
* obj1 
= 0 ; 
14985   PyObject 
* obj2 
= 0 ; 
14986   char *  kwnames
[] = { 
14987     (char *) "self",(char *) "_from",(char *) "to", NULL 
 
14990   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14991   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14992   if (!SWIG_IsOK(res1
)) { 
14993     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14995   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14996   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14997   if (!SWIG_IsOK(ecode2
)) { 
14998     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'"); 
15000   arg2 
= static_cast< size_t >(val2
); 
15001   ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
15002   if (!SWIG_IsOK(ecode3
)) { 
15003     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'"); 
15005   arg3 
= static_cast< size_t >(val3
); 
15007     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15008     result 
= (bool)(arg1
)->SelectRange(arg2
,arg3
); 
15009     wxPyEndAllowThreads(__tstate
); 
15010     if (PyErr_Occurred()) SWIG_fail
; 
15013     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15021 SWIGINTERN PyObject 
*_wrap_VListBox_Toggle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15022   PyObject 
*resultobj 
= 0; 
15023   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15029   PyObject 
* obj0 
= 0 ; 
15030   PyObject 
* obj1 
= 0 ; 
15031   char *  kwnames
[] = { 
15032     (char *) "self",(char *) "item", NULL 
 
15035   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15036   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15037   if (!SWIG_IsOK(res1
)) { 
15038     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15040   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15041   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
15042   if (!SWIG_IsOK(ecode2
)) { 
15043     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'"); 
15045   arg2 
= static_cast< size_t >(val2
); 
15047     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15048     (arg1
)->Toggle(arg2
); 
15049     wxPyEndAllowThreads(__tstate
); 
15050     if (PyErr_Occurred()) SWIG_fail
; 
15052   resultobj 
= SWIG_Py_Void(); 
15059 SWIGINTERN PyObject 
*_wrap_VListBox_SelectAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15060   PyObject 
*resultobj 
= 0; 
15061   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15065   PyObject 
*swig_obj
[1] ; 
15067   if (!args
) SWIG_fail
; 
15068   swig_obj
[0] = args
; 
15069   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15070   if (!SWIG_IsOK(res1
)) { 
15071     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15073   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15075     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15076     result 
= (bool)(arg1
)->SelectAll(); 
15077     wxPyEndAllowThreads(__tstate
); 
15078     if (PyErr_Occurred()) SWIG_fail
; 
15081     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15089 SWIGINTERN PyObject 
*_wrap_VListBox_DeselectAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15090   PyObject 
*resultobj 
= 0; 
15091   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15095   PyObject 
*swig_obj
[1] ; 
15097   if (!args
) SWIG_fail
; 
15098   swig_obj
[0] = args
; 
15099   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15100   if (!SWIG_IsOK(res1
)) { 
15101     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15103   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15105     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15106     result 
= (bool)(arg1
)->DeselectAll(); 
15107     wxPyEndAllowThreads(__tstate
); 
15108     if (PyErr_Occurred()) SWIG_fail
; 
15111     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15119 SWIGINTERN PyObject 
*_wrap_VListBox_SetMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15120   PyObject 
*resultobj 
= 0; 
15121   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15122   wxPoint 
*arg2 
= 0 ; 
15126   PyObject 
* obj0 
= 0 ; 
15127   PyObject 
* obj1 
= 0 ; 
15128   char *  kwnames
[] = { 
15129     (char *) "self",(char *) "pt", NULL 
 
15132   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15133   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15134   if (!SWIG_IsOK(res1
)) { 
15135     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15137   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15140     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15143     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15144     (arg1
)->SetMargins((wxPoint 
const &)*arg2
); 
15145     wxPyEndAllowThreads(__tstate
); 
15146     if (PyErr_Occurred()) SWIG_fail
; 
15148   resultobj 
= SWIG_Py_Void(); 
15155 SWIGINTERN PyObject 
*_wrap_VListBox_SetMarginsXY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15156   PyObject 
*resultobj 
= 0; 
15157   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15166   PyObject 
* obj0 
= 0 ; 
15167   PyObject 
* obj1 
= 0 ; 
15168   PyObject 
* obj2 
= 0 ; 
15169   char *  kwnames
[] = { 
15170     (char *) "self",(char *) "x",(char *) "y", NULL 
 
15173   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15174   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15175   if (!SWIG_IsOK(res1
)) { 
15176     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15178   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15179   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15180   if (!SWIG_IsOK(ecode2
)) { 
15181     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'"); 
15183   arg2 
= static_cast< int >(val2
); 
15184   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15185   if (!SWIG_IsOK(ecode3
)) { 
15186     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'"); 
15188   arg3 
= static_cast< int >(val3
); 
15190     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15191     (arg1
)->SetMargins(arg2
,arg3
); 
15192     wxPyEndAllowThreads(__tstate
); 
15193     if (PyErr_Occurred()) SWIG_fail
; 
15195   resultobj 
= SWIG_Py_Void(); 
15202 SWIGINTERN PyObject 
*_wrap_VListBox_SetSelectionBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15203   PyObject 
*resultobj 
= 0; 
15204   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15205   wxColour 
*arg2 
= 0 ; 
15209   PyObject 
* obj0 
= 0 ; 
15210   PyObject 
* obj1 
= 0 ; 
15211   char *  kwnames
[] = { 
15212     (char *) "self",(char *) "col", NULL 
 
15215   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15216   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15217   if (!SWIG_IsOK(res1
)) { 
15218     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15220   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15223     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
15226     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15227     (arg1
)->SetSelectionBackground((wxColour 
const &)*arg2
); 
15228     wxPyEndAllowThreads(__tstate
); 
15229     if (PyErr_Occurred()) SWIG_fail
; 
15231   resultobj 
= SWIG_Py_Void(); 
15238 SWIGINTERN PyObject 
*_wrap_VListBox_OnDrawSeparator(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15239   PyObject 
*resultobj 
= 0; 
15240   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15251   PyObject 
* obj0 
= 0 ; 
15252   PyObject 
* obj1 
= 0 ; 
15253   PyObject 
* obj2 
= 0 ; 
15254   PyObject 
* obj3 
= 0 ; 
15255   char *  kwnames
[] = { 
15256     (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL 
 
15259   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
15260   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15261   if (!SWIG_IsOK(res1
)) { 
15262     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
15264   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15265   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
15266   if (!SWIG_IsOK(res2
)) { 
15267     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");  
15270     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");  
15272   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
15275     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
15277   ecode4 
= SWIG_AsVal_size_t(obj3
, &val4
); 
15278   if (!SWIG_IsOK(ecode4
)) { 
15279     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'"); 
15281   arg4 
= static_cast< size_t >(val4
); 
15283     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15284     ((wxPyVListBox 
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
); 
15285     wxPyEndAllowThreads(__tstate
); 
15286     if (PyErr_Occurred()) SWIG_fail
; 
15288   resultobj 
= SWIG_Py_Void(); 
15295 SWIGINTERN PyObject 
*_wrap_VListBox_OnDrawBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15296   PyObject 
*resultobj 
= 0; 
15297   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15308   PyObject 
* obj0 
= 0 ; 
15309   PyObject 
* obj1 
= 0 ; 
15310   PyObject 
* obj2 
= 0 ; 
15311   PyObject 
* obj3 
= 0 ; 
15312   char *  kwnames
[] = { 
15313     (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL 
 
15316   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
15317   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15318   if (!SWIG_IsOK(res1
)) { 
15319     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
15321   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15322   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
15323   if (!SWIG_IsOK(res2
)) { 
15324     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");  
15327     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");  
15329   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
15332     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
15334   ecode4 
= SWIG_AsVal_size_t(obj3
, &val4
); 
15335   if (!SWIG_IsOK(ecode4
)) { 
15336     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'"); 
15338   arg4 
= static_cast< size_t >(val4
); 
15340     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15341     ((wxPyVListBox 
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect 
const &)*arg3
,arg4
); 
15342     wxPyEndAllowThreads(__tstate
); 
15343     if (PyErr_Occurred()) SWIG_fail
; 
15345   resultobj 
= SWIG_Py_Void(); 
15352 SWIGINTERN PyObject 
*VListBox_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15354   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
15355   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
)); 
15356   return SWIG_Py_Void(); 
15359 SWIGINTERN PyObject 
*VListBox_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15360   return SWIG_Python_InitShadowInstance(args
); 
15363 SWIGINTERN PyObject 
*_wrap_new_HtmlListBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15364   PyObject 
*resultobj 
= 0; 
15365   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
15366   int arg2 
= (int) wxID_ANY 
; 
15367   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
15368   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
15369   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
15370   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
15371   long arg5 
= (long) 0 ; 
15372   wxString 
const &arg6_defvalue 
= wxPyVListBoxNameStr 
; 
15373   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
15374   wxPyHtmlListBox 
*result 
= 0 ; 
15383   bool temp6 
= false ; 
15384   PyObject 
* obj0 
= 0 ; 
15385   PyObject 
* obj1 
= 0 ; 
15386   PyObject 
* obj2 
= 0 ; 
15387   PyObject 
* obj3 
= 0 ; 
15388   PyObject 
* obj4 
= 0 ; 
15389   PyObject 
* obj5 
= 0 ; 
15390   char *  kwnames
[] = { 
15391     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
15394   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
15395   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
15396   if (!SWIG_IsOK(res1
)) { 
15397     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");  
15399   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
15401     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15402     if (!SWIG_IsOK(ecode2
)) { 
15403       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'"); 
15405     arg2 
= static_cast< int >(val2
); 
15410       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
15416       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
15420     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
15421     if (!SWIG_IsOK(ecode5
)) { 
15422       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'"); 
15424     arg5 
= static_cast< long >(val5
); 
15428       arg6 
= wxString_in_helper(obj5
); 
15429       if (arg6 
== NULL
) SWIG_fail
; 
15434     if (!wxPyCheckForApp()) SWIG_fail
; 
15435     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15436     result 
= (wxPyHtmlListBox 
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
15437     wxPyEndAllowThreads(__tstate
); 
15438     if (PyErr_Occurred()) SWIG_fail
; 
15440   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW 
|  0 ); 
15455 SWIGINTERN PyObject 
*_wrap_new_PreHtmlListBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15456   PyObject 
*resultobj 
= 0; 
15457   wxPyHtmlListBox 
*result 
= 0 ; 
15459   if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
; 
15461     if (!wxPyCheckForApp()) SWIG_fail
; 
15462     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15463     result 
= (wxPyHtmlListBox 
*)new wxPyHtmlListBox(); 
15464     wxPyEndAllowThreads(__tstate
); 
15465     if (PyErr_Occurred()) SWIG_fail
; 
15467   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN 
|  0 ); 
15474 SWIGINTERN PyObject 
*_wrap_HtmlListBox__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15475   PyObject 
*resultobj 
= 0; 
15476   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15477   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15478   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15481   PyObject 
* obj0 
= 0 ; 
15482   PyObject 
* obj1 
= 0 ; 
15483   PyObject 
* obj2 
= 0 ; 
15484   char *  kwnames
[] = { 
15485     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
15488   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15489   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15490   if (!SWIG_IsOK(res1
)) { 
15491     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15493   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15497     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15498     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
15499     wxPyEndAllowThreads(__tstate
); 
15500     if (PyErr_Occurred()) SWIG_fail
; 
15502   resultobj 
= SWIG_Py_Void(); 
15509 SWIGINTERN PyObject 
*_wrap_HtmlListBox_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15510   PyObject 
*resultobj 
= 0; 
15511   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15512   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
15513   int arg3 
= (int) wxID_ANY 
; 
15514   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
15515   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
15516   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
15517   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
15518   long arg6 
= (long) 0 ; 
15519   wxString 
const &arg7_defvalue 
= wxPyVListBoxNameStr 
; 
15520   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
15532   bool temp7 
= false ; 
15533   PyObject 
* obj0 
= 0 ; 
15534   PyObject 
* obj1 
= 0 ; 
15535   PyObject 
* obj2 
= 0 ; 
15536   PyObject 
* obj3 
= 0 ; 
15537   PyObject 
* obj4 
= 0 ; 
15538   PyObject 
* obj5 
= 0 ; 
15539   PyObject 
* obj6 
= 0 ; 
15540   char *  kwnames
[] = { 
15541     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
15544   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
15545   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15546   if (!SWIG_IsOK(res1
)) { 
15547     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15549   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15550   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
15551   if (!SWIG_IsOK(res2
)) { 
15552     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
15554   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
15556     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15557     if (!SWIG_IsOK(ecode3
)) { 
15558       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'"); 
15560     arg3 
= static_cast< int >(val3
); 
15565       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
15571       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
15575     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
15576     if (!SWIG_IsOK(ecode6
)) { 
15577       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'"); 
15579     arg6 
= static_cast< long >(val6
); 
15583       arg7 
= wxString_in_helper(obj6
); 
15584       if (arg7 
== NULL
) SWIG_fail
; 
15589     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15590     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
15591     wxPyEndAllowThreads(__tstate
); 
15592     if (PyErr_Occurred()) SWIG_fail
; 
15595     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15611 SWIGINTERN PyObject 
*_wrap_HtmlListBox_SetItemCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15612   PyObject 
*resultobj 
= 0; 
15613   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15619   PyObject 
* obj0 
= 0 ; 
15620   PyObject 
* obj1 
= 0 ; 
15621   char *  kwnames
[] = { 
15622     (char *) "self",(char *) "count", NULL 
 
15625   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15626   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15627   if (!SWIG_IsOK(res1
)) { 
15628     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15630   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15631   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
15632   if (!SWIG_IsOK(ecode2
)) { 
15633     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'"); 
15635   arg2 
= static_cast< size_t >(val2
); 
15637     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15638     (arg1
)->SetItemCount(arg2
); 
15639     wxPyEndAllowThreads(__tstate
); 
15640     if (PyErr_Occurred()) SWIG_fail
; 
15642   resultobj 
= SWIG_Py_Void(); 
15649 SWIGINTERN PyObject 
*_wrap_HtmlListBox_GetFileSystem(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15650   PyObject 
*resultobj 
= 0; 
15651   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15652   wxFileSystem 
*result 
= 0 ; 
15655   PyObject 
*swig_obj
[1] ; 
15657   if (!args
) SWIG_fail
; 
15658   swig_obj
[0] = args
; 
15659   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15660   if (!SWIG_IsOK(res1
)) { 
15661     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15663   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15665     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15667       wxFileSystem 
&_result_ref 
= (arg1
)->GetFileSystem(); 
15668       result 
= (wxFileSystem 
*) &_result_ref
; 
15670     wxPyEndAllowThreads(__tstate
); 
15671     if (PyErr_Occurred()) SWIG_fail
; 
15673   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 |  0 ); 
15680 SWIGINTERN PyObject 
*_wrap_HtmlListBox_OnLinkClicked(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15681   PyObject 
*resultobj 
= 0; 
15682   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15684   wxHtmlLinkInfo 
*arg3 
= 0 ; 
15691   PyObject 
* obj0 
= 0 ; 
15692   PyObject 
* obj1 
= 0 ; 
15693   PyObject 
* obj2 
= 0 ; 
15694   char *  kwnames
[] = { 
15695     (char *) "self",(char *) "n",(char *) "link", NULL 
 
15698   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15699   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15700   if (!SWIG_IsOK(res1
)) { 
15701     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15703   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15704   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
15705   if (!SWIG_IsOK(ecode2
)) { 
15706     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'"); 
15708   arg2 
= static_cast< size_t >(val2
); 
15709   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
,  0  | 0); 
15710   if (!SWIG_IsOK(res3
)) { 
15711     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");  
15714     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");  
15716   arg3 
= reinterpret_cast< wxHtmlLinkInfo 
* >(argp3
); 
15718     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15719     (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo 
const &)*arg3
); 
15720     wxPyEndAllowThreads(__tstate
); 
15721     if (PyErr_Occurred()) SWIG_fail
; 
15723   resultobj 
= SWIG_Py_Void(); 
15730 SWIGINTERN PyObject 
*HtmlListBox_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15732   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
15733   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
)); 
15734   return SWIG_Py_Void(); 
15737 SWIGINTERN PyObject 
*HtmlListBox_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15738   return SWIG_Python_InitShadowInstance(args
); 
15741 SWIGINTERN PyObject 
*_wrap_new_TaskBarIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15742   PyObject 
*resultobj 
= 0; 
15743   wxPyTaskBarIcon 
*result 
= 0 ; 
15745   if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
; 
15747     if (!wxPyCheckForApp()) SWIG_fail
; 
15748     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15749     result 
= (wxPyTaskBarIcon 
*)new wxPyTaskBarIcon(); 
15750     wxPyEndAllowThreads(__tstate
); 
15751     if (PyErr_Occurred()) SWIG_fail
; 
15753   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW 
|  0 ); 
15760 SWIGINTERN PyObject 
*_wrap_delete_TaskBarIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15761   PyObject 
*resultobj 
= 0; 
15762   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
15765   PyObject 
*swig_obj
[1] ; 
15767   if (!args
) SWIG_fail
; 
15768   swig_obj
[0] = args
; 
15769   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN 
|  0 ); 
15770   if (!SWIG_IsOK(res1
)) { 
15771     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
15773   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
15775     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15778     wxPyEndAllowThreads(__tstate
); 
15779     if (PyErr_Occurred()) SWIG_fail
; 
15781   resultobj 
= SWIG_Py_Void(); 
15788 SWIGINTERN PyObject 
*_wrap_TaskBarIcon__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15789   PyObject 
*resultobj 
= 0; 
15790   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
15791   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15792   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15798   PyObject 
* obj0 
= 0 ; 
15799   PyObject 
* obj1 
= 0 ; 
15800   PyObject 
* obj2 
= 0 ; 
15801   PyObject 
* obj3 
= 0 ; 
15802   char *  kwnames
[] = { 
15803     (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
15806   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
15807   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
15808   if (!SWIG_IsOK(res1
)) { 
15809     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
15811   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
15814   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
15815   if (!SWIG_IsOK(ecode4
)) { 
15816     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'"); 
15818   arg4 
= static_cast< int >(val4
); 
15820     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15821     (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
15822     wxPyEndAllowThreads(__tstate
); 
15823     if (PyErr_Occurred()) SWIG_fail
; 
15825   resultobj 
= SWIG_Py_Void(); 
15832 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_Destroy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15833   PyObject 
*resultobj 
= 0; 
15834   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
15837   PyObject 
*swig_obj
[1] ; 
15839   if (!args
) SWIG_fail
; 
15840   swig_obj
[0] = args
; 
15841   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
15842   if (!SWIG_IsOK(res1
)) { 
15843     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
15845   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
15847     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15848     wxPyTaskBarIcon_Destroy(arg1
); 
15849     wxPyEndAllowThreads(__tstate
); 
15850     if (PyErr_Occurred()) SWIG_fail
; 
15852   resultobj 
= SWIG_Py_Void(); 
15859 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15860   PyObject 
*resultobj 
= 0; 
15861   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
15865   PyObject 
*swig_obj
[1] ; 
15867   if (!args
) SWIG_fail
; 
15868   swig_obj
[0] = args
; 
15869   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
15870   if (!SWIG_IsOK(res1
)) { 
15871     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");  
15873   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
15875     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15876     result 
= (bool)((wxPyTaskBarIcon 
const *)arg1
)->IsOk(); 
15877     wxPyEndAllowThreads(__tstate
); 
15878     if (PyErr_Occurred()) SWIG_fail
; 
15881     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15889 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_IsIconInstalled(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15890   PyObject 
*resultobj 
= 0; 
15891   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
15895   PyObject 
*swig_obj
[1] ; 
15897   if (!args
) SWIG_fail
; 
15898   swig_obj
[0] = args
; 
15899   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
15900   if (!SWIG_IsOK(res1
)) { 
15901     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");  
15903   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
15905     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15906     result 
= (bool)((wxPyTaskBarIcon 
const *)arg1
)->IsIconInstalled(); 
15907     wxPyEndAllowThreads(__tstate
); 
15908     if (PyErr_Occurred()) SWIG_fail
; 
15911     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15919 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_SetIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15920   PyObject 
*resultobj 
= 0; 
15921   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
15923   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
15924   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
15930   bool temp3 
= false ; 
15931   PyObject 
* obj0 
= 0 ; 
15932   PyObject 
* obj1 
= 0 ; 
15933   PyObject 
* obj2 
= 0 ; 
15934   char *  kwnames
[] = { 
15935     (char *) "self",(char *) "icon",(char *) "tooltip", NULL 
 
15938   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15939   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
15940   if (!SWIG_IsOK(res1
)) { 
15941     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
15943   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
15944   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
15945   if (!SWIG_IsOK(res2
)) { 
15946     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
15949     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
15951   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
15954       arg3 
= wxString_in_helper(obj2
); 
15955       if (arg3 
== NULL
) SWIG_fail
; 
15960     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15961     result 
= (bool)(arg1
)->SetIcon((wxIcon 
const &)*arg2
,(wxString 
const &)*arg3
); 
15962     wxPyEndAllowThreads(__tstate
); 
15963     if (PyErr_Occurred()) SWIG_fail
; 
15966     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15982 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_RemoveIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15983   PyObject 
*resultobj 
= 0; 
15984   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
15988   PyObject 
*swig_obj
[1] ; 
15990   if (!args
) SWIG_fail
; 
15991   swig_obj
[0] = args
; 
15992   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
15993   if (!SWIG_IsOK(res1
)) { 
15994     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
15996   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
15998     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15999     result 
= (bool)(arg1
)->RemoveIcon(); 
16000     wxPyEndAllowThreads(__tstate
); 
16001     if (PyErr_Occurred()) SWIG_fail
; 
16004     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16012 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_PopupMenu(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16013   PyObject 
*resultobj 
= 0; 
16014   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
16015   wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
16021   PyObject 
* obj0 
= 0 ; 
16022   PyObject 
* obj1 
= 0 ; 
16023   char *  kwnames
[] = { 
16024     (char *) "self",(char *) "menu", NULL 
 
16027   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16028   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
16029   if (!SWIG_IsOK(res1
)) { 
16030     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
16032   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
16033   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 |  0 ); 
16034   if (!SWIG_IsOK(res2
)) { 
16035     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");  
16037   arg2 
= reinterpret_cast< wxMenu 
* >(argp2
); 
16039     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16040     result 
= (bool)(arg1
)->PopupMenu(arg2
); 
16041     wxPyEndAllowThreads(__tstate
); 
16042     if (PyErr_Occurred()) SWIG_fail
; 
16045     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16053 SWIGINTERN PyObject 
*TaskBarIcon_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16055   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16056   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
)); 
16057   return SWIG_Py_Void(); 
16060 SWIGINTERN PyObject 
*TaskBarIcon_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16061   return SWIG_Python_InitShadowInstance(args
); 
16064 SWIGINTERN PyObject 
*_wrap_new_TaskBarIconEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16065   PyObject 
*resultobj 
= 0; 
16067   wxTaskBarIcon 
*arg2 
= (wxTaskBarIcon 
*) 0 ; 
16068   wxTaskBarIconEvent 
*result 
= 0 ; 
16073   PyObject 
* obj0 
= 0 ; 
16074   PyObject 
* obj1 
= 0 ; 
16075   char *  kwnames
[] = { 
16076     (char *) "evtType",(char *) "tbIcon", NULL 
 
16079   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16080   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
16081   if (!SWIG_IsOK(ecode1
)) { 
16082     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'"); 
16084   arg1 
= static_cast< wxEventType 
>(val1
); 
16085   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 |  0 ); 
16086   if (!SWIG_IsOK(res2
)) { 
16087     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");  
16089   arg2 
= reinterpret_cast< wxTaskBarIcon 
* >(argp2
); 
16091     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16092     result 
= (wxTaskBarIconEvent 
*)new wxTaskBarIconEvent(arg1
,arg2
); 
16093     wxPyEndAllowThreads(__tstate
); 
16094     if (PyErr_Occurred()) SWIG_fail
; 
16096   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW 
|  0 ); 
16103 SWIGINTERN PyObject 
*TaskBarIconEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16105   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16106   SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
)); 
16107   return SWIG_Py_Void(); 
16110 SWIGINTERN PyObject 
*TaskBarIconEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16111   return SWIG_Python_InitShadowInstance(args
); 
16114 SWIGINTERN 
int FileSelectorPromptStr_set(PyObject 
*) { 
16115   SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only."); 
16120 SWIGINTERN PyObject 
*FileSelectorPromptStr_get(void) { 
16121   PyObject 
*pyobj 
= 0; 
16125     pyobj 
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len()); 
16127     pyobj 
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len()); 
16134 SWIGINTERN 
int DirSelectorPromptStr_set(PyObject 
*) { 
16135   SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only."); 
16140 SWIGINTERN PyObject 
*DirSelectorPromptStr_get(void) { 
16141   PyObject 
*pyobj 
= 0; 
16145     pyobj 
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len()); 
16147     pyobj 
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len()); 
16154 SWIGINTERN 
int DirDialogNameStr_set(PyObject 
*) { 
16155   SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only."); 
16160 SWIGINTERN PyObject 
*DirDialogNameStr_get(void) { 
16161   PyObject 
*pyobj 
= 0; 
16165     pyobj 
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len()); 
16167     pyobj 
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len()); 
16174 SWIGINTERN 
int FileSelectorDefaultWildcardStr_set(PyObject 
*) { 
16175   SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only."); 
16180 SWIGINTERN PyObject 
*FileSelectorDefaultWildcardStr_get(void) { 
16181   PyObject 
*pyobj 
= 0; 
16185     pyobj 
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len()); 
16187     pyobj 
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len()); 
16194 SWIGINTERN 
int GetTextFromUserPromptStr_set(PyObject 
*) { 
16195   SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only."); 
16200 SWIGINTERN PyObject 
*GetTextFromUserPromptStr_get(void) { 
16201   PyObject 
*pyobj 
= 0; 
16205     pyobj 
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len()); 
16207     pyobj 
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len()); 
16214 SWIGINTERN 
int MessageBoxCaptionStr_set(PyObject 
*) { 
16215   SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only."); 
16220 SWIGINTERN PyObject 
*MessageBoxCaptionStr_get(void) { 
16221   PyObject 
*pyobj 
= 0; 
16225     pyobj 
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len()); 
16227     pyobj 
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len()); 
16234 SWIGINTERN PyObject 
*_wrap_new_ColourData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16235   PyObject 
*resultobj 
= 0; 
16236   wxColourData 
*result 
= 0 ; 
16238   if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
; 
16240     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16241     result 
= (wxColourData 
*)new wxColourData(); 
16242     wxPyEndAllowThreads(__tstate
); 
16243     if (PyErr_Occurred()) SWIG_fail
; 
16245   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW 
|  0 ); 
16252 SWIGINTERN PyObject 
*_wrap_delete_ColourData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16253   PyObject 
*resultobj 
= 0; 
16254   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16257   PyObject 
*swig_obj
[1] ; 
16259   if (!args
) SWIG_fail
; 
16260   swig_obj
[0] = args
; 
16261   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN 
|  0 ); 
16262   if (!SWIG_IsOK(res1
)) { 
16263     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");  
16265   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16267     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16270     wxPyEndAllowThreads(__tstate
); 
16271     if (PyErr_Occurred()) SWIG_fail
; 
16273   resultobj 
= SWIG_Py_Void(); 
16280 SWIGINTERN PyObject 
*_wrap_ColourData_GetChooseFull(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16281   PyObject 
*resultobj 
= 0; 
16282   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16286   PyObject 
*swig_obj
[1] ; 
16288   if (!args
) SWIG_fail
; 
16289   swig_obj
[0] = args
; 
16290   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16291   if (!SWIG_IsOK(res1
)) { 
16292     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");  
16294   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16296     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16297     result 
= (bool)(arg1
)->GetChooseFull(); 
16298     wxPyEndAllowThreads(__tstate
); 
16299     if (PyErr_Occurred()) SWIG_fail
; 
16302     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16310 SWIGINTERN PyObject 
*_wrap_ColourData_GetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16311   PyObject 
*resultobj 
= 0; 
16312   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16316   PyObject 
*swig_obj
[1] ; 
16318   if (!args
) SWIG_fail
; 
16319   swig_obj
[0] = args
; 
16320   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16321   if (!SWIG_IsOK(res1
)) { 
16322     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");  
16324   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16326     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16327     result 
= (arg1
)->GetColour(); 
16328     wxPyEndAllowThreads(__tstate
); 
16329     if (PyErr_Occurred()) SWIG_fail
; 
16331   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
16338 SWIGINTERN PyObject 
*_wrap_ColourData_GetCustomColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16339   PyObject 
*resultobj 
= 0; 
16340   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16347   PyObject 
* obj0 
= 0 ; 
16348   PyObject 
* obj1 
= 0 ; 
16349   char *  kwnames
[] = { 
16350     (char *) "self",(char *) "i", NULL 
 
16353   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16354   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16355   if (!SWIG_IsOK(res1
)) { 
16356     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");  
16358   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16359   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16360   if (!SWIG_IsOK(ecode2
)) { 
16361     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'"); 
16363   arg2 
= static_cast< int >(val2
); 
16365     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16366     result 
= (arg1
)->GetCustomColour(arg2
); 
16367     wxPyEndAllowThreads(__tstate
); 
16368     if (PyErr_Occurred()) SWIG_fail
; 
16370   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
16377 SWIGINTERN PyObject 
*_wrap_ColourData_SetChooseFull(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16378   PyObject 
*resultobj 
= 0; 
16379   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16385   PyObject 
* obj0 
= 0 ; 
16386   PyObject 
* obj1 
= 0 ; 
16387   char *  kwnames
[] = { 
16388     (char *) "self",(char *) "flag", NULL 
 
16391   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16392   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16393   if (!SWIG_IsOK(res1
)) { 
16394     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");  
16396   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16397   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16398   if (!SWIG_IsOK(ecode2
)) { 
16399     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'"); 
16401   arg2 
= static_cast< int >(val2
); 
16403     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16404     (arg1
)->SetChooseFull(arg2
); 
16405     wxPyEndAllowThreads(__tstate
); 
16406     if (PyErr_Occurred()) SWIG_fail
; 
16408   resultobj 
= SWIG_Py_Void(); 
16415 SWIGINTERN PyObject 
*_wrap_ColourData_SetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16416   PyObject 
*resultobj 
= 0; 
16417   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16418   wxColour 
*arg2 
= 0 ; 
16422   PyObject 
* obj0 
= 0 ; 
16423   PyObject 
* obj1 
= 0 ; 
16424   char *  kwnames
[] = { 
16425     (char *) "self",(char *) "colour", NULL 
 
16428   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16429   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16430   if (!SWIG_IsOK(res1
)) { 
16431     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");  
16433   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16436     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
16439     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16440     (arg1
)->SetColour((wxColour 
const &)*arg2
); 
16441     wxPyEndAllowThreads(__tstate
); 
16442     if (PyErr_Occurred()) SWIG_fail
; 
16444   resultobj 
= SWIG_Py_Void(); 
16451 SWIGINTERN PyObject 
*_wrap_ColourData_SetCustomColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16452   PyObject 
*resultobj 
= 0; 
16453   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16455   wxColour 
*arg3 
= 0 ; 
16461   PyObject 
* obj0 
= 0 ; 
16462   PyObject 
* obj1 
= 0 ; 
16463   PyObject 
* obj2 
= 0 ; 
16464   char *  kwnames
[] = { 
16465     (char *) "self",(char *) "i",(char *) "colour", NULL 
 
16468   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16469   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16470   if (!SWIG_IsOK(res1
)) { 
16471     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");  
16473   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16474   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16475   if (!SWIG_IsOK(ecode2
)) { 
16476     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'"); 
16478   arg2 
= static_cast< int >(val2
); 
16481     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
16484     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16485     (arg1
)->SetCustomColour(arg2
,(wxColour 
const &)*arg3
); 
16486     wxPyEndAllowThreads(__tstate
); 
16487     if (PyErr_Occurred()) SWIG_fail
; 
16489   resultobj 
= SWIG_Py_Void(); 
16496 SWIGINTERN PyObject 
*ColourData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16498   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16499   SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
)); 
16500   return SWIG_Py_Void(); 
16503 SWIGINTERN PyObject 
*ColourData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16504   return SWIG_Python_InitShadowInstance(args
); 
16507 SWIGINTERN PyObject 
*_wrap_new_ColourDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16508   PyObject 
*resultobj 
= 0; 
16509   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16510   wxColourData 
*arg2 
= (wxColourData 
*) NULL 
; 
16511   wxColourDialog 
*result 
= 0 ; 
16516   PyObject 
* obj0 
= 0 ; 
16517   PyObject 
* obj1 
= 0 ; 
16518   char *  kwnames
[] = { 
16519     (char *) "parent",(char *) "data", NULL 
 
16522   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16523   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
16524   if (!SWIG_IsOK(res1
)) { 
16525     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
16527   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
16529     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16530     if (!SWIG_IsOK(res2
)) { 
16531       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");  
16533     arg2 
= reinterpret_cast< wxColourData 
* >(argp2
); 
16536     if (!wxPyCheckForApp()) SWIG_fail
; 
16537     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16538     result 
= (wxColourDialog 
*)new wxColourDialog(arg1
,arg2
); 
16539     wxPyEndAllowThreads(__tstate
); 
16540     if (PyErr_Occurred()) SWIG_fail
; 
16542   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW 
|  0 ); 
16549 SWIGINTERN PyObject 
*_wrap_ColourDialog_GetColourData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16550   PyObject 
*resultobj 
= 0; 
16551   wxColourDialog 
*arg1 
= (wxColourDialog 
*) 0 ; 
16552   wxColourData 
*result 
= 0 ; 
16555   PyObject 
*swig_obj
[1] ; 
16557   if (!args
) SWIG_fail
; 
16558   swig_obj
[0] = args
; 
16559   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 |  0 ); 
16560   if (!SWIG_IsOK(res1
)) { 
16561     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");  
16563   arg1 
= reinterpret_cast< wxColourDialog 
* >(argp1
); 
16565     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16567       wxColourData 
&_result_ref 
= (arg1
)->GetColourData(); 
16568       result 
= (wxColourData 
*) &_result_ref
; 
16570     wxPyEndAllowThreads(__tstate
); 
16571     if (PyErr_Occurred()) SWIG_fail
; 
16573   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16580 SWIGINTERN PyObject 
*ColourDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16582   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16583   SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
)); 
16584   return SWIG_Py_Void(); 
16587 SWIGINTERN PyObject 
*ColourDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16588   return SWIG_Python_InitShadowInstance(args
); 
16591 SWIGINTERN PyObject 
*_wrap_GetColourFromUser(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16592   PyObject 
*resultobj 
= 0; 
16593   wxWindow 
*arg1 
= (wxWindow 
*) (wxWindow 
*) NULL 
; 
16594   wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
16595   wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
16596   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16597   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16602   bool temp3 
= false ; 
16603   PyObject 
* obj0 
= 0 ; 
16604   PyObject 
* obj1 
= 0 ; 
16605   PyObject 
* obj2 
= 0 ; 
16606   char *  kwnames
[] = { 
16607     (char *) "parent",(char *) "colInit",(char *) "caption", NULL 
 
16610   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16612     res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
16613     if (!SWIG_IsOK(res1
)) { 
16614       SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");  
16616     arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
16621       if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
16626       arg3 
= wxString_in_helper(obj2
); 
16627       if (arg3 
== NULL
) SWIG_fail
; 
16632     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16633     result 
= wxGetColourFromUser(arg1
,(wxColour 
const &)*arg2
,(wxString 
const &)*arg3
); 
16634     wxPyEndAllowThreads(__tstate
); 
16635     if (PyErr_Occurred()) SWIG_fail
; 
16637   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
16652 SWIGINTERN PyObject 
*_wrap_new_DirDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16653   PyObject 
*resultobj 
= 0; 
16654   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16655   wxString 
const &arg2_defvalue 
= wxPyDirSelectorPromptStr 
; 
16656   wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
16657   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16658   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16659   long arg4 
= (long) 0 ; 
16660   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
16661   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
16662   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
16663   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
16664   wxString 
const &arg7_defvalue 
= wxPyDirDialogNameStr 
; 
16665   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
16666   wxDirDialog 
*result 
= 0 ; 
16669   bool temp2 
= false ; 
16670   bool temp3 
= false ; 
16675   bool temp7 
= false ; 
16676   PyObject 
* obj0 
= 0 ; 
16677   PyObject 
* obj1 
= 0 ; 
16678   PyObject 
* obj2 
= 0 ; 
16679   PyObject 
* obj3 
= 0 ; 
16680   PyObject 
* obj4 
= 0 ; 
16681   PyObject 
* obj5 
= 0 ; 
16682   PyObject 
* obj6 
= 0 ; 
16683   char *  kwnames
[] = { 
16684     (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL 
 
16687   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
16688   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
16689   if (!SWIG_IsOK(res1
)) { 
16690     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
16692   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
16695       arg2 
= wxString_in_helper(obj1
); 
16696       if (arg2 
== NULL
) SWIG_fail
; 
16702       arg3 
= wxString_in_helper(obj2
); 
16703       if (arg3 
== NULL
) SWIG_fail
; 
16708     ecode4 
= SWIG_AsVal_long(obj3
, &val4
); 
16709     if (!SWIG_IsOK(ecode4
)) { 
16710       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'"); 
16712     arg4 
= static_cast< long >(val4
); 
16717       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
16723       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
16728       arg7 
= wxString_in_helper(obj6
); 
16729       if (arg7 
== NULL
) SWIG_fail
; 
16734     if (!wxPyCheckForApp()) SWIG_fail
; 
16735     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16736     result 
= (wxDirDialog 
*)new wxDirDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,(wxString 
const &)*arg7
); 
16737     wxPyEndAllowThreads(__tstate
); 
16738     if (PyErr_Occurred()) SWIG_fail
; 
16740   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW 
|  0 ); 
16771 SWIGINTERN PyObject 
*_wrap_DirDialog_GetPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16772   PyObject 
*resultobj 
= 0; 
16773   wxDirDialog 
*arg1 
= (wxDirDialog 
*) 0 ; 
16777   PyObject 
*swig_obj
[1] ; 
16779   if (!args
) SWIG_fail
; 
16780   swig_obj
[0] = args
; 
16781   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 |  0 ); 
16782   if (!SWIG_IsOK(res1
)) { 
16783     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");  
16785   arg1 
= reinterpret_cast< wxDirDialog 
* >(argp1
); 
16787     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16788     result 
= (arg1
)->GetPath(); 
16789     wxPyEndAllowThreads(__tstate
); 
16790     if (PyErr_Occurred()) SWIG_fail
; 
16794     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16796     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16805 SWIGINTERN PyObject 
*_wrap_DirDialog_GetMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16806   PyObject 
*resultobj 
= 0; 
16807   wxDirDialog 
*arg1 
= (wxDirDialog 
*) 0 ; 
16811   PyObject 
*swig_obj
[1] ; 
16813   if (!args
) SWIG_fail
; 
16814   swig_obj
[0] = args
; 
16815   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 |  0 ); 
16816   if (!SWIG_IsOK(res1
)) { 
16817     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");  
16819   arg1 
= reinterpret_cast< wxDirDialog 
* >(argp1
); 
16821     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16822     result 
= (arg1
)->GetMessage(); 
16823     wxPyEndAllowThreads(__tstate
); 
16824     if (PyErr_Occurred()) SWIG_fail
; 
16828     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16830     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16839 SWIGINTERN PyObject 
*_wrap_DirDialog_GetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16840   PyObject 
*resultobj 
= 0; 
16841   wxDirDialog 
*arg1 
= (wxDirDialog 
*) 0 ; 
16845   PyObject 
*swig_obj
[1] ; 
16847   if (!args
) SWIG_fail
; 
16848   swig_obj
[0] = args
; 
16849   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 |  0 ); 
16850   if (!SWIG_IsOK(res1
)) { 
16851     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");  
16853   arg1 
= reinterpret_cast< wxDirDialog 
* >(argp1
); 
16855     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16856     result 
= (long)(arg1
)->GetStyle(); 
16857     wxPyEndAllowThreads(__tstate
); 
16858     if (PyErr_Occurred()) SWIG_fail
; 
16860   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
16867 SWIGINTERN PyObject 
*_wrap_DirDialog_SetMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16868   PyObject 
*resultobj 
= 0; 
16869   wxDirDialog 
*arg1 
= (wxDirDialog 
*) 0 ; 
16870   wxString 
*arg2 
= 0 ; 
16873   bool temp2 
= false ; 
16874   PyObject 
* obj0 
= 0 ; 
16875   PyObject 
* obj1 
= 0 ; 
16876   char *  kwnames
[] = { 
16877     (char *) "self",(char *) "message", NULL 
 
16880   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16881   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 |  0 ); 
16882   if (!SWIG_IsOK(res1
)) { 
16883     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");  
16885   arg1 
= reinterpret_cast< wxDirDialog 
* >(argp1
); 
16887     arg2 
= wxString_in_helper(obj1
); 
16888     if (arg2 
== NULL
) SWIG_fail
; 
16892     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16893     (arg1
)->SetMessage((wxString 
const &)*arg2
); 
16894     wxPyEndAllowThreads(__tstate
); 
16895     if (PyErr_Occurred()) SWIG_fail
; 
16897   resultobj 
= SWIG_Py_Void(); 
16912 SWIGINTERN PyObject 
*_wrap_DirDialog_SetPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16913   PyObject 
*resultobj 
= 0; 
16914   wxDirDialog 
*arg1 
= (wxDirDialog 
*) 0 ; 
16915   wxString 
*arg2 
= 0 ; 
16918   bool temp2 
= false ; 
16919   PyObject 
* obj0 
= 0 ; 
16920   PyObject 
* obj1 
= 0 ; 
16921   char *  kwnames
[] = { 
16922     (char *) "self",(char *) "path", NULL 
 
16925   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16926   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 |  0 ); 
16927   if (!SWIG_IsOK(res1
)) { 
16928     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");  
16930   arg1 
= reinterpret_cast< wxDirDialog 
* >(argp1
); 
16932     arg2 
= wxString_in_helper(obj1
); 
16933     if (arg2 
== NULL
) SWIG_fail
; 
16937     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16938     (arg1
)->SetPath((wxString 
const &)*arg2
); 
16939     wxPyEndAllowThreads(__tstate
); 
16940     if (PyErr_Occurred()) SWIG_fail
; 
16942   resultobj 
= SWIG_Py_Void(); 
16957 SWIGINTERN PyObject 
*DirDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16959   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16960   SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
)); 
16961   return SWIG_Py_Void(); 
16964 SWIGINTERN PyObject 
*DirDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16965   return SWIG_Python_InitShadowInstance(args
); 
16968 SWIGINTERN PyObject 
*_wrap_new_FileDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16969   PyObject 
*resultobj 
= 0; 
16970   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16971   wxString 
const &arg2_defvalue 
= wxPyFileSelectorPromptStr 
; 
16972   wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
16973   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16974   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16975   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
16976   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
16977   wxString 
const &arg5_defvalue 
= wxPyFileSelectorDefaultWildcardStr 
; 
16978   wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
16979   long arg6 
= (long) 0 ; 
16980   wxPoint 
const &arg7_defvalue 
= wxDefaultPosition 
; 
16981   wxPoint 
*arg7 
= (wxPoint 
*) &arg7_defvalue 
; 
16982   wxFileDialog 
*result 
= 0 ; 
16985   bool temp2 
= false ; 
16986   bool temp3 
= false ; 
16987   bool temp4 
= false ; 
16988   bool temp5 
= false ; 
16992   PyObject 
* obj0 
= 0 ; 
16993   PyObject 
* obj1 
= 0 ; 
16994   PyObject 
* obj2 
= 0 ; 
16995   PyObject 
* obj3 
= 0 ; 
16996   PyObject 
* obj4 
= 0 ; 
16997   PyObject 
* obj5 
= 0 ; 
16998   PyObject 
* obj6 
= 0 ; 
16999   char *  kwnames
[] = { 
17000     (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL 
 
17003   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
17004   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
17005   if (!SWIG_IsOK(res1
)) { 
17006     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
17008   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
17011       arg2 
= wxString_in_helper(obj1
); 
17012       if (arg2 
== NULL
) SWIG_fail
; 
17018       arg3 
= wxString_in_helper(obj2
); 
17019       if (arg3 
== NULL
) SWIG_fail
; 
17025       arg4 
= wxString_in_helper(obj3
); 
17026       if (arg4 
== NULL
) SWIG_fail
; 
17032       arg5 
= wxString_in_helper(obj4
); 
17033       if (arg5 
== NULL
) SWIG_fail
; 
17038     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
17039     if (!SWIG_IsOK(ecode6
)) { 
17040       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'"); 
17042     arg6 
= static_cast< long >(val6
); 
17047       if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
; 
17051     if (!wxPyCheckForApp()) SWIG_fail
; 
17052     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17053     result 
= (wxFileDialog 
*)new wxFileDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,(wxString 
const &)*arg5
,arg6
,(wxPoint 
const &)*arg7
); 
17054     wxPyEndAllowThreads(__tstate
); 
17055     if (PyErr_Occurred()) SWIG_fail
; 
17057   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW 
|  0 ); 
17096 SWIGINTERN PyObject 
*_wrap_FileDialog_SetMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17097   PyObject 
*resultobj 
= 0; 
17098   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17099   wxString 
*arg2 
= 0 ; 
17102   bool temp2 
= false ; 
17103   PyObject 
* obj0 
= 0 ; 
17104   PyObject 
* obj1 
= 0 ; 
17105   char *  kwnames
[] = { 
17106     (char *) "self",(char *) "message", NULL 
 
17109   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17110   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17111   if (!SWIG_IsOK(res1
)) { 
17112     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17114   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17116     arg2 
= wxString_in_helper(obj1
); 
17117     if (arg2 
== NULL
) SWIG_fail
; 
17121     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17122     (arg1
)->SetMessage((wxString 
const &)*arg2
); 
17123     wxPyEndAllowThreads(__tstate
); 
17124     if (PyErr_Occurred()) SWIG_fail
; 
17126   resultobj 
= SWIG_Py_Void(); 
17141 SWIGINTERN PyObject 
*_wrap_FileDialog_SetPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17142   PyObject 
*resultobj 
= 0; 
17143   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17144   wxString 
*arg2 
= 0 ; 
17147   bool temp2 
= false ; 
17148   PyObject 
* obj0 
= 0 ; 
17149   PyObject 
* obj1 
= 0 ; 
17150   char *  kwnames
[] = { 
17151     (char *) "self",(char *) "path", NULL 
 
17154   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17155   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17156   if (!SWIG_IsOK(res1
)) { 
17157     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17159   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17161     arg2 
= wxString_in_helper(obj1
); 
17162     if (arg2 
== NULL
) SWIG_fail
; 
17166     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17167     (arg1
)->SetPath((wxString 
const &)*arg2
); 
17168     wxPyEndAllowThreads(__tstate
); 
17169     if (PyErr_Occurred()) SWIG_fail
; 
17171   resultobj 
= SWIG_Py_Void(); 
17186 SWIGINTERN PyObject 
*_wrap_FileDialog_SetDirectory(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17187   PyObject 
*resultobj 
= 0; 
17188   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17189   wxString 
*arg2 
= 0 ; 
17192   bool temp2 
= false ; 
17193   PyObject 
* obj0 
= 0 ; 
17194   PyObject 
* obj1 
= 0 ; 
17195   char *  kwnames
[] = { 
17196     (char *) "self",(char *) "dir", NULL 
 
17199   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17200   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17201   if (!SWIG_IsOK(res1
)) { 
17202     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17204   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17206     arg2 
= wxString_in_helper(obj1
); 
17207     if (arg2 
== NULL
) SWIG_fail
; 
17211     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17212     (arg1
)->SetDirectory((wxString 
const &)*arg2
); 
17213     wxPyEndAllowThreads(__tstate
); 
17214     if (PyErr_Occurred()) SWIG_fail
; 
17216   resultobj 
= SWIG_Py_Void(); 
17231 SWIGINTERN PyObject 
*_wrap_FileDialog_SetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17232   PyObject 
*resultobj 
= 0; 
17233   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17234   wxString 
*arg2 
= 0 ; 
17237   bool temp2 
= false ; 
17238   PyObject 
* obj0 
= 0 ; 
17239   PyObject 
* obj1 
= 0 ; 
17240   char *  kwnames
[] = { 
17241     (char *) "self",(char *) "name", NULL 
 
17244   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17245   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17246   if (!SWIG_IsOK(res1
)) { 
17247     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17249   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17251     arg2 
= wxString_in_helper(obj1
); 
17252     if (arg2 
== NULL
) SWIG_fail
; 
17256     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17257     (arg1
)->SetFilename((wxString 
const &)*arg2
); 
17258     wxPyEndAllowThreads(__tstate
); 
17259     if (PyErr_Occurred()) SWIG_fail
; 
17261   resultobj 
= SWIG_Py_Void(); 
17276 SWIGINTERN PyObject 
*_wrap_FileDialog_SetWildcard(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17277   PyObject 
*resultobj 
= 0; 
17278   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17279   wxString 
*arg2 
= 0 ; 
17282   bool temp2 
= false ; 
17283   PyObject 
* obj0 
= 0 ; 
17284   PyObject 
* obj1 
= 0 ; 
17285   char *  kwnames
[] = { 
17286     (char *) "self",(char *) "wildCard", NULL 
 
17289   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17290   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17291   if (!SWIG_IsOK(res1
)) { 
17292     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17294   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17296     arg2 
= wxString_in_helper(obj1
); 
17297     if (arg2 
== NULL
) SWIG_fail
; 
17301     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17302     (arg1
)->SetWildcard((wxString 
const &)*arg2
); 
17303     wxPyEndAllowThreads(__tstate
); 
17304     if (PyErr_Occurred()) SWIG_fail
; 
17306   resultobj 
= SWIG_Py_Void(); 
17321 SWIGINTERN PyObject 
*_wrap_FileDialog_SetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17322   PyObject 
*resultobj 
= 0; 
17323   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17329   PyObject 
* obj0 
= 0 ; 
17330   PyObject 
* obj1 
= 0 ; 
17331   char *  kwnames
[] = { 
17332     (char *) "self",(char *) "style", NULL 
 
17335   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17336   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17337   if (!SWIG_IsOK(res1
)) { 
17338     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17340   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17341   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
17342   if (!SWIG_IsOK(ecode2
)) { 
17343     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'"); 
17345   arg2 
= static_cast< long >(val2
); 
17347     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17348     (arg1
)->SetStyle(arg2
); 
17349     wxPyEndAllowThreads(__tstate
); 
17350     if (PyErr_Occurred()) SWIG_fail
; 
17352   resultobj 
= SWIG_Py_Void(); 
17359 SWIGINTERN PyObject 
*_wrap_FileDialog_SetFilterIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17360   PyObject 
*resultobj 
= 0; 
17361   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17367   PyObject 
* obj0 
= 0 ; 
17368   PyObject 
* obj1 
= 0 ; 
17369   char *  kwnames
[] = { 
17370     (char *) "self",(char *) "filterIndex", NULL 
 
17373   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17374   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17375   if (!SWIG_IsOK(res1
)) { 
17376     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17378   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17379   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17380   if (!SWIG_IsOK(ecode2
)) { 
17381     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'"); 
17383   arg2 
= static_cast< int >(val2
); 
17385     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17386     (arg1
)->SetFilterIndex(arg2
); 
17387     wxPyEndAllowThreads(__tstate
); 
17388     if (PyErr_Occurred()) SWIG_fail
; 
17390   resultobj 
= SWIG_Py_Void(); 
17397 SWIGINTERN PyObject 
*_wrap_FileDialog_GetMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17398   PyObject 
*resultobj 
= 0; 
17399   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17403   PyObject 
*swig_obj
[1] ; 
17405   if (!args
) SWIG_fail
; 
17406   swig_obj
[0] = args
; 
17407   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17408   if (!SWIG_IsOK(res1
)) { 
17409     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17411   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17413     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17414     result 
= ((wxFileDialog 
const *)arg1
)->GetMessage(); 
17415     wxPyEndAllowThreads(__tstate
); 
17416     if (PyErr_Occurred()) SWIG_fail
; 
17420     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17422     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17431 SWIGINTERN PyObject 
*_wrap_FileDialog_GetPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17432   PyObject 
*resultobj 
= 0; 
17433   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17437   PyObject 
*swig_obj
[1] ; 
17439   if (!args
) SWIG_fail
; 
17440   swig_obj
[0] = args
; 
17441   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17442   if (!SWIG_IsOK(res1
)) { 
17443     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17445   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17447     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17448     result 
= ((wxFileDialog 
const *)arg1
)->GetPath(); 
17449     wxPyEndAllowThreads(__tstate
); 
17450     if (PyErr_Occurred()) SWIG_fail
; 
17454     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17456     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17465 SWIGINTERN PyObject 
*_wrap_FileDialog_GetDirectory(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17466   PyObject 
*resultobj 
= 0; 
17467   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17471   PyObject 
*swig_obj
[1] ; 
17473   if (!args
) SWIG_fail
; 
17474   swig_obj
[0] = args
; 
17475   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17476   if (!SWIG_IsOK(res1
)) { 
17477     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17479   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17481     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17482     result 
= ((wxFileDialog 
const *)arg1
)->GetDirectory(); 
17483     wxPyEndAllowThreads(__tstate
); 
17484     if (PyErr_Occurred()) SWIG_fail
; 
17488     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17490     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17499 SWIGINTERN PyObject 
*_wrap_FileDialog_GetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17500   PyObject 
*resultobj 
= 0; 
17501   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17505   PyObject 
*swig_obj
[1] ; 
17507   if (!args
) SWIG_fail
; 
17508   swig_obj
[0] = args
; 
17509   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17510   if (!SWIG_IsOK(res1
)) { 
17511     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17513   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17515     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17516     result 
= ((wxFileDialog 
const *)arg1
)->GetFilename(); 
17517     wxPyEndAllowThreads(__tstate
); 
17518     if (PyErr_Occurred()) SWIG_fail
; 
17522     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17524     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17533 SWIGINTERN PyObject 
*_wrap_FileDialog_GetWildcard(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17534   PyObject 
*resultobj 
= 0; 
17535   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17539   PyObject 
*swig_obj
[1] ; 
17541   if (!args
) SWIG_fail
; 
17542   swig_obj
[0] = args
; 
17543   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17544   if (!SWIG_IsOK(res1
)) { 
17545     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17547   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17549     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17550     result 
= ((wxFileDialog 
const *)arg1
)->GetWildcard(); 
17551     wxPyEndAllowThreads(__tstate
); 
17552     if (PyErr_Occurred()) SWIG_fail
; 
17556     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17558     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17567 SWIGINTERN PyObject 
*_wrap_FileDialog_GetStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17568   PyObject 
*resultobj 
= 0; 
17569   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17573   PyObject 
*swig_obj
[1] ; 
17575   if (!args
) SWIG_fail
; 
17576   swig_obj
[0] = args
; 
17577   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17578   if (!SWIG_IsOK(res1
)) { 
17579     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17581   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17583     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17584     result 
= (long)((wxFileDialog 
const *)arg1
)->GetStyle(); 
17585     wxPyEndAllowThreads(__tstate
); 
17586     if (PyErr_Occurred()) SWIG_fail
; 
17588   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
17595 SWIGINTERN PyObject 
*_wrap_FileDialog_GetFilterIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17596   PyObject 
*resultobj 
= 0; 
17597   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17601   PyObject 
*swig_obj
[1] ; 
17603   if (!args
) SWIG_fail
; 
17604   swig_obj
[0] = args
; 
17605   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17606   if (!SWIG_IsOK(res1
)) { 
17607     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17609   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17611     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17612     result 
= (int)((wxFileDialog 
const *)arg1
)->GetFilterIndex(); 
17613     wxPyEndAllowThreads(__tstate
); 
17614     if (PyErr_Occurred()) SWIG_fail
; 
17616   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
17623 SWIGINTERN PyObject 
*_wrap_FileDialog_GetFilenames(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17624   PyObject 
*resultobj 
= 0; 
17625   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17626   PyObject 
*result 
= 0 ; 
17629   PyObject 
*swig_obj
[1] ; 
17631   if (!args
) SWIG_fail
; 
17632   swig_obj
[0] = args
; 
17633   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17634   if (!SWIG_IsOK(res1
)) { 
17635     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17637   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17639     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17640     result 
= (PyObject 
*)wxFileDialog_GetFilenames(arg1
); 
17641     wxPyEndAllowThreads(__tstate
); 
17642     if (PyErr_Occurred()) SWIG_fail
; 
17644   resultobj 
= result
; 
17651 SWIGINTERN PyObject 
*_wrap_FileDialog_GetPaths(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17652   PyObject 
*resultobj 
= 0; 
17653   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17654   PyObject 
*result 
= 0 ; 
17657   PyObject 
*swig_obj
[1] ; 
17659   if (!args
) SWIG_fail
; 
17660   swig_obj
[0] = args
; 
17661   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17662   if (!SWIG_IsOK(res1
)) { 
17663     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17665   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17667     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17668     result 
= (PyObject 
*)wxFileDialog_GetPaths(arg1
); 
17669     wxPyEndAllowThreads(__tstate
); 
17670     if (PyErr_Occurred()) SWIG_fail
; 
17672   resultobj 
= result
; 
17679 SWIGINTERN PyObject 
*FileDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17681   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
17682   SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
)); 
17683   return SWIG_Py_Void(); 
17686 SWIGINTERN PyObject 
*FileDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17687   return SWIG_Python_InitShadowInstance(args
); 
17690 SWIGINTERN PyObject 
*_wrap_new_MultiChoiceDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17691   PyObject 
*resultobj 
= 0; 
17692   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
17693   wxString 
*arg2 
= 0 ; 
17694   wxString 
*arg3 
= 0 ; 
17695   int arg4 
= (int) 0 ; 
17696   wxString 
*arg5 
= (wxString 
*) NULL 
; 
17697   long arg6 
= (long) wxCHOICEDLG_STYLE 
; 
17698   wxPoint 
const &arg7_defvalue 
= wxDefaultPosition 
; 
17699   wxPoint 
*arg7 
= (wxPoint 
*) &arg7_defvalue 
; 
17700   wxMultiChoiceDialog 
*result 
= 0 ; 
17703   bool temp2 
= false ; 
17704   bool temp3 
= false ; 
17708   PyObject 
* obj0 
= 0 ; 
17709   PyObject 
* obj1 
= 0 ; 
17710   PyObject 
* obj2 
= 0 ; 
17711   PyObject 
* obj3 
= 0 ; 
17712   PyObject 
* obj4 
= 0 ; 
17713   PyObject 
* obj5 
= 0 ; 
17714   char *  kwnames
[] = { 
17715     (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL 
 
17718   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
17719   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
17720   if (!SWIG_IsOK(res1
)) { 
17721     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
17723   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
17725     arg2 
= wxString_in_helper(obj1
); 
17726     if (arg2 
== NULL
) SWIG_fail
; 
17730     arg3 
= wxString_in_helper(obj2
); 
17731     if (arg3 
== NULL
) SWIG_fail
; 
17736       arg4 
= PyList_Size(obj3
); 
17737       arg5 
= wxString_LIST_helper(obj3
); 
17738       if (arg5 
== NULL
) SWIG_fail
; 
17742     ecode6 
= SWIG_AsVal_long(obj4
, &val6
); 
17743     if (!SWIG_IsOK(ecode6
)) { 
17744       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'"); 
17746     arg6 
= static_cast< long >(val6
); 
17751       if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
; 
17755     if (!wxPyCheckForApp()) SWIG_fail
; 
17756     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17757     result 
= (wxMultiChoiceDialog 
*)new wxMultiChoiceDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint 
const &)*arg7
); 
17758     wxPyEndAllowThreads(__tstate
); 
17759     if (PyErr_Occurred()) SWIG_fail
; 
17761   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW 
|  0 ); 
17771     if (arg5
) delete [] arg5
; 
17784     if (arg5
) delete [] arg5
; 
17790 SWIGINTERN PyObject 
*_wrap_MultiChoiceDialog_SetSelections(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17791   PyObject 
*resultobj 
= 0; 
17792   wxMultiChoiceDialog 
*arg1 
= (wxMultiChoiceDialog 
*) 0 ; 
17793   wxArrayInt 
*arg2 
= 0 ; 
17796   bool temp2 
= false ; 
17797   PyObject 
* obj0 
= 0 ; 
17798   PyObject 
* obj1 
= 0 ; 
17799   char *  kwnames
[] = { 
17800     (char *) "self",(char *) "selections", NULL 
 
17803   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17804   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 |  0 ); 
17805   if (!SWIG_IsOK(res1
)) { 
17806     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");  
17808   arg1 
= reinterpret_cast< wxMultiChoiceDialog 
* >(argp1
); 
17810     if (! PySequence_Check(obj1
)) { 
17811       PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected."); 
17814     arg2 
= new wxArrayInt
; 
17816     int i
, len
=PySequence_Length(obj1
); 
17817     for (i
=0; i
<len
; i
++) { 
17818       PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
17819       PyObject
* number  
= PyNumber_Int(item
); 
17820       arg2
->Add(PyInt_AS_LONG(number
)); 
17826     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17827     (arg1
)->SetSelections((wxArrayInt 
const &)*arg2
); 
17828     wxPyEndAllowThreads(__tstate
); 
17829     if (PyErr_Occurred()) SWIG_fail
; 
17831   resultobj 
= SWIG_Py_Void(); 
17833     if (temp2
) delete arg2
; 
17838     if (temp2
) delete arg2
; 
17844 SWIGINTERN PyObject 
*_wrap_MultiChoiceDialog_GetSelections(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17845   PyObject 
*resultobj 
= 0; 
17846   wxMultiChoiceDialog 
*arg1 
= (wxMultiChoiceDialog 
*) 0 ; 
17847   PyObject 
*result 
= 0 ; 
17850   PyObject 
*swig_obj
[1] ; 
17852   if (!args
) SWIG_fail
; 
17853   swig_obj
[0] = args
; 
17854   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 |  0 ); 
17855   if (!SWIG_IsOK(res1
)) { 
17856     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");  
17858   arg1 
= reinterpret_cast< wxMultiChoiceDialog 
* >(argp1
); 
17860     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17861     result 
= (PyObject 
*)wxMultiChoiceDialog_GetSelections(arg1
); 
17862     wxPyEndAllowThreads(__tstate
); 
17863     if (PyErr_Occurred()) SWIG_fail
; 
17865   resultobj 
= result
; 
17872 SWIGINTERN PyObject 
*MultiChoiceDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17874   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
17875   SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
)); 
17876   return SWIG_Py_Void(); 
17879 SWIGINTERN PyObject 
*MultiChoiceDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17880   return SWIG_Python_InitShadowInstance(args
); 
17883 SWIGINTERN PyObject 
*_wrap_new_SingleChoiceDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17884   PyObject 
*resultobj 
= 0; 
17885   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
17886   wxString 
*arg2 
= 0 ; 
17887   wxString 
*arg3 
= 0 ; 
17889   wxString 
*arg5 
= (wxString 
*) 0 ; 
17890   long arg6 
= (long) wxCHOICEDLG_STYLE 
; 
17891   wxPoint 
const &arg7_defvalue 
= wxDefaultPosition 
; 
17892   wxPoint 
*arg7 
= (wxPoint 
*) &arg7_defvalue 
; 
17893   wxSingleChoiceDialog 
*result 
= 0 ; 
17896   bool temp2 
= false ; 
17897   bool temp3 
= false ; 
17901   PyObject 
* obj0 
= 0 ; 
17902   PyObject 
* obj1 
= 0 ; 
17903   PyObject 
* obj2 
= 0 ; 
17904   PyObject 
* obj3 
= 0 ; 
17905   PyObject 
* obj4 
= 0 ; 
17906   PyObject 
* obj5 
= 0 ; 
17907   char *  kwnames
[] = { 
17908     (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL 
 
17911   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
17912   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
17913   if (!SWIG_IsOK(res1
)) { 
17914     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
17916   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
17918     arg2 
= wxString_in_helper(obj1
); 
17919     if (arg2 
== NULL
) SWIG_fail
; 
17923     arg3 
= wxString_in_helper(obj2
); 
17924     if (arg3 
== NULL
) SWIG_fail
; 
17928     arg4 
= PyList_Size(obj3
); 
17929     arg5 
= wxString_LIST_helper(obj3
); 
17930     if (arg5 
== NULL
) SWIG_fail
; 
17933     ecode6 
= SWIG_AsVal_long(obj4
, &val6
); 
17934     if (!SWIG_IsOK(ecode6
)) { 
17935       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'"); 
17937     arg6 
= static_cast< long >(val6
); 
17942       if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
; 
17946     if (!wxPyCheckForApp()) SWIG_fail
; 
17947     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17948     result 
= (wxSingleChoiceDialog 
*)new_wxSingleChoiceDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint 
const &)*arg7
); 
17949     wxPyEndAllowThreads(__tstate
); 
17950     if (PyErr_Occurred()) SWIG_fail
; 
17952   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW 
|  0 ); 
17962     if (arg5
) delete [] arg5
; 
17975     if (arg5
) delete [] arg5
; 
17981 SWIGINTERN PyObject 
*_wrap_SingleChoiceDialog_GetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17982   PyObject 
*resultobj 
= 0; 
17983   wxSingleChoiceDialog 
*arg1 
= (wxSingleChoiceDialog 
*) 0 ; 
17987   PyObject 
*swig_obj
[1] ; 
17989   if (!args
) SWIG_fail
; 
17990   swig_obj
[0] = args
; 
17991   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 |  0 ); 
17992   if (!SWIG_IsOK(res1
)) { 
17993     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");  
17995   arg1 
= reinterpret_cast< wxSingleChoiceDialog 
* >(argp1
); 
17997     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17998     result 
= (int)(arg1
)->GetSelection(); 
17999     wxPyEndAllowThreads(__tstate
); 
18000     if (PyErr_Occurred()) SWIG_fail
; 
18002   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18009 SWIGINTERN PyObject 
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18010   PyObject 
*resultobj 
= 0; 
18011   wxSingleChoiceDialog 
*arg1 
= (wxSingleChoiceDialog 
*) 0 ; 
18015   PyObject 
*swig_obj
[1] ; 
18017   if (!args
) SWIG_fail
; 
18018   swig_obj
[0] = args
; 
18019   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 |  0 ); 
18020   if (!SWIG_IsOK(res1
)) { 
18021     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");  
18023   arg1 
= reinterpret_cast< wxSingleChoiceDialog 
* >(argp1
); 
18025     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18026     result 
= (arg1
)->GetStringSelection(); 
18027     wxPyEndAllowThreads(__tstate
); 
18028     if (PyErr_Occurred()) SWIG_fail
; 
18032     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
18034     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
18043 SWIGINTERN PyObject 
*_wrap_SingleChoiceDialog_SetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18044   PyObject 
*resultobj 
= 0; 
18045   wxSingleChoiceDialog 
*arg1 
= (wxSingleChoiceDialog 
*) 0 ; 
18051   PyObject 
* obj0 
= 0 ; 
18052   PyObject 
* obj1 
= 0 ; 
18053   char *  kwnames
[] = { 
18054     (char *) "self",(char *) "sel", NULL 
 
18057   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18058   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 |  0 ); 
18059   if (!SWIG_IsOK(res1
)) { 
18060     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");  
18062   arg1 
= reinterpret_cast< wxSingleChoiceDialog 
* >(argp1
); 
18063   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18064   if (!SWIG_IsOK(ecode2
)) { 
18065     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'"); 
18067   arg2 
= static_cast< int >(val2
); 
18069     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18070     (arg1
)->SetSelection(arg2
); 
18071     wxPyEndAllowThreads(__tstate
); 
18072     if (PyErr_Occurred()) SWIG_fail
; 
18074   resultobj 
= SWIG_Py_Void(); 
18081 SWIGINTERN PyObject 
*SingleChoiceDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18083   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18084   SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
)); 
18085   return SWIG_Py_Void(); 
18088 SWIGINTERN PyObject 
*SingleChoiceDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18089   return SWIG_Python_InitShadowInstance(args
); 
18092 SWIGINTERN PyObject 
*_wrap_new_TextEntryDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18093   PyObject 
*resultobj 
= 0; 
18094   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18095   wxString 
*arg2 
= 0 ; 
18096   wxString 
const &arg3_defvalue 
= wxPyGetTextFromUserPromptStr 
; 
18097   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
18098   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
18099   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
18100   long arg5 
= (long) wxTextEntryDialogStyle 
; 
18101   wxPoint 
const &arg6_defvalue 
= wxDefaultPosition 
; 
18102   wxPoint 
*arg6 
= (wxPoint 
*) &arg6_defvalue 
; 
18103   wxTextEntryDialog 
*result 
= 0 ; 
18106   bool temp2 
= false ; 
18107   bool temp3 
= false ; 
18108   bool temp4 
= false ; 
18112   PyObject 
* obj0 
= 0 ; 
18113   PyObject 
* obj1 
= 0 ; 
18114   PyObject 
* obj2 
= 0 ; 
18115   PyObject 
* obj3 
= 0 ; 
18116   PyObject 
* obj4 
= 0 ; 
18117   PyObject 
* obj5 
= 0 ; 
18118   char *  kwnames
[] = { 
18119     (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL 
 
18122   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
18123   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
18124   if (!SWIG_IsOK(res1
)) { 
18125     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
18127   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
18129     arg2 
= wxString_in_helper(obj1
); 
18130     if (arg2 
== NULL
) SWIG_fail
; 
18135       arg3 
= wxString_in_helper(obj2
); 
18136       if (arg3 
== NULL
) SWIG_fail
; 
18142       arg4 
= wxString_in_helper(obj3
); 
18143       if (arg4 
== NULL
) SWIG_fail
; 
18148     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
18149     if (!SWIG_IsOK(ecode5
)) { 
18150       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'"); 
18152     arg5 
= static_cast< long >(val5
); 
18157       if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
; 
18161     if (!wxPyCheckForApp()) SWIG_fail
; 
18162     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18163     result 
= (wxTextEntryDialog 
*)new wxTextEntryDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,(wxPoint 
const &)*arg6
); 
18164     wxPyEndAllowThreads(__tstate
); 
18165     if (PyErr_Occurred()) SWIG_fail
; 
18167   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW 
|  0 ); 
18198 SWIGINTERN PyObject 
*_wrap_TextEntryDialog_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18199   PyObject 
*resultobj 
= 0; 
18200   wxTextEntryDialog 
*arg1 
= (wxTextEntryDialog 
*) 0 ; 
18204   PyObject 
*swig_obj
[1] ; 
18206   if (!args
) SWIG_fail
; 
18207   swig_obj
[0] = args
; 
18208   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 |  0 ); 
18209   if (!SWIG_IsOK(res1
)) { 
18210     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");  
18212   arg1 
= reinterpret_cast< wxTextEntryDialog 
* >(argp1
); 
18214     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18215     result 
= (arg1
)->GetValue(); 
18216     wxPyEndAllowThreads(__tstate
); 
18217     if (PyErr_Occurred()) SWIG_fail
; 
18221     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
18223     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
18232 SWIGINTERN PyObject 
*_wrap_TextEntryDialog_SetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18233   PyObject 
*resultobj 
= 0; 
18234   wxTextEntryDialog 
*arg1 
= (wxTextEntryDialog 
*) 0 ; 
18235   wxString 
*arg2 
= 0 ; 
18238   bool temp2 
= false ; 
18239   PyObject 
* obj0 
= 0 ; 
18240   PyObject 
* obj1 
= 0 ; 
18241   char *  kwnames
[] = { 
18242     (char *) "self",(char *) "value", NULL 
 
18245   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18246   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 |  0 ); 
18247   if (!SWIG_IsOK(res1
)) { 
18248     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");  
18250   arg1 
= reinterpret_cast< wxTextEntryDialog 
* >(argp1
); 
18252     arg2 
= wxString_in_helper(obj1
); 
18253     if (arg2 
== NULL
) SWIG_fail
; 
18257     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18258     (arg1
)->SetValue((wxString 
const &)*arg2
); 
18259     wxPyEndAllowThreads(__tstate
); 
18260     if (PyErr_Occurred()) SWIG_fail
; 
18262   resultobj 
= SWIG_Py_Void(); 
18277 SWIGINTERN PyObject 
*TextEntryDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18279   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18280   SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
)); 
18281   return SWIG_Py_Void(); 
18284 SWIGINTERN PyObject 
*TextEntryDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18285   return SWIG_Python_InitShadowInstance(args
); 
18288 SWIGINTERN 
int GetPasswordFromUserPromptStr_set(PyObject 
*) { 
18289   SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only."); 
18294 SWIGINTERN PyObject 
*GetPasswordFromUserPromptStr_get(void) { 
18295   PyObject 
*pyobj 
= 0; 
18299     pyobj 
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len()); 
18301     pyobj 
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len()); 
18308 SWIGINTERN PyObject 
*_wrap_new_PasswordEntryDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18309   PyObject 
*resultobj 
= 0; 
18310   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18311   wxString 
*arg2 
= 0 ; 
18312   wxString 
const &arg3_defvalue 
= wxPyGetPasswordFromUserPromptStr 
; 
18313   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
18314   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
18315   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
18316   long arg5 
= (long) wxTextEntryDialogStyle 
; 
18317   wxPoint 
const &arg6_defvalue 
= wxDefaultPosition 
; 
18318   wxPoint 
*arg6 
= (wxPoint 
*) &arg6_defvalue 
; 
18319   wxPasswordEntryDialog 
*result 
= 0 ; 
18322   bool temp2 
= false ; 
18323   bool temp3 
= false ; 
18324   bool temp4 
= false ; 
18328   PyObject 
* obj0 
= 0 ; 
18329   PyObject 
* obj1 
= 0 ; 
18330   PyObject 
* obj2 
= 0 ; 
18331   PyObject 
* obj3 
= 0 ; 
18332   PyObject 
* obj4 
= 0 ; 
18333   PyObject 
* obj5 
= 0 ; 
18334   char *  kwnames
[] = { 
18335     (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL 
 
18338   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
18339   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
18340   if (!SWIG_IsOK(res1
)) { 
18341     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
18343   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
18345     arg2 
= wxString_in_helper(obj1
); 
18346     if (arg2 
== NULL
) SWIG_fail
; 
18351       arg3 
= wxString_in_helper(obj2
); 
18352       if (arg3 
== NULL
) SWIG_fail
; 
18358       arg4 
= wxString_in_helper(obj3
); 
18359       if (arg4 
== NULL
) SWIG_fail
; 
18364     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
18365     if (!SWIG_IsOK(ecode5
)) { 
18366       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'"); 
18368     arg5 
= static_cast< long >(val5
); 
18373       if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
; 
18377     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18378     result 
= (wxPasswordEntryDialog 
*)new wxPasswordEntryDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,(wxPoint 
const &)*arg6
); 
18379     wxPyEndAllowThreads(__tstate
); 
18380     if (PyErr_Occurred()) SWIG_fail
; 
18382   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW 
|  0 ); 
18413 SWIGINTERN PyObject 
*PasswordEntryDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18415   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18416   SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
)); 
18417   return SWIG_Py_Void(); 
18420 SWIGINTERN PyObject 
*PasswordEntryDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18421   return SWIG_Python_InitShadowInstance(args
); 
18424 SWIGINTERN PyObject 
*_wrap_new_FontData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18425   PyObject 
*resultobj 
= 0; 
18426   wxFontData 
*result 
= 0 ; 
18428   if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
; 
18430     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18431     result 
= (wxFontData 
*)new wxFontData(); 
18432     wxPyEndAllowThreads(__tstate
); 
18433     if (PyErr_Occurred()) SWIG_fail
; 
18435   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW 
|  0 ); 
18442 SWIGINTERN PyObject 
*_wrap_delete_FontData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18443   PyObject 
*resultobj 
= 0; 
18444   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18447   PyObject 
*swig_obj
[1] ; 
18449   if (!args
) SWIG_fail
; 
18450   swig_obj
[0] = args
; 
18451   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN 
|  0 ); 
18452   if (!SWIG_IsOK(res1
)) { 
18453     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");  
18455   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18457     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18460     wxPyEndAllowThreads(__tstate
); 
18461     if (PyErr_Occurred()) SWIG_fail
; 
18463   resultobj 
= SWIG_Py_Void(); 
18470 SWIGINTERN PyObject 
*_wrap_FontData_EnableEffects(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18471   PyObject 
*resultobj 
= 0; 
18472   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18478   PyObject 
* obj0 
= 0 ; 
18479   PyObject 
* obj1 
= 0 ; 
18480   char *  kwnames
[] = { 
18481     (char *) "self",(char *) "enable", NULL 
 
18484   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18485   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18486   if (!SWIG_IsOK(res1
)) { 
18487     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");  
18489   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18490   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
18491   if (!SWIG_IsOK(ecode2
)) { 
18492     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'"); 
18494   arg2 
= static_cast< bool >(val2
); 
18496     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18497     (arg1
)->EnableEffects(arg2
); 
18498     wxPyEndAllowThreads(__tstate
); 
18499     if (PyErr_Occurred()) SWIG_fail
; 
18501   resultobj 
= SWIG_Py_Void(); 
18508 SWIGINTERN PyObject 
*_wrap_FontData_GetAllowSymbols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18509   PyObject 
*resultobj 
= 0; 
18510   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18514   PyObject 
*swig_obj
[1] ; 
18516   if (!args
) SWIG_fail
; 
18517   swig_obj
[0] = args
; 
18518   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18519   if (!SWIG_IsOK(res1
)) { 
18520     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");  
18522   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18524     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18525     result 
= (bool)(arg1
)->GetAllowSymbols(); 
18526     wxPyEndAllowThreads(__tstate
); 
18527     if (PyErr_Occurred()) SWIG_fail
; 
18530     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18538 SWIGINTERN PyObject 
*_wrap_FontData_GetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18539   PyObject 
*resultobj 
= 0; 
18540   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18544   PyObject 
*swig_obj
[1] ; 
18546   if (!args
) SWIG_fail
; 
18547   swig_obj
[0] = args
; 
18548   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18549   if (!SWIG_IsOK(res1
)) { 
18550     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");  
18552   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18554     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18555     result 
= (arg1
)->GetColour(); 
18556     wxPyEndAllowThreads(__tstate
); 
18557     if (PyErr_Occurred()) SWIG_fail
; 
18559   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
18566 SWIGINTERN PyObject 
*_wrap_FontData_GetChosenFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18567   PyObject 
*resultobj 
= 0; 
18568   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18572   PyObject 
*swig_obj
[1] ; 
18574   if (!args
) SWIG_fail
; 
18575   swig_obj
[0] = args
; 
18576   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18577   if (!SWIG_IsOK(res1
)) { 
18578     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");  
18580   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18582     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18583     result 
= (arg1
)->GetChosenFont(); 
18584     wxPyEndAllowThreads(__tstate
); 
18585     if (PyErr_Occurred()) SWIG_fail
; 
18587   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
18594 SWIGINTERN PyObject 
*_wrap_FontData_GetEnableEffects(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18595   PyObject 
*resultobj 
= 0; 
18596   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18600   PyObject 
*swig_obj
[1] ; 
18602   if (!args
) SWIG_fail
; 
18603   swig_obj
[0] = args
; 
18604   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18605   if (!SWIG_IsOK(res1
)) { 
18606     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");  
18608   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18610     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18611     result 
= (bool)(arg1
)->GetEnableEffects(); 
18612     wxPyEndAllowThreads(__tstate
); 
18613     if (PyErr_Occurred()) SWIG_fail
; 
18616     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18624 SWIGINTERN PyObject 
*_wrap_FontData_GetInitialFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18625   PyObject 
*resultobj 
= 0; 
18626   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18630   PyObject 
*swig_obj
[1] ; 
18632   if (!args
) SWIG_fail
; 
18633   swig_obj
[0] = args
; 
18634   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18635   if (!SWIG_IsOK(res1
)) { 
18636     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");  
18638   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18640     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18641     result 
= (arg1
)->GetInitialFont(); 
18642     wxPyEndAllowThreads(__tstate
); 
18643     if (PyErr_Occurred()) SWIG_fail
; 
18645   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
18652 SWIGINTERN PyObject 
*_wrap_FontData_GetShowHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18653   PyObject 
*resultobj 
= 0; 
18654   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18658   PyObject 
*swig_obj
[1] ; 
18660   if (!args
) SWIG_fail
; 
18661   swig_obj
[0] = args
; 
18662   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18663   if (!SWIG_IsOK(res1
)) { 
18664     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");  
18666   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18668     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18669     result 
= (bool)(arg1
)->GetShowHelp(); 
18670     wxPyEndAllowThreads(__tstate
); 
18671     if (PyErr_Occurred()) SWIG_fail
; 
18674     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18682 SWIGINTERN PyObject 
*_wrap_FontData_SetAllowSymbols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18683   PyObject 
*resultobj 
= 0; 
18684   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18690   PyObject 
* obj0 
= 0 ; 
18691   PyObject 
* obj1 
= 0 ; 
18692   char *  kwnames
[] = { 
18693     (char *) "self",(char *) "allowSymbols", NULL 
 
18696   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18697   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18698   if (!SWIG_IsOK(res1
)) { 
18699     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");  
18701   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18702   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
18703   if (!SWIG_IsOK(ecode2
)) { 
18704     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'"); 
18706   arg2 
= static_cast< bool >(val2
); 
18708     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18709     (arg1
)->SetAllowSymbols(arg2
); 
18710     wxPyEndAllowThreads(__tstate
); 
18711     if (PyErr_Occurred()) SWIG_fail
; 
18713   resultobj 
= SWIG_Py_Void(); 
18720 SWIGINTERN PyObject 
*_wrap_FontData_SetChosenFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18721   PyObject 
*resultobj 
= 0; 
18722   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18728   PyObject 
* obj0 
= 0 ; 
18729   PyObject 
* obj1 
= 0 ; 
18730   char *  kwnames
[] = { 
18731     (char *) "self",(char *) "font", NULL 
 
18734   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18735   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18736   if (!SWIG_IsOK(res1
)) { 
18737     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");  
18739   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18740   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
18741   if (!SWIG_IsOK(res2
)) { 
18742     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
18745     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
18747   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
18749     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18750     (arg1
)->SetChosenFont((wxFont 
const &)*arg2
); 
18751     wxPyEndAllowThreads(__tstate
); 
18752     if (PyErr_Occurred()) SWIG_fail
; 
18754   resultobj 
= SWIG_Py_Void(); 
18761 SWIGINTERN PyObject 
*_wrap_FontData_SetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18762   PyObject 
*resultobj 
= 0; 
18763   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18764   wxColour 
*arg2 
= 0 ; 
18768   PyObject 
* obj0 
= 0 ; 
18769   PyObject 
* obj1 
= 0 ; 
18770   char *  kwnames
[] = { 
18771     (char *) "self",(char *) "colour", NULL 
 
18774   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18775   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18776   if (!SWIG_IsOK(res1
)) { 
18777     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");  
18779   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18782     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18785     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18786     (arg1
)->SetColour((wxColour 
const &)*arg2
); 
18787     wxPyEndAllowThreads(__tstate
); 
18788     if (PyErr_Occurred()) SWIG_fail
; 
18790   resultobj 
= SWIG_Py_Void(); 
18797 SWIGINTERN PyObject 
*_wrap_FontData_SetInitialFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18798   PyObject 
*resultobj 
= 0; 
18799   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18805   PyObject 
* obj0 
= 0 ; 
18806   PyObject 
* obj1 
= 0 ; 
18807   char *  kwnames
[] = { 
18808     (char *) "self",(char *) "font", NULL 
 
18811   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18812   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18813   if (!SWIG_IsOK(res1
)) { 
18814     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");  
18816   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18817   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
18818   if (!SWIG_IsOK(res2
)) { 
18819     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
18822     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
18824   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
18826     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18827     (arg1
)->SetInitialFont((wxFont 
const &)*arg2
); 
18828     wxPyEndAllowThreads(__tstate
); 
18829     if (PyErr_Occurred()) SWIG_fail
; 
18831   resultobj 
= SWIG_Py_Void(); 
18838 SWIGINTERN PyObject 
*_wrap_FontData_SetRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18839   PyObject 
*resultobj 
= 0; 
18840   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18849   PyObject 
* obj0 
= 0 ; 
18850   PyObject 
* obj1 
= 0 ; 
18851   PyObject 
* obj2 
= 0 ; 
18852   char *  kwnames
[] = { 
18853     (char *) "self",(char *) "min",(char *) "max", NULL 
 
18856   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18857   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18858   if (!SWIG_IsOK(res1
)) { 
18859     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");  
18861   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18862   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18863   if (!SWIG_IsOK(ecode2
)) { 
18864     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'"); 
18866   arg2 
= static_cast< int >(val2
); 
18867   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18868   if (!SWIG_IsOK(ecode3
)) { 
18869     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'"); 
18871   arg3 
= static_cast< int >(val3
); 
18873     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18874     (arg1
)->SetRange(arg2
,arg3
); 
18875     wxPyEndAllowThreads(__tstate
); 
18876     if (PyErr_Occurred()) SWIG_fail
; 
18878   resultobj 
= SWIG_Py_Void(); 
18885 SWIGINTERN PyObject 
*_wrap_FontData_SetShowHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18886   PyObject 
*resultobj 
= 0; 
18887   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18893   PyObject 
* obj0 
= 0 ; 
18894   PyObject 
* obj1 
= 0 ; 
18895   char *  kwnames
[] = { 
18896     (char *) "self",(char *) "showHelp", NULL 
 
18899   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18900   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18901   if (!SWIG_IsOK(res1
)) { 
18902     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");  
18904   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18905   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
18906   if (!SWIG_IsOK(ecode2
)) { 
18907     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'"); 
18909   arg2 
= static_cast< bool >(val2
); 
18911     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18912     (arg1
)->SetShowHelp(arg2
); 
18913     wxPyEndAllowThreads(__tstate
); 
18914     if (PyErr_Occurred()) SWIG_fail
; 
18916   resultobj 
= SWIG_Py_Void(); 
18923 SWIGINTERN PyObject 
*FontData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18925   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18926   SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
)); 
18927   return SWIG_Py_Void(); 
18930 SWIGINTERN PyObject 
*FontData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18931   return SWIG_Python_InitShadowInstance(args
); 
18934 SWIGINTERN PyObject 
*_wrap_new_FontDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18935   PyObject 
*resultobj 
= 0; 
18936   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18937   wxFontData 
*arg2 
= 0 ; 
18938   wxFontDialog 
*result 
= 0 ; 
18943   PyObject 
* obj0 
= 0 ; 
18944   PyObject 
* obj1 
= 0 ; 
18945   char *  kwnames
[] = { 
18946     (char *) "parent",(char *) "data", NULL 
 
18949   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18950   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
18951   if (!SWIG_IsOK(res1
)) { 
18952     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
18954   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
18955   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
,  0  | 0); 
18956   if (!SWIG_IsOK(res2
)) { 
18957     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");  
18960     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");  
18962   arg2 
= reinterpret_cast< wxFontData 
* >(argp2
); 
18964     if (!wxPyCheckForApp()) SWIG_fail
; 
18965     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18966     result 
= (wxFontDialog 
*)new wxFontDialog(arg1
,(wxFontData 
const &)*arg2
); 
18967     wxPyEndAllowThreads(__tstate
); 
18968     if (PyErr_Occurred()) SWIG_fail
; 
18970   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW 
|  0 ); 
18977 SWIGINTERN PyObject 
*_wrap_FontDialog_GetFontData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18978   PyObject 
*resultobj 
= 0; 
18979   wxFontDialog 
*arg1 
= (wxFontDialog 
*) 0 ; 
18980   wxFontData 
*result 
= 0 ; 
18983   PyObject 
*swig_obj
[1] ; 
18985   if (!args
) SWIG_fail
; 
18986   swig_obj
[0] = args
; 
18987   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 |  0 ); 
18988   if (!SWIG_IsOK(res1
)) { 
18989     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");  
18991   arg1 
= reinterpret_cast< wxFontDialog 
* >(argp1
); 
18993     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18995       wxFontData 
&_result_ref 
= (arg1
)->GetFontData(); 
18996       result 
= (wxFontData 
*) &_result_ref
; 
18998     wxPyEndAllowThreads(__tstate
); 
18999     if (PyErr_Occurred()) SWIG_fail
; 
19001   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 |  0 ); 
19008 SWIGINTERN PyObject 
*FontDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19010   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19011   SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
)); 
19012   return SWIG_Py_Void(); 
19015 SWIGINTERN PyObject 
*FontDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19016   return SWIG_Python_InitShadowInstance(args
); 
19019 SWIGINTERN PyObject 
*_wrap_GetFontFromUser(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19020   PyObject 
*resultobj 
= 0; 
19021   wxWindow 
*arg1 
= (wxWindow 
*) NULL 
; 
19022   wxFont 
const &arg2_defvalue 
= wxNullFont 
; 
19023   wxFont 
*arg2 
= (wxFont 
*) &arg2_defvalue 
; 
19024   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
19025   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
19031   bool temp3 
= false ; 
19032   PyObject 
* obj0 
= 0 ; 
19033   PyObject 
* obj1 
= 0 ; 
19034   PyObject 
* obj2 
= 0 ; 
19035   char *  kwnames
[] = { 
19036     (char *) "parent",(char *) "fontInit",(char *) "caption", NULL 
 
19039   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19041     res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
19042     if (!SWIG_IsOK(res1
)) { 
19043       SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");  
19045     arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
19048     res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
19049     if (!SWIG_IsOK(res2
)) { 
19050       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");  
19053       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");  
19055     arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
19059       arg3 
= wxString_in_helper(obj2
); 
19060       if (arg3 
== NULL
) SWIG_fail
; 
19065     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19066     result 
= wxGetFontFromUser(arg1
,(wxFont 
const &)*arg2
,(wxString 
const &)*arg3
); 
19067     wxPyEndAllowThreads(__tstate
); 
19068     if (PyErr_Occurred()) SWIG_fail
; 
19070   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
19085 SWIGINTERN PyObject 
*_wrap_new_MessageDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19086   PyObject 
*resultobj 
= 0; 
19087   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
19088   wxString 
*arg2 
= 0 ; 
19089   wxString 
const &arg3_defvalue 
= wxPyMessageBoxCaptionStr 
; 
19090   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
19091   long arg4 
= (long) wxOK
|wxCANCEL
|wxCENTRE 
; 
19092   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
19093   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
19094   wxMessageDialog 
*result 
= 0 ; 
19097   bool temp2 
= false ; 
19098   bool temp3 
= false ; 
19102   PyObject 
* obj0 
= 0 ; 
19103   PyObject 
* obj1 
= 0 ; 
19104   PyObject 
* obj2 
= 0 ; 
19105   PyObject 
* obj3 
= 0 ; 
19106   PyObject 
* obj4 
= 0 ; 
19107   char *  kwnames
[] = { 
19108     (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL 
 
19111   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
19112   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
19113   if (!SWIG_IsOK(res1
)) { 
19114     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
19116   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
19118     arg2 
= wxString_in_helper(obj1
); 
19119     if (arg2 
== NULL
) SWIG_fail
; 
19124       arg3 
= wxString_in_helper(obj2
); 
19125       if (arg3 
== NULL
) SWIG_fail
; 
19130     ecode4 
= SWIG_AsVal_long(obj3
, &val4
); 
19131     if (!SWIG_IsOK(ecode4
)) { 
19132       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'"); 
19134     arg4 
= static_cast< long >(val4
); 
19139       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
19143     if (!wxPyCheckForApp()) SWIG_fail
; 
19144     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19145     result 
= (wxMessageDialog 
*)new wxMessageDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,(wxPoint 
const &)*arg5
); 
19146     wxPyEndAllowThreads(__tstate
); 
19147     if (PyErr_Occurred()) SWIG_fail
; 
19149   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW 
|  0 ); 
19172 SWIGINTERN PyObject 
*MessageDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19174   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19175   SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
)); 
19176   return SWIG_Py_Void(); 
19179 SWIGINTERN PyObject 
*MessageDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19180   return SWIG_Python_InitShadowInstance(args
); 
19183 SWIGINTERN PyObject 
*_wrap_new_ProgressDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19184   PyObject 
*resultobj 
= 0; 
19185   wxString 
*arg1 
= 0 ; 
19186   wxString 
*arg2 
= 0 ; 
19187   int arg3 
= (int) 100 ; 
19188   wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
19189   int arg5 
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL 
; 
19190   wxProgressDialog 
*result 
= 0 ; 
19191   bool temp1 
= false ; 
19192   bool temp2 
= false ; 
19199   PyObject 
* obj0 
= 0 ; 
19200   PyObject 
* obj1 
= 0 ; 
19201   PyObject 
* obj2 
= 0 ; 
19202   PyObject 
* obj3 
= 0 ; 
19203   PyObject 
* obj4 
= 0 ; 
19204   char *  kwnames
[] = { 
19205     (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL 
 
19208   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
19210     arg1 
= wxString_in_helper(obj0
); 
19211     if (arg1 
== NULL
) SWIG_fail
; 
19215     arg2 
= wxString_in_helper(obj1
); 
19216     if (arg2 
== NULL
) SWIG_fail
; 
19220     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
19221     if (!SWIG_IsOK(ecode3
)) { 
19222       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'"); 
19224     arg3 
= static_cast< int >(val3
); 
19227     res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
19228     if (!SWIG_IsOK(res4
)) { 
19229       SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");  
19231     arg4 
= reinterpret_cast< wxWindow 
* >(argp4
); 
19234     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
19235     if (!SWIG_IsOK(ecode5
)) { 
19236       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'"); 
19238     arg5 
= static_cast< int >(val5
); 
19241     if (!wxPyCheckForApp()) SWIG_fail
; 
19242     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19243     result 
= (wxProgressDialog 
*)new wxProgressDialog((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
19244     wxPyEndAllowThreads(__tstate
); 
19245     if (PyErr_Occurred()) SWIG_fail
; 
19247   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW 
|  0 ); 
19270 SWIGINTERN PyObject 
*_wrap_ProgressDialog_Update(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19271   PyObject 
*resultobj 
= 0; 
19272   wxProgressDialog 
*arg1 
= (wxProgressDialog 
*) 0 ; 
19274   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
19275   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
19281   bool temp3 
= false ; 
19282   PyObject 
* obj0 
= 0 ; 
19283   PyObject 
* obj1 
= 0 ; 
19284   PyObject 
* obj2 
= 0 ; 
19285   char *  kwnames
[] = { 
19286     (char *) "self",(char *) "value",(char *) "newmsg", NULL 
 
19289   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19290   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 |  0 ); 
19291   if (!SWIG_IsOK(res1
)) { 
19292     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");  
19294   arg1 
= reinterpret_cast< wxProgressDialog 
* >(argp1
); 
19295   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19296   if (!SWIG_IsOK(ecode2
)) { 
19297     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'"); 
19299   arg2 
= static_cast< int >(val2
); 
19302       arg3 
= wxString_in_helper(obj2
); 
19303       if (arg3 
== NULL
) SWIG_fail
; 
19308     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19309     result 
= (bool)(arg1
)->Update(arg2
,(wxString 
const &)*arg3
); 
19310     wxPyEndAllowThreads(__tstate
); 
19311     if (PyErr_Occurred()) SWIG_fail
; 
19314     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19330 SWIGINTERN PyObject 
*_wrap_ProgressDialog_Resume(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19331   PyObject 
*resultobj 
= 0; 
19332   wxProgressDialog 
*arg1 
= (wxProgressDialog 
*) 0 ; 
19335   PyObject 
*swig_obj
[1] ; 
19337   if (!args
) SWIG_fail
; 
19338   swig_obj
[0] = args
; 
19339   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 |  0 ); 
19340   if (!SWIG_IsOK(res1
)) { 
19341     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");  
19343   arg1 
= reinterpret_cast< wxProgressDialog 
* >(argp1
); 
19345     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19347     wxPyEndAllowThreads(__tstate
); 
19348     if (PyErr_Occurred()) SWIG_fail
; 
19350   resultobj 
= SWIG_Py_Void(); 
19357 SWIGINTERN PyObject 
*ProgressDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19359   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19360   SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
)); 
19361   return SWIG_Py_Void(); 
19364 SWIGINTERN PyObject 
*ProgressDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19365   return SWIG_Python_InitShadowInstance(args
); 
19368 SWIGINTERN PyObject 
*_wrap_new_FindDialogEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19369   PyObject 
*resultobj 
= 0; 
19370   wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
19371   int arg2 
= (int) 0 ; 
19372   wxFindDialogEvent 
*result 
= 0 ; 
19377   PyObject 
* obj0 
= 0 ; 
19378   PyObject 
* obj1 
= 0 ; 
19379   char *  kwnames
[] = { 
19380     (char *) "commandType",(char *) "id", NULL 
 
19383   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19385     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
19386     if (!SWIG_IsOK(ecode1
)) { 
19387       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'"); 
19389     arg1 
= static_cast< wxEventType 
>(val1
); 
19392     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19393     if (!SWIG_IsOK(ecode2
)) { 
19394       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'"); 
19396     arg2 
= static_cast< int >(val2
); 
19399     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19400     result 
= (wxFindDialogEvent 
*)new wxFindDialogEvent(arg1
,arg2
); 
19401     wxPyEndAllowThreads(__tstate
); 
19402     if (PyErr_Occurred()) SWIG_fail
; 
19404   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW 
|  0 ); 
19411 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19412   PyObject 
*resultobj 
= 0; 
19413   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19417   PyObject 
*swig_obj
[1] ; 
19419   if (!args
) SWIG_fail
; 
19420   swig_obj
[0] = args
; 
19421   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19422   if (!SWIG_IsOK(res1
)) { 
19423     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19425   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19427     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19428     result 
= (int)(arg1
)->GetFlags(); 
19429     wxPyEndAllowThreads(__tstate
); 
19430     if (PyErr_Occurred()) SWIG_fail
; 
19432   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19439 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_GetFindString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19440   PyObject 
*resultobj 
= 0; 
19441   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19442   wxString 
*result 
= 0 ; 
19445   PyObject 
*swig_obj
[1] ; 
19447   if (!args
) SWIG_fail
; 
19448   swig_obj
[0] = args
; 
19449   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19450   if (!SWIG_IsOK(res1
)) { 
19451     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19453   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19455     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19457       wxString 
const &_result_ref 
= (arg1
)->GetFindString(); 
19458       result 
= (wxString 
*) &_result_ref
; 
19460     wxPyEndAllowThreads(__tstate
); 
19461     if (PyErr_Occurred()) SWIG_fail
; 
19465     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
19467     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
19476 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_GetReplaceString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19477   PyObject 
*resultobj 
= 0; 
19478   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19479   wxString 
*result 
= 0 ; 
19482   PyObject 
*swig_obj
[1] ; 
19484   if (!args
) SWIG_fail
; 
19485   swig_obj
[0] = args
; 
19486   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19487   if (!SWIG_IsOK(res1
)) { 
19488     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19490   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19492     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19494       wxString 
const &_result_ref 
= (arg1
)->GetReplaceString(); 
19495       result 
= (wxString 
*) &_result_ref
; 
19497     wxPyEndAllowThreads(__tstate
); 
19498     if (PyErr_Occurred()) SWIG_fail
; 
19502     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
19504     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
19513 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_GetDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19514   PyObject 
*resultobj 
= 0; 
19515   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19516   wxFindReplaceDialog 
*result 
= 0 ; 
19519   PyObject 
*swig_obj
[1] ; 
19521   if (!args
) SWIG_fail
; 
19522   swig_obj
[0] = args
; 
19523   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19524   if (!SWIG_IsOK(res1
)) { 
19525     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19527   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19529     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19530     result 
= (wxFindReplaceDialog 
*)(arg1
)->GetDialog(); 
19531     wxPyEndAllowThreads(__tstate
); 
19532     if (PyErr_Occurred()) SWIG_fail
; 
19534   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 |  0 ); 
19541 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19542   PyObject 
*resultobj 
= 0; 
19543   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19549   PyObject 
* obj0 
= 0 ; 
19550   PyObject 
* obj1 
= 0 ; 
19551   char *  kwnames
[] = { 
19552     (char *) "self",(char *) "flags", NULL 
 
19555   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19556   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19557   if (!SWIG_IsOK(res1
)) { 
19558     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19560   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19561   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19562   if (!SWIG_IsOK(ecode2
)) { 
19563     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
19565   arg2 
= static_cast< int >(val2
); 
19567     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19568     (arg1
)->SetFlags(arg2
); 
19569     wxPyEndAllowThreads(__tstate
); 
19570     if (PyErr_Occurred()) SWIG_fail
; 
19572   resultobj 
= SWIG_Py_Void(); 
19579 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_SetFindString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19580   PyObject 
*resultobj 
= 0; 
19581   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19582   wxString 
*arg2 
= 0 ; 
19585   bool temp2 
= false ; 
19586   PyObject 
* obj0 
= 0 ; 
19587   PyObject 
* obj1 
= 0 ; 
19588   char *  kwnames
[] = { 
19589     (char *) "self",(char *) "str", NULL 
 
19592   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19593   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19594   if (!SWIG_IsOK(res1
)) { 
19595     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19597   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19599     arg2 
= wxString_in_helper(obj1
); 
19600     if (arg2 
== NULL
) SWIG_fail
; 
19604     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19605     (arg1
)->SetFindString((wxString 
const &)*arg2
); 
19606     wxPyEndAllowThreads(__tstate
); 
19607     if (PyErr_Occurred()) SWIG_fail
; 
19609   resultobj 
= SWIG_Py_Void(); 
19624 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_SetReplaceString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19625   PyObject 
*resultobj 
= 0; 
19626   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19627   wxString 
*arg2 
= 0 ; 
19630   bool temp2 
= false ; 
19631   PyObject 
* obj0 
= 0 ; 
19632   PyObject 
* obj1 
= 0 ; 
19633   char *  kwnames
[] = { 
19634     (char *) "self",(char *) "str", NULL 
 
19637   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19638   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19639   if (!SWIG_IsOK(res1
)) { 
19640     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19642   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19644     arg2 
= wxString_in_helper(obj1
); 
19645     if (arg2 
== NULL
) SWIG_fail
; 
19649     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19650     (arg1
)->SetReplaceString((wxString 
const &)*arg2
); 
19651     wxPyEndAllowThreads(__tstate
); 
19652     if (PyErr_Occurred()) SWIG_fail
; 
19654   resultobj 
= SWIG_Py_Void(); 
19669 SWIGINTERN PyObject 
*FindDialogEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19671   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19672   SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
)); 
19673   return SWIG_Py_Void(); 
19676 SWIGINTERN PyObject 
*FindDialogEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19677   return SWIG_Python_InitShadowInstance(args
); 
19680 SWIGINTERN PyObject 
*_wrap_new_FindReplaceData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19681   PyObject 
*resultobj 
= 0; 
19682   int arg1 
= (int) 0 ; 
19683   wxFindReplaceData 
*result 
= 0 ; 
19686   PyObject 
* obj0 
= 0 ; 
19687   char *  kwnames
[] = { 
19688     (char *) "flags", NULL 
 
19691   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
; 
19693     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
19694     if (!SWIG_IsOK(ecode1
)) { 
19695       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'"); 
19697     arg1 
= static_cast< int >(val1
); 
19700     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19701     result 
= (wxFindReplaceData 
*)new wxFindReplaceData(arg1
); 
19702     wxPyEndAllowThreads(__tstate
); 
19703     if (PyErr_Occurred()) SWIG_fail
; 
19705   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW 
|  0 ); 
19712 SWIGINTERN PyObject 
*_wrap_delete_FindReplaceData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19713   PyObject 
*resultobj 
= 0; 
19714   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
19717   PyObject 
*swig_obj
[1] ; 
19719   if (!args
) SWIG_fail
; 
19720   swig_obj
[0] = args
; 
19721   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN 
|  0 ); 
19722   if (!SWIG_IsOK(res1
)) { 
19723     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
19725   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
19727     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19730     wxPyEndAllowThreads(__tstate
); 
19731     if (PyErr_Occurred()) SWIG_fail
; 
19733   resultobj 
= SWIG_Py_Void(); 
19740 SWIGINTERN PyObject 
*_wrap_FindReplaceData_GetFindString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19741   PyObject 
*resultobj 
= 0; 
19742   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
19743   wxString 
*result 
= 0 ; 
19746   PyObject 
*swig_obj
[1] ; 
19748   if (!args
) SWIG_fail
; 
19749   swig_obj
[0] = args
; 
19750   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
19751   if (!SWIG_IsOK(res1
)) { 
19752     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
19754   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
19756     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19758       wxString 
const &_result_ref 
= (arg1
)->GetFindString(); 
19759       result 
= (wxString 
*) &_result_ref
; 
19761     wxPyEndAllowThreads(__tstate
); 
19762     if (PyErr_Occurred()) SWIG_fail
; 
19766     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
19768     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
19777 SWIGINTERN PyObject 
*_wrap_FindReplaceData_GetReplaceString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19778   PyObject 
*resultobj 
= 0; 
19779   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
19780   wxString 
*result 
= 0 ; 
19783   PyObject 
*swig_obj
[1] ; 
19785   if (!args
) SWIG_fail
; 
19786   swig_obj
[0] = args
; 
19787   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
19788   if (!SWIG_IsOK(res1
)) { 
19789     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
19791   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
19793     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19795       wxString 
const &_result_ref 
= (arg1
)->GetReplaceString(); 
19796       result 
= (wxString 
*) &_result_ref
; 
19798     wxPyEndAllowThreads(__tstate
); 
19799     if (PyErr_Occurred()) SWIG_fail
; 
19803     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
19805     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
19814 SWIGINTERN PyObject 
*_wrap_FindReplaceData_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19815   PyObject 
*resultobj 
= 0; 
19816   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
19820   PyObject 
*swig_obj
[1] ; 
19822   if (!args
) SWIG_fail
; 
19823   swig_obj
[0] = args
; 
19824   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
19825   if (!SWIG_IsOK(res1
)) { 
19826     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
19828   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
19830     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19831     result 
= (int)(arg1
)->GetFlags(); 
19832     wxPyEndAllowThreads(__tstate
); 
19833     if (PyErr_Occurred()) SWIG_fail
; 
19835   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19842 SWIGINTERN PyObject 
*_wrap_FindReplaceData_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19843   PyObject 
*resultobj 
= 0; 
19844   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
19850   PyObject 
* obj0 
= 0 ; 
19851   PyObject 
* obj1 
= 0 ; 
19852   char *  kwnames
[] = { 
19853     (char *) "self",(char *) "flags", NULL 
 
19856   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19857   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
19858   if (!SWIG_IsOK(res1
)) { 
19859     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
19861   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
19862   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19863   if (!SWIG_IsOK(ecode2
)) { 
19864     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
19866   arg2 
= static_cast< int >(val2
); 
19868     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19869     (arg1
)->SetFlags(arg2
); 
19870     wxPyEndAllowThreads(__tstate
); 
19871     if (PyErr_Occurred()) SWIG_fail
; 
19873   resultobj 
= SWIG_Py_Void(); 
19880 SWIGINTERN PyObject 
*_wrap_FindReplaceData_SetFindString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19881   PyObject 
*resultobj 
= 0; 
19882   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
19883   wxString 
*arg2 
= 0 ; 
19886   bool temp2 
= false ; 
19887   PyObject 
* obj0 
= 0 ; 
19888   PyObject 
* obj1 
= 0 ; 
19889   char *  kwnames
[] = { 
19890     (char *) "self",(char *) "str", NULL 
 
19893   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19894   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
19895   if (!SWIG_IsOK(res1
)) { 
19896     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
19898   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
19900     arg2 
= wxString_in_helper(obj1
); 
19901     if (arg2 
== NULL
) SWIG_fail
; 
19905     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19906     (arg1
)->SetFindString((wxString 
const &)*arg2
); 
19907     wxPyEndAllowThreads(__tstate
); 
19908     if (PyErr_Occurred()) SWIG_fail
; 
19910   resultobj 
= SWIG_Py_Void(); 
19925 SWIGINTERN PyObject 
*_wrap_FindReplaceData_SetReplaceString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19926   PyObject 
*resultobj 
= 0; 
19927   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
19928   wxString 
*arg2 
= 0 ; 
19931   bool temp2 
= false ; 
19932   PyObject 
* obj0 
= 0 ; 
19933   PyObject 
* obj1 
= 0 ; 
19934   char *  kwnames
[] = { 
19935     (char *) "self",(char *) "str", NULL 
 
19938   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19939   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
19940   if (!SWIG_IsOK(res1
)) { 
19941     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
19943   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
19945     arg2 
= wxString_in_helper(obj1
); 
19946     if (arg2 
== NULL
) SWIG_fail
; 
19950     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19951     (arg1
)->SetReplaceString((wxString 
const &)*arg2
); 
19952     wxPyEndAllowThreads(__tstate
); 
19953     if (PyErr_Occurred()) SWIG_fail
; 
19955   resultobj 
= SWIG_Py_Void(); 
19970 SWIGINTERN PyObject 
*FindReplaceData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19972   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19973   SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
)); 
19974   return SWIG_Py_Void(); 
19977 SWIGINTERN PyObject 
*FindReplaceData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19978   return SWIG_Python_InitShadowInstance(args
); 
19981 SWIGINTERN PyObject 
*_wrap_new_FindReplaceDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19982   PyObject 
*resultobj 
= 0; 
19983   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
19984   wxFindReplaceData 
*arg2 
= (wxFindReplaceData 
*) 0 ; 
19985   wxString 
*arg3 
= 0 ; 
19986   int arg4 
= (int) 0 ; 
19987   wxFindReplaceDialog 
*result 
= 0 ; 
19992   bool temp3 
= false ; 
19995   PyObject 
* obj0 
= 0 ; 
19996   PyObject 
* obj1 
= 0 ; 
19997   PyObject 
* obj2 
= 0 ; 
19998   PyObject 
* obj3 
= 0 ; 
19999   char *  kwnames
[] = { 
20000     (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL 
 
20003   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
20004   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20005   if (!SWIG_IsOK(res1
)) { 
20006     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
20008   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
20009   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20010   if (!SWIG_IsOK(res2
)) { 
20011     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");  
20013   arg2 
= reinterpret_cast< wxFindReplaceData 
* >(argp2
); 
20015     arg3 
= wxString_in_helper(obj2
); 
20016     if (arg3 
== NULL
) SWIG_fail
; 
20020     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
20021     if (!SWIG_IsOK(ecode4
)) { 
20022       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'"); 
20024     arg4 
= static_cast< int >(val4
); 
20027     if (!wxPyCheckForApp()) SWIG_fail
; 
20028     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20029     result 
= (wxFindReplaceDialog 
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString 
const &)*arg3
,arg4
); 
20030     wxPyEndAllowThreads(__tstate
); 
20031     if (PyErr_Occurred()) SWIG_fail
; 
20033   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW 
|  0 ); 
20048 SWIGINTERN PyObject 
*_wrap_new_PreFindReplaceDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20049   PyObject 
*resultobj 
= 0; 
20050   wxFindReplaceDialog 
*result 
= 0 ; 
20052   if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
; 
20054     if (!wxPyCheckForApp()) SWIG_fail
; 
20055     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20056     result 
= (wxFindReplaceDialog 
*)new wxFindReplaceDialog(); 
20057     wxPyEndAllowThreads(__tstate
); 
20058     if (PyErr_Occurred()) SWIG_fail
; 
20060   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN 
|  0 ); 
20067 SWIGINTERN PyObject 
*_wrap_FindReplaceDialog_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20068   PyObject 
*resultobj 
= 0; 
20069   wxFindReplaceDialog 
*arg1 
= (wxFindReplaceDialog 
*) 0 ; 
20070   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
20071   wxFindReplaceData 
*arg3 
= (wxFindReplaceData 
*) 0 ; 
20072   wxString 
*arg4 
= 0 ; 
20073   int arg5 
= (int) 0 ; 
20081   bool temp4 
= false ; 
20084   PyObject 
* obj0 
= 0 ; 
20085   PyObject 
* obj1 
= 0 ; 
20086   PyObject 
* obj2 
= 0 ; 
20087   PyObject 
* obj3 
= 0 ; 
20088   PyObject 
* obj4 
= 0 ; 
20089   char *  kwnames
[] = { 
20090     (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL 
 
20093   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
20094   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 |  0 ); 
20095   if (!SWIG_IsOK(res1
)) { 
20096     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");  
20098   arg1 
= reinterpret_cast< wxFindReplaceDialog 
* >(argp1
); 
20099   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20100   if (!SWIG_IsOK(res2
)) { 
20101     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
20103   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
20104   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20105   if (!SWIG_IsOK(res3
)) { 
20106     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");  
20108   arg3 
= reinterpret_cast< wxFindReplaceData 
* >(argp3
); 
20110     arg4 
= wxString_in_helper(obj3
); 
20111     if (arg4 
== NULL
) SWIG_fail
; 
20115     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
20116     if (!SWIG_IsOK(ecode5
)) { 
20117       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'"); 
20119     arg5 
= static_cast< int >(val5
); 
20122     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20123     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,arg5
); 
20124     wxPyEndAllowThreads(__tstate
); 
20125     if (PyErr_Occurred()) SWIG_fail
; 
20128     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20144 SWIGINTERN PyObject 
*_wrap_FindReplaceDialog_GetData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20145   PyObject 
*resultobj 
= 0; 
20146   wxFindReplaceDialog 
*arg1 
= (wxFindReplaceDialog 
*) 0 ; 
20147   wxFindReplaceData 
*result 
= 0 ; 
20150   PyObject 
*swig_obj
[1] ; 
20152   if (!args
) SWIG_fail
; 
20153   swig_obj
[0] = args
; 
20154   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 |  0 ); 
20155   if (!SWIG_IsOK(res1
)) { 
20156     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");  
20158   arg1 
= reinterpret_cast< wxFindReplaceDialog 
* >(argp1
); 
20160     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20161     result 
= (wxFindReplaceData 
*)(arg1
)->GetData(); 
20162     wxPyEndAllowThreads(__tstate
); 
20163     if (PyErr_Occurred()) SWIG_fail
; 
20165   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20172 SWIGINTERN PyObject 
*_wrap_FindReplaceDialog_SetData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20173   PyObject 
*resultobj 
= 0; 
20174   wxFindReplaceDialog 
*arg1 
= (wxFindReplaceDialog 
*) 0 ; 
20175   wxFindReplaceData 
*arg2 
= (wxFindReplaceData 
*) 0 ; 
20180   PyObject 
* obj0 
= 0 ; 
20181   PyObject 
* obj1 
= 0 ; 
20182   char *  kwnames
[] = { 
20183     (char *) "self",(char *) "data", NULL 
 
20186   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20187   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 |  0 ); 
20188   if (!SWIG_IsOK(res1
)) { 
20189     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");  
20191   arg1 
= reinterpret_cast< wxFindReplaceDialog 
* >(argp1
); 
20192   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20193   if (!SWIG_IsOK(res2
)) { 
20194     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");  
20196   arg2 
= reinterpret_cast< wxFindReplaceData 
* >(argp2
); 
20198     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20199     (arg1
)->SetData(arg2
); 
20200     wxPyEndAllowThreads(__tstate
); 
20201     if (PyErr_Occurred()) SWIG_fail
; 
20203   resultobj 
= SWIG_Py_Void(); 
20210 SWIGINTERN PyObject 
*FindReplaceDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20212   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20213   SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
)); 
20214   return SWIG_Py_Void(); 
20217 SWIGINTERN PyObject 
*FindReplaceDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20218   return SWIG_Python_InitShadowInstance(args
); 
20221 SWIGINTERN PyObject 
*_wrap_new_MDIParentFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20222   PyObject 
*resultobj 
= 0; 
20223   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
20224   int arg2 
= (int) (int)-1 ; 
20225   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
20226   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
20227   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
20228   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
20229   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
20230   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
20231   long arg6 
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL 
; 
20232   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
20233   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
20234   wxMDIParentFrame 
*result 
= 0 ; 
20239   bool temp3 
= false ; 
20244   bool temp7 
= false ; 
20245   PyObject 
* obj0 
= 0 ; 
20246   PyObject 
* obj1 
= 0 ; 
20247   PyObject 
* obj2 
= 0 ; 
20248   PyObject 
* obj3 
= 0 ; 
20249   PyObject 
* obj4 
= 0 ; 
20250   PyObject 
* obj5 
= 0 ; 
20251   PyObject 
* obj6 
= 0 ; 
20252   char *  kwnames
[] = { 
20253     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
20256   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
20257   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20258   if (!SWIG_IsOK(res1
)) { 
20259     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");  
20261   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
20263     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
20264     if (!SWIG_IsOK(ecode2
)) { 
20265       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'"); 
20267     arg2 
= static_cast< int >(val2
); 
20271       arg3 
= wxString_in_helper(obj2
); 
20272       if (arg3 
== NULL
) SWIG_fail
; 
20279       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
20285       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
20289     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
20290     if (!SWIG_IsOK(ecode6
)) { 
20291       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'"); 
20293     arg6 
= static_cast< long >(val6
); 
20297       arg7 
= wxString_in_helper(obj6
); 
20298       if (arg7 
== NULL
) SWIG_fail
; 
20303     if (!wxPyCheckForApp()) SWIG_fail
; 
20304     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20305     result 
= (wxMDIParentFrame 
*)new wxMDIParentFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
20306     wxPyEndAllowThreads(__tstate
); 
20307     if (PyErr_Occurred()) SWIG_fail
; 
20309   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW 
|  0 ); 
20332 SWIGINTERN PyObject 
*_wrap_new_PreMDIParentFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20333   PyObject 
*resultobj 
= 0; 
20334   wxMDIParentFrame 
*result 
= 0 ; 
20336   if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
; 
20338     if (!wxPyCheckForApp()) SWIG_fail
; 
20339     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20340     result 
= (wxMDIParentFrame 
*)new wxMDIParentFrame(); 
20341     wxPyEndAllowThreads(__tstate
); 
20342     if (PyErr_Occurred()) SWIG_fail
; 
20344   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN 
|  0 ); 
20351 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20352   PyObject 
*resultobj 
= 0; 
20353   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20354   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
20355   int arg3 
= (int) (int)-1 ; 
20356   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
20357   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
20358   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
20359   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
20360   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
20361   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
20362   long arg7 
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL 
; 
20363   wxString 
const &arg8_defvalue 
= wxPyFrameNameStr 
; 
20364   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
20372   bool temp4 
= false ; 
20377   bool temp8 
= false ; 
20378   PyObject 
* obj0 
= 0 ; 
20379   PyObject 
* obj1 
= 0 ; 
20380   PyObject 
* obj2 
= 0 ; 
20381   PyObject 
* obj3 
= 0 ; 
20382   PyObject 
* obj4 
= 0 ; 
20383   PyObject 
* obj5 
= 0 ; 
20384   PyObject 
* obj6 
= 0 ; 
20385   PyObject 
* obj7 
= 0 ; 
20386   char *  kwnames
[] = { 
20387     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
20390   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
20391   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20392   if (!SWIG_IsOK(res1
)) { 
20393     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20395   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20396   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20397   if (!SWIG_IsOK(res2
)) { 
20398     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
20400   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
20402     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
20403     if (!SWIG_IsOK(ecode3
)) { 
20404       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'"); 
20406     arg3 
= static_cast< int >(val3
); 
20410       arg4 
= wxString_in_helper(obj3
); 
20411       if (arg4 
== NULL
) SWIG_fail
; 
20418       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
20424       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
20428     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
20429     if (!SWIG_IsOK(ecode7
)) { 
20430       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'"); 
20432     arg7 
= static_cast< long >(val7
); 
20436       arg8 
= wxString_in_helper(obj7
); 
20437       if (arg8 
== NULL
) SWIG_fail
; 
20442     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20443     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
20444     wxPyEndAllowThreads(__tstate
); 
20445     if (PyErr_Occurred()) SWIG_fail
; 
20448     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20472 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_ActivateNext(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20473   PyObject 
*resultobj 
= 0; 
20474   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20477   PyObject 
*swig_obj
[1] ; 
20479   if (!args
) SWIG_fail
; 
20480   swig_obj
[0] = args
; 
20481   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20482   if (!SWIG_IsOK(res1
)) { 
20483     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20485   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20487     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20488     (arg1
)->ActivateNext(); 
20489     wxPyEndAllowThreads(__tstate
); 
20490     if (PyErr_Occurred()) SWIG_fail
; 
20492   resultobj 
= SWIG_Py_Void(); 
20499 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_ActivatePrevious(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20500   PyObject 
*resultobj 
= 0; 
20501   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20504   PyObject 
*swig_obj
[1] ; 
20506   if (!args
) SWIG_fail
; 
20507   swig_obj
[0] = args
; 
20508   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20509   if (!SWIG_IsOK(res1
)) { 
20510     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20512   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20514     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20515     (arg1
)->ActivatePrevious(); 
20516     wxPyEndAllowThreads(__tstate
); 
20517     if (PyErr_Occurred()) SWIG_fail
; 
20519   resultobj 
= SWIG_Py_Void(); 
20526 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_ArrangeIcons(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20527   PyObject 
*resultobj 
= 0; 
20528   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20531   PyObject 
*swig_obj
[1] ; 
20533   if (!args
) SWIG_fail
; 
20534   swig_obj
[0] = args
; 
20535   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20536   if (!SWIG_IsOK(res1
)) { 
20537     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20539   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20541     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20542     (arg1
)->ArrangeIcons(); 
20543     wxPyEndAllowThreads(__tstate
); 
20544     if (PyErr_Occurred()) SWIG_fail
; 
20546   resultobj 
= SWIG_Py_Void(); 
20553 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_Cascade(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20554   PyObject 
*resultobj 
= 0; 
20555   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20558   PyObject 
*swig_obj
[1] ; 
20560   if (!args
) SWIG_fail
; 
20561   swig_obj
[0] = args
; 
20562   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20563   if (!SWIG_IsOK(res1
)) { 
20564     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20566   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20568     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20570     wxPyEndAllowThreads(__tstate
); 
20571     if (PyErr_Occurred()) SWIG_fail
; 
20573   resultobj 
= SWIG_Py_Void(); 
20580 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_GetActiveChild(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20581   PyObject 
*resultobj 
= 0; 
20582   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20583   wxMDIChildFrame 
*result 
= 0 ; 
20586   PyObject 
*swig_obj
[1] ; 
20588   if (!args
) SWIG_fail
; 
20589   swig_obj
[0] = args
; 
20590   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20591   if (!SWIG_IsOK(res1
)) { 
20592     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20594   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20596     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20597     result 
= (wxMDIChildFrame 
*)(arg1
)->GetActiveChild(); 
20598     wxPyEndAllowThreads(__tstate
); 
20599     if (PyErr_Occurred()) SWIG_fail
; 
20602     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
20610 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_GetClientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20611   PyObject 
*resultobj 
= 0; 
20612   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20613   wxMDIClientWindow 
*result 
= 0 ; 
20616   PyObject 
*swig_obj
[1] ; 
20618   if (!args
) SWIG_fail
; 
20619   swig_obj
[0] = args
; 
20620   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20621   if (!SWIG_IsOK(res1
)) { 
20622     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20624   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20626     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20627     result 
= (wxMDIClientWindow 
*)(arg1
)->GetClientWindow(); 
20628     wxPyEndAllowThreads(__tstate
); 
20629     if (PyErr_Occurred()) SWIG_fail
; 
20632     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
20640 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_GetToolBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20641   PyObject 
*resultobj 
= 0; 
20642   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20643   wxWindow 
*result 
= 0 ; 
20646   PyObject 
*swig_obj
[1] ; 
20648   if (!args
) SWIG_fail
; 
20649   swig_obj
[0] = args
; 
20650   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20651   if (!SWIG_IsOK(res1
)) { 
20652     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20654   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20656     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20657     result 
= (wxWindow 
*)(arg1
)->GetToolBar(); 
20658     wxPyEndAllowThreads(__tstate
); 
20659     if (PyErr_Occurred()) SWIG_fail
; 
20662     resultobj 
= wxPyMake_wxObject(result
, 0);  
20670 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_GetWindowMenu(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20671   PyObject 
*resultobj 
= 0; 
20672   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20673   wxMenu 
*result 
= 0 ; 
20676   PyObject 
*swig_obj
[1] ; 
20678   if (!args
) SWIG_fail
; 
20679   swig_obj
[0] = args
; 
20680   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20681   if (!SWIG_IsOK(res1
)) { 
20682     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20684   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20686     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20687     result 
= (wxMenu 
*)(arg1
)->GetWindowMenu(); 
20688     wxPyEndAllowThreads(__tstate
); 
20689     if (PyErr_Occurred()) SWIG_fail
; 
20692     resultobj 
= wxPyMake_wxObject(result
, 0);  
20700 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_SetWindowMenu(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20701   PyObject 
*resultobj 
= 0; 
20702   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20703   wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
20708   PyObject 
* obj0 
= 0 ; 
20709   PyObject 
* obj1 
= 0 ; 
20710   char *  kwnames
[] = { 
20711     (char *) "self",(char *) "menu", NULL 
 
20714   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20715   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20716   if (!SWIG_IsOK(res1
)) { 
20717     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20719   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20720   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 |  0 ); 
20721   if (!SWIG_IsOK(res2
)) { 
20722     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");  
20724   arg2 
= reinterpret_cast< wxMenu 
* >(argp2
); 
20726     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20727     (arg1
)->SetWindowMenu(arg2
); 
20728     wxPyEndAllowThreads(__tstate
); 
20729     if (PyErr_Occurred()) SWIG_fail
; 
20731   resultobj 
= SWIG_Py_Void(); 
20738 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_Tile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20739   PyObject 
*resultobj 
= 0; 
20740   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20741   wxOrientation arg2 
= (wxOrientation
) wxHORIZONTAL 
; 
20746   PyObject 
* obj0 
= 0 ; 
20747   PyObject 
* obj1 
= 0 ; 
20748   char *  kwnames
[] = { 
20749     (char *) "self",(char *) "orient", NULL 
 
20752   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20753   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20754   if (!SWIG_IsOK(res1
)) { 
20755     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20757   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20759     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
20760     if (!SWIG_IsOK(ecode2
)) { 
20761       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'"); 
20763     arg2 
= static_cast< wxOrientation 
>(val2
); 
20766     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20767     (arg1
)->Tile(arg2
); 
20768     wxPyEndAllowThreads(__tstate
); 
20769     if (PyErr_Occurred()) SWIG_fail
; 
20771   resultobj 
= SWIG_Py_Void(); 
20778 SWIGINTERN PyObject 
*MDIParentFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20780   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20781   SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
)); 
20782   return SWIG_Py_Void(); 
20785 SWIGINTERN PyObject 
*MDIParentFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20786   return SWIG_Python_InitShadowInstance(args
); 
20789 SWIGINTERN PyObject 
*_wrap_new_MDIChildFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20790   PyObject 
*resultobj 
= 0; 
20791   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20792   int arg2 
= (int) (int)-1 ; 
20793   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
20794   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
20795   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
20796   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
20797   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
20798   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
20799   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
20800   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
20801   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
20802   wxMDIChildFrame 
*result 
= 0 ; 
20807   bool temp3 
= false ; 
20812   bool temp7 
= false ; 
20813   PyObject 
* obj0 
= 0 ; 
20814   PyObject 
* obj1 
= 0 ; 
20815   PyObject 
* obj2 
= 0 ; 
20816   PyObject 
* obj3 
= 0 ; 
20817   PyObject 
* obj4 
= 0 ; 
20818   PyObject 
* obj5 
= 0 ; 
20819   PyObject 
* obj6 
= 0 ; 
20820   char *  kwnames
[] = { 
20821     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
20824   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
20825   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20826   if (!SWIG_IsOK(res1
)) { 
20827     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20829   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20831     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
20832     if (!SWIG_IsOK(ecode2
)) { 
20833       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'"); 
20835     arg2 
= static_cast< int >(val2
); 
20839       arg3 
= wxString_in_helper(obj2
); 
20840       if (arg3 
== NULL
) SWIG_fail
; 
20847       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
20853       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
20857     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
20858     if (!SWIG_IsOK(ecode6
)) { 
20859       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'"); 
20861     arg6 
= static_cast< long >(val6
); 
20865       arg7 
= wxString_in_helper(obj6
); 
20866       if (arg7 
== NULL
) SWIG_fail
; 
20871     if (!wxPyCheckForApp()) SWIG_fail
; 
20872     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20873     result 
= (wxMDIChildFrame 
*)new wxMDIChildFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
20874     wxPyEndAllowThreads(__tstate
); 
20875     if (PyErr_Occurred()) SWIG_fail
; 
20877   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW 
|  0 ); 
20900 SWIGINTERN PyObject 
*_wrap_new_PreMDIChildFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20901   PyObject 
*resultobj 
= 0; 
20902   wxMDIChildFrame 
*result 
= 0 ; 
20904   if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
; 
20906     if (!wxPyCheckForApp()) SWIG_fail
; 
20907     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20908     result 
= (wxMDIChildFrame 
*)new wxMDIChildFrame(); 
20909     wxPyEndAllowThreads(__tstate
); 
20910     if (PyErr_Occurred()) SWIG_fail
; 
20912   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN 
|  0 ); 
20919 SWIGINTERN PyObject 
*_wrap_MDIChildFrame_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20920   PyObject 
*resultobj 
= 0; 
20921   wxMDIChildFrame 
*arg1 
= (wxMDIChildFrame 
*) 0 ; 
20922   wxMDIParentFrame 
*arg2 
= (wxMDIParentFrame 
*) 0 ; 
20923   int arg3 
= (int) (int)-1 ; 
20924   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
20925   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
20926   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
20927   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
20928   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
20929   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
20930   long arg7 
= (long) wxDEFAULT_FRAME_STYLE 
; 
20931   wxString 
const &arg8_defvalue 
= wxPyFrameNameStr 
; 
20932   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
20940   bool temp4 
= false ; 
20945   bool temp8 
= false ; 
20946   PyObject 
* obj0 
= 0 ; 
20947   PyObject 
* obj1 
= 0 ; 
20948   PyObject 
* obj2 
= 0 ; 
20949   PyObject 
* obj3 
= 0 ; 
20950   PyObject 
* obj4 
= 0 ; 
20951   PyObject 
* obj5 
= 0 ; 
20952   PyObject 
* obj6 
= 0 ; 
20953   PyObject 
* obj7 
= 0 ; 
20954   char *  kwnames
[] = { 
20955     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
20958   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
20959   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 |  0 ); 
20960   if (!SWIG_IsOK(res1
)) { 
20961     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");  
20963   arg1 
= reinterpret_cast< wxMDIChildFrame 
* >(argp1
); 
20964   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20965   if (!SWIG_IsOK(res2
)) { 
20966     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");  
20968   arg2 
= reinterpret_cast< wxMDIParentFrame 
* >(argp2
); 
20970     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
20971     if (!SWIG_IsOK(ecode3
)) { 
20972       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'"); 
20974     arg3 
= static_cast< int >(val3
); 
20978       arg4 
= wxString_in_helper(obj3
); 
20979       if (arg4 
== NULL
) SWIG_fail
; 
20986       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
20992       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
20996     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
20997     if (!SWIG_IsOK(ecode7
)) { 
20998       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'"); 
21000     arg7 
= static_cast< long >(val7
); 
21004       arg8 
= wxString_in_helper(obj7
); 
21005       if (arg8 
== NULL
) SWIG_fail
; 
21010     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21011     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
21012     wxPyEndAllowThreads(__tstate
); 
21013     if (PyErr_Occurred()) SWIG_fail
; 
21016     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21040 SWIGINTERN PyObject 
*_wrap_MDIChildFrame_Activate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21041   PyObject 
*resultobj 
= 0; 
21042   wxMDIChildFrame 
*arg1 
= (wxMDIChildFrame 
*) 0 ; 
21045   PyObject 
*swig_obj
[1] ; 
21047   if (!args
) SWIG_fail
; 
21048   swig_obj
[0] = args
; 
21049   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 |  0 ); 
21050   if (!SWIG_IsOK(res1
)) { 
21051     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");  
21053   arg1 
= reinterpret_cast< wxMDIChildFrame 
* >(argp1
); 
21055     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21056     (arg1
)->Activate(); 
21057     wxPyEndAllowThreads(__tstate
); 
21058     if (PyErr_Occurred()) SWIG_fail
; 
21060   resultobj 
= SWIG_Py_Void(); 
21067 SWIGINTERN PyObject 
*MDIChildFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21069   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
21070   SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
)); 
21071   return SWIG_Py_Void(); 
21074 SWIGINTERN PyObject 
*MDIChildFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21075   return SWIG_Python_InitShadowInstance(args
); 
21078 SWIGINTERN PyObject 
*_wrap_new_MDIClientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21079   PyObject 
*resultobj 
= 0; 
21080   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
21081   long arg2 
= (long) 0 ; 
21082   wxMDIClientWindow 
*result 
= 0 ; 
21087   PyObject 
* obj0 
= 0 ; 
21088   PyObject 
* obj1 
= 0 ; 
21089   char *  kwnames
[] = { 
21090     (char *) "parent",(char *) "style", NULL 
 
21093   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21094   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
21095   if (!SWIG_IsOK(res1
)) { 
21096     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
21098   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
21100     ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
21101     if (!SWIG_IsOK(ecode2
)) { 
21102       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'"); 
21104     arg2 
= static_cast< long >(val2
); 
21107     if (!wxPyCheckForApp()) SWIG_fail
; 
21108     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21109     result 
= (wxMDIClientWindow 
*)new wxMDIClientWindow(arg1
,arg2
); 
21110     wxPyEndAllowThreads(__tstate
); 
21111     if (PyErr_Occurred()) SWIG_fail
; 
21113   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW 
|  0 ); 
21120 SWIGINTERN PyObject 
*_wrap_new_PreMDIClientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21121   PyObject 
*resultobj 
= 0; 
21122   wxMDIClientWindow 
*result 
= 0 ; 
21124   if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
; 
21126     if (!wxPyCheckForApp()) SWIG_fail
; 
21127     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21128     result 
= (wxMDIClientWindow 
*)new wxMDIClientWindow(); 
21129     wxPyEndAllowThreads(__tstate
); 
21130     if (PyErr_Occurred()) SWIG_fail
; 
21132   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN 
|  0 ); 
21139 SWIGINTERN PyObject 
*_wrap_MDIClientWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21140   PyObject 
*resultobj 
= 0; 
21141   wxMDIClientWindow 
*arg1 
= (wxMDIClientWindow 
*) 0 ; 
21142   wxMDIParentFrame 
*arg2 
= (wxMDIParentFrame 
*) 0 ; 
21143   long arg3 
= (long) 0 ; 
21151   PyObject 
* obj0 
= 0 ; 
21152   PyObject 
* obj1 
= 0 ; 
21153   PyObject 
* obj2 
= 0 ; 
21154   char *  kwnames
[] = { 
21155     (char *) "self",(char *) "parent",(char *) "style", NULL 
 
21158   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21159   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 |  0 ); 
21160   if (!SWIG_IsOK(res1
)) { 
21161     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");  
21163   arg1 
= reinterpret_cast< wxMDIClientWindow 
* >(argp1
); 
21164   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
21165   if (!SWIG_IsOK(res2
)) { 
21166     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");  
21168   arg2 
= reinterpret_cast< wxMDIParentFrame 
* >(argp2
); 
21170     ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
21171     if (!SWIG_IsOK(ecode3
)) { 
21172       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'"); 
21174     arg3 
= static_cast< long >(val3
); 
21177     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21178     result 
= (bool)(arg1
)->Create(arg2
,arg3
); 
21179     wxPyEndAllowThreads(__tstate
); 
21180     if (PyErr_Occurred()) SWIG_fail
; 
21183     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21191 SWIGINTERN PyObject 
*MDIClientWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21193   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
21194   SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
)); 
21195   return SWIG_Py_Void(); 
21198 SWIGINTERN PyObject 
*MDIClientWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21199   return SWIG_Python_InitShadowInstance(args
); 
21202 SWIGINTERN PyObject 
*_wrap_new_PyWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21203   PyObject 
*resultobj 
= 0; 
21204   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
21205   int arg2 
= (int) (int)-1 ; 
21206   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
21207   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
21208   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
21209   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
21210   long arg5 
= (long) 0 ; 
21211   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
21212   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
21213   wxPyWindow 
*result 
= 0 ; 
21222   bool temp6 
= false ; 
21223   PyObject 
* obj0 
= 0 ; 
21224   PyObject 
* obj1 
= 0 ; 
21225   PyObject 
* obj2 
= 0 ; 
21226   PyObject 
* obj3 
= 0 ; 
21227   PyObject 
* obj4 
= 0 ; 
21228   PyObject 
* obj5 
= 0 ; 
21229   char *  kwnames
[] = { 
21230     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
21233   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
21234   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
21235   if (!SWIG_IsOK(res1
)) { 
21236     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
21238   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
21240     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21241     if (!SWIG_IsOK(ecode2
)) { 
21242       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'"); 
21244     arg2 
= static_cast< int >(val2
); 
21249       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
21255       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
21259     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
21260     if (!SWIG_IsOK(ecode5
)) { 
21261       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'"); 
21263     arg5 
= static_cast< long >(val5
); 
21267       arg6 
= wxString_in_helper(obj5
); 
21268       if (arg6 
== NULL
) SWIG_fail
; 
21273     if (!wxPyCheckForApp()) SWIG_fail
; 
21274     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21275     result 
= (wxPyWindow 
*)new wxPyWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
21276     wxPyEndAllowThreads(__tstate
); 
21277     if (PyErr_Occurred()) SWIG_fail
; 
21279   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW 
|  0 ); 
21294 SWIGINTERN PyObject 
*_wrap_new_PrePyWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21295   PyObject 
*resultobj 
= 0; 
21296   wxPyWindow 
*result 
= 0 ; 
21298   if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
; 
21300     if (!wxPyCheckForApp()) SWIG_fail
; 
21301     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21302     result 
= (wxPyWindow 
*)new wxPyWindow(); 
21303     wxPyEndAllowThreads(__tstate
); 
21304     if (PyErr_Occurred()) SWIG_fail
; 
21306   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN 
|  0 ); 
21313 SWIGINTERN PyObject 
*_wrap_PyWindow__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21314   PyObject 
*resultobj 
= 0; 
21315   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21316   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
21317   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
21320   PyObject 
* obj0 
= 0 ; 
21321   PyObject 
* obj1 
= 0 ; 
21322   PyObject 
* obj2 
= 0 ; 
21323   char *  kwnames
[] = { 
21324     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
21327   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21328   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21329   if (!SWIG_IsOK(res1
)) { 
21330     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21332   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21336     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21337     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
21338     wxPyEndAllowThreads(__tstate
); 
21339     if (PyErr_Occurred()) SWIG_fail
; 
21341   resultobj 
= SWIG_Py_Void(); 
21348 SWIGINTERN PyObject 
*_wrap_PyWindow_SetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21349   PyObject 
*resultobj 
= 0; 
21350   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21355   PyObject 
* obj0 
= 0 ; 
21356   PyObject 
* obj1 
= 0 ; 
21357   char *  kwnames
[] = { 
21358     (char *) "self",(char *) "size", NULL 
 
21361   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21362   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21363   if (!SWIG_IsOK(res1
)) { 
21364     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21366   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21369     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
21372     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21373     (arg1
)->SetBestSize((wxSize 
const &)*arg2
); 
21374     wxPyEndAllowThreads(__tstate
); 
21375     if (PyErr_Occurred()) SWIG_fail
; 
21377   resultobj 
= SWIG_Py_Void(); 
21384 SWIGINTERN PyObject 
*_wrap_PyWindow_DoEraseBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21385   PyObject 
*resultobj 
= 0; 
21386   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21387   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
21393   PyObject 
* obj0 
= 0 ; 
21394   PyObject 
* obj1 
= 0 ; 
21395   char *  kwnames
[] = { 
21396     (char *) "self",(char *) "dc", NULL 
 
21399   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21400   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21401   if (!SWIG_IsOK(res1
)) { 
21402     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21404   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21405   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21406   if (!SWIG_IsOK(res2
)) { 
21407     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");  
21409   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
21411     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21412     result 
= (bool)(arg1
)->DoEraseBackground(arg2
); 
21413     wxPyEndAllowThreads(__tstate
); 
21414     if (PyErr_Occurred()) SWIG_fail
; 
21417     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21425 SWIGINTERN PyObject 
*_wrap_PyWindow_DoMoveWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21426   PyObject 
*resultobj 
= 0; 
21427   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21442   PyObject 
* obj0 
= 0 ; 
21443   PyObject 
* obj1 
= 0 ; 
21444   PyObject 
* obj2 
= 0 ; 
21445   PyObject 
* obj3 
= 0 ; 
21446   PyObject 
* obj4 
= 0 ; 
21447   char *  kwnames
[] = { 
21448     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
21451   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
21452   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21453   if (!SWIG_IsOK(res1
)) { 
21454     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21456   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21457   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21458   if (!SWIG_IsOK(ecode2
)) { 
21459     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'"); 
21461   arg2 
= static_cast< int >(val2
); 
21462   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21463   if (!SWIG_IsOK(ecode3
)) { 
21464     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'"); 
21466   arg3 
= static_cast< int >(val3
); 
21467   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
21468   if (!SWIG_IsOK(ecode4
)) { 
21469     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'"); 
21471   arg4 
= static_cast< int >(val4
); 
21472   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
21473   if (!SWIG_IsOK(ecode5
)) { 
21474     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'"); 
21476   arg5 
= static_cast< int >(val5
); 
21478     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21479     (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
); 
21480     wxPyEndAllowThreads(__tstate
); 
21481     if (PyErr_Occurred()) SWIG_fail
; 
21483   resultobj 
= SWIG_Py_Void(); 
21490 SWIGINTERN PyObject 
*_wrap_PyWindow_DoSetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21491   PyObject 
*resultobj 
= 0; 
21492   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21497   int arg6 
= (int) wxSIZE_AUTO 
; 
21510   PyObject 
* obj0 
= 0 ; 
21511   PyObject 
* obj1 
= 0 ; 
21512   PyObject 
* obj2 
= 0 ; 
21513   PyObject 
* obj3 
= 0 ; 
21514   PyObject 
* obj4 
= 0 ; 
21515   PyObject 
* obj5 
= 0 ; 
21516   char *  kwnames
[] = { 
21517     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL 
 
21520   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
21521   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21522   if (!SWIG_IsOK(res1
)) { 
21523     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21525   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21526   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21527   if (!SWIG_IsOK(ecode2
)) { 
21528     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'"); 
21530   arg2 
= static_cast< int >(val2
); 
21531   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21532   if (!SWIG_IsOK(ecode3
)) { 
21533     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'"); 
21535   arg3 
= static_cast< int >(val3
); 
21536   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
21537   if (!SWIG_IsOK(ecode4
)) { 
21538     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'"); 
21540   arg4 
= static_cast< int >(val4
); 
21541   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
21542   if (!SWIG_IsOK(ecode5
)) { 
21543     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'"); 
21545   arg5 
= static_cast< int >(val5
); 
21547     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
21548     if (!SWIG_IsOK(ecode6
)) { 
21549       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'"); 
21551     arg6 
= static_cast< int >(val6
); 
21554     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21555     (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
); 
21556     wxPyEndAllowThreads(__tstate
); 
21557     if (PyErr_Occurred()) SWIG_fail
; 
21559   resultobj 
= SWIG_Py_Void(); 
21566 SWIGINTERN PyObject 
*_wrap_PyWindow_DoSetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21567   PyObject 
*resultobj 
= 0; 
21568   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21577   PyObject 
* obj0 
= 0 ; 
21578   PyObject 
* obj1 
= 0 ; 
21579   PyObject 
* obj2 
= 0 ; 
21580   char *  kwnames
[] = { 
21581     (char *) "self",(char *) "width",(char *) "height", NULL 
 
21584   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21585   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21586   if (!SWIG_IsOK(res1
)) { 
21587     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21589   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21590   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21591   if (!SWIG_IsOK(ecode2
)) { 
21592     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'"); 
21594   arg2 
= static_cast< int >(val2
); 
21595   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21596   if (!SWIG_IsOK(ecode3
)) { 
21597     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'"); 
21599   arg3 
= static_cast< int >(val3
); 
21601     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21602     (arg1
)->DoSetClientSize(arg2
,arg3
); 
21603     wxPyEndAllowThreads(__tstate
); 
21604     if (PyErr_Occurred()) SWIG_fail
; 
21606   resultobj 
= SWIG_Py_Void(); 
21613 SWIGINTERN PyObject 
*_wrap_PyWindow_DoSetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21614   PyObject 
*resultobj 
= 0; 
21615   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21624   PyObject 
* obj0 
= 0 ; 
21625   PyObject 
* obj1 
= 0 ; 
21626   PyObject 
* obj2 
= 0 ; 
21627   char *  kwnames
[] = { 
21628     (char *) "self",(char *) "x",(char *) "y", NULL 
 
21631   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21632   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21633   if (!SWIG_IsOK(res1
)) { 
21634     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21636   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21637   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21638   if (!SWIG_IsOK(ecode2
)) { 
21639     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'"); 
21641   arg2 
= static_cast< int >(val2
); 
21642   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21643   if (!SWIG_IsOK(ecode3
)) { 
21644     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'"); 
21646   arg3 
= static_cast< int >(val3
); 
21648     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21649     (arg1
)->DoSetVirtualSize(arg2
,arg3
); 
21650     wxPyEndAllowThreads(__tstate
); 
21651     if (PyErr_Occurred()) SWIG_fail
; 
21653   resultobj 
= SWIG_Py_Void(); 
21660 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21661   PyObject 
*resultobj 
= 0; 
21662   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21663   int *arg2 
= (int *) 0 ; 
21664   int *arg3 
= (int *) 0 ; 
21668   int res2 
= SWIG_TMPOBJ 
; 
21670   int res3 
= SWIG_TMPOBJ 
; 
21671   PyObject 
*swig_obj
[1] ; 
21675   if (!args
) SWIG_fail
; 
21676   swig_obj
[0] = args
; 
21677   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21678   if (!SWIG_IsOK(res1
)) { 
21679     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
21681   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21683     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21684     ((wxPyWindow 
const *)arg1
)->DoGetSize(arg2
,arg3
); 
21685     wxPyEndAllowThreads(__tstate
); 
21686     if (PyErr_Occurred()) SWIG_fail
; 
21688   resultobj 
= SWIG_Py_Void(); 
21689   if (SWIG_IsTmpObj(res2
)) { 
21690     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
21692     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21693     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
21695   if (SWIG_IsTmpObj(res3
)) { 
21696     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
21698     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21699     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
21707 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21708   PyObject 
*resultobj 
= 0; 
21709   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21710   int *arg2 
= (int *) 0 ; 
21711   int *arg3 
= (int *) 0 ; 
21715   int res2 
= SWIG_TMPOBJ 
; 
21717   int res3 
= SWIG_TMPOBJ 
; 
21718   PyObject 
*swig_obj
[1] ; 
21722   if (!args
) SWIG_fail
; 
21723   swig_obj
[0] = args
; 
21724   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21725   if (!SWIG_IsOK(res1
)) { 
21726     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
21728   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21730     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21731     ((wxPyWindow 
const *)arg1
)->DoGetClientSize(arg2
,arg3
); 
21732     wxPyEndAllowThreads(__tstate
); 
21733     if (PyErr_Occurred()) SWIG_fail
; 
21735   resultobj 
= SWIG_Py_Void(); 
21736   if (SWIG_IsTmpObj(res2
)) { 
21737     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
21739     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21740     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
21742   if (SWIG_IsTmpObj(res3
)) { 
21743     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
21745     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21746     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
21754 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21755   PyObject 
*resultobj 
= 0; 
21756   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21757   int *arg2 
= (int *) 0 ; 
21758   int *arg3 
= (int *) 0 ; 
21762   int res2 
= SWIG_TMPOBJ 
; 
21764   int res3 
= SWIG_TMPOBJ 
; 
21765   PyObject 
*swig_obj
[1] ; 
21769   if (!args
) SWIG_fail
; 
21770   swig_obj
[0] = args
; 
21771   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21772   if (!SWIG_IsOK(res1
)) { 
21773     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
21775   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21777     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21778     ((wxPyWindow 
const *)arg1
)->DoGetPosition(arg2
,arg3
); 
21779     wxPyEndAllowThreads(__tstate
); 
21780     if (PyErr_Occurred()) SWIG_fail
; 
21782   resultobj 
= SWIG_Py_Void(); 
21783   if (SWIG_IsTmpObj(res2
)) { 
21784     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
21786     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21787     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
21789   if (SWIG_IsTmpObj(res3
)) { 
21790     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
21792     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21793     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
21801 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21802   PyObject 
*resultobj 
= 0; 
21803   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21807   PyObject 
*swig_obj
[1] ; 
21809   if (!args
) SWIG_fail
; 
21810   swig_obj
[0] = args
; 
21811   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21812   if (!SWIG_IsOK(res1
)) { 
21813     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
21815   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21817     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21818     result 
= ((wxPyWindow 
const *)arg1
)->DoGetVirtualSize(); 
21819     wxPyEndAllowThreads(__tstate
); 
21820     if (PyErr_Occurred()) SWIG_fail
; 
21822   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
21829 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21830   PyObject 
*resultobj 
= 0; 
21831   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21835   PyObject 
*swig_obj
[1] ; 
21837   if (!args
) SWIG_fail
; 
21838   swig_obj
[0] = args
; 
21839   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21840   if (!SWIG_IsOK(res1
)) { 
21841     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
21843   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21845     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21846     result 
= ((wxPyWindow 
const *)arg1
)->DoGetBestSize(); 
21847     wxPyEndAllowThreads(__tstate
); 
21848     if (PyErr_Occurred()) SWIG_fail
; 
21850   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
21857 SWIGINTERN PyObject 
*_wrap_PyWindow_GetDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21858   PyObject 
*resultobj 
= 0; 
21859   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21860   SwigValueWrapper
<wxVisualAttributes 
> result
; 
21863   PyObject 
*swig_obj
[1] ; 
21865   if (!args
) SWIG_fail
; 
21866   swig_obj
[0] = args
; 
21867   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21868   if (!SWIG_IsOK(res1
)) { 
21869     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21871   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21873     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21874     result 
= (arg1
)->GetDefaultAttributes(); 
21875     wxPyEndAllowThreads(__tstate
); 
21876     if (PyErr_Occurred()) SWIG_fail
; 
21878   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
21885 SWIGINTERN PyObject 
*_wrap_PyWindow_OnInternalIdle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21886   PyObject 
*resultobj 
= 0; 
21887   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21890   PyObject 
*swig_obj
[1] ; 
21892   if (!args
) SWIG_fail
; 
21893   swig_obj
[0] = args
; 
21894   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21895   if (!SWIG_IsOK(res1
)) { 
21896     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21898   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21900     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21901     (arg1
)->OnInternalIdle(); 
21902     wxPyEndAllowThreads(__tstate
); 
21903     if (PyErr_Occurred()) SWIG_fail
; 
21905   resultobj 
= SWIG_Py_Void(); 
21912 SWIGINTERN PyObject 
*PyWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21914   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
21915   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
)); 
21916   return SWIG_Py_Void(); 
21919 SWIGINTERN PyObject 
*PyWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21920   return SWIG_Python_InitShadowInstance(args
); 
21923 SWIGINTERN PyObject 
*_wrap_new_PyPanel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21924   PyObject 
*resultobj 
= 0; 
21925   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
21926   int arg2 
= (int) (int)-1 ; 
21927   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
21928   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
21929   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
21930   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
21931   long arg5 
= (long) 0 ; 
21932   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
21933   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
21934   wxPyPanel 
*result 
= 0 ; 
21943   bool temp6 
= false ; 
21944   PyObject 
* obj0 
= 0 ; 
21945   PyObject 
* obj1 
= 0 ; 
21946   PyObject 
* obj2 
= 0 ; 
21947   PyObject 
* obj3 
= 0 ; 
21948   PyObject 
* obj4 
= 0 ; 
21949   PyObject 
* obj5 
= 0 ; 
21950   char *  kwnames
[] = { 
21951     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
21954   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
21955   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
21956   if (!SWIG_IsOK(res1
)) { 
21957     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");  
21959   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
21961     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21962     if (!SWIG_IsOK(ecode2
)) { 
21963       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'"); 
21965     arg2 
= static_cast< int >(val2
); 
21970       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
21976       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
21980     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
21981     if (!SWIG_IsOK(ecode5
)) { 
21982       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'"); 
21984     arg5 
= static_cast< long >(val5
); 
21988       arg6 
= wxString_in_helper(obj5
); 
21989       if (arg6 
== NULL
) SWIG_fail
; 
21994     if (!wxPyCheckForApp()) SWIG_fail
; 
21995     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21996     result 
= (wxPyPanel 
*)new wxPyPanel(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
21997     wxPyEndAllowThreads(__tstate
); 
21998     if (PyErr_Occurred()) SWIG_fail
; 
22000   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW 
|  0 ); 
22015 SWIGINTERN PyObject 
*_wrap_new_PrePyPanel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22016   PyObject 
*resultobj 
= 0; 
22017   wxPyPanel 
*result 
= 0 ; 
22019   if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
; 
22021     if (!wxPyCheckForApp()) SWIG_fail
; 
22022     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22023     result 
= (wxPyPanel 
*)new wxPyPanel(); 
22024     wxPyEndAllowThreads(__tstate
); 
22025     if (PyErr_Occurred()) SWIG_fail
; 
22027   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN 
|  0 ); 
22034 SWIGINTERN PyObject 
*_wrap_PyPanel__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22035   PyObject 
*resultobj 
= 0; 
22036   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22037   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
22038   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
22041   PyObject 
* obj0 
= 0 ; 
22042   PyObject 
* obj1 
= 0 ; 
22043   PyObject 
* obj2 
= 0 ; 
22044   char *  kwnames
[] = { 
22045     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
22048   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22049   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22050   if (!SWIG_IsOK(res1
)) { 
22051     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22053   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22057     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22058     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
22059     wxPyEndAllowThreads(__tstate
); 
22060     if (PyErr_Occurred()) SWIG_fail
; 
22062   resultobj 
= SWIG_Py_Void(); 
22069 SWIGINTERN PyObject 
*_wrap_PyPanel_SetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22070   PyObject 
*resultobj 
= 0; 
22071   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22076   PyObject 
* obj0 
= 0 ; 
22077   PyObject 
* obj1 
= 0 ; 
22078   char *  kwnames
[] = { 
22079     (char *) "self",(char *) "size", NULL 
 
22082   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22083   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22084   if (!SWIG_IsOK(res1
)) { 
22085     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22087   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22090     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
22093     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22094     (arg1
)->SetBestSize((wxSize 
const &)*arg2
); 
22095     wxPyEndAllowThreads(__tstate
); 
22096     if (PyErr_Occurred()) SWIG_fail
; 
22098   resultobj 
= SWIG_Py_Void(); 
22105 SWIGINTERN PyObject 
*_wrap_PyPanel_DoEraseBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22106   PyObject 
*resultobj 
= 0; 
22107   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22108   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
22114   PyObject 
* obj0 
= 0 ; 
22115   PyObject 
* obj1 
= 0 ; 
22116   char *  kwnames
[] = { 
22117     (char *) "self",(char *) "dc", NULL 
 
22120   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22121   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22122   if (!SWIG_IsOK(res1
)) { 
22123     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22125   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22126   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22127   if (!SWIG_IsOK(res2
)) { 
22128     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");  
22130   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
22132     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22133     result 
= (bool)(arg1
)->DoEraseBackground(arg2
); 
22134     wxPyEndAllowThreads(__tstate
); 
22135     if (PyErr_Occurred()) SWIG_fail
; 
22138     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22146 SWIGINTERN PyObject 
*_wrap_PyPanel_DoMoveWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22147   PyObject 
*resultobj 
= 0; 
22148   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22163   PyObject 
* obj0 
= 0 ; 
22164   PyObject 
* obj1 
= 0 ; 
22165   PyObject 
* obj2 
= 0 ; 
22166   PyObject 
* obj3 
= 0 ; 
22167   PyObject 
* obj4 
= 0 ; 
22168   char *  kwnames
[] = { 
22169     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
22172   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
22173   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22174   if (!SWIG_IsOK(res1
)) { 
22175     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22177   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22178   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22179   if (!SWIG_IsOK(ecode2
)) { 
22180     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'"); 
22182   arg2 
= static_cast< int >(val2
); 
22183   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22184   if (!SWIG_IsOK(ecode3
)) { 
22185     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'"); 
22187   arg3 
= static_cast< int >(val3
); 
22188   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
22189   if (!SWIG_IsOK(ecode4
)) { 
22190     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'"); 
22192   arg4 
= static_cast< int >(val4
); 
22193   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
22194   if (!SWIG_IsOK(ecode5
)) { 
22195     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'"); 
22197   arg5 
= static_cast< int >(val5
); 
22199     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22200     (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
); 
22201     wxPyEndAllowThreads(__tstate
); 
22202     if (PyErr_Occurred()) SWIG_fail
; 
22204   resultobj 
= SWIG_Py_Void(); 
22211 SWIGINTERN PyObject 
*_wrap_PyPanel_DoSetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22212   PyObject 
*resultobj 
= 0; 
22213   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22218   int arg6 
= (int) wxSIZE_AUTO 
; 
22231   PyObject 
* obj0 
= 0 ; 
22232   PyObject 
* obj1 
= 0 ; 
22233   PyObject 
* obj2 
= 0 ; 
22234   PyObject 
* obj3 
= 0 ; 
22235   PyObject 
* obj4 
= 0 ; 
22236   PyObject 
* obj5 
= 0 ; 
22237   char *  kwnames
[] = { 
22238     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL 
 
22241   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
22242   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22243   if (!SWIG_IsOK(res1
)) { 
22244     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22246   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22247   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22248   if (!SWIG_IsOK(ecode2
)) { 
22249     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'"); 
22251   arg2 
= static_cast< int >(val2
); 
22252   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22253   if (!SWIG_IsOK(ecode3
)) { 
22254     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'"); 
22256   arg3 
= static_cast< int >(val3
); 
22257   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
22258   if (!SWIG_IsOK(ecode4
)) { 
22259     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'"); 
22261   arg4 
= static_cast< int >(val4
); 
22262   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
22263   if (!SWIG_IsOK(ecode5
)) { 
22264     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'"); 
22266   arg5 
= static_cast< int >(val5
); 
22268     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
22269     if (!SWIG_IsOK(ecode6
)) { 
22270       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'"); 
22272     arg6 
= static_cast< int >(val6
); 
22275     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22276     (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
); 
22277     wxPyEndAllowThreads(__tstate
); 
22278     if (PyErr_Occurred()) SWIG_fail
; 
22280   resultobj 
= SWIG_Py_Void(); 
22287 SWIGINTERN PyObject 
*_wrap_PyPanel_DoSetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22288   PyObject 
*resultobj 
= 0; 
22289   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22298   PyObject 
* obj0 
= 0 ; 
22299   PyObject 
* obj1 
= 0 ; 
22300   PyObject 
* obj2 
= 0 ; 
22301   char *  kwnames
[] = { 
22302     (char *) "self",(char *) "width",(char *) "height", NULL 
 
22305   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22306   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22307   if (!SWIG_IsOK(res1
)) { 
22308     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22310   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22311   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22312   if (!SWIG_IsOK(ecode2
)) { 
22313     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'"); 
22315   arg2 
= static_cast< int >(val2
); 
22316   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22317   if (!SWIG_IsOK(ecode3
)) { 
22318     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'"); 
22320   arg3 
= static_cast< int >(val3
); 
22322     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22323     (arg1
)->DoSetClientSize(arg2
,arg3
); 
22324     wxPyEndAllowThreads(__tstate
); 
22325     if (PyErr_Occurred()) SWIG_fail
; 
22327   resultobj 
= SWIG_Py_Void(); 
22334 SWIGINTERN PyObject 
*_wrap_PyPanel_DoSetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22335   PyObject 
*resultobj 
= 0; 
22336   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22345   PyObject 
* obj0 
= 0 ; 
22346   PyObject 
* obj1 
= 0 ; 
22347   PyObject 
* obj2 
= 0 ; 
22348   char *  kwnames
[] = { 
22349     (char *) "self",(char *) "x",(char *) "y", NULL 
 
22352   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22353   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22354   if (!SWIG_IsOK(res1
)) { 
22355     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22357   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22358   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22359   if (!SWIG_IsOK(ecode2
)) { 
22360     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'"); 
22362   arg2 
= static_cast< int >(val2
); 
22363   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22364   if (!SWIG_IsOK(ecode3
)) { 
22365     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'"); 
22367   arg3 
= static_cast< int >(val3
); 
22369     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22370     (arg1
)->DoSetVirtualSize(arg2
,arg3
); 
22371     wxPyEndAllowThreads(__tstate
); 
22372     if (PyErr_Occurred()) SWIG_fail
; 
22374   resultobj 
= SWIG_Py_Void(); 
22381 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22382   PyObject 
*resultobj 
= 0; 
22383   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22384   int *arg2 
= (int *) 0 ; 
22385   int *arg3 
= (int *) 0 ; 
22389   int res2 
= SWIG_TMPOBJ 
; 
22391   int res3 
= SWIG_TMPOBJ 
; 
22392   PyObject 
*swig_obj
[1] ; 
22396   if (!args
) SWIG_fail
; 
22397   swig_obj
[0] = args
; 
22398   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22399   if (!SWIG_IsOK(res1
)) { 
22400     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22402   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22404     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22405     ((wxPyPanel 
const *)arg1
)->DoGetSize(arg2
,arg3
); 
22406     wxPyEndAllowThreads(__tstate
); 
22407     if (PyErr_Occurred()) SWIG_fail
; 
22409   resultobj 
= SWIG_Py_Void(); 
22410   if (SWIG_IsTmpObj(res2
)) { 
22411     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
22413     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22414     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
22416   if (SWIG_IsTmpObj(res3
)) { 
22417     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22419     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22420     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22428 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22429   PyObject 
*resultobj 
= 0; 
22430   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22431   int *arg2 
= (int *) 0 ; 
22432   int *arg3 
= (int *) 0 ; 
22436   int res2 
= SWIG_TMPOBJ 
; 
22438   int res3 
= SWIG_TMPOBJ 
; 
22439   PyObject 
*swig_obj
[1] ; 
22443   if (!args
) SWIG_fail
; 
22444   swig_obj
[0] = args
; 
22445   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22446   if (!SWIG_IsOK(res1
)) { 
22447     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22449   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22451     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22452     ((wxPyPanel 
const *)arg1
)->DoGetClientSize(arg2
,arg3
); 
22453     wxPyEndAllowThreads(__tstate
); 
22454     if (PyErr_Occurred()) SWIG_fail
; 
22456   resultobj 
= SWIG_Py_Void(); 
22457   if (SWIG_IsTmpObj(res2
)) { 
22458     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
22460     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22461     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
22463   if (SWIG_IsTmpObj(res3
)) { 
22464     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22466     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22467     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22475 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22476   PyObject 
*resultobj 
= 0; 
22477   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22478   int *arg2 
= (int *) 0 ; 
22479   int *arg3 
= (int *) 0 ; 
22483   int res2 
= SWIG_TMPOBJ 
; 
22485   int res3 
= SWIG_TMPOBJ 
; 
22486   PyObject 
*swig_obj
[1] ; 
22490   if (!args
) SWIG_fail
; 
22491   swig_obj
[0] = args
; 
22492   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22493   if (!SWIG_IsOK(res1
)) { 
22494     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22496   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22498     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22499     ((wxPyPanel 
const *)arg1
)->DoGetPosition(arg2
,arg3
); 
22500     wxPyEndAllowThreads(__tstate
); 
22501     if (PyErr_Occurred()) SWIG_fail
; 
22503   resultobj 
= SWIG_Py_Void(); 
22504   if (SWIG_IsTmpObj(res2
)) { 
22505     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
22507     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22508     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
22510   if (SWIG_IsTmpObj(res3
)) { 
22511     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22513     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22514     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22522 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22523   PyObject 
*resultobj 
= 0; 
22524   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22528   PyObject 
*swig_obj
[1] ; 
22530   if (!args
) SWIG_fail
; 
22531   swig_obj
[0] = args
; 
22532   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22533   if (!SWIG_IsOK(res1
)) { 
22534     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22536   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22538     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22539     result 
= ((wxPyPanel 
const *)arg1
)->DoGetVirtualSize(); 
22540     wxPyEndAllowThreads(__tstate
); 
22541     if (PyErr_Occurred()) SWIG_fail
; 
22543   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
22550 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22551   PyObject 
*resultobj 
= 0; 
22552   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22556   PyObject 
*swig_obj
[1] ; 
22558   if (!args
) SWIG_fail
; 
22559   swig_obj
[0] = args
; 
22560   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22561   if (!SWIG_IsOK(res1
)) { 
22562     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22564   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22566     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22567     result 
= ((wxPyPanel 
const *)arg1
)->DoGetBestSize(); 
22568     wxPyEndAllowThreads(__tstate
); 
22569     if (PyErr_Occurred()) SWIG_fail
; 
22571   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
22578 SWIGINTERN PyObject 
*_wrap_PyPanel_GetDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22579   PyObject 
*resultobj 
= 0; 
22580   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22581   SwigValueWrapper
<wxVisualAttributes 
> result
; 
22584   PyObject 
*swig_obj
[1] ; 
22586   if (!args
) SWIG_fail
; 
22587   swig_obj
[0] = args
; 
22588   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22589   if (!SWIG_IsOK(res1
)) { 
22590     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22592   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22594     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22595     result 
= (arg1
)->GetDefaultAttributes(); 
22596     wxPyEndAllowThreads(__tstate
); 
22597     if (PyErr_Occurred()) SWIG_fail
; 
22599   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
22606 SWIGINTERN PyObject 
*_wrap_PyPanel_OnInternalIdle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22607   PyObject 
*resultobj 
= 0; 
22608   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22611   PyObject 
*swig_obj
[1] ; 
22613   if (!args
) SWIG_fail
; 
22614   swig_obj
[0] = args
; 
22615   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22616   if (!SWIG_IsOK(res1
)) { 
22617     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22619   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22621     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22622     (arg1
)->OnInternalIdle(); 
22623     wxPyEndAllowThreads(__tstate
); 
22624     if (PyErr_Occurred()) SWIG_fail
; 
22626   resultobj 
= SWIG_Py_Void(); 
22633 SWIGINTERN PyObject 
*PyPanel_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22635   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
22636   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
)); 
22637   return SWIG_Py_Void(); 
22640 SWIGINTERN PyObject 
*PyPanel_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22641   return SWIG_Python_InitShadowInstance(args
); 
22644 SWIGINTERN PyObject 
*_wrap_new_PyScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22645   PyObject 
*resultobj 
= 0; 
22646   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
22647   int arg2 
= (int) (int)-1 ; 
22648   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
22649   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
22650   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
22651   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
22652   long arg5 
= (long) 0 ; 
22653   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
22654   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
22655   wxPyScrolledWindow 
*result 
= 0 ; 
22664   bool temp6 
= false ; 
22665   PyObject 
* obj0 
= 0 ; 
22666   PyObject 
* obj1 
= 0 ; 
22667   PyObject 
* obj2 
= 0 ; 
22668   PyObject 
* obj3 
= 0 ; 
22669   PyObject 
* obj4 
= 0 ; 
22670   PyObject 
* obj5 
= 0 ; 
22671   char *  kwnames
[] = { 
22672     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
22675   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
22676   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
22677   if (!SWIG_IsOK(res1
)) { 
22678     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
22680   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
22682     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22683     if (!SWIG_IsOK(ecode2
)) { 
22684       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'"); 
22686     arg2 
= static_cast< int >(val2
); 
22691       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
22697       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
22701     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
22702     if (!SWIG_IsOK(ecode5
)) { 
22703       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'"); 
22705     arg5 
= static_cast< long >(val5
); 
22709       arg6 
= wxString_in_helper(obj5
); 
22710       if (arg6 
== NULL
) SWIG_fail
; 
22715     if (!wxPyCheckForApp()) SWIG_fail
; 
22716     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22717     result 
= (wxPyScrolledWindow 
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
22718     wxPyEndAllowThreads(__tstate
); 
22719     if (PyErr_Occurred()) SWIG_fail
; 
22721   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW 
|  0 ); 
22736 SWIGINTERN PyObject 
*_wrap_new_PrePyScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22737   PyObject 
*resultobj 
= 0; 
22738   wxPyScrolledWindow 
*result 
= 0 ; 
22740   if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
; 
22742     if (!wxPyCheckForApp()) SWIG_fail
; 
22743     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22744     result 
= (wxPyScrolledWindow 
*)new wxPyScrolledWindow(); 
22745     wxPyEndAllowThreads(__tstate
); 
22746     if (PyErr_Occurred()) SWIG_fail
; 
22748   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN 
|  0 ); 
22755 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22756   PyObject 
*resultobj 
= 0; 
22757   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
22758   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
22759   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
22762   PyObject 
* obj0 
= 0 ; 
22763   PyObject 
* obj1 
= 0 ; 
22764   PyObject 
* obj2 
= 0 ; 
22765   char *  kwnames
[] = { 
22766     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
22769   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22770   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
22771   if (!SWIG_IsOK(res1
)) { 
22772     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
22774   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
22778     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22779     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
22780     wxPyEndAllowThreads(__tstate
); 
22781     if (PyErr_Occurred()) SWIG_fail
; 
22783   resultobj 
= SWIG_Py_Void(); 
22790 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_SetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22791   PyObject 
*resultobj 
= 0; 
22792   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
22797   PyObject 
* obj0 
= 0 ; 
22798   PyObject 
* obj1 
= 0 ; 
22799   char *  kwnames
[] = { 
22800     (char *) "self",(char *) "size", NULL 
 
22803   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22804   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
22805   if (!SWIG_IsOK(res1
)) { 
22806     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
22808   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
22811     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
22814     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22815     (arg1
)->SetBestSize((wxSize 
const &)*arg2
); 
22816     wxPyEndAllowThreads(__tstate
); 
22817     if (PyErr_Occurred()) SWIG_fail
; 
22819   resultobj 
= SWIG_Py_Void(); 
22826 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22827   PyObject 
*resultobj 
= 0; 
22828   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
22829   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
22835   PyObject 
* obj0 
= 0 ; 
22836   PyObject 
* obj1 
= 0 ; 
22837   char *  kwnames
[] = { 
22838     (char *) "self",(char *) "dc", NULL 
 
22841   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22842   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
22843   if (!SWIG_IsOK(res1
)) { 
22844     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
22846   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
22847   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22848   if (!SWIG_IsOK(res2
)) { 
22849     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");  
22851   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
22853     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22854     result 
= (bool)(arg1
)->DoEraseBackground(arg2
); 
22855     wxPyEndAllowThreads(__tstate
); 
22856     if (PyErr_Occurred()) SWIG_fail
; 
22859     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22867 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22868   PyObject 
*resultobj 
= 0; 
22869   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
22884   PyObject 
* obj0 
= 0 ; 
22885   PyObject 
* obj1 
= 0 ; 
22886   PyObject 
* obj2 
= 0 ; 
22887   PyObject 
* obj3 
= 0 ; 
22888   PyObject 
* obj4 
= 0 ; 
22889   char *  kwnames
[] = { 
22890     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
22893   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
22894   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
22895   if (!SWIG_IsOK(res1
)) { 
22896     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
22898   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
22899   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22900   if (!SWIG_IsOK(ecode2
)) { 
22901     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'"); 
22903   arg2 
= static_cast< int >(val2
); 
22904   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22905   if (!SWIG_IsOK(ecode3
)) { 
22906     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'"); 
22908   arg3 
= static_cast< int >(val3
); 
22909   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
22910   if (!SWIG_IsOK(ecode4
)) { 
22911     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'"); 
22913   arg4 
= static_cast< int >(val4
); 
22914   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
22915   if (!SWIG_IsOK(ecode5
)) { 
22916     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'"); 
22918   arg5 
= static_cast< int >(val5
); 
22920     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22921     (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
); 
22922     wxPyEndAllowThreads(__tstate
); 
22923     if (PyErr_Occurred()) SWIG_fail
; 
22925   resultobj 
= SWIG_Py_Void(); 
22932 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoSetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22933   PyObject 
*resultobj 
= 0; 
22934   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
22939   int arg6 
= (int) wxSIZE_AUTO 
; 
22952   PyObject 
* obj0 
= 0 ; 
22953   PyObject 
* obj1 
= 0 ; 
22954   PyObject 
* obj2 
= 0 ; 
22955   PyObject 
* obj3 
= 0 ; 
22956   PyObject 
* obj4 
= 0 ; 
22957   PyObject 
* obj5 
= 0 ; 
22958   char *  kwnames
[] = { 
22959     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL 
 
22962   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
22963   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
22964   if (!SWIG_IsOK(res1
)) { 
22965     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
22967   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
22968   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22969   if (!SWIG_IsOK(ecode2
)) { 
22970     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'"); 
22972   arg2 
= static_cast< int >(val2
); 
22973   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22974   if (!SWIG_IsOK(ecode3
)) { 
22975     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'"); 
22977   arg3 
= static_cast< int >(val3
); 
22978   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
22979   if (!SWIG_IsOK(ecode4
)) { 
22980     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'"); 
22982   arg4 
= static_cast< int >(val4
); 
22983   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
22984   if (!SWIG_IsOK(ecode5
)) { 
22985     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'"); 
22987   arg5 
= static_cast< int >(val5
); 
22989     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
22990     if (!SWIG_IsOK(ecode6
)) { 
22991       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'"); 
22993     arg6 
= static_cast< int >(val6
); 
22996     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22997     (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
); 
22998     wxPyEndAllowThreads(__tstate
); 
22999     if (PyErr_Occurred()) SWIG_fail
; 
23001   resultobj 
= SWIG_Py_Void(); 
23008 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23009   PyObject 
*resultobj 
= 0; 
23010   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23019   PyObject 
* obj0 
= 0 ; 
23020   PyObject 
* obj1 
= 0 ; 
23021   PyObject 
* obj2 
= 0 ; 
23022   char *  kwnames
[] = { 
23023     (char *) "self",(char *) "width",(char *) "height", NULL 
 
23026   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
23027   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23028   if (!SWIG_IsOK(res1
)) { 
23029     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23031   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23032   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
23033   if (!SWIG_IsOK(ecode2
)) { 
23034     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'"); 
23036   arg2 
= static_cast< int >(val2
); 
23037   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
23038   if (!SWIG_IsOK(ecode3
)) { 
23039     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'"); 
23041   arg3 
= static_cast< int >(val3
); 
23043     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23044     (arg1
)->DoSetClientSize(arg2
,arg3
); 
23045     wxPyEndAllowThreads(__tstate
); 
23046     if (PyErr_Occurred()) SWIG_fail
; 
23048   resultobj 
= SWIG_Py_Void(); 
23055 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23056   PyObject 
*resultobj 
= 0; 
23057   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23066   PyObject 
* obj0 
= 0 ; 
23067   PyObject 
* obj1 
= 0 ; 
23068   PyObject 
* obj2 
= 0 ; 
23069   char *  kwnames
[] = { 
23070     (char *) "self",(char *) "x",(char *) "y", NULL 
 
23073   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
23074   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23075   if (!SWIG_IsOK(res1
)) { 
23076     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23078   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23079   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
23080   if (!SWIG_IsOK(ecode2
)) { 
23081     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'"); 
23083   arg2 
= static_cast< int >(val2
); 
23084   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
23085   if (!SWIG_IsOK(ecode3
)) { 
23086     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'"); 
23088   arg3 
= static_cast< int >(val3
); 
23090     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23091     (arg1
)->DoSetVirtualSize(arg2
,arg3
); 
23092     wxPyEndAllowThreads(__tstate
); 
23093     if (PyErr_Occurred()) SWIG_fail
; 
23095   resultobj 
= SWIG_Py_Void(); 
23102 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23103   PyObject 
*resultobj 
= 0; 
23104   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23105   int *arg2 
= (int *) 0 ; 
23106   int *arg3 
= (int *) 0 ; 
23110   int res2 
= SWIG_TMPOBJ 
; 
23112   int res3 
= SWIG_TMPOBJ 
; 
23113   PyObject 
*swig_obj
[1] ; 
23117   if (!args
) SWIG_fail
; 
23118   swig_obj
[0] = args
; 
23119   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23120   if (!SWIG_IsOK(res1
)) { 
23121     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23123   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23125     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23126     ((wxPyScrolledWindow 
const *)arg1
)->DoGetSize(arg2
,arg3
); 
23127     wxPyEndAllowThreads(__tstate
); 
23128     if (PyErr_Occurred()) SWIG_fail
; 
23130   resultobj 
= SWIG_Py_Void(); 
23131   if (SWIG_IsTmpObj(res2
)) { 
23132     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
23134     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23135     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
23137   if (SWIG_IsTmpObj(res3
)) { 
23138     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
23140     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23141     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
23149 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23150   PyObject 
*resultobj 
= 0; 
23151   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23152   int *arg2 
= (int *) 0 ; 
23153   int *arg3 
= (int *) 0 ; 
23157   int res2 
= SWIG_TMPOBJ 
; 
23159   int res3 
= SWIG_TMPOBJ 
; 
23160   PyObject 
*swig_obj
[1] ; 
23164   if (!args
) SWIG_fail
; 
23165   swig_obj
[0] = args
; 
23166   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23167   if (!SWIG_IsOK(res1
)) { 
23168     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23170   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23172     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23173     ((wxPyScrolledWindow 
const *)arg1
)->DoGetClientSize(arg2
,arg3
); 
23174     wxPyEndAllowThreads(__tstate
); 
23175     if (PyErr_Occurred()) SWIG_fail
; 
23177   resultobj 
= SWIG_Py_Void(); 
23178   if (SWIG_IsTmpObj(res2
)) { 
23179     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
23181     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23182     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
23184   if (SWIG_IsTmpObj(res3
)) { 
23185     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
23187     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23188     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
23196 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23197   PyObject 
*resultobj 
= 0; 
23198   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23199   int *arg2 
= (int *) 0 ; 
23200   int *arg3 
= (int *) 0 ; 
23204   int res2 
= SWIG_TMPOBJ 
; 
23206   int res3 
= SWIG_TMPOBJ 
; 
23207   PyObject 
*swig_obj
[1] ; 
23211   if (!args
) SWIG_fail
; 
23212   swig_obj
[0] = args
; 
23213   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23214   if (!SWIG_IsOK(res1
)) { 
23215     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23217   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23219     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23220     ((wxPyScrolledWindow 
const *)arg1
)->DoGetPosition(arg2
,arg3
); 
23221     wxPyEndAllowThreads(__tstate
); 
23222     if (PyErr_Occurred()) SWIG_fail
; 
23224   resultobj 
= SWIG_Py_Void(); 
23225   if (SWIG_IsTmpObj(res2
)) { 
23226     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
23228     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23229     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
23231   if (SWIG_IsTmpObj(res3
)) { 
23232     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
23234     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23235     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
23243 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23244   PyObject 
*resultobj 
= 0; 
23245   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23249   PyObject 
*swig_obj
[1] ; 
23251   if (!args
) SWIG_fail
; 
23252   swig_obj
[0] = args
; 
23253   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23254   if (!SWIG_IsOK(res1
)) { 
23255     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23257   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23259     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23260     result 
= ((wxPyScrolledWindow 
const *)arg1
)->DoGetVirtualSize(); 
23261     wxPyEndAllowThreads(__tstate
); 
23262     if (PyErr_Occurred()) SWIG_fail
; 
23264   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
23271 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23272   PyObject 
*resultobj 
= 0; 
23273   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23277   PyObject 
*swig_obj
[1] ; 
23279   if (!args
) SWIG_fail
; 
23280   swig_obj
[0] = args
; 
23281   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23282   if (!SWIG_IsOK(res1
)) { 
23283     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23285   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23287     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23288     result 
= ((wxPyScrolledWindow 
const *)arg1
)->DoGetBestSize(); 
23289     wxPyEndAllowThreads(__tstate
); 
23290     if (PyErr_Occurred()) SWIG_fail
; 
23292   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
23299 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23300   PyObject 
*resultobj 
= 0; 
23301   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23302   SwigValueWrapper
<wxVisualAttributes 
> result
; 
23305   PyObject 
*swig_obj
[1] ; 
23307   if (!args
) SWIG_fail
; 
23308   swig_obj
[0] = args
; 
23309   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23310   if (!SWIG_IsOK(res1
)) { 
23311     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23313   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23315     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23316     result 
= (arg1
)->GetDefaultAttributes(); 
23317     wxPyEndAllowThreads(__tstate
); 
23318     if (PyErr_Occurred()) SWIG_fail
; 
23320   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
23327 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23328   PyObject 
*resultobj 
= 0; 
23329   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23332   PyObject 
*swig_obj
[1] ; 
23334   if (!args
) SWIG_fail
; 
23335   swig_obj
[0] = args
; 
23336   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23337   if (!SWIG_IsOK(res1
)) { 
23338     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23340   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23342     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23343     (arg1
)->OnInternalIdle(); 
23344     wxPyEndAllowThreads(__tstate
); 
23345     if (PyErr_Occurred()) SWIG_fail
; 
23347   resultobj 
= SWIG_Py_Void(); 
23354 SWIGINTERN PyObject 
*PyScrolledWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23356   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23357   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
)); 
23358   return SWIG_Py_Void(); 
23361 SWIGINTERN PyObject 
*PyScrolledWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23362   return SWIG_Python_InitShadowInstance(args
); 
23365 SWIGINTERN 
int PrintoutTitleStr_set(PyObject 
*) { 
23366   SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only."); 
23371 SWIGINTERN PyObject 
*PrintoutTitleStr_get(void) { 
23372   PyObject 
*pyobj 
= 0; 
23376     pyobj 
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len()); 
23378     pyobj 
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len()); 
23385 SWIGINTERN 
int PreviewCanvasNameStr_set(PyObject 
*) { 
23386   SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only."); 
23391 SWIGINTERN PyObject 
*PreviewCanvasNameStr_get(void) { 
23392   PyObject 
*pyobj 
= 0; 
23396     pyobj 
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len()); 
23398     pyobj 
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len()); 
23405 SWIGINTERN PyObject 
*_wrap_new_PrintData__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**SWIGUNUSEDPARM(swig_obj
)) { 
23406   PyObject 
*resultobj 
= 0; 
23407   wxPrintData 
*result 
= 0 ; 
23409   if ((nobjs 
< 0) || (nobjs 
> 0)) SWIG_fail
; 
23411     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23412     result 
= (wxPrintData 
*)new wxPrintData(); 
23413     wxPyEndAllowThreads(__tstate
); 
23414     if (PyErr_Occurred()) SWIG_fail
; 
23416   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW 
|  0 ); 
23423 SWIGINTERN PyObject 
*_wrap_new_PrintData__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
23424   PyObject 
*resultobj 
= 0; 
23425   wxPrintData 
*arg1 
= 0 ; 
23426   wxPrintData 
*result 
= 0 ; 
23430   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
23431   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
23432   if (!SWIG_IsOK(res1
)) { 
23433     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
23436     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
23438   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23440     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23441     result 
= (wxPrintData 
*)new wxPrintData((wxPrintData 
const &)*arg1
); 
23442     wxPyEndAllowThreads(__tstate
); 
23443     if (PyErr_Occurred()) SWIG_fail
; 
23445   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW 
|  0 ); 
23452 SWIGINTERN PyObject 
*_wrap_new_PrintData(PyObject 
*self
, PyObject 
*args
) { 
23456   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
; 
23459     return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
); 
23462     return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
); 
23466   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'"); 
23471 SWIGINTERN PyObject 
*_wrap_delete_PrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23472   PyObject 
*resultobj 
= 0; 
23473   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23476   PyObject 
*swig_obj
[1] ; 
23478   if (!args
) SWIG_fail
; 
23479   swig_obj
[0] = args
; 
23480   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN 
|  0 ); 
23481   if (!SWIG_IsOK(res1
)) { 
23482     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23484   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23486     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23489     wxPyEndAllowThreads(__tstate
); 
23490     if (PyErr_Occurred()) SWIG_fail
; 
23492   resultobj 
= SWIG_Py_Void(); 
23499 SWIGINTERN PyObject 
*_wrap_PrintData_GetNoCopies(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23500   PyObject 
*resultobj 
= 0; 
23501   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23505   PyObject 
*swig_obj
[1] ; 
23507   if (!args
) SWIG_fail
; 
23508   swig_obj
[0] = args
; 
23509   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23510   if (!SWIG_IsOK(res1
)) { 
23511     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23513   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23515     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23516     result 
= (int)(arg1
)->GetNoCopies(); 
23517     wxPyEndAllowThreads(__tstate
); 
23518     if (PyErr_Occurred()) SWIG_fail
; 
23520   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23527 SWIGINTERN PyObject 
*_wrap_PrintData_GetCollate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23528   PyObject 
*resultobj 
= 0; 
23529   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23533   PyObject 
*swig_obj
[1] ; 
23535   if (!args
) SWIG_fail
; 
23536   swig_obj
[0] = args
; 
23537   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23538   if (!SWIG_IsOK(res1
)) { 
23539     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23541   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23543     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23544     result 
= (bool)(arg1
)->GetCollate(); 
23545     wxPyEndAllowThreads(__tstate
); 
23546     if (PyErr_Occurred()) SWIG_fail
; 
23549     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23557 SWIGINTERN PyObject 
*_wrap_PrintData_GetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23558   PyObject 
*resultobj 
= 0; 
23559   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23563   PyObject 
*swig_obj
[1] ; 
23565   if (!args
) SWIG_fail
; 
23566   swig_obj
[0] = args
; 
23567   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23568   if (!SWIG_IsOK(res1
)) { 
23569     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23571   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23573     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23574     result 
= (int)(arg1
)->GetOrientation(); 
23575     wxPyEndAllowThreads(__tstate
); 
23576     if (PyErr_Occurred()) SWIG_fail
; 
23578   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23585 SWIGINTERN PyObject 
*_wrap_PrintData_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23586   PyObject 
*resultobj 
= 0; 
23587   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23591   PyObject 
*swig_obj
[1] ; 
23593   if (!args
) SWIG_fail
; 
23594   swig_obj
[0] = args
; 
23595   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23596   if (!SWIG_IsOK(res1
)) { 
23597     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23599   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23601     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23602     result 
= (bool)(arg1
)->Ok(); 
23603     wxPyEndAllowThreads(__tstate
); 
23604     if (PyErr_Occurred()) SWIG_fail
; 
23607     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23615 SWIGINTERN PyObject 
*_wrap_PrintData_GetPrinterName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23616   PyObject 
*resultobj 
= 0; 
23617   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23618   wxString 
*result 
= 0 ; 
23621   PyObject 
*swig_obj
[1] ; 
23623   if (!args
) SWIG_fail
; 
23624   swig_obj
[0] = args
; 
23625   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23626   if (!SWIG_IsOK(res1
)) { 
23627     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23629   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23631     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23633       wxString 
const &_result_ref 
= (arg1
)->GetPrinterName(); 
23634       result 
= (wxString 
*) &_result_ref
; 
23636     wxPyEndAllowThreads(__tstate
); 
23637     if (PyErr_Occurred()) SWIG_fail
; 
23641     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
23643     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
23652 SWIGINTERN PyObject 
*_wrap_PrintData_GetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23653   PyObject 
*resultobj 
= 0; 
23654   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23658   PyObject 
*swig_obj
[1] ; 
23660   if (!args
) SWIG_fail
; 
23661   swig_obj
[0] = args
; 
23662   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23663   if (!SWIG_IsOK(res1
)) { 
23664     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23666   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23668     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23669     result 
= (bool)(arg1
)->GetColour(); 
23670     wxPyEndAllowThreads(__tstate
); 
23671     if (PyErr_Occurred()) SWIG_fail
; 
23674     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23682 SWIGINTERN PyObject 
*_wrap_PrintData_GetDuplex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23683   PyObject 
*resultobj 
= 0; 
23684   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23685   wxDuplexMode result
; 
23688   PyObject 
*swig_obj
[1] ; 
23690   if (!args
) SWIG_fail
; 
23691   swig_obj
[0] = args
; 
23692   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23693   if (!SWIG_IsOK(res1
)) { 
23694     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23696   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23698     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23699     result 
= (wxDuplexMode
)(arg1
)->GetDuplex(); 
23700     wxPyEndAllowThreads(__tstate
); 
23701     if (PyErr_Occurred()) SWIG_fail
; 
23703   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23710 SWIGINTERN PyObject 
*_wrap_PrintData_GetPaperId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23711   PyObject 
*resultobj 
= 0; 
23712   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23713   wxPaperSize result
; 
23716   PyObject 
*swig_obj
[1] ; 
23718   if (!args
) SWIG_fail
; 
23719   swig_obj
[0] = args
; 
23720   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23721   if (!SWIG_IsOK(res1
)) { 
23722     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23724   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23726     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23727     result 
= (wxPaperSize
)(arg1
)->GetPaperId(); 
23728     wxPyEndAllowThreads(__tstate
); 
23729     if (PyErr_Occurred()) SWIG_fail
; 
23731   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23738 SWIGINTERN PyObject 
*_wrap_PrintData_GetPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23739   PyObject 
*resultobj 
= 0; 
23740   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23741   wxSize 
*result 
= 0 ; 
23744   PyObject 
*swig_obj
[1] ; 
23746   if (!args
) SWIG_fail
; 
23747   swig_obj
[0] = args
; 
23748   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23749   if (!SWIG_IsOK(res1
)) { 
23750     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23752   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23754     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23756       wxSize 
const &_result_ref 
= (arg1
)->GetPaperSize(); 
23757       result 
= (wxSize 
*) &_result_ref
; 
23759     wxPyEndAllowThreads(__tstate
); 
23760     if (PyErr_Occurred()) SWIG_fail
; 
23762   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 |  0 ); 
23769 SWIGINTERN PyObject 
*_wrap_PrintData_GetQuality(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23770   PyObject 
*resultobj 
= 0; 
23771   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23775   PyObject 
*swig_obj
[1] ; 
23777   if (!args
) SWIG_fail
; 
23778   swig_obj
[0] = args
; 
23779   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23780   if (!SWIG_IsOK(res1
)) { 
23781     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23783   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23785     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23786     result 
= (int)(arg1
)->GetQuality(); 
23787     wxPyEndAllowThreads(__tstate
); 
23788     if (PyErr_Occurred()) SWIG_fail
; 
23790   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23797 SWIGINTERN PyObject 
*_wrap_PrintData_GetBin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23798   PyObject 
*resultobj 
= 0; 
23799   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23803   PyObject 
*swig_obj
[1] ; 
23805   if (!args
) SWIG_fail
; 
23806   swig_obj
[0] = args
; 
23807   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23808   if (!SWIG_IsOK(res1
)) { 
23809     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23811   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23813     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23814     result 
= (wxPrintBin
)(arg1
)->GetBin(); 
23815     wxPyEndAllowThreads(__tstate
); 
23816     if (PyErr_Occurred()) SWIG_fail
; 
23818   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23825 SWIGINTERN PyObject 
*_wrap_PrintData_GetPrintMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23826   PyObject 
*resultobj 
= 0; 
23827   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23828   wxPrintMode result
; 
23831   PyObject 
*swig_obj
[1] ; 
23833   if (!args
) SWIG_fail
; 
23834   swig_obj
[0] = args
; 
23835   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23836   if (!SWIG_IsOK(res1
)) { 
23837     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");  
23839   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23841     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23842     result 
= (wxPrintMode
)((wxPrintData 
const *)arg1
)->GetPrintMode(); 
23843     wxPyEndAllowThreads(__tstate
); 
23844     if (PyErr_Occurred()) SWIG_fail
; 
23846   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23853 SWIGINTERN PyObject 
*_wrap_PrintData_SetNoCopies(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23854   PyObject 
*resultobj 
= 0; 
23855   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23861   PyObject 
* obj0 
= 0 ; 
23862   PyObject 
* obj1 
= 0 ; 
23863   char *  kwnames
[] = { 
23864     (char *) "self",(char *) "v", NULL 
 
23867   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23868   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23869   if (!SWIG_IsOK(res1
)) { 
23870     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23872   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23873   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
23874   if (!SWIG_IsOK(ecode2
)) { 
23875     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'"); 
23877   arg2 
= static_cast< int >(val2
); 
23879     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23880     (arg1
)->SetNoCopies(arg2
); 
23881     wxPyEndAllowThreads(__tstate
); 
23882     if (PyErr_Occurred()) SWIG_fail
; 
23884   resultobj 
= SWIG_Py_Void(); 
23891 SWIGINTERN PyObject 
*_wrap_PrintData_SetCollate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23892   PyObject 
*resultobj 
= 0; 
23893   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23899   PyObject 
* obj0 
= 0 ; 
23900   PyObject 
* obj1 
= 0 ; 
23901   char *  kwnames
[] = { 
23902     (char *) "self",(char *) "flag", NULL 
 
23905   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23906   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23907   if (!SWIG_IsOK(res1
)) { 
23908     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23910   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23911   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
23912   if (!SWIG_IsOK(ecode2
)) { 
23913     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'"); 
23915   arg2 
= static_cast< bool >(val2
); 
23917     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23918     (arg1
)->SetCollate(arg2
); 
23919     wxPyEndAllowThreads(__tstate
); 
23920     if (PyErr_Occurred()) SWIG_fail
; 
23922   resultobj 
= SWIG_Py_Void(); 
23929 SWIGINTERN PyObject 
*_wrap_PrintData_SetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23930   PyObject 
*resultobj 
= 0; 
23931   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23937   PyObject 
* obj0 
= 0 ; 
23938   PyObject 
* obj1 
= 0 ; 
23939   char *  kwnames
[] = { 
23940     (char *) "self",(char *) "orient", NULL 
 
23943   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23944   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23945   if (!SWIG_IsOK(res1
)) { 
23946     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23948   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23949   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
23950   if (!SWIG_IsOK(ecode2
)) { 
23951     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'"); 
23953   arg2 
= static_cast< int >(val2
); 
23955     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23956     (arg1
)->SetOrientation(arg2
); 
23957     wxPyEndAllowThreads(__tstate
); 
23958     if (PyErr_Occurred()) SWIG_fail
; 
23960   resultobj 
= SWIG_Py_Void(); 
23967 SWIGINTERN PyObject 
*_wrap_PrintData_SetPrinterName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23968   PyObject 
*resultobj 
= 0; 
23969   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23970   wxString 
*arg2 
= 0 ; 
23973   bool temp2 
= false ; 
23974   PyObject 
* obj0 
= 0 ; 
23975   PyObject 
* obj1 
= 0 ; 
23976   char *  kwnames
[] = { 
23977     (char *) "self",(char *) "name", NULL 
 
23980   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23981   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23982   if (!SWIG_IsOK(res1
)) { 
23983     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23985   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23987     arg2 
= wxString_in_helper(obj1
); 
23988     if (arg2 
== NULL
) SWIG_fail
; 
23992     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23993     (arg1
)->SetPrinterName((wxString 
const &)*arg2
); 
23994     wxPyEndAllowThreads(__tstate
); 
23995     if (PyErr_Occurred()) SWIG_fail
; 
23997   resultobj 
= SWIG_Py_Void(); 
24012 SWIGINTERN PyObject 
*_wrap_PrintData_SetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24013   PyObject 
*resultobj 
= 0; 
24014   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24020   PyObject 
* obj0 
= 0 ; 
24021   PyObject 
* obj1 
= 0 ; 
24022   char *  kwnames
[] = { 
24023     (char *) "self",(char *) "colour", NULL 
 
24026   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24027   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24028   if (!SWIG_IsOK(res1
)) { 
24029     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24031   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24032   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24033   if (!SWIG_IsOK(ecode2
)) { 
24034     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'"); 
24036   arg2 
= static_cast< bool >(val2
); 
24038     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24039     (arg1
)->SetColour(arg2
); 
24040     wxPyEndAllowThreads(__tstate
); 
24041     if (PyErr_Occurred()) SWIG_fail
; 
24043   resultobj 
= SWIG_Py_Void(); 
24050 SWIGINTERN PyObject 
*_wrap_PrintData_SetDuplex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24051   PyObject 
*resultobj 
= 0; 
24052   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24053   wxDuplexMode arg2 
; 
24058   PyObject 
* obj0 
= 0 ; 
24059   PyObject 
* obj1 
= 0 ; 
24060   char *  kwnames
[] = { 
24061     (char *) "self",(char *) "duplex", NULL 
 
24064   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24065   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24066   if (!SWIG_IsOK(res1
)) { 
24067     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24069   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24070   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24071   if (!SWIG_IsOK(ecode2
)) { 
24072     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'"); 
24074   arg2 
= static_cast< wxDuplexMode 
>(val2
); 
24076     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24077     (arg1
)->SetDuplex(arg2
); 
24078     wxPyEndAllowThreads(__tstate
); 
24079     if (PyErr_Occurred()) SWIG_fail
; 
24081   resultobj 
= SWIG_Py_Void(); 
24088 SWIGINTERN PyObject 
*_wrap_PrintData_SetPaperId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24089   PyObject 
*resultobj 
= 0; 
24090   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24096   PyObject 
* obj0 
= 0 ; 
24097   PyObject 
* obj1 
= 0 ; 
24098   char *  kwnames
[] = { 
24099     (char *) "self",(char *) "sizeId", NULL 
 
24102   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24103   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24104   if (!SWIG_IsOK(res1
)) { 
24105     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24107   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24108   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24109   if (!SWIG_IsOK(ecode2
)) { 
24110     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'"); 
24112   arg2 
= static_cast< wxPaperSize 
>(val2
); 
24114     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24115     (arg1
)->SetPaperId(arg2
); 
24116     wxPyEndAllowThreads(__tstate
); 
24117     if (PyErr_Occurred()) SWIG_fail
; 
24119   resultobj 
= SWIG_Py_Void(); 
24126 SWIGINTERN PyObject 
*_wrap_PrintData_SetPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24127   PyObject 
*resultobj 
= 0; 
24128   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24133   PyObject 
* obj0 
= 0 ; 
24134   PyObject 
* obj1 
= 0 ; 
24135   char *  kwnames
[] = { 
24136     (char *) "self",(char *) "sz", NULL 
 
24139   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24140   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24141   if (!SWIG_IsOK(res1
)) { 
24142     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24144   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24147     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
24150     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24151     (arg1
)->SetPaperSize((wxSize 
const &)*arg2
); 
24152     wxPyEndAllowThreads(__tstate
); 
24153     if (PyErr_Occurred()) SWIG_fail
; 
24155   resultobj 
= SWIG_Py_Void(); 
24162 SWIGINTERN PyObject 
*_wrap_PrintData_SetQuality(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24163   PyObject 
*resultobj 
= 0; 
24164   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24170   PyObject 
* obj0 
= 0 ; 
24171   PyObject 
* obj1 
= 0 ; 
24172   char *  kwnames
[] = { 
24173     (char *) "self",(char *) "quality", NULL 
 
24176   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24177   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24178   if (!SWIG_IsOK(res1
)) { 
24179     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24181   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24182   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24183   if (!SWIG_IsOK(ecode2
)) { 
24184     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'"); 
24186   arg2 
= static_cast< int >(val2
); 
24188     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24189     (arg1
)->SetQuality(arg2
); 
24190     wxPyEndAllowThreads(__tstate
); 
24191     if (PyErr_Occurred()) SWIG_fail
; 
24193   resultobj 
= SWIG_Py_Void(); 
24200 SWIGINTERN PyObject 
*_wrap_PrintData_SetBin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24201   PyObject 
*resultobj 
= 0; 
24202   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24208   PyObject 
* obj0 
= 0 ; 
24209   PyObject 
* obj1 
= 0 ; 
24210   char *  kwnames
[] = { 
24211     (char *) "self",(char *) "bin", NULL 
 
24214   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24215   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24216   if (!SWIG_IsOK(res1
)) { 
24217     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24219   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24220   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24221   if (!SWIG_IsOK(ecode2
)) { 
24222     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'"); 
24224   arg2 
= static_cast< wxPrintBin 
>(val2
); 
24226     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24227     (arg1
)->SetBin(arg2
); 
24228     wxPyEndAllowThreads(__tstate
); 
24229     if (PyErr_Occurred()) SWIG_fail
; 
24231   resultobj 
= SWIG_Py_Void(); 
24238 SWIGINTERN PyObject 
*_wrap_PrintData_SetPrintMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24239   PyObject 
*resultobj 
= 0; 
24240   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24246   PyObject 
* obj0 
= 0 ; 
24247   PyObject 
* obj1 
= 0 ; 
24248   char *  kwnames
[] = { 
24249     (char *) "self",(char *) "printMode", NULL 
 
24252   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24253   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24254   if (!SWIG_IsOK(res1
)) { 
24255     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24257   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24258   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24259   if (!SWIG_IsOK(ecode2
)) { 
24260     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'"); 
24262   arg2 
= static_cast< wxPrintMode 
>(val2
); 
24264     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24265     (arg1
)->SetPrintMode(arg2
); 
24266     wxPyEndAllowThreads(__tstate
); 
24267     if (PyErr_Occurred()) SWIG_fail
; 
24269   resultobj 
= SWIG_Py_Void(); 
24276 SWIGINTERN PyObject 
*_wrap_PrintData_GetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24277   PyObject 
*resultobj 
= 0; 
24278   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24282   PyObject 
*swig_obj
[1] ; 
24284   if (!args
) SWIG_fail
; 
24285   swig_obj
[0] = args
; 
24286   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24287   if (!SWIG_IsOK(res1
)) { 
24288     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");  
24290   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24292     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24293     result 
= ((wxPrintData 
const *)arg1
)->GetFilename(); 
24294     wxPyEndAllowThreads(__tstate
); 
24295     if (PyErr_Occurred()) SWIG_fail
; 
24299     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
24301     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
24310 SWIGINTERN PyObject 
*_wrap_PrintData_SetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24311   PyObject 
*resultobj 
= 0; 
24312   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24313   wxString 
*arg2 
= 0 ; 
24316   bool temp2 
= false ; 
24317   PyObject 
* obj0 
= 0 ; 
24318   PyObject 
* obj1 
= 0 ; 
24319   char *  kwnames
[] = { 
24320     (char *) "self",(char *) "filename", NULL 
 
24323   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24324   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24325   if (!SWIG_IsOK(res1
)) { 
24326     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24328   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24330     arg2 
= wxString_in_helper(obj1
); 
24331     if (arg2 
== NULL
) SWIG_fail
; 
24335     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24336     (arg1
)->SetFilename((wxString 
const &)*arg2
); 
24337     wxPyEndAllowThreads(__tstate
); 
24338     if (PyErr_Occurred()) SWIG_fail
; 
24340   resultobj 
= SWIG_Py_Void(); 
24355 SWIGINTERN PyObject 
*_wrap_PrintData_GetPrivData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24356   PyObject 
*resultobj 
= 0; 
24357   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24358   PyObject 
*result 
= 0 ; 
24361   PyObject 
*swig_obj
[1] ; 
24363   if (!args
) SWIG_fail
; 
24364   swig_obj
[0] = args
; 
24365   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24366   if (!SWIG_IsOK(res1
)) { 
24367     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24369   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24371     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24372     result 
= (PyObject 
*)wxPrintData_GetPrivData(arg1
); 
24373     wxPyEndAllowThreads(__tstate
); 
24374     if (PyErr_Occurred()) SWIG_fail
; 
24376   resultobj 
= result
; 
24383 SWIGINTERN PyObject 
*_wrap_PrintData_SetPrivData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24384   PyObject 
*resultobj 
= 0; 
24385   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24386   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
24389   PyObject 
* obj0 
= 0 ; 
24390   PyObject 
* obj1 
= 0 ; 
24391   char *  kwnames
[] = { 
24392     (char *) "self",(char *) "data", NULL 
 
24395   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24396   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24397   if (!SWIG_IsOK(res1
)) { 
24398     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24400   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24403     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24404     wxPrintData_SetPrivData(arg1
,arg2
); 
24405     wxPyEndAllowThreads(__tstate
); 
24406     if (PyErr_Occurred()) SWIG_fail
; 
24408   resultobj 
= SWIG_Py_Void(); 
24415 SWIGINTERN PyObject 
*PrintData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24417   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
24418   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
)); 
24419   return SWIG_Py_Void(); 
24422 SWIGINTERN PyObject 
*PrintData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24423   return SWIG_Python_InitShadowInstance(args
); 
24426 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**SWIGUNUSEDPARM(swig_obj
)) { 
24427   PyObject 
*resultobj 
= 0; 
24428   wxPageSetupDialogData 
*result 
= 0 ; 
24430   if ((nobjs 
< 0) || (nobjs 
> 0)) SWIG_fail
; 
24432     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24433     result 
= (wxPageSetupDialogData 
*)new wxPageSetupDialogData(); 
24434     wxPyEndAllowThreads(__tstate
); 
24435     if (PyErr_Occurred()) SWIG_fail
; 
24437   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW 
|  0 ); 
24444 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
24445   PyObject 
*resultobj 
= 0; 
24446   wxPageSetupDialogData 
*arg1 
= 0 ; 
24447   wxPageSetupDialogData 
*result 
= 0 ; 
24451   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
24452   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
,  0  | 0); 
24453   if (!SWIG_IsOK(res1
)) { 
24454     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");  
24457     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");  
24459   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24461     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24462     result 
= (wxPageSetupDialogData 
*)new wxPageSetupDialogData((wxPageSetupDialogData 
const &)*arg1
); 
24463     wxPyEndAllowThreads(__tstate
); 
24464     if (PyErr_Occurred()) SWIG_fail
; 
24466   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW 
|  0 ); 
24473 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
24474   PyObject 
*resultobj 
= 0; 
24475   wxPrintData 
*arg1 
= 0 ; 
24476   wxPageSetupDialogData 
*result 
= 0 ; 
24480   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
24481   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
24482   if (!SWIG_IsOK(res1
)) { 
24483     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
24486     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
24488   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24490     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24491     result 
= (wxPageSetupDialogData 
*)new wxPageSetupDialogData((wxPrintData 
const &)*arg1
); 
24492     wxPyEndAllowThreads(__tstate
); 
24493     if (PyErr_Occurred()) SWIG_fail
; 
24495   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW 
|  0 ); 
24502 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialogData(PyObject 
*self
, PyObject 
*args
) { 
24506   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
; 
24509     return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
); 
24514       int res 
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0); 
24515       _v 
= SWIG_CheckState(res
); 
24517     if (!_v
) goto check_2
; 
24518     return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
); 
24523     return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
); 
24527   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'"); 
24532 SWIGINTERN PyObject 
*_wrap_delete_PageSetupDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24533   PyObject 
*resultobj 
= 0; 
24534   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24537   PyObject 
*swig_obj
[1] ; 
24539   if (!args
) SWIG_fail
; 
24540   swig_obj
[0] = args
; 
24541   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN 
|  0 ); 
24542   if (!SWIG_IsOK(res1
)) { 
24543     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24545   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24547     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24550     wxPyEndAllowThreads(__tstate
); 
24551     if (PyErr_Occurred()) SWIG_fail
; 
24553   resultobj 
= SWIG_Py_Void(); 
24560 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnableHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24561   PyObject 
*resultobj 
= 0; 
24562   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24568   PyObject 
* obj0 
= 0 ; 
24569   PyObject 
* obj1 
= 0 ; 
24570   char *  kwnames
[] = { 
24571     (char *) "self",(char *) "flag", NULL 
 
24574   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24575   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24576   if (!SWIG_IsOK(res1
)) { 
24577     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24579   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24580   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24581   if (!SWIG_IsOK(ecode2
)) { 
24582     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'"); 
24584   arg2 
= static_cast< bool >(val2
); 
24586     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24587     (arg1
)->EnableHelp(arg2
); 
24588     wxPyEndAllowThreads(__tstate
); 
24589     if (PyErr_Occurred()) SWIG_fail
; 
24591   resultobj 
= SWIG_Py_Void(); 
24598 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnableMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24599   PyObject 
*resultobj 
= 0; 
24600   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24606   PyObject 
* obj0 
= 0 ; 
24607   PyObject 
* obj1 
= 0 ; 
24608   char *  kwnames
[] = { 
24609     (char *) "self",(char *) "flag", NULL 
 
24612   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24613   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24614   if (!SWIG_IsOK(res1
)) { 
24615     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24617   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24618   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24619   if (!SWIG_IsOK(ecode2
)) { 
24620     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'"); 
24622   arg2 
= static_cast< bool >(val2
); 
24624     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24625     (arg1
)->EnableMargins(arg2
); 
24626     wxPyEndAllowThreads(__tstate
); 
24627     if (PyErr_Occurred()) SWIG_fail
; 
24629   resultobj 
= SWIG_Py_Void(); 
24636 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnableOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24637   PyObject 
*resultobj 
= 0; 
24638   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24644   PyObject 
* obj0 
= 0 ; 
24645   PyObject 
* obj1 
= 0 ; 
24646   char *  kwnames
[] = { 
24647     (char *) "self",(char *) "flag", NULL 
 
24650   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24651   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24652   if (!SWIG_IsOK(res1
)) { 
24653     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24655   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24656   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24657   if (!SWIG_IsOK(ecode2
)) { 
24658     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'"); 
24660   arg2 
= static_cast< bool >(val2
); 
24662     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24663     (arg1
)->EnableOrientation(arg2
); 
24664     wxPyEndAllowThreads(__tstate
); 
24665     if (PyErr_Occurred()) SWIG_fail
; 
24667   resultobj 
= SWIG_Py_Void(); 
24674 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnablePaper(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24675   PyObject 
*resultobj 
= 0; 
24676   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24682   PyObject 
* obj0 
= 0 ; 
24683   PyObject 
* obj1 
= 0 ; 
24684   char *  kwnames
[] = { 
24685     (char *) "self",(char *) "flag", NULL 
 
24688   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24689   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24690   if (!SWIG_IsOK(res1
)) { 
24691     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24693   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24694   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24695   if (!SWIG_IsOK(ecode2
)) { 
24696     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'"); 
24698   arg2 
= static_cast< bool >(val2
); 
24700     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24701     (arg1
)->EnablePaper(arg2
); 
24702     wxPyEndAllowThreads(__tstate
); 
24703     if (PyErr_Occurred()) SWIG_fail
; 
24705   resultobj 
= SWIG_Py_Void(); 
24712 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnablePrinter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24713   PyObject 
*resultobj 
= 0; 
24714   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24720   PyObject 
* obj0 
= 0 ; 
24721   PyObject 
* obj1 
= 0 ; 
24722   char *  kwnames
[] = { 
24723     (char *) "self",(char *) "flag", NULL 
 
24726   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24727   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24728   if (!SWIG_IsOK(res1
)) { 
24729     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24731   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24732   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24733   if (!SWIG_IsOK(ecode2
)) { 
24734     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'"); 
24736   arg2 
= static_cast< bool >(val2
); 
24738     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24739     (arg1
)->EnablePrinter(arg2
); 
24740     wxPyEndAllowThreads(__tstate
); 
24741     if (PyErr_Occurred()) SWIG_fail
; 
24743   resultobj 
= SWIG_Py_Void(); 
24750 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24751   PyObject 
*resultobj 
= 0; 
24752   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24756   PyObject 
*swig_obj
[1] ; 
24758   if (!args
) SWIG_fail
; 
24759   swig_obj
[0] = args
; 
24760   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24761   if (!SWIG_IsOK(res1
)) { 
24762     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24764   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24766     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24767     result 
= (bool)(arg1
)->GetDefaultMinMargins(); 
24768     wxPyEndAllowThreads(__tstate
); 
24769     if (PyErr_Occurred()) SWIG_fail
; 
24772     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24780 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24781   PyObject 
*resultobj 
= 0; 
24782   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24786   PyObject 
*swig_obj
[1] ; 
24788   if (!args
) SWIG_fail
; 
24789   swig_obj
[0] = args
; 
24790   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24791   if (!SWIG_IsOK(res1
)) { 
24792     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24794   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24796     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24797     result 
= (bool)(arg1
)->GetEnableMargins(); 
24798     wxPyEndAllowThreads(__tstate
); 
24799     if (PyErr_Occurred()) SWIG_fail
; 
24802     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24810 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24811   PyObject 
*resultobj 
= 0; 
24812   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24816   PyObject 
*swig_obj
[1] ; 
24818   if (!args
) SWIG_fail
; 
24819   swig_obj
[0] = args
; 
24820   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24821   if (!SWIG_IsOK(res1
)) { 
24822     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24824   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24826     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24827     result 
= (bool)(arg1
)->GetEnableOrientation(); 
24828     wxPyEndAllowThreads(__tstate
); 
24829     if (PyErr_Occurred()) SWIG_fail
; 
24832     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24840 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24841   PyObject 
*resultobj 
= 0; 
24842   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24846   PyObject 
*swig_obj
[1] ; 
24848   if (!args
) SWIG_fail
; 
24849   swig_obj
[0] = args
; 
24850   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24851   if (!SWIG_IsOK(res1
)) { 
24852     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24854   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24856     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24857     result 
= (bool)(arg1
)->GetEnablePaper(); 
24858     wxPyEndAllowThreads(__tstate
); 
24859     if (PyErr_Occurred()) SWIG_fail
; 
24862     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24870 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24871   PyObject 
*resultobj 
= 0; 
24872   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24876   PyObject 
*swig_obj
[1] ; 
24878   if (!args
) SWIG_fail
; 
24879   swig_obj
[0] = args
; 
24880   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24881   if (!SWIG_IsOK(res1
)) { 
24882     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24884   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24886     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24887     result 
= (bool)(arg1
)->GetEnablePrinter(); 
24888     wxPyEndAllowThreads(__tstate
); 
24889     if (PyErr_Occurred()) SWIG_fail
; 
24892     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24900 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24901   PyObject 
*resultobj 
= 0; 
24902   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24906   PyObject 
*swig_obj
[1] ; 
24908   if (!args
) SWIG_fail
; 
24909   swig_obj
[0] = args
; 
24910   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24911   if (!SWIG_IsOK(res1
)) { 
24912     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24914   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24916     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24917     result 
= (bool)(arg1
)->GetEnableHelp(); 
24918     wxPyEndAllowThreads(__tstate
); 
24919     if (PyErr_Occurred()) SWIG_fail
; 
24922     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24930 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24931   PyObject 
*resultobj 
= 0; 
24932   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24936   PyObject 
*swig_obj
[1] ; 
24938   if (!args
) SWIG_fail
; 
24939   swig_obj
[0] = args
; 
24940   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24941   if (!SWIG_IsOK(res1
)) { 
24942     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24944   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24946     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24947     result 
= (bool)(arg1
)->GetDefaultInfo(); 
24948     wxPyEndAllowThreads(__tstate
); 
24949     if (PyErr_Occurred()) SWIG_fail
; 
24952     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24960 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24961   PyObject 
*resultobj 
= 0; 
24962   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24966   PyObject 
*swig_obj
[1] ; 
24968   if (!args
) SWIG_fail
; 
24969   swig_obj
[0] = args
; 
24970   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24971   if (!SWIG_IsOK(res1
)) { 
24972     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24974   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24976     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24977     result 
= (arg1
)->GetMarginTopLeft(); 
24978     wxPyEndAllowThreads(__tstate
); 
24979     if (PyErr_Occurred()) SWIG_fail
; 
24981   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
24988 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24989   PyObject 
*resultobj 
= 0; 
24990   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24994   PyObject 
*swig_obj
[1] ; 
24996   if (!args
) SWIG_fail
; 
24997   swig_obj
[0] = args
; 
24998   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24999   if (!SWIG_IsOK(res1
)) { 
25000     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25002   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25004     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25005     result 
= (arg1
)->GetMarginBottomRight(); 
25006     wxPyEndAllowThreads(__tstate
); 
25007     if (PyErr_Occurred()) SWIG_fail
; 
25009   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
25016 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25017   PyObject 
*resultobj 
= 0; 
25018   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25022   PyObject 
*swig_obj
[1] ; 
25024   if (!args
) SWIG_fail
; 
25025   swig_obj
[0] = args
; 
25026   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25027   if (!SWIG_IsOK(res1
)) { 
25028     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25030   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25032     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25033     result 
= (arg1
)->GetMinMarginTopLeft(); 
25034     wxPyEndAllowThreads(__tstate
); 
25035     if (PyErr_Occurred()) SWIG_fail
; 
25037   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
25044 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25045   PyObject 
*resultobj 
= 0; 
25046   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25050   PyObject 
*swig_obj
[1] ; 
25052   if (!args
) SWIG_fail
; 
25053   swig_obj
[0] = args
; 
25054   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25055   if (!SWIG_IsOK(res1
)) { 
25056     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25058   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25060     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25061     result 
= (arg1
)->GetMinMarginBottomRight(); 
25062     wxPyEndAllowThreads(__tstate
); 
25063     if (PyErr_Occurred()) SWIG_fail
; 
25065   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
25072 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetPaperId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25073   PyObject 
*resultobj 
= 0; 
25074   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25075   wxPaperSize result
; 
25078   PyObject 
*swig_obj
[1] ; 
25080   if (!args
) SWIG_fail
; 
25081   swig_obj
[0] = args
; 
25082   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25083   if (!SWIG_IsOK(res1
)) { 
25084     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25086   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25088     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25089     result 
= (wxPaperSize
)(arg1
)->GetPaperId(); 
25090     wxPyEndAllowThreads(__tstate
); 
25091     if (PyErr_Occurred()) SWIG_fail
; 
25093   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
25100 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25101   PyObject 
*resultobj 
= 0; 
25102   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25106   PyObject 
*swig_obj
[1] ; 
25108   if (!args
) SWIG_fail
; 
25109   swig_obj
[0] = args
; 
25110   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25111   if (!SWIG_IsOK(res1
)) { 
25112     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25114   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25116     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25117     result 
= (arg1
)->GetPaperSize(); 
25118     wxPyEndAllowThreads(__tstate
); 
25119     if (PyErr_Occurred()) SWIG_fail
; 
25121   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
25128 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25129   PyObject 
*resultobj 
= 0; 
25130   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25131   wxPrintData 
*result 
= 0 ; 
25134   PyObject 
*swig_obj
[1] ; 
25136   if (!args
) SWIG_fail
; 
25137   swig_obj
[0] = args
; 
25138   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25139   if (!SWIG_IsOK(res1
)) { 
25140     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25142   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25144     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25146       wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
25147       result 
= (wxPrintData 
*) &_result_ref
; 
25149     wxPyEndAllowThreads(__tstate
); 
25150     if (PyErr_Occurred()) SWIG_fail
; 
25152   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
25159 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25160   PyObject 
*resultobj 
= 0; 
25161   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25165   PyObject 
*swig_obj
[1] ; 
25167   if (!args
) SWIG_fail
; 
25168   swig_obj
[0] = args
; 
25169   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25170   if (!SWIG_IsOK(res1
)) { 
25171     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25173   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25175     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25176     result 
= (bool)(arg1
)->Ok(); 
25177     wxPyEndAllowThreads(__tstate
); 
25178     if (PyErr_Occurred()) SWIG_fail
; 
25181     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25189 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25190   PyObject 
*resultobj 
= 0; 
25191   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25197   PyObject 
* obj0 
= 0 ; 
25198   PyObject 
* obj1 
= 0 ; 
25199   char *  kwnames
[] = { 
25200     (char *) "self",(char *) "flag", NULL 
 
25203   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25204   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25205   if (!SWIG_IsOK(res1
)) { 
25206     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25208   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25209   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
25210   if (!SWIG_IsOK(ecode2
)) { 
25211     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'"); 
25213   arg2 
= static_cast< bool >(val2
); 
25215     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25216     (arg1
)->SetDefaultInfo(arg2
); 
25217     wxPyEndAllowThreads(__tstate
); 
25218     if (PyErr_Occurred()) SWIG_fail
; 
25220   resultobj 
= SWIG_Py_Void(); 
25227 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25228   PyObject 
*resultobj 
= 0; 
25229   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25235   PyObject 
* obj0 
= 0 ; 
25236   PyObject 
* obj1 
= 0 ; 
25237   char *  kwnames
[] = { 
25238     (char *) "self",(char *) "flag", NULL 
 
25241   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25242   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25243   if (!SWIG_IsOK(res1
)) { 
25244     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25246   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25247   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
25248   if (!SWIG_IsOK(ecode2
)) { 
25249     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'"); 
25251   arg2 
= static_cast< bool >(val2
); 
25253     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25254     (arg1
)->SetDefaultMinMargins(arg2
); 
25255     wxPyEndAllowThreads(__tstate
); 
25256     if (PyErr_Occurred()) SWIG_fail
; 
25258   resultobj 
= SWIG_Py_Void(); 
25265 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25266   PyObject 
*resultobj 
= 0; 
25267   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25268   wxPoint 
*arg2 
= 0 ; 
25272   PyObject 
* obj0 
= 0 ; 
25273   PyObject 
* obj1 
= 0 ; 
25274   char *  kwnames
[] = { 
25275     (char *) "self",(char *) "pt", NULL 
 
25278   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25279   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25280   if (!SWIG_IsOK(res1
)) { 
25281     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25283   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25286     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25289     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25290     (arg1
)->SetMarginTopLeft((wxPoint 
const &)*arg2
); 
25291     wxPyEndAllowThreads(__tstate
); 
25292     if (PyErr_Occurred()) SWIG_fail
; 
25294   resultobj 
= SWIG_Py_Void(); 
25301 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25302   PyObject 
*resultobj 
= 0; 
25303   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25304   wxPoint 
*arg2 
= 0 ; 
25308   PyObject 
* obj0 
= 0 ; 
25309   PyObject 
* obj1 
= 0 ; 
25310   char *  kwnames
[] = { 
25311     (char *) "self",(char *) "pt", NULL 
 
25314   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25315   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25316   if (!SWIG_IsOK(res1
)) { 
25317     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25319   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25322     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25325     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25326     (arg1
)->SetMarginBottomRight((wxPoint 
const &)*arg2
); 
25327     wxPyEndAllowThreads(__tstate
); 
25328     if (PyErr_Occurred()) SWIG_fail
; 
25330   resultobj 
= SWIG_Py_Void(); 
25337 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25338   PyObject 
*resultobj 
= 0; 
25339   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25340   wxPoint 
*arg2 
= 0 ; 
25344   PyObject 
* obj0 
= 0 ; 
25345   PyObject 
* obj1 
= 0 ; 
25346   char *  kwnames
[] = { 
25347     (char *) "self",(char *) "pt", NULL 
 
25350   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25351   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25352   if (!SWIG_IsOK(res1
)) { 
25353     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25355   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25358     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25361     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25362     (arg1
)->SetMinMarginTopLeft((wxPoint 
const &)*arg2
); 
25363     wxPyEndAllowThreads(__tstate
); 
25364     if (PyErr_Occurred()) SWIG_fail
; 
25366   resultobj 
= SWIG_Py_Void(); 
25373 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25374   PyObject 
*resultobj 
= 0; 
25375   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25376   wxPoint 
*arg2 
= 0 ; 
25380   PyObject 
* obj0 
= 0 ; 
25381   PyObject 
* obj1 
= 0 ; 
25382   char *  kwnames
[] = { 
25383     (char *) "self",(char *) "pt", NULL 
 
25386   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25387   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25388   if (!SWIG_IsOK(res1
)) { 
25389     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25391   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25394     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25397     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25398     (arg1
)->SetMinMarginBottomRight((wxPoint 
const &)*arg2
); 
25399     wxPyEndAllowThreads(__tstate
); 
25400     if (PyErr_Occurred()) SWIG_fail
; 
25402   resultobj 
= SWIG_Py_Void(); 
25409 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetPaperId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25410   PyObject 
*resultobj 
= 0; 
25411   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25417   PyObject 
* obj0 
= 0 ; 
25418   PyObject 
* obj1 
= 0 ; 
25419   char *  kwnames
[] = { 
25420     (char *) "self",(char *) "id", NULL 
 
25423   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25424   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25425   if (!SWIG_IsOK(res1
)) { 
25426     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25428   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25429   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
25430   if (!SWIG_IsOK(ecode2
)) { 
25431     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'"); 
25433   arg2 
= static_cast< wxPaperSize 
>(val2
); 
25435     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25436     (arg1
)->SetPaperId(arg2
); 
25437     wxPyEndAllowThreads(__tstate
); 
25438     if (PyErr_Occurred()) SWIG_fail
; 
25440   resultobj 
= SWIG_Py_Void(); 
25447 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25448   PyObject 
*resultobj 
= 0; 
25449   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25454   PyObject 
* obj0 
= 0 ; 
25455   PyObject 
* obj1 
= 0 ; 
25456   char *  kwnames
[] = { 
25457     (char *) "self",(char *) "size", NULL 
 
25460   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25461   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25462   if (!SWIG_IsOK(res1
)) { 
25463     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25465   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25468     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
25471     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25472     (arg1
)->SetPaperSize((wxSize 
const &)*arg2
); 
25473     wxPyEndAllowThreads(__tstate
); 
25474     if (PyErr_Occurred()) SWIG_fail
; 
25476   resultobj 
= SWIG_Py_Void(); 
25483 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25484   PyObject 
*resultobj 
= 0; 
25485   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25486   wxPrintData 
*arg2 
= 0 ; 
25491   PyObject 
* obj0 
= 0 ; 
25492   PyObject 
* obj1 
= 0 ; 
25493   char *  kwnames
[] = { 
25494     (char *) "self",(char *) "printData", NULL 
 
25497   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25498   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25499   if (!SWIG_IsOK(res1
)) { 
25500     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25502   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25503   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
25504   if (!SWIG_IsOK(res2
)) { 
25505     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
25508     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
25510   arg2 
= reinterpret_cast< wxPrintData 
* >(argp2
); 
25512     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25513     (arg1
)->SetPrintData((wxPrintData 
const &)*arg2
); 
25514     wxPyEndAllowThreads(__tstate
); 
25515     if (PyErr_Occurred()) SWIG_fail
; 
25517   resultobj 
= SWIG_Py_Void(); 
25524 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25525   PyObject 
*resultobj 
= 0; 
25526   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25529   PyObject 
*swig_obj
[1] ; 
25531   if (!args
) SWIG_fail
; 
25532   swig_obj
[0] = args
; 
25533   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25534   if (!SWIG_IsOK(res1
)) { 
25535     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25537   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25539     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25540     (arg1
)->CalculateIdFromPaperSize(); 
25541     wxPyEndAllowThreads(__tstate
); 
25542     if (PyErr_Occurred()) SWIG_fail
; 
25544   resultobj 
= SWIG_Py_Void(); 
25551 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25552   PyObject 
*resultobj 
= 0; 
25553   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25556   PyObject 
*swig_obj
[1] ; 
25558   if (!args
) SWIG_fail
; 
25559   swig_obj
[0] = args
; 
25560   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25561   if (!SWIG_IsOK(res1
)) { 
25562     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25564   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25566     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25567     (arg1
)->CalculatePaperSizeFromId(); 
25568     wxPyEndAllowThreads(__tstate
); 
25569     if (PyErr_Occurred()) SWIG_fail
; 
25571   resultobj 
= SWIG_Py_Void(); 
25578 SWIGINTERN PyObject 
*PageSetupDialogData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25580   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
25581   SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
)); 
25582   return SWIG_Py_Void(); 
25585 SWIGINTERN PyObject 
*PageSetupDialogData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25586   return SWIG_Python_InitShadowInstance(args
); 
25589 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25590   PyObject 
*resultobj 
= 0; 
25591   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25592   wxPageSetupDialogData 
*arg2 
= (wxPageSetupDialogData 
*) NULL 
; 
25593   wxPageSetupDialog 
*result 
= 0 ; 
25598   PyObject 
* obj0 
= 0 ; 
25599   PyObject 
* obj1 
= 0 ; 
25600   char *  kwnames
[] = { 
25601     (char *) "parent",(char *) "data", NULL 
 
25604   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25605   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
25606   if (!SWIG_IsOK(res1
)) { 
25607     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
25609   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
25611     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25612     if (!SWIG_IsOK(res2
)) { 
25613       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");  
25615     arg2 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp2
); 
25618     if (!wxPyCheckForApp()) SWIG_fail
; 
25619     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25620     result 
= (wxPageSetupDialog 
*)new wxPageSetupDialog(arg1
,arg2
); 
25621     wxPyEndAllowThreads(__tstate
); 
25622     if (PyErr_Occurred()) SWIG_fail
; 
25624   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW 
|  0 ); 
25631 SWIGINTERN PyObject 
*_wrap_PageSetupDialog_GetPageSetupData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25632   PyObject 
*resultobj 
= 0; 
25633   wxPageSetupDialog 
*arg1 
= (wxPageSetupDialog 
*) 0 ; 
25634   wxPageSetupDialogData 
*result 
= 0 ; 
25637   PyObject 
*swig_obj
[1] ; 
25639   if (!args
) SWIG_fail
; 
25640   swig_obj
[0] = args
; 
25641   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 |  0 ); 
25642   if (!SWIG_IsOK(res1
)) { 
25643     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");  
25645   arg1 
= reinterpret_cast< wxPageSetupDialog 
* >(argp1
); 
25647     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25649       wxPageSetupDialogData 
&_result_ref 
= (arg1
)->GetPageSetupData(); 
25650       result 
= (wxPageSetupDialogData 
*) &_result_ref
; 
25652     wxPyEndAllowThreads(__tstate
); 
25653     if (PyErr_Occurred()) SWIG_fail
; 
25655   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25662 SWIGINTERN PyObject 
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25663   PyObject 
*resultobj 
= 0; 
25664   wxPageSetupDialog 
*arg1 
= (wxPageSetupDialog 
*) 0 ; 
25665   wxPageSetupDialogData 
*result 
= 0 ; 
25668   PyObject 
*swig_obj
[1] ; 
25670   if (!args
) SWIG_fail
; 
25671   swig_obj
[0] = args
; 
25672   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 |  0 ); 
25673   if (!SWIG_IsOK(res1
)) { 
25674     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");  
25676   arg1 
= reinterpret_cast< wxPageSetupDialog 
* >(argp1
); 
25678     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25680       wxPageSetupDialogData 
&_result_ref 
= (arg1
)->GetPageSetupDialogData(); 
25681       result 
= (wxPageSetupDialogData 
*) &_result_ref
; 
25683     wxPyEndAllowThreads(__tstate
); 
25684     if (PyErr_Occurred()) SWIG_fail
; 
25686   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25693 SWIGINTERN PyObject 
*_wrap_PageSetupDialog_ShowModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25694   PyObject 
*resultobj 
= 0; 
25695   wxPageSetupDialog 
*arg1 
= (wxPageSetupDialog 
*) 0 ; 
25699   PyObject 
*swig_obj
[1] ; 
25701   if (!args
) SWIG_fail
; 
25702   swig_obj
[0] = args
; 
25703   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 |  0 ); 
25704   if (!SWIG_IsOK(res1
)) { 
25705     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");  
25707   arg1 
= reinterpret_cast< wxPageSetupDialog 
* >(argp1
); 
25709     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25710     result 
= (int)(arg1
)->ShowModal(); 
25711     wxPyEndAllowThreads(__tstate
); 
25712     if (PyErr_Occurred()) SWIG_fail
; 
25714   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
25721 SWIGINTERN PyObject 
*PageSetupDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25723   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
25724   SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
)); 
25725   return SWIG_Py_Void(); 
25728 SWIGINTERN PyObject 
*PageSetupDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25729   return SWIG_Python_InitShadowInstance(args
); 
25732 SWIGINTERN PyObject 
*_wrap_new_PrintDialogData__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**SWIGUNUSEDPARM(swig_obj
)) { 
25733   PyObject 
*resultobj 
= 0; 
25734   wxPrintDialogData 
*result 
= 0 ; 
25736   if ((nobjs 
< 0) || (nobjs 
> 0)) SWIG_fail
; 
25738     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25739     result 
= (wxPrintDialogData 
*)new wxPrintDialogData(); 
25740     wxPyEndAllowThreads(__tstate
); 
25741     if (PyErr_Occurred()) SWIG_fail
; 
25743   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW 
|  0 ); 
25750 SWIGINTERN PyObject 
*_wrap_new_PrintDialogData__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
25751   PyObject 
*resultobj 
= 0; 
25752   wxPrintData 
*arg1 
= 0 ; 
25753   wxPrintDialogData 
*result 
= 0 ; 
25757   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
25758   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
25759   if (!SWIG_IsOK(res1
)) { 
25760     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
25763     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
25765   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
25767     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25768     result 
= (wxPrintDialogData 
*)new wxPrintDialogData((wxPrintData 
const &)*arg1
); 
25769     wxPyEndAllowThreads(__tstate
); 
25770     if (PyErr_Occurred()) SWIG_fail
; 
25772   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW 
|  0 ); 
25779 SWIGINTERN PyObject 
*_wrap_new_PrintDialogData__SWIG_2(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
25780   PyObject 
*resultobj 
= 0; 
25781   wxPrintDialogData 
*arg1 
= 0 ; 
25782   wxPrintDialogData 
*result 
= 0 ; 
25786   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
25787   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
,  0  | 0); 
25788   if (!SWIG_IsOK(res1
)) { 
25789     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");  
25792     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");  
25794   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
25796     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25797     result 
= (wxPrintDialogData 
*)new wxPrintDialogData((wxPrintDialogData 
const &)*arg1
); 
25798     wxPyEndAllowThreads(__tstate
); 
25799     if (PyErr_Occurred()) SWIG_fail
; 
25801   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW 
|  0 ); 
25808 SWIGINTERN PyObject 
*_wrap_new_PrintDialogData(PyObject 
*self
, PyObject 
*args
) { 
25812   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
; 
25815     return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
); 
25820       int res 
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0); 
25821       _v 
= SWIG_CheckState(res
); 
25823     if (!_v
) goto check_2
; 
25824     return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
); 
25829     return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
); 
25833   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'"); 
25838 SWIGINTERN PyObject 
*_wrap_delete_PrintDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25839   PyObject 
*resultobj 
= 0; 
25840   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
25843   PyObject 
*swig_obj
[1] ; 
25845   if (!args
) SWIG_fail
; 
25846   swig_obj
[0] = args
; 
25847   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN 
|  0 ); 
25848   if (!SWIG_IsOK(res1
)) { 
25849     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
25851   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
25853     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25856     wxPyEndAllowThreads(__tstate
); 
25857     if (PyErr_Occurred()) SWIG_fail
; 
25859   resultobj 
= SWIG_Py_Void(); 
25866 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetFromPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25867   PyObject 
*resultobj 
= 0; 
25868   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
25872   PyObject 
*swig_obj
[1] ; 
25874   if (!args
) SWIG_fail
; 
25875   swig_obj
[0] = args
; 
25876   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
25877   if (!SWIG_IsOK(res1
)) { 
25878     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
25880   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
25882     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25883     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetFromPage(); 
25884     wxPyEndAllowThreads(__tstate
); 
25885     if (PyErr_Occurred()) SWIG_fail
; 
25887   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
25894 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetToPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25895   PyObject 
*resultobj 
= 0; 
25896   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
25900   PyObject 
*swig_obj
[1] ; 
25902   if (!args
) SWIG_fail
; 
25903   swig_obj
[0] = args
; 
25904   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
25905   if (!SWIG_IsOK(res1
)) { 
25906     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
25908   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
25910     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25911     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetToPage(); 
25912     wxPyEndAllowThreads(__tstate
); 
25913     if (PyErr_Occurred()) SWIG_fail
; 
25915   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
25922 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetMinPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25923   PyObject 
*resultobj 
= 0; 
25924   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
25928   PyObject 
*swig_obj
[1] ; 
25930   if (!args
) SWIG_fail
; 
25931   swig_obj
[0] = args
; 
25932   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
25933   if (!SWIG_IsOK(res1
)) { 
25934     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
25936   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
25938     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25939     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetMinPage(); 
25940     wxPyEndAllowThreads(__tstate
); 
25941     if (PyErr_Occurred()) SWIG_fail
; 
25943   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
25950 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetMaxPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25951   PyObject 
*resultobj 
= 0; 
25952   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
25956   PyObject 
*swig_obj
[1] ; 
25958   if (!args
) SWIG_fail
; 
25959   swig_obj
[0] = args
; 
25960   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
25961   if (!SWIG_IsOK(res1
)) { 
25962     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
25964   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
25966     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25967     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetMaxPage(); 
25968     wxPyEndAllowThreads(__tstate
); 
25969     if (PyErr_Occurred()) SWIG_fail
; 
25971   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
25978 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetNoCopies(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25979   PyObject 
*resultobj 
= 0; 
25980   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
25984   PyObject 
*swig_obj
[1] ; 
25986   if (!args
) SWIG_fail
; 
25987   swig_obj
[0] = args
; 
25988   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
25989   if (!SWIG_IsOK(res1
)) { 
25990     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
25992   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
25994     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25995     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetNoCopies(); 
25996     wxPyEndAllowThreads(__tstate
); 
25997     if (PyErr_Occurred()) SWIG_fail
; 
25999   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
26006 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetAllPages(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26007   PyObject 
*resultobj 
= 0; 
26008   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26012   PyObject 
*swig_obj
[1] ; 
26014   if (!args
) SWIG_fail
; 
26015   swig_obj
[0] = args
; 
26016   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26017   if (!SWIG_IsOK(res1
)) { 
26018     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26020   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26022     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26023     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetAllPages(); 
26024     wxPyEndAllowThreads(__tstate
); 
26025     if (PyErr_Occurred()) SWIG_fail
; 
26028     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26036 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26037   PyObject 
*resultobj 
= 0; 
26038   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26042   PyObject 
*swig_obj
[1] ; 
26044   if (!args
) SWIG_fail
; 
26045   swig_obj
[0] = args
; 
26046   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26047   if (!SWIG_IsOK(res1
)) { 
26048     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26050   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26052     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26053     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetSelection(); 
26054     wxPyEndAllowThreads(__tstate
); 
26055     if (PyErr_Occurred()) SWIG_fail
; 
26058     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26066 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetCollate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26067   PyObject 
*resultobj 
= 0; 
26068   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26072   PyObject 
*swig_obj
[1] ; 
26074   if (!args
) SWIG_fail
; 
26075   swig_obj
[0] = args
; 
26076   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26077   if (!SWIG_IsOK(res1
)) { 
26078     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26080   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26082     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26083     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetCollate(); 
26084     wxPyEndAllowThreads(__tstate
); 
26085     if (PyErr_Occurred()) SWIG_fail
; 
26088     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26096 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetPrintToFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26097   PyObject 
*resultobj 
= 0; 
26098   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26102   PyObject 
*swig_obj
[1] ; 
26104   if (!args
) SWIG_fail
; 
26105   swig_obj
[0] = args
; 
26106   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26107   if (!SWIG_IsOK(res1
)) { 
26108     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26110   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26112     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26113     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetPrintToFile(); 
26114     wxPyEndAllowThreads(__tstate
); 
26115     if (PyErr_Occurred()) SWIG_fail
; 
26118     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26126 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetFromPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26127   PyObject 
*resultobj 
= 0; 
26128   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26134   PyObject 
* obj0 
= 0 ; 
26135   PyObject 
* obj1 
= 0 ; 
26136   char *  kwnames
[] = { 
26137     (char *) "self",(char *) "v", NULL 
 
26140   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26141   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26142   if (!SWIG_IsOK(res1
)) { 
26143     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26145   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26146   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26147   if (!SWIG_IsOK(ecode2
)) { 
26148     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'"); 
26150   arg2 
= static_cast< int >(val2
); 
26152     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26153     (arg1
)->SetFromPage(arg2
); 
26154     wxPyEndAllowThreads(__tstate
); 
26155     if (PyErr_Occurred()) SWIG_fail
; 
26157   resultobj 
= SWIG_Py_Void(); 
26164 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetToPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26165   PyObject 
*resultobj 
= 0; 
26166   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26172   PyObject 
* obj0 
= 0 ; 
26173   PyObject 
* obj1 
= 0 ; 
26174   char *  kwnames
[] = { 
26175     (char *) "self",(char *) "v", NULL 
 
26178   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26179   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26180   if (!SWIG_IsOK(res1
)) { 
26181     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26183   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26184   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26185   if (!SWIG_IsOK(ecode2
)) { 
26186     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'"); 
26188   arg2 
= static_cast< int >(val2
); 
26190     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26191     (arg1
)->SetToPage(arg2
); 
26192     wxPyEndAllowThreads(__tstate
); 
26193     if (PyErr_Occurred()) SWIG_fail
; 
26195   resultobj 
= SWIG_Py_Void(); 
26202 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetMinPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26203   PyObject 
*resultobj 
= 0; 
26204   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26210   PyObject 
* obj0 
= 0 ; 
26211   PyObject 
* obj1 
= 0 ; 
26212   char *  kwnames
[] = { 
26213     (char *) "self",(char *) "v", NULL 
 
26216   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26217   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26218   if (!SWIG_IsOK(res1
)) { 
26219     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26221   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26222   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26223   if (!SWIG_IsOK(ecode2
)) { 
26224     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'"); 
26226   arg2 
= static_cast< int >(val2
); 
26228     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26229     (arg1
)->SetMinPage(arg2
); 
26230     wxPyEndAllowThreads(__tstate
); 
26231     if (PyErr_Occurred()) SWIG_fail
; 
26233   resultobj 
= SWIG_Py_Void(); 
26240 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetMaxPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26241   PyObject 
*resultobj 
= 0; 
26242   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26248   PyObject 
* obj0 
= 0 ; 
26249   PyObject 
* obj1 
= 0 ; 
26250   char *  kwnames
[] = { 
26251     (char *) "self",(char *) "v", NULL 
 
26254   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26255   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26256   if (!SWIG_IsOK(res1
)) { 
26257     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26259   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26260   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26261   if (!SWIG_IsOK(ecode2
)) { 
26262     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'"); 
26264   arg2 
= static_cast< int >(val2
); 
26266     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26267     (arg1
)->SetMaxPage(arg2
); 
26268     wxPyEndAllowThreads(__tstate
); 
26269     if (PyErr_Occurred()) SWIG_fail
; 
26271   resultobj 
= SWIG_Py_Void(); 
26278 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetNoCopies(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26279   PyObject 
*resultobj 
= 0; 
26280   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26286   PyObject 
* obj0 
= 0 ; 
26287   PyObject 
* obj1 
= 0 ; 
26288   char *  kwnames
[] = { 
26289     (char *) "self",(char *) "v", NULL 
 
26292   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26293   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26294   if (!SWIG_IsOK(res1
)) { 
26295     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26297   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26298   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26299   if (!SWIG_IsOK(ecode2
)) { 
26300     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'"); 
26302   arg2 
= static_cast< int >(val2
); 
26304     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26305     (arg1
)->SetNoCopies(arg2
); 
26306     wxPyEndAllowThreads(__tstate
); 
26307     if (PyErr_Occurred()) SWIG_fail
; 
26309   resultobj 
= SWIG_Py_Void(); 
26316 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetAllPages(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26317   PyObject 
*resultobj 
= 0; 
26318   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26324   PyObject 
* obj0 
= 0 ; 
26325   PyObject 
* obj1 
= 0 ; 
26326   char *  kwnames
[] = { 
26327     (char *) "self",(char *) "flag", NULL 
 
26330   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26331   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26332   if (!SWIG_IsOK(res1
)) { 
26333     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26335   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26336   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26337   if (!SWIG_IsOK(ecode2
)) { 
26338     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'"); 
26340   arg2 
= static_cast< bool >(val2
); 
26342     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26343     (arg1
)->SetAllPages(arg2
); 
26344     wxPyEndAllowThreads(__tstate
); 
26345     if (PyErr_Occurred()) SWIG_fail
; 
26347   resultobj 
= SWIG_Py_Void(); 
26354 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26355   PyObject 
*resultobj 
= 0; 
26356   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26362   PyObject 
* obj0 
= 0 ; 
26363   PyObject 
* obj1 
= 0 ; 
26364   char *  kwnames
[] = { 
26365     (char *) "self",(char *) "flag", NULL 
 
26368   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26369   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26370   if (!SWIG_IsOK(res1
)) { 
26371     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26373   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26374   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26375   if (!SWIG_IsOK(ecode2
)) { 
26376     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'"); 
26378   arg2 
= static_cast< bool >(val2
); 
26380     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26381     (arg1
)->SetSelection(arg2
); 
26382     wxPyEndAllowThreads(__tstate
); 
26383     if (PyErr_Occurred()) SWIG_fail
; 
26385   resultobj 
= SWIG_Py_Void(); 
26392 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetCollate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26393   PyObject 
*resultobj 
= 0; 
26394   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26400   PyObject 
* obj0 
= 0 ; 
26401   PyObject 
* obj1 
= 0 ; 
26402   char *  kwnames
[] = { 
26403     (char *) "self",(char *) "flag", NULL 
 
26406   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26407   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26408   if (!SWIG_IsOK(res1
)) { 
26409     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26411   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26412   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26413   if (!SWIG_IsOK(ecode2
)) { 
26414     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'"); 
26416   arg2 
= static_cast< bool >(val2
); 
26418     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26419     (arg1
)->SetCollate(arg2
); 
26420     wxPyEndAllowThreads(__tstate
); 
26421     if (PyErr_Occurred()) SWIG_fail
; 
26423   resultobj 
= SWIG_Py_Void(); 
26430 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetPrintToFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26431   PyObject 
*resultobj 
= 0; 
26432   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26438   PyObject 
* obj0 
= 0 ; 
26439   PyObject 
* obj1 
= 0 ; 
26440   char *  kwnames
[] = { 
26441     (char *) "self",(char *) "flag", NULL 
 
26444   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26445   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26446   if (!SWIG_IsOK(res1
)) { 
26447     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26449   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26450   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26451   if (!SWIG_IsOK(ecode2
)) { 
26452     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'"); 
26454   arg2 
= static_cast< bool >(val2
); 
26456     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26457     (arg1
)->SetPrintToFile(arg2
); 
26458     wxPyEndAllowThreads(__tstate
); 
26459     if (PyErr_Occurred()) SWIG_fail
; 
26461   resultobj 
= SWIG_Py_Void(); 
26468 SWIGINTERN PyObject 
*_wrap_PrintDialogData_EnablePrintToFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26469   PyObject 
*resultobj 
= 0; 
26470   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26476   PyObject 
* obj0 
= 0 ; 
26477   PyObject 
* obj1 
= 0 ; 
26478   char *  kwnames
[] = { 
26479     (char *) "self",(char *) "flag", NULL 
 
26482   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26483   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26484   if (!SWIG_IsOK(res1
)) { 
26485     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26487   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26488   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26489   if (!SWIG_IsOK(ecode2
)) { 
26490     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'"); 
26492   arg2 
= static_cast< bool >(val2
); 
26494     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26495     (arg1
)->EnablePrintToFile(arg2
); 
26496     wxPyEndAllowThreads(__tstate
); 
26497     if (PyErr_Occurred()) SWIG_fail
; 
26499   resultobj 
= SWIG_Py_Void(); 
26506 SWIGINTERN PyObject 
*_wrap_PrintDialogData_EnableSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26507   PyObject 
*resultobj 
= 0; 
26508   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26514   PyObject 
* obj0 
= 0 ; 
26515   PyObject 
* obj1 
= 0 ; 
26516   char *  kwnames
[] = { 
26517     (char *) "self",(char *) "flag", NULL 
 
26520   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26521   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26522   if (!SWIG_IsOK(res1
)) { 
26523     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26525   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26526   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26527   if (!SWIG_IsOK(ecode2
)) { 
26528     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'"); 
26530   arg2 
= static_cast< bool >(val2
); 
26532     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26533     (arg1
)->EnableSelection(arg2
); 
26534     wxPyEndAllowThreads(__tstate
); 
26535     if (PyErr_Occurred()) SWIG_fail
; 
26537   resultobj 
= SWIG_Py_Void(); 
26544 SWIGINTERN PyObject 
*_wrap_PrintDialogData_EnablePageNumbers(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26545   PyObject 
*resultobj 
= 0; 
26546   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26552   PyObject 
* obj0 
= 0 ; 
26553   PyObject 
* obj1 
= 0 ; 
26554   char *  kwnames
[] = { 
26555     (char *) "self",(char *) "flag", NULL 
 
26558   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26559   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26560   if (!SWIG_IsOK(res1
)) { 
26561     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26563   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26564   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26565   if (!SWIG_IsOK(ecode2
)) { 
26566     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'"); 
26568   arg2 
= static_cast< bool >(val2
); 
26570     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26571     (arg1
)->EnablePageNumbers(arg2
); 
26572     wxPyEndAllowThreads(__tstate
); 
26573     if (PyErr_Occurred()) SWIG_fail
; 
26575   resultobj 
= SWIG_Py_Void(); 
26582 SWIGINTERN PyObject 
*_wrap_PrintDialogData_EnableHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26583   PyObject 
*resultobj 
= 0; 
26584   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26590   PyObject 
* obj0 
= 0 ; 
26591   PyObject 
* obj1 
= 0 ; 
26592   char *  kwnames
[] = { 
26593     (char *) "self",(char *) "flag", NULL 
 
26596   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26597   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26598   if (!SWIG_IsOK(res1
)) { 
26599     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26601   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26602   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26603   if (!SWIG_IsOK(ecode2
)) { 
26604     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'"); 
26606   arg2 
= static_cast< bool >(val2
); 
26608     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26609     (arg1
)->EnableHelp(arg2
); 
26610     wxPyEndAllowThreads(__tstate
); 
26611     if (PyErr_Occurred()) SWIG_fail
; 
26613   resultobj 
= SWIG_Py_Void(); 
26620 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26621   PyObject 
*resultobj 
= 0; 
26622   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26626   PyObject 
*swig_obj
[1] ; 
26628   if (!args
) SWIG_fail
; 
26629   swig_obj
[0] = args
; 
26630   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26631   if (!SWIG_IsOK(res1
)) { 
26632     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26634   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26636     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26637     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetEnablePrintToFile(); 
26638     wxPyEndAllowThreads(__tstate
); 
26639     if (PyErr_Occurred()) SWIG_fail
; 
26642     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26650 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetEnableSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26651   PyObject 
*resultobj 
= 0; 
26652   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26656   PyObject 
*swig_obj
[1] ; 
26658   if (!args
) SWIG_fail
; 
26659   swig_obj
[0] = args
; 
26660   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26661   if (!SWIG_IsOK(res1
)) { 
26662     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26664   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26666     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26667     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetEnableSelection(); 
26668     wxPyEndAllowThreads(__tstate
); 
26669     if (PyErr_Occurred()) SWIG_fail
; 
26672     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26680 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26681   PyObject 
*resultobj 
= 0; 
26682   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26686   PyObject 
*swig_obj
[1] ; 
26688   if (!args
) SWIG_fail
; 
26689   swig_obj
[0] = args
; 
26690   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26691   if (!SWIG_IsOK(res1
)) { 
26692     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26694   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26696     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26697     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetEnablePageNumbers(); 
26698     wxPyEndAllowThreads(__tstate
); 
26699     if (PyErr_Occurred()) SWIG_fail
; 
26702     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26710 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetEnableHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26711   PyObject 
*resultobj 
= 0; 
26712   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26716   PyObject 
*swig_obj
[1] ; 
26718   if (!args
) SWIG_fail
; 
26719   swig_obj
[0] = args
; 
26720   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26721   if (!SWIG_IsOK(res1
)) { 
26722     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26724   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26726     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26727     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetEnableHelp(); 
26728     wxPyEndAllowThreads(__tstate
); 
26729     if (PyErr_Occurred()) SWIG_fail
; 
26732     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26740 SWIGINTERN PyObject 
*_wrap_PrintDialogData_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26741   PyObject 
*resultobj 
= 0; 
26742   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26746   PyObject 
*swig_obj
[1] ; 
26748   if (!args
) SWIG_fail
; 
26749   swig_obj
[0] = args
; 
26750   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26751   if (!SWIG_IsOK(res1
)) { 
26752     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26754   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26756     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26757     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->Ok(); 
26758     wxPyEndAllowThreads(__tstate
); 
26759     if (PyErr_Occurred()) SWIG_fail
; 
26762     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26770 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26771   PyObject 
*resultobj 
= 0; 
26772   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26773   wxPrintData 
*result 
= 0 ; 
26776   PyObject 
*swig_obj
[1] ; 
26778   if (!args
) SWIG_fail
; 
26779   swig_obj
[0] = args
; 
26780   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26781   if (!SWIG_IsOK(res1
)) { 
26782     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26784   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26786     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26788       wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
26789       result 
= (wxPrintData 
*) &_result_ref
; 
26791     wxPyEndAllowThreads(__tstate
); 
26792     if (PyErr_Occurred()) SWIG_fail
; 
26794   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
26801 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26802   PyObject 
*resultobj 
= 0; 
26803   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26804   wxPrintData 
*arg2 
= 0 ; 
26809   PyObject 
* obj0 
= 0 ; 
26810   PyObject 
* obj1 
= 0 ; 
26811   char *  kwnames
[] = { 
26812     (char *) "self",(char *) "printData", NULL 
 
26815   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26816   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26817   if (!SWIG_IsOK(res1
)) { 
26818     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26820   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26821   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
26822   if (!SWIG_IsOK(res2
)) { 
26823     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
26826     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
26828   arg2 
= reinterpret_cast< wxPrintData 
* >(argp2
); 
26830     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26831     (arg1
)->SetPrintData((wxPrintData 
const &)*arg2
); 
26832     wxPyEndAllowThreads(__tstate
); 
26833     if (PyErr_Occurred()) SWIG_fail
; 
26835   resultobj 
= SWIG_Py_Void(); 
26842 SWIGINTERN PyObject 
*PrintDialogData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26844   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
26845   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
)); 
26846   return SWIG_Py_Void(); 
26849 SWIGINTERN PyObject 
*PrintDialogData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26850   return SWIG_Python_InitShadowInstance(args
); 
26853 SWIGINTERN PyObject 
*_wrap_new_PrintDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26854   PyObject 
*resultobj 
= 0; 
26855   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
26856   wxPrintDialogData 
*arg2 
= (wxPrintDialogData 
*) NULL 
; 
26857   wxPrintDialog 
*result 
= 0 ; 
26862   PyObject 
* obj0 
= 0 ; 
26863   PyObject 
* obj1 
= 0 ; 
26864   char *  kwnames
[] = { 
26865     (char *) "parent",(char *) "data", NULL 
 
26868   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26869   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
26870   if (!SWIG_IsOK(res1
)) { 
26871     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
26873   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
26875     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26876     if (!SWIG_IsOK(res2
)) { 
26877       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");  
26879     arg2 
= reinterpret_cast< wxPrintDialogData 
* >(argp2
); 
26882     if (!wxPyCheckForApp()) SWIG_fail
; 
26883     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26884     result 
= (wxPrintDialog 
*)new wxPrintDialog(arg1
,arg2
); 
26885     wxPyEndAllowThreads(__tstate
); 
26886     if (PyErr_Occurred()) SWIG_fail
; 
26888   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW 
|  0 ); 
26895 SWIGINTERN PyObject 
*_wrap_PrintDialog_ShowModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26896   PyObject 
*resultobj 
= 0; 
26897   wxPrintDialog 
*arg1 
= (wxPrintDialog 
*) 0 ; 
26901   PyObject 
*swig_obj
[1] ; 
26903   if (!args
) SWIG_fail
; 
26904   swig_obj
[0] = args
; 
26905   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 |  0 ); 
26906   if (!SWIG_IsOK(res1
)) { 
26907     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");  
26909   arg1 
= reinterpret_cast< wxPrintDialog 
* >(argp1
); 
26911     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26912     result 
= (int)(arg1
)->ShowModal(); 
26913     wxPyEndAllowThreads(__tstate
); 
26914     if (PyErr_Occurred()) SWIG_fail
; 
26916   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
26923 SWIGINTERN PyObject 
*_wrap_PrintDialog_GetPrintDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26924   PyObject 
*resultobj 
= 0; 
26925   wxPrintDialog 
*arg1 
= (wxPrintDialog 
*) 0 ; 
26926   wxPrintDialogData 
*result 
= 0 ; 
26929   PyObject 
*swig_obj
[1] ; 
26931   if (!args
) SWIG_fail
; 
26932   swig_obj
[0] = args
; 
26933   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 |  0 ); 
26934   if (!SWIG_IsOK(res1
)) { 
26935     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");  
26937   arg1 
= reinterpret_cast< wxPrintDialog 
* >(argp1
); 
26939     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26941       wxPrintDialogData 
&_result_ref 
= (arg1
)->GetPrintDialogData(); 
26942       result 
= (wxPrintDialogData 
*) &_result_ref
; 
26944     wxPyEndAllowThreads(__tstate
); 
26945     if (PyErr_Occurred()) SWIG_fail
; 
26947   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26954 SWIGINTERN PyObject 
*_wrap_PrintDialog_GetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26955   PyObject 
*resultobj 
= 0; 
26956   wxPrintDialog 
*arg1 
= (wxPrintDialog 
*) 0 ; 
26957   wxPrintData 
*result 
= 0 ; 
26960   PyObject 
*swig_obj
[1] ; 
26962   if (!args
) SWIG_fail
; 
26963   swig_obj
[0] = args
; 
26964   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 |  0 ); 
26965   if (!SWIG_IsOK(res1
)) { 
26966     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");  
26968   arg1 
= reinterpret_cast< wxPrintDialog 
* >(argp1
); 
26970     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26972       wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
26973       result 
= (wxPrintData 
*) &_result_ref
; 
26975     wxPyEndAllowThreads(__tstate
); 
26976     if (PyErr_Occurred()) SWIG_fail
; 
26978   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
26985 SWIGINTERN PyObject 
*_wrap_PrintDialog_GetPrintDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26986   PyObject 
*resultobj 
= 0; 
26987   wxPrintDialog 
*arg1 
= (wxPrintDialog 
*) 0 ; 
26991   PyObject 
*swig_obj
[1] ; 
26993   if (!args
) SWIG_fail
; 
26994   swig_obj
[0] = args
; 
26995   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 |  0 ); 
26996   if (!SWIG_IsOK(res1
)) { 
26997     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");  
26999   arg1 
= reinterpret_cast< wxPrintDialog 
* >(argp1
); 
27001     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27002     result 
= (wxDC 
*)(arg1
)->GetPrintDC(); 
27003     wxPyEndAllowThreads(__tstate
); 
27004     if (PyErr_Occurred()) SWIG_fail
; 
27007     resultobj 
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);  
27015 SWIGINTERN PyObject 
*PrintDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27017   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
27018   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
)); 
27019   return SWIG_Py_Void(); 
27022 SWIGINTERN PyObject 
*PrintDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27023   return SWIG_Python_InitShadowInstance(args
); 
27026 SWIGINTERN PyObject 
*_wrap_new_Printer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27027   PyObject 
*resultobj 
= 0; 
27028   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) NULL 
; 
27029   wxPrinter 
*result 
= 0 ; 
27032   PyObject 
* obj0 
= 0 ; 
27033   char *  kwnames
[] = { 
27034     (char *) "data", NULL 
 
27037   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
; 
27039     res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
27040     if (!SWIG_IsOK(res1
)) { 
27041       SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
27043     arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
27046     if (!wxPyCheckForApp()) SWIG_fail
; 
27047     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27048     result 
= (wxPrinter 
*)new wxPrinter(arg1
); 
27049     wxPyEndAllowThreads(__tstate
); 
27050     if (PyErr_Occurred()) SWIG_fail
; 
27052   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW 
|  0 ); 
27059 SWIGINTERN PyObject 
*_wrap_delete_Printer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27060   PyObject 
*resultobj 
= 0; 
27061   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27064   PyObject 
*swig_obj
[1] ; 
27066   if (!args
) SWIG_fail
; 
27067   swig_obj
[0] = args
; 
27068   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN 
|  0 ); 
27069   if (!SWIG_IsOK(res1
)) { 
27070     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27072   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27074     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27077     wxPyEndAllowThreads(__tstate
); 
27078     if (PyErr_Occurred()) SWIG_fail
; 
27080   resultobj 
= SWIG_Py_Void(); 
27087 SWIGINTERN PyObject 
*_wrap_Printer_CreateAbortWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27088   PyObject 
*resultobj 
= 0; 
27089   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27090   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27091   wxPyPrintout 
*arg3 
= (wxPyPrintout 
*) 0 ; 
27092   wxWindow 
*result 
= 0 ; 
27099   PyObject 
* obj0 
= 0 ; 
27100   PyObject 
* obj1 
= 0 ; 
27101   PyObject 
* obj2 
= 0 ; 
27102   char *  kwnames
[] = { 
27103     (char *) "self",(char *) "parent",(char *) "printout", NULL 
 
27106   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27107   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27108   if (!SWIG_IsOK(res1
)) { 
27109     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27111   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27112   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27113   if (!SWIG_IsOK(res2
)) { 
27114     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
27116   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27117   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27118   if (!SWIG_IsOK(res3
)) { 
27119     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");  
27121   arg3 
= reinterpret_cast< wxPyPrintout 
* >(argp3
); 
27123     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27124     result 
= (wxWindow 
*)(arg1
)->CreateAbortWindow(arg2
,arg3
); 
27125     wxPyEndAllowThreads(__tstate
); 
27126     if (PyErr_Occurred()) SWIG_fail
; 
27129     resultobj 
= wxPyMake_wxObject(result
, 0);  
27137 SWIGINTERN PyObject 
*_wrap_Printer_ReportError(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27138   PyObject 
*resultobj 
= 0; 
27139   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27140   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27141   wxPyPrintout 
*arg3 
= (wxPyPrintout 
*) 0 ; 
27142   wxString 
*arg4 
= 0 ; 
27149   bool temp4 
= false ; 
27150   PyObject 
* obj0 
= 0 ; 
27151   PyObject 
* obj1 
= 0 ; 
27152   PyObject 
* obj2 
= 0 ; 
27153   PyObject 
* obj3 
= 0 ; 
27154   char *  kwnames
[] = { 
27155     (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL 
 
27158   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
27159   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27160   if (!SWIG_IsOK(res1
)) { 
27161     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27163   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27164   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27165   if (!SWIG_IsOK(res2
)) { 
27166     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");  
27168   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27169   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27170   if (!SWIG_IsOK(res3
)) { 
27171     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");  
27173   arg3 
= reinterpret_cast< wxPyPrintout 
* >(argp3
); 
27175     arg4 
= wxString_in_helper(obj3
); 
27176     if (arg4 
== NULL
) SWIG_fail
; 
27180     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27181     (arg1
)->ReportError(arg2
,arg3
,(wxString 
const &)*arg4
); 
27182     wxPyEndAllowThreads(__tstate
); 
27183     if (PyErr_Occurred()) SWIG_fail
; 
27185   resultobj 
= SWIG_Py_Void(); 
27200 SWIGINTERN PyObject 
*_wrap_Printer_Setup(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27201   PyObject 
*resultobj 
= 0; 
27202   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27203   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27209   PyObject 
* obj0 
= 0 ; 
27210   PyObject 
* obj1 
= 0 ; 
27211   char *  kwnames
[] = { 
27212     (char *) "self",(char *) "parent", NULL 
 
27215   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27216   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27217   if (!SWIG_IsOK(res1
)) { 
27218     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27220   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27221   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27222   if (!SWIG_IsOK(res2
)) { 
27223     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");  
27225   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27227     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27228     result 
= (bool)(arg1
)->Setup(arg2
); 
27229     wxPyEndAllowThreads(__tstate
); 
27230     if (PyErr_Occurred()) SWIG_fail
; 
27233     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27241 SWIGINTERN PyObject 
*_wrap_Printer_Print(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27242   PyObject 
*resultobj 
= 0; 
27243   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27244   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27245   wxPyPrintout 
*arg3 
= (wxPyPrintout 
*) 0 ; 
27246   bool arg4 
= (bool) true ; 
27256   PyObject 
* obj0 
= 0 ; 
27257   PyObject 
* obj1 
= 0 ; 
27258   PyObject 
* obj2 
= 0 ; 
27259   PyObject 
* obj3 
= 0 ; 
27260   char *  kwnames
[] = { 
27261     (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL 
 
27264   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
27265   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27266   if (!SWIG_IsOK(res1
)) { 
27267     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27269   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27270   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27271   if (!SWIG_IsOK(res2
)) { 
27272     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");  
27274   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27275   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27276   if (!SWIG_IsOK(res3
)) { 
27277     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");  
27279   arg3 
= reinterpret_cast< wxPyPrintout 
* >(argp3
); 
27281     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
27282     if (!SWIG_IsOK(ecode4
)) { 
27283       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'"); 
27285     arg4 
= static_cast< bool >(val4
); 
27288     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27289     result 
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
); 
27290     wxPyEndAllowThreads(__tstate
); 
27291     if (PyErr_Occurred()) SWIG_fail
; 
27294     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27302 SWIGINTERN PyObject 
*_wrap_Printer_PrintDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27303   PyObject 
*resultobj 
= 0; 
27304   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27305   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27311   PyObject 
* obj0 
= 0 ; 
27312   PyObject 
* obj1 
= 0 ; 
27313   char *  kwnames
[] = { 
27314     (char *) "self",(char *) "parent", NULL 
 
27317   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27318   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27319   if (!SWIG_IsOK(res1
)) { 
27320     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27322   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27323   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27324   if (!SWIG_IsOK(res2
)) { 
27325     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");  
27327   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27329     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27330     result 
= (wxDC 
*)(arg1
)->PrintDialog(arg2
); 
27331     wxPyEndAllowThreads(__tstate
); 
27332     if (PyErr_Occurred()) SWIG_fail
; 
27335     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
27343 SWIGINTERN PyObject 
*_wrap_Printer_GetPrintDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27344   PyObject 
*resultobj 
= 0; 
27345   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27346   wxPrintDialogData 
*result 
= 0 ; 
27349   PyObject 
*swig_obj
[1] ; 
27351   if (!args
) SWIG_fail
; 
27352   swig_obj
[0] = args
; 
27353   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27354   if (!SWIG_IsOK(res1
)) { 
27355     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");  
27357   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27359     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27361       wxPrintDialogData 
&_result_ref 
= ((wxPrinter 
const *)arg1
)->GetPrintDialogData(); 
27362       result 
= (wxPrintDialogData 
*) &_result_ref
; 
27364     wxPyEndAllowThreads(__tstate
); 
27365     if (PyErr_Occurred()) SWIG_fail
; 
27367   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
27374 SWIGINTERN PyObject 
*_wrap_Printer_GetAbort(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27375   PyObject 
*resultobj 
= 0; 
27376   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27380   PyObject 
*swig_obj
[1] ; 
27382   if (!args
) SWIG_fail
; 
27383   swig_obj
[0] = args
; 
27384   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27385   if (!SWIG_IsOK(res1
)) { 
27386     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27388   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27390     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27391     result 
= (bool)(arg1
)->GetAbort(); 
27392     wxPyEndAllowThreads(__tstate
); 
27393     if (PyErr_Occurred()) SWIG_fail
; 
27396     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27404 SWIGINTERN PyObject 
*_wrap_Printer_GetLastError(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27405   PyObject 
*resultobj 
= 0; 
27406   wxPrinterError result
; 
27408   if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
; 
27410     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27411     result 
= (wxPrinterError
)wxPrinter::GetLastError(); 
27412     wxPyEndAllowThreads(__tstate
); 
27413     if (PyErr_Occurred()) SWIG_fail
; 
27415   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
27422 SWIGINTERN PyObject 
*Printer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27424   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
27425   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
)); 
27426   return SWIG_Py_Void(); 
27429 SWIGINTERN PyObject 
*Printer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27430   return SWIG_Python_InitShadowInstance(args
); 
27433 SWIGINTERN PyObject 
*_wrap_new_Printout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27434   PyObject 
*resultobj 
= 0; 
27435   wxString 
const &arg1_defvalue 
= wxPyPrintoutTitleStr 
; 
27436   wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
27437   wxPyPrintout 
*result 
= 0 ; 
27438   bool temp1 
= false ; 
27439   PyObject 
* obj0 
= 0 ; 
27440   char *  kwnames
[] = { 
27441     (char *) "title", NULL 
 
27444   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
; 
27447       arg1 
= wxString_in_helper(obj0
); 
27448       if (arg1 
== NULL
) SWIG_fail
; 
27453     if (!wxPyCheckForApp()) SWIG_fail
; 
27454     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27455     result 
= (wxPyPrintout 
*)new wxPyPrintout((wxString 
const &)*arg1
); 
27456     wxPyEndAllowThreads(__tstate
); 
27457     if (PyErr_Occurred()) SWIG_fail
; 
27459   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW 
|  0 ); 
27474 SWIGINTERN PyObject 
*_wrap_delete_Printout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27475   PyObject 
*resultobj 
= 0; 
27476   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27479   PyObject 
*swig_obj
[1] ; 
27481   if (!args
) SWIG_fail
; 
27482   swig_obj
[0] = args
; 
27483   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
27484   if (!SWIG_IsOK(res1
)) { 
27485     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27487   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27489     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27492     wxPyEndAllowThreads(__tstate
); 
27493     if (PyErr_Occurred()) SWIG_fail
; 
27495   resultobj 
= SWIG_Py_Void(); 
27502 SWIGINTERN PyObject 
*_wrap_Printout__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27503   PyObject 
*resultobj 
= 0; 
27504   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27505   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
27506   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
27509   PyObject 
* obj0 
= 0 ; 
27510   PyObject 
* obj1 
= 0 ; 
27511   PyObject 
* obj2 
= 0 ; 
27512   char *  kwnames
[] = { 
27513     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
27516   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27517   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27518   if (!SWIG_IsOK(res1
)) { 
27519     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27521   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27525     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27526     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
27527     wxPyEndAllowThreads(__tstate
); 
27528     if (PyErr_Occurred()) SWIG_fail
; 
27530   resultobj 
= SWIG_Py_Void(); 
27537 SWIGINTERN PyObject 
*_wrap_Printout_GetTitle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27538   PyObject 
*resultobj 
= 0; 
27539   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27543   PyObject 
*swig_obj
[1] ; 
27545   if (!args
) SWIG_fail
; 
27546   swig_obj
[0] = args
; 
27547   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27548   if (!SWIG_IsOK(res1
)) { 
27549     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");  
27551   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27553     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27554     result 
= ((wxPyPrintout 
const *)arg1
)->GetTitle(); 
27555     wxPyEndAllowThreads(__tstate
); 
27556     if (PyErr_Occurred()) SWIG_fail
; 
27560     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
27562     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
27571 SWIGINTERN PyObject 
*_wrap_Printout_GetDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27572   PyObject 
*resultobj 
= 0; 
27573   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27577   PyObject 
*swig_obj
[1] ; 
27579   if (!args
) SWIG_fail
; 
27580   swig_obj
[0] = args
; 
27581   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27582   if (!SWIG_IsOK(res1
)) { 
27583     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27585   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27587     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27588     result 
= (wxDC 
*)(arg1
)->GetDC(); 
27589     wxPyEndAllowThreads(__tstate
); 
27590     if (PyErr_Occurred()) SWIG_fail
; 
27593     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
27601 SWIGINTERN PyObject 
*_wrap_Printout_SetDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27602   PyObject 
*resultobj 
= 0; 
27603   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27604   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
27609   PyObject 
* obj0 
= 0 ; 
27610   PyObject 
* obj1 
= 0 ; 
27611   char *  kwnames
[] = { 
27612     (char *) "self",(char *) "dc", NULL 
 
27615   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27616   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27617   if (!SWIG_IsOK(res1
)) { 
27618     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27620   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27621   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
27622   if (!SWIG_IsOK(res2
)) { 
27623     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");  
27625   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
27627     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27628     (arg1
)->SetDC(arg2
); 
27629     wxPyEndAllowThreads(__tstate
); 
27630     if (PyErr_Occurred()) SWIG_fail
; 
27632   resultobj 
= SWIG_Py_Void(); 
27639 SWIGINTERN PyObject 
*_wrap_Printout_SetPageSizePixels(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27640   PyObject 
*resultobj 
= 0; 
27641   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27650   PyObject 
* obj0 
= 0 ; 
27651   PyObject 
* obj1 
= 0 ; 
27652   PyObject 
* obj2 
= 0 ; 
27653   char *  kwnames
[] = { 
27654     (char *) "self",(char *) "w",(char *) "h", NULL 
 
27657   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27658   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27659   if (!SWIG_IsOK(res1
)) { 
27660     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27662   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27663   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27664   if (!SWIG_IsOK(ecode2
)) { 
27665     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'"); 
27667   arg2 
= static_cast< int >(val2
); 
27668   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
27669   if (!SWIG_IsOK(ecode3
)) { 
27670     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'"); 
27672   arg3 
= static_cast< int >(val3
); 
27674     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27675     (arg1
)->SetPageSizePixels(arg2
,arg3
); 
27676     wxPyEndAllowThreads(__tstate
); 
27677     if (PyErr_Occurred()) SWIG_fail
; 
27679   resultobj 
= SWIG_Py_Void(); 
27686 SWIGINTERN PyObject 
*_wrap_Printout_GetPageSizePixels(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27687   PyObject 
*resultobj 
= 0; 
27688   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27689   int *arg2 
= (int *) 0 ; 
27690   int *arg3 
= (int *) 0 ; 
27694   int res2 
= SWIG_TMPOBJ 
; 
27696   int res3 
= SWIG_TMPOBJ 
; 
27697   PyObject 
*swig_obj
[1] ; 
27701   if (!args
) SWIG_fail
; 
27702   swig_obj
[0] = args
; 
27703   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27704   if (!SWIG_IsOK(res1
)) { 
27705     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27707   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27709     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27710     (arg1
)->GetPageSizePixels(arg2
,arg3
); 
27711     wxPyEndAllowThreads(__tstate
); 
27712     if (PyErr_Occurred()) SWIG_fail
; 
27714   resultobj 
= SWIG_Py_Void(); 
27715   if (SWIG_IsTmpObj(res2
)) { 
27716     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
27718     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
27719     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
27721   if (SWIG_IsTmpObj(res3
)) { 
27722     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
27724     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
27725     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
27733 SWIGINTERN PyObject 
*_wrap_Printout_SetPageSizeMM(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27734   PyObject 
*resultobj 
= 0; 
27735   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27744   PyObject 
* obj0 
= 0 ; 
27745   PyObject 
* obj1 
= 0 ; 
27746   PyObject 
* obj2 
= 0 ; 
27747   char *  kwnames
[] = { 
27748     (char *) "self",(char *) "w",(char *) "h", NULL 
 
27751   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27752   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27753   if (!SWIG_IsOK(res1
)) { 
27754     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27756   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27757   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27758   if (!SWIG_IsOK(ecode2
)) { 
27759     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'"); 
27761   arg2 
= static_cast< int >(val2
); 
27762   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
27763   if (!SWIG_IsOK(ecode3
)) { 
27764     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'"); 
27766   arg3 
= static_cast< int >(val3
); 
27768     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27769     (arg1
)->SetPageSizeMM(arg2
,arg3
); 
27770     wxPyEndAllowThreads(__tstate
); 
27771     if (PyErr_Occurred()) SWIG_fail
; 
27773   resultobj 
= SWIG_Py_Void(); 
27780 SWIGINTERN PyObject 
*_wrap_Printout_GetPageSizeMM(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27781   PyObject 
*resultobj 
= 0; 
27782   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27783   int *arg2 
= (int *) 0 ; 
27784   int *arg3 
= (int *) 0 ; 
27788   int res2 
= SWIG_TMPOBJ 
; 
27790   int res3 
= SWIG_TMPOBJ 
; 
27791   PyObject 
*swig_obj
[1] ; 
27795   if (!args
) SWIG_fail
; 
27796   swig_obj
[0] = args
; 
27797   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27798   if (!SWIG_IsOK(res1
)) { 
27799     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27801   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27803     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27804     (arg1
)->GetPageSizeMM(arg2
,arg3
); 
27805     wxPyEndAllowThreads(__tstate
); 
27806     if (PyErr_Occurred()) SWIG_fail
; 
27808   resultobj 
= SWIG_Py_Void(); 
27809   if (SWIG_IsTmpObj(res2
)) { 
27810     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
27812     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
27813     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
27815   if (SWIG_IsTmpObj(res3
)) { 
27816     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
27818     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
27819     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
27827 SWIGINTERN PyObject 
*_wrap_Printout_SetPPIScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27828   PyObject 
*resultobj 
= 0; 
27829   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27838   PyObject 
* obj0 
= 0 ; 
27839   PyObject 
* obj1 
= 0 ; 
27840   PyObject 
* obj2 
= 0 ; 
27841   char *  kwnames
[] = { 
27842     (char *) "self",(char *) "x",(char *) "y", NULL 
 
27845   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27846   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27847   if (!SWIG_IsOK(res1
)) { 
27848     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27850   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27851   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27852   if (!SWIG_IsOK(ecode2
)) { 
27853     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'"); 
27855   arg2 
= static_cast< int >(val2
); 
27856   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
27857   if (!SWIG_IsOK(ecode3
)) { 
27858     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'"); 
27860   arg3 
= static_cast< int >(val3
); 
27862     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27863     (arg1
)->SetPPIScreen(arg2
,arg3
); 
27864     wxPyEndAllowThreads(__tstate
); 
27865     if (PyErr_Occurred()) SWIG_fail
; 
27867   resultobj 
= SWIG_Py_Void(); 
27874 SWIGINTERN PyObject 
*_wrap_Printout_GetPPIScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27875   PyObject 
*resultobj 
= 0; 
27876   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27877   int *arg2 
= (int *) 0 ; 
27878   int *arg3 
= (int *) 0 ; 
27882   int res2 
= SWIG_TMPOBJ 
; 
27884   int res3 
= SWIG_TMPOBJ 
; 
27885   PyObject 
*swig_obj
[1] ; 
27889   if (!args
) SWIG_fail
; 
27890   swig_obj
[0] = args
; 
27891   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27892   if (!SWIG_IsOK(res1
)) { 
27893     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27895   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27897     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27898     (arg1
)->GetPPIScreen(arg2
,arg3
); 
27899     wxPyEndAllowThreads(__tstate
); 
27900     if (PyErr_Occurred()) SWIG_fail
; 
27902   resultobj 
= SWIG_Py_Void(); 
27903   if (SWIG_IsTmpObj(res2
)) { 
27904     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
27906     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
27907     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
27909   if (SWIG_IsTmpObj(res3
)) { 
27910     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
27912     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
27913     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
27921 SWIGINTERN PyObject 
*_wrap_Printout_SetPPIPrinter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27922   PyObject 
*resultobj 
= 0; 
27923   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27932   PyObject 
* obj0 
= 0 ; 
27933   PyObject 
* obj1 
= 0 ; 
27934   PyObject 
* obj2 
= 0 ; 
27935   char *  kwnames
[] = { 
27936     (char *) "self",(char *) "x",(char *) "y", NULL 
 
27939   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27940   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27941   if (!SWIG_IsOK(res1
)) { 
27942     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27944   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27945   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27946   if (!SWIG_IsOK(ecode2
)) { 
27947     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'"); 
27949   arg2 
= static_cast< int >(val2
); 
27950   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
27951   if (!SWIG_IsOK(ecode3
)) { 
27952     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'"); 
27954   arg3 
= static_cast< int >(val3
); 
27956     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27957     (arg1
)->SetPPIPrinter(arg2
,arg3
); 
27958     wxPyEndAllowThreads(__tstate
); 
27959     if (PyErr_Occurred()) SWIG_fail
; 
27961   resultobj 
= SWIG_Py_Void(); 
27968 SWIGINTERN PyObject 
*_wrap_Printout_GetPPIPrinter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27969   PyObject 
*resultobj 
= 0; 
27970   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27971   int *arg2 
= (int *) 0 ; 
27972   int *arg3 
= (int *) 0 ; 
27976   int res2 
= SWIG_TMPOBJ 
; 
27978   int res3 
= SWIG_TMPOBJ 
; 
27979   PyObject 
*swig_obj
[1] ; 
27983   if (!args
) SWIG_fail
; 
27984   swig_obj
[0] = args
; 
27985   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27986   if (!SWIG_IsOK(res1
)) { 
27987     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27989   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27991     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27992     (arg1
)->GetPPIPrinter(arg2
,arg3
); 
27993     wxPyEndAllowThreads(__tstate
); 
27994     if (PyErr_Occurred()) SWIG_fail
; 
27996   resultobj 
= SWIG_Py_Void(); 
27997   if (SWIG_IsTmpObj(res2
)) { 
27998     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
28000     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28001     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
28003   if (SWIG_IsTmpObj(res3
)) { 
28004     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
28006     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28007     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
28015 SWIGINTERN PyObject 
*_wrap_Printout_IsPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28016   PyObject 
*resultobj 
= 0; 
28017   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28021   PyObject 
*swig_obj
[1] ; 
28023   if (!args
) SWIG_fail
; 
28024   swig_obj
[0] = args
; 
28025   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28026   if (!SWIG_IsOK(res1
)) { 
28027     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28029   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28031     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28032     result 
= (bool)(arg1
)->IsPreview(); 
28033     wxPyEndAllowThreads(__tstate
); 
28034     if (PyErr_Occurred()) SWIG_fail
; 
28037     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28045 SWIGINTERN PyObject 
*_wrap_Printout_SetIsPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28046   PyObject 
*resultobj 
= 0; 
28047   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28053   PyObject 
* obj0 
= 0 ; 
28054   PyObject 
* obj1 
= 0 ; 
28055   char *  kwnames
[] = { 
28056     (char *) "self",(char *) "p", NULL 
 
28059   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28060   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28061   if (!SWIG_IsOK(res1
)) { 
28062     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28064   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28065   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
28066   if (!SWIG_IsOK(ecode2
)) { 
28067     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'"); 
28069   arg2 
= static_cast< bool >(val2
); 
28071     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28072     (arg1
)->SetIsPreview(arg2
); 
28073     wxPyEndAllowThreads(__tstate
); 
28074     if (PyErr_Occurred()) SWIG_fail
; 
28076   resultobj 
= SWIG_Py_Void(); 
28083 SWIGINTERN PyObject 
*_wrap_Printout_OnBeginDocument(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28084   PyObject 
*resultobj 
= 0; 
28085   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28095   PyObject 
* obj0 
= 0 ; 
28096   PyObject 
* obj1 
= 0 ; 
28097   PyObject 
* obj2 
= 0 ; 
28098   char *  kwnames
[] = { 
28099     (char *) "self",(char *) "startPage",(char *) "endPage", NULL 
 
28102   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
28103   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28104   if (!SWIG_IsOK(res1
)) { 
28105     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28107   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28108   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28109   if (!SWIG_IsOK(ecode2
)) { 
28110     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'"); 
28112   arg2 
= static_cast< int >(val2
); 
28113   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
28114   if (!SWIG_IsOK(ecode3
)) { 
28115     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'"); 
28117   arg3 
= static_cast< int >(val3
); 
28119     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28120     result 
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
); 
28121     wxPyEndAllowThreads(__tstate
); 
28122     if (PyErr_Occurred()) SWIG_fail
; 
28125     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28133 SWIGINTERN PyObject 
*_wrap_Printout_OnEndDocument(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28134   PyObject 
*resultobj 
= 0; 
28135   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28138   PyObject 
*swig_obj
[1] ; 
28140   if (!args
) SWIG_fail
; 
28141   swig_obj
[0] = args
; 
28142   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28143   if (!SWIG_IsOK(res1
)) { 
28144     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28146   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28148     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28149     (arg1
)->OnEndDocument(); 
28150     wxPyEndAllowThreads(__tstate
); 
28151     if (PyErr_Occurred()) SWIG_fail
; 
28153   resultobj 
= SWIG_Py_Void(); 
28160 SWIGINTERN PyObject 
*_wrap_Printout_OnBeginPrinting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28161   PyObject 
*resultobj 
= 0; 
28162   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28165   PyObject 
*swig_obj
[1] ; 
28167   if (!args
) SWIG_fail
; 
28168   swig_obj
[0] = args
; 
28169   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28170   if (!SWIG_IsOK(res1
)) { 
28171     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28173   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28175     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28176     (arg1
)->OnBeginPrinting(); 
28177     wxPyEndAllowThreads(__tstate
); 
28178     if (PyErr_Occurred()) SWIG_fail
; 
28180   resultobj 
= SWIG_Py_Void(); 
28187 SWIGINTERN PyObject 
*_wrap_Printout_OnEndPrinting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28188   PyObject 
*resultobj 
= 0; 
28189   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28192   PyObject 
*swig_obj
[1] ; 
28194   if (!args
) SWIG_fail
; 
28195   swig_obj
[0] = args
; 
28196   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28197   if (!SWIG_IsOK(res1
)) { 
28198     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28200   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28202     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28203     (arg1
)->OnEndPrinting(); 
28204     wxPyEndAllowThreads(__tstate
); 
28205     if (PyErr_Occurred()) SWIG_fail
; 
28207   resultobj 
= SWIG_Py_Void(); 
28214 SWIGINTERN PyObject 
*_wrap_Printout_OnPreparePrinting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28215   PyObject 
*resultobj 
= 0; 
28216   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28219   PyObject 
*swig_obj
[1] ; 
28221   if (!args
) SWIG_fail
; 
28222   swig_obj
[0] = args
; 
28223   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28224   if (!SWIG_IsOK(res1
)) { 
28225     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28227   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28229     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28230     (arg1
)->OnPreparePrinting(); 
28231     wxPyEndAllowThreads(__tstate
); 
28232     if (PyErr_Occurred()) SWIG_fail
; 
28234   resultobj 
= SWIG_Py_Void(); 
28241 SWIGINTERN PyObject 
*_wrap_Printout_HasPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28242   PyObject 
*resultobj 
= 0; 
28243   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28250   PyObject 
* obj0 
= 0 ; 
28251   PyObject 
* obj1 
= 0 ; 
28252   char *  kwnames
[] = { 
28253     (char *) "self",(char *) "page", NULL 
 
28256   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28257   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28258   if (!SWIG_IsOK(res1
)) { 
28259     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28261   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28262   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28263   if (!SWIG_IsOK(ecode2
)) { 
28264     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'"); 
28266   arg2 
= static_cast< int >(val2
); 
28268     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28269     result 
= (bool)(arg1
)->HasPage(arg2
); 
28270     wxPyEndAllowThreads(__tstate
); 
28271     if (PyErr_Occurred()) SWIG_fail
; 
28274     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28282 SWIGINTERN PyObject 
*_wrap_Printout_GetPageInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28283   PyObject 
*resultobj 
= 0; 
28284   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28285   int *arg2 
= (int *) 0 ; 
28286   int *arg3 
= (int *) 0 ; 
28287   int *arg4 
= (int *) 0 ; 
28288   int *arg5 
= (int *) 0 ; 
28292   int res2 
= SWIG_TMPOBJ 
; 
28294   int res3 
= SWIG_TMPOBJ 
; 
28296   int res4 
= SWIG_TMPOBJ 
; 
28298   int res5 
= SWIG_TMPOBJ 
; 
28299   PyObject 
*swig_obj
[1] ; 
28305   if (!args
) SWIG_fail
; 
28306   swig_obj
[0] = args
; 
28307   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28308   if (!SWIG_IsOK(res1
)) { 
28309     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28311   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28313     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28314     (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
); 
28315     wxPyEndAllowThreads(__tstate
); 
28316     if (PyErr_Occurred()) SWIG_fail
; 
28318   resultobj 
= SWIG_Py_Void(); 
28319   if (SWIG_IsTmpObj(res2
)) { 
28320     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
28322     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28323     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
28325   if (SWIG_IsTmpObj(res3
)) { 
28326     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
28328     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28329     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
28331   if (SWIG_IsTmpObj(res4
)) { 
28332     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
28334     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28335     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
28337   if (SWIG_IsTmpObj(res5
)) { 
28338     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
28340     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28341     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
28349 SWIGINTERN PyObject 
*Printout_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28351   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28352   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
)); 
28353   return SWIG_Py_Void(); 
28356 SWIGINTERN PyObject 
*Printout_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28357   return SWIG_Python_InitShadowInstance(args
); 
28360 SWIGINTERN PyObject 
*_wrap_new_PreviewCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28361   PyObject 
*resultobj 
= 0; 
28362   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
28363   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
28364   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
28365   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
28366   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
28367   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
28368   long arg5 
= (long) 0 ; 
28369   wxString 
const &arg6_defvalue 
= wxPyPreviewCanvasNameStr 
; 
28370   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
28371   wxPreviewCanvas 
*result 
= 0 ; 
28380   bool temp6 
= false ; 
28381   PyObject 
* obj0 
= 0 ; 
28382   PyObject 
* obj1 
= 0 ; 
28383   PyObject 
* obj2 
= 0 ; 
28384   PyObject 
* obj3 
= 0 ; 
28385   PyObject 
* obj4 
= 0 ; 
28386   PyObject 
* obj5 
= 0 ; 
28387   char *  kwnames
[] = { 
28388     (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
28391   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
28392   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
28393   if (!SWIG_IsOK(res1
)) { 
28394     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
28396   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
28397   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
28398   if (!SWIG_IsOK(res2
)) { 
28399     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");  
28401   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
28405       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
28411       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
28415     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
28416     if (!SWIG_IsOK(ecode5
)) { 
28417       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'"); 
28419     arg5 
= static_cast< long >(val5
); 
28423       arg6 
= wxString_in_helper(obj5
); 
28424       if (arg6 
== NULL
) SWIG_fail
; 
28429     if (!wxPyCheckForApp()) SWIG_fail
; 
28430     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28431     result 
= (wxPreviewCanvas 
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
28432     wxPyEndAllowThreads(__tstate
); 
28433     if (PyErr_Occurred()) SWIG_fail
; 
28435   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW 
|  0 ); 
28450 SWIGINTERN PyObject 
*PreviewCanvas_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28452   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28453   SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
)); 
28454   return SWIG_Py_Void(); 
28457 SWIGINTERN PyObject 
*PreviewCanvas_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28458   return SWIG_Python_InitShadowInstance(args
); 
28461 SWIGINTERN PyObject 
*_wrap_new_PreviewFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28462   PyObject 
*resultobj 
= 0; 
28463   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
28464   wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
28465   wxString 
*arg3 
= 0 ; 
28466   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
28467   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
28468   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
28469   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
28470   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
28471   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
28472   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
28473   wxPreviewFrame 
*result 
= 0 ; 
28477   bool temp3 
= false ; 
28482   bool temp7 
= false ; 
28483   PyObject 
* obj0 
= 0 ; 
28484   PyObject 
* obj1 
= 0 ; 
28485   PyObject 
* obj2 
= 0 ; 
28486   PyObject 
* obj3 
= 0 ; 
28487   PyObject 
* obj4 
= 0 ; 
28488   PyObject 
* obj5 
= 0 ; 
28489   PyObject 
* obj6 
= 0 ; 
28490   char *  kwnames
[] = { 
28491     (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
28494   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
28495   res1 
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN 
|  0 ); 
28496   if (!SWIG_IsOK(res1
)) { 
28497     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'"); 
28499   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
28500   if (!SWIG_IsOK(res2
)) { 
28501     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");  
28503   arg2 
= reinterpret_cast< wxFrame 
* >(argp2
); 
28505     arg3 
= wxString_in_helper(obj2
); 
28506     if (arg3 
== NULL
) SWIG_fail
; 
28512       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
28518       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
28522     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
28523     if (!SWIG_IsOK(ecode6
)) { 
28524       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'"); 
28526     arg6 
= static_cast< long >(val6
); 
28530       arg7 
= wxString_in_helper(obj6
); 
28531       if (arg7 
== NULL
) SWIG_fail
; 
28536     if (!wxPyCheckForApp()) SWIG_fail
; 
28537     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28538     result 
= (wxPreviewFrame 
*)new wxPreviewFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
28539     wxPyEndAllowThreads(__tstate
); 
28540     if (PyErr_Occurred()) SWIG_fail
; 
28542   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW 
|  0 ); 
28565 SWIGINTERN PyObject 
*_wrap_PreviewFrame_Initialize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28566   PyObject 
*resultobj 
= 0; 
28567   wxPreviewFrame 
*arg1 
= (wxPreviewFrame 
*) 0 ; 
28570   PyObject 
*swig_obj
[1] ; 
28572   if (!args
) SWIG_fail
; 
28573   swig_obj
[0] = args
; 
28574   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 |  0 ); 
28575   if (!SWIG_IsOK(res1
)) { 
28576     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");  
28578   arg1 
= reinterpret_cast< wxPreviewFrame 
* >(argp1
); 
28580     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28581     (arg1
)->Initialize(); 
28582     wxPyEndAllowThreads(__tstate
); 
28583     if (PyErr_Occurred()) SWIG_fail
; 
28585   resultobj 
= SWIG_Py_Void(); 
28592 SWIGINTERN PyObject 
*_wrap_PreviewFrame_CreateControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28593   PyObject 
*resultobj 
= 0; 
28594   wxPreviewFrame 
*arg1 
= (wxPreviewFrame 
*) 0 ; 
28597   PyObject 
*swig_obj
[1] ; 
28599   if (!args
) SWIG_fail
; 
28600   swig_obj
[0] = args
; 
28601   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 |  0 ); 
28602   if (!SWIG_IsOK(res1
)) { 
28603     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");  
28605   arg1 
= reinterpret_cast< wxPreviewFrame 
* >(argp1
); 
28607     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28608     (arg1
)->CreateControlBar(); 
28609     wxPyEndAllowThreads(__tstate
); 
28610     if (PyErr_Occurred()) SWIG_fail
; 
28612   resultobj 
= SWIG_Py_Void(); 
28619 SWIGINTERN PyObject 
*_wrap_PreviewFrame_CreateCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28620   PyObject 
*resultobj 
= 0; 
28621   wxPreviewFrame 
*arg1 
= (wxPreviewFrame 
*) 0 ; 
28624   PyObject 
*swig_obj
[1] ; 
28626   if (!args
) SWIG_fail
; 
28627   swig_obj
[0] = args
; 
28628   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 |  0 ); 
28629   if (!SWIG_IsOK(res1
)) { 
28630     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");  
28632   arg1 
= reinterpret_cast< wxPreviewFrame 
* >(argp1
); 
28634     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28635     (arg1
)->CreateCanvas(); 
28636     wxPyEndAllowThreads(__tstate
); 
28637     if (PyErr_Occurred()) SWIG_fail
; 
28639   resultobj 
= SWIG_Py_Void(); 
28646 SWIGINTERN PyObject 
*_wrap_PreviewFrame_GetControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28647   PyObject 
*resultobj 
= 0; 
28648   wxPreviewFrame 
*arg1 
= (wxPreviewFrame 
*) 0 ; 
28649   wxPreviewControlBar 
*result 
= 0 ; 
28652   PyObject 
*swig_obj
[1] ; 
28654   if (!args
) SWIG_fail
; 
28655   swig_obj
[0] = args
; 
28656   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 |  0 ); 
28657   if (!SWIG_IsOK(res1
)) { 
28658     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");  
28660   arg1 
= reinterpret_cast< wxPreviewFrame 
* >(argp1
); 
28662     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28663     result 
= (wxPreviewControlBar 
*)((wxPreviewFrame 
const *)arg1
)->GetControlBar(); 
28664     wxPyEndAllowThreads(__tstate
); 
28665     if (PyErr_Occurred()) SWIG_fail
; 
28667   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
28674 SWIGINTERN PyObject 
*PreviewFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28676   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28677   SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
)); 
28678   return SWIG_Py_Void(); 
28681 SWIGINTERN PyObject 
*PreviewFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28682   return SWIG_Python_InitShadowInstance(args
); 
28685 SWIGINTERN PyObject 
*_wrap_new_PreviewControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28686   PyObject 
*resultobj 
= 0; 
28687   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
28689   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
28690   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
28691   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
28692   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
28693   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
28694   long arg6 
= (long) wxTAB_TRAVERSAL 
; 
28695   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
28696   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
28697   wxPreviewControlBar 
*result 
= 0 ; 
28708   bool temp7 
= false ; 
28709   PyObject 
* obj0 
= 0 ; 
28710   PyObject 
* obj1 
= 0 ; 
28711   PyObject 
* obj2 
= 0 ; 
28712   PyObject 
* obj3 
= 0 ; 
28713   PyObject 
* obj4 
= 0 ; 
28714   PyObject 
* obj5 
= 0 ; 
28715   PyObject 
* obj6 
= 0 ; 
28716   char *  kwnames
[] = { 
28717     (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
28720   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
28721   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
28722   if (!SWIG_IsOK(res1
)) { 
28723     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
28725   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
28726   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
28727   if (!SWIG_IsOK(ecode2
)) { 
28728     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'"); 
28730   arg2 
= static_cast< long >(val2
); 
28731   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
28732   if (!SWIG_IsOK(res3
)) { 
28733     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");  
28735   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
28739       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
28745       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
28749     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
28750     if (!SWIG_IsOK(ecode6
)) { 
28751       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'"); 
28753     arg6 
= static_cast< long >(val6
); 
28757       arg7 
= wxString_in_helper(obj6
); 
28758       if (arg7 
== NULL
) SWIG_fail
; 
28763     if (!wxPyCheckForApp()) SWIG_fail
; 
28764     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28765     result 
= (wxPreviewControlBar 
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
28766     wxPyEndAllowThreads(__tstate
); 
28767     if (PyErr_Occurred()) SWIG_fail
; 
28769   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW 
|  0 ); 
28784 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_GetZoomControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28785   PyObject 
*resultobj 
= 0; 
28786   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
28790   PyObject 
*swig_obj
[1] ; 
28792   if (!args
) SWIG_fail
; 
28793   swig_obj
[0] = args
; 
28794   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
28795   if (!SWIG_IsOK(res1
)) { 
28796     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
28798   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
28800     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28801     result 
= (int)(arg1
)->GetZoomControl(); 
28802     wxPyEndAllowThreads(__tstate
); 
28803     if (PyErr_Occurred()) SWIG_fail
; 
28805   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
28812 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_SetZoomControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28813   PyObject 
*resultobj 
= 0; 
28814   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
28820   PyObject 
* obj0 
= 0 ; 
28821   PyObject 
* obj1 
= 0 ; 
28822   char *  kwnames
[] = { 
28823     (char *) "self",(char *) "zoom", NULL 
 
28826   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28827   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
28828   if (!SWIG_IsOK(res1
)) { 
28829     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
28831   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
28832   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28833   if (!SWIG_IsOK(ecode2
)) { 
28834     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'"); 
28836   arg2 
= static_cast< int >(val2
); 
28838     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28839     (arg1
)->SetZoomControl(arg2
); 
28840     wxPyEndAllowThreads(__tstate
); 
28841     if (PyErr_Occurred()) SWIG_fail
; 
28843   resultobj 
= SWIG_Py_Void(); 
28850 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_GetPrintPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28851   PyObject 
*resultobj 
= 0; 
28852   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
28853   wxPrintPreview 
*result 
= 0 ; 
28856   PyObject 
*swig_obj
[1] ; 
28858   if (!args
) SWIG_fail
; 
28859   swig_obj
[0] = args
; 
28860   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
28861   if (!SWIG_IsOK(res1
)) { 
28862     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
28864   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
28866     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28867     result 
= (wxPrintPreview 
*)(arg1
)->GetPrintPreview(); 
28868     wxPyEndAllowThreads(__tstate
); 
28869     if (PyErr_Occurred()) SWIG_fail
; 
28871   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
28878 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnNext(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28879   PyObject 
*resultobj 
= 0; 
28880   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
28883   PyObject 
*swig_obj
[1] ; 
28885   if (!args
) SWIG_fail
; 
28886   swig_obj
[0] = args
; 
28887   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
28888   if (!SWIG_IsOK(res1
)) { 
28889     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
28891   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
28893     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28895     wxPyEndAllowThreads(__tstate
); 
28896     if (PyErr_Occurred()) SWIG_fail
; 
28898   resultobj 
= SWIG_Py_Void(); 
28905 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnPrevious(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28906   PyObject 
*resultobj 
= 0; 
28907   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
28910   PyObject 
*swig_obj
[1] ; 
28912   if (!args
) SWIG_fail
; 
28913   swig_obj
[0] = args
; 
28914   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
28915   if (!SWIG_IsOK(res1
)) { 
28916     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
28918   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
28920     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28921     (arg1
)->OnPrevious(); 
28922     wxPyEndAllowThreads(__tstate
); 
28923     if (PyErr_Occurred()) SWIG_fail
; 
28925   resultobj 
= SWIG_Py_Void(); 
28932 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnFirst(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28933   PyObject 
*resultobj 
= 0; 
28934   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
28937   PyObject 
*swig_obj
[1] ; 
28939   if (!args
) SWIG_fail
; 
28940   swig_obj
[0] = args
; 
28941   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
28942   if (!SWIG_IsOK(res1
)) { 
28943     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
28945   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
28947     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28949     wxPyEndAllowThreads(__tstate
); 
28950     if (PyErr_Occurred()) SWIG_fail
; 
28952   resultobj 
= SWIG_Py_Void(); 
28959 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnLast(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28960   PyObject 
*resultobj 
= 0; 
28961   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
28964   PyObject 
*swig_obj
[1] ; 
28966   if (!args
) SWIG_fail
; 
28967   swig_obj
[0] = args
; 
28968   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
28969   if (!SWIG_IsOK(res1
)) { 
28970     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
28972   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
28974     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28976     wxPyEndAllowThreads(__tstate
); 
28977     if (PyErr_Occurred()) SWIG_fail
; 
28979   resultobj 
= SWIG_Py_Void(); 
28986 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnGoto(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28987   PyObject 
*resultobj 
= 0; 
28988   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
28991   PyObject 
*swig_obj
[1] ; 
28993   if (!args
) SWIG_fail
; 
28994   swig_obj
[0] = args
; 
28995   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
28996   if (!SWIG_IsOK(res1
)) { 
28997     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
28999   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29001     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29003     wxPyEndAllowThreads(__tstate
); 
29004     if (PyErr_Occurred()) SWIG_fail
; 
29006   resultobj 
= SWIG_Py_Void(); 
29013 SWIGINTERN PyObject 
*PreviewControlBar_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29015   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
29016   SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
)); 
29017   return SWIG_Py_Void(); 
29020 SWIGINTERN PyObject 
*PreviewControlBar_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29021   return SWIG_Python_InitShadowInstance(args
); 
29024 SWIGINTERN PyObject 
*_wrap_new_PrintPreview__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
29025   PyObject 
*resultobj 
= 0; 
29026   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
29027   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
29028   wxPrintDialogData 
*arg3 
= (wxPrintDialogData 
*) NULL 
; 
29029   wxPrintPreview 
*result 
= 0 ; 
29035   if ((nobjs 
< 2) || (nobjs 
> 3)) SWIG_fail
; 
29036   res1 
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29037   if (!SWIG_IsOK(res1
)) { 
29038     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'"); 
29040   res2 
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29041   if (!SWIG_IsOK(res2
)) { 
29042     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
29045     res3 
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
29046     if (!SWIG_IsOK(res3
)) { 
29047       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");  
29049     arg3 
= reinterpret_cast< wxPrintDialogData 
* >(argp3
); 
29052     if (!wxPyCheckForApp()) SWIG_fail
; 
29053     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29054     result 
= (wxPrintPreview 
*)new wxPrintPreview(arg1
,arg2
,arg3
); 
29055     wxPyEndAllowThreads(__tstate
); 
29056     if (PyErr_Occurred()) SWIG_fail
; 
29058   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW 
|  0 ); 
29065 SWIGINTERN PyObject 
*_wrap_new_PrintPreview__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
29066   PyObject 
*resultobj 
= 0; 
29067   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
29068   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
29069   wxPrintData 
*arg3 
= (wxPrintData 
*) 0 ; 
29070   wxPrintPreview 
*result 
= 0 ; 
29076   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
29077   res1 
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29078   if (!SWIG_IsOK(res1
)) { 
29079     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'"); 
29081   res2 
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29082   if (!SWIG_IsOK(res2
)) { 
29083     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
29085   res3 
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
29086   if (!SWIG_IsOK(res3
)) { 
29087     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");  
29089   arg3 
= reinterpret_cast< wxPrintData 
* >(argp3
); 
29091     if (!wxPyCheckForApp()) SWIG_fail
; 
29092     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29093     result 
= (wxPrintPreview 
*)new wxPrintPreview(arg1
,arg2
,arg3
); 
29094     wxPyEndAllowThreads(__tstate
); 
29095     if (PyErr_Occurred()) SWIG_fail
; 
29097   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW 
|  0 ); 
29104 SWIGINTERN PyObject 
*_wrap_new_PrintPreview(PyObject 
*self
, PyObject 
*args
) { 
29108   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
; 
29110   if ((argc 
>= 2) && (argc 
<= 3)) { 
29115         int res 
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0); 
29116         _v 
= SWIG_CheckState(res
); 
29118       if (!_v
) goto check_1
; 
29120     return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
); 
29125     return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
); 
29129   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'"); 
29134 SWIGINTERN PyObject 
*_wrap_delete_PrintPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29135   PyObject 
*resultobj 
= 0; 
29136   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29139   PyObject 
*swig_obj
[1] ; 
29141   if (!args
) SWIG_fail
; 
29142   swig_obj
[0] = args
; 
29143   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN 
|  0 ); 
29144   if (!SWIG_IsOK(res1
)) { 
29145     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29147   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29149     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29152     wxPyEndAllowThreads(__tstate
); 
29153     if (PyErr_Occurred()) SWIG_fail
; 
29155   resultobj 
= SWIG_Py_Void(); 
29162 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetCurrentPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29163   PyObject 
*resultobj 
= 0; 
29164   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29171   PyObject 
* obj0 
= 0 ; 
29172   PyObject 
* obj1 
= 0 ; 
29173   char *  kwnames
[] = { 
29174     (char *) "self",(char *) "pageNum", NULL 
 
29177   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29178   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29179   if (!SWIG_IsOK(res1
)) { 
29180     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29182   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29183   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
29184   if (!SWIG_IsOK(ecode2
)) { 
29185     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'"); 
29187   arg2 
= static_cast< int >(val2
); 
29189     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29190     result 
= (bool)(arg1
)->SetCurrentPage(arg2
); 
29191     wxPyEndAllowThreads(__tstate
); 
29192     if (PyErr_Occurred()) SWIG_fail
; 
29195     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29203 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetCurrentPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29204   PyObject 
*resultobj 
= 0; 
29205   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29209   PyObject 
*swig_obj
[1] ; 
29211   if (!args
) SWIG_fail
; 
29212   swig_obj
[0] = args
; 
29213   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29214   if (!SWIG_IsOK(res1
)) { 
29215     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29217   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29219     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29220     result 
= (int)(arg1
)->GetCurrentPage(); 
29221     wxPyEndAllowThreads(__tstate
); 
29222     if (PyErr_Occurred()) SWIG_fail
; 
29224   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
29231 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetPrintout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29232   PyObject 
*resultobj 
= 0; 
29233   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29234   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
29238   PyObject 
* obj0 
= 0 ; 
29239   PyObject 
* obj1 
= 0 ; 
29240   char *  kwnames
[] = { 
29241     (char *) "self",(char *) "printout", NULL 
 
29244   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29245   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29246   if (!SWIG_IsOK(res1
)) { 
29247     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29249   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29250   res2 
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29251   if (!SWIG_IsOK(res2
)) { 
29252     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
29255     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29256     (arg1
)->SetPrintout(arg2
); 
29257     wxPyEndAllowThreads(__tstate
); 
29258     if (PyErr_Occurred()) SWIG_fail
; 
29260   resultobj 
= SWIG_Py_Void(); 
29267 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetPrintout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29268   PyObject 
*resultobj 
= 0; 
29269   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29270   wxPyPrintout 
*result 
= 0 ; 
29273   PyObject 
*swig_obj
[1] ; 
29275   if (!args
) SWIG_fail
; 
29276   swig_obj
[0] = args
; 
29277   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29278   if (!SWIG_IsOK(res1
)) { 
29279     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29281   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29283     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29284     result 
= (wxPyPrintout 
*)(arg1
)->GetPrintout(); 
29285     wxPyEndAllowThreads(__tstate
); 
29286     if (PyErr_Occurred()) SWIG_fail
; 
29289     resultobj 
= wxPyMake_wxObject(result
, 0);  
29297 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29298   PyObject 
*resultobj 
= 0; 
29299   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29300   wxPyPrintout 
*result 
= 0 ; 
29303   PyObject 
*swig_obj
[1] ; 
29305   if (!args
) SWIG_fail
; 
29306   swig_obj
[0] = args
; 
29307   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29308   if (!SWIG_IsOK(res1
)) { 
29309     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29311   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29313     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29314     result 
= (wxPyPrintout 
*)(arg1
)->GetPrintoutForPrinting(); 
29315     wxPyEndAllowThreads(__tstate
); 
29316     if (PyErr_Occurred()) SWIG_fail
; 
29319     resultobj 
= wxPyMake_wxObject(result
, 0);  
29327 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29328   PyObject 
*resultobj 
= 0; 
29329   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29330   wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
29335   PyObject 
* obj0 
= 0 ; 
29336   PyObject 
* obj1 
= 0 ; 
29337   char *  kwnames
[] = { 
29338     (char *) "self",(char *) "frame", NULL 
 
29341   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29342   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29343   if (!SWIG_IsOK(res1
)) { 
29344     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29346   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29347   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
29348   if (!SWIG_IsOK(res2
)) { 
29349     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");  
29351   arg2 
= reinterpret_cast< wxFrame 
* >(argp2
); 
29353     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29354     (arg1
)->SetFrame(arg2
); 
29355     wxPyEndAllowThreads(__tstate
); 
29356     if (PyErr_Occurred()) SWIG_fail
; 
29358   resultobj 
= SWIG_Py_Void(); 
29365 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29366   PyObject 
*resultobj 
= 0; 
29367   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29368   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
29373   PyObject 
* obj0 
= 0 ; 
29374   PyObject 
* obj1 
= 0 ; 
29375   char *  kwnames
[] = { 
29376     (char *) "self",(char *) "canvas", NULL 
 
29379   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29380   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29381   if (!SWIG_IsOK(res1
)) { 
29382     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29384   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29385   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29386   if (!SWIG_IsOK(res2
)) { 
29387     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
29389   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
29391     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29392     (arg1
)->SetCanvas(arg2
); 
29393     wxPyEndAllowThreads(__tstate
); 
29394     if (PyErr_Occurred()) SWIG_fail
; 
29396   resultobj 
= SWIG_Py_Void(); 
29403 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29404   PyObject 
*resultobj 
= 0; 
29405   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29406   wxFrame 
*result 
= 0 ; 
29409   PyObject 
*swig_obj
[1] ; 
29411   if (!args
) SWIG_fail
; 
29412   swig_obj
[0] = args
; 
29413   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29414   if (!SWIG_IsOK(res1
)) { 
29415     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29417   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29419     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29420     result 
= (wxFrame 
*)(arg1
)->GetFrame(); 
29421     wxPyEndAllowThreads(__tstate
); 
29422     if (PyErr_Occurred()) SWIG_fail
; 
29425     resultobj 
= wxPyMake_wxObject(result
, 0);  
29433 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29434   PyObject 
*resultobj 
= 0; 
29435   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29436   wxPreviewCanvas 
*result 
= 0 ; 
29439   PyObject 
*swig_obj
[1] ; 
29441   if (!args
) SWIG_fail
; 
29442   swig_obj
[0] = args
; 
29443   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29444   if (!SWIG_IsOK(res1
)) { 
29445     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29447   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29449     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29450     result 
= (wxPreviewCanvas 
*)(arg1
)->GetCanvas(); 
29451     wxPyEndAllowThreads(__tstate
); 
29452     if (PyErr_Occurred()) SWIG_fail
; 
29454   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29461 SWIGINTERN PyObject 
*_wrap_PrintPreview_PaintPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29462   PyObject 
*resultobj 
= 0; 
29463   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29464   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
29473   PyObject 
* obj0 
= 0 ; 
29474   PyObject 
* obj1 
= 0 ; 
29475   PyObject 
* obj2 
= 0 ; 
29476   char *  kwnames
[] = { 
29477     (char *) "self",(char *) "canvas",(char *) "dc", NULL 
 
29480   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
29481   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29482   if (!SWIG_IsOK(res1
)) { 
29483     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29485   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29486   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29487   if (!SWIG_IsOK(res2
)) { 
29488     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
29490   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
29491   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
29492   if (!SWIG_IsOK(res3
)) { 
29493     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");  
29496     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");  
29498   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
29500     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29501     result 
= (bool)(arg1
)->PaintPage(arg2
,*arg3
); 
29502     wxPyEndAllowThreads(__tstate
); 
29503     if (PyErr_Occurred()) SWIG_fail
; 
29506     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29514 SWIGINTERN PyObject 
*_wrap_PrintPreview_DrawBlankPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29515   PyObject 
*resultobj 
= 0; 
29516   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29517   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
29526   PyObject 
* obj0 
= 0 ; 
29527   PyObject 
* obj1 
= 0 ; 
29528   PyObject 
* obj2 
= 0 ; 
29529   char *  kwnames
[] = { 
29530     (char *) "self",(char *) "canvas",(char *) "dc", NULL 
 
29533   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
29534   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29535   if (!SWIG_IsOK(res1
)) { 
29536     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29538   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29539   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29540   if (!SWIG_IsOK(res2
)) { 
29541     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
29543   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
29544   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
29545   if (!SWIG_IsOK(res3
)) { 
29546     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");  
29549     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");  
29551   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
29553     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29554     result 
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
); 
29555     wxPyEndAllowThreads(__tstate
); 
29556     if (PyErr_Occurred()) SWIG_fail
; 
29559     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29567 SWIGINTERN PyObject 
*_wrap_PrintPreview_RenderPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29568   PyObject 
*resultobj 
= 0; 
29569   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29576   PyObject 
* obj0 
= 0 ; 
29577   PyObject 
* obj1 
= 0 ; 
29578   char *  kwnames
[] = { 
29579     (char *) "self",(char *) "pageNum", NULL 
 
29582   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29583   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29584   if (!SWIG_IsOK(res1
)) { 
29585     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29587   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29588   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
29589   if (!SWIG_IsOK(ecode2
)) { 
29590     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'"); 
29592   arg2 
= static_cast< int >(val2
); 
29594     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29595     result 
= (bool)(arg1
)->RenderPage(arg2
); 
29596     wxPyEndAllowThreads(__tstate
); 
29597     if (PyErr_Occurred()) SWIG_fail
; 
29600     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29608 SWIGINTERN PyObject 
*_wrap_PrintPreview_AdjustScrollbars(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29609   PyObject 
*resultobj 
= 0; 
29610   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29611   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
29616   PyObject 
* obj0 
= 0 ; 
29617   PyObject 
* obj1 
= 0 ; 
29618   char *  kwnames
[] = { 
29619     (char *) "self",(char *) "canvas", NULL 
 
29622   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29623   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29624   if (!SWIG_IsOK(res1
)) { 
29625     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29627   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29628   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29629   if (!SWIG_IsOK(res2
)) { 
29630     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
29632   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
29634     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29635     (arg1
)->AdjustScrollbars(arg2
); 
29636     wxPyEndAllowThreads(__tstate
); 
29637     if (PyErr_Occurred()) SWIG_fail
; 
29639   resultobj 
= SWIG_Py_Void(); 
29646 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetPrintDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29647   PyObject 
*resultobj 
= 0; 
29648   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29649   wxPrintDialogData 
*result 
= 0 ; 
29652   PyObject 
*swig_obj
[1] ; 
29654   if (!args
) SWIG_fail
; 
29655   swig_obj
[0] = args
; 
29656   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29657   if (!SWIG_IsOK(res1
)) { 
29658     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29660   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29662     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29664       wxPrintDialogData 
&_result_ref 
= (arg1
)->GetPrintDialogData(); 
29665       result 
= (wxPrintDialogData 
*) &_result_ref
; 
29667     wxPyEndAllowThreads(__tstate
); 
29668     if (PyErr_Occurred()) SWIG_fail
; 
29670   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
29677 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetZoom(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29678   PyObject 
*resultobj 
= 0; 
29679   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29685   PyObject 
* obj0 
= 0 ; 
29686   PyObject 
* obj1 
= 0 ; 
29687   char *  kwnames
[] = { 
29688     (char *) "self",(char *) "percent", NULL 
 
29691   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29692   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29693   if (!SWIG_IsOK(res1
)) { 
29694     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29696   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29697   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
29698   if (!SWIG_IsOK(ecode2
)) { 
29699     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'"); 
29701   arg2 
= static_cast< int >(val2
); 
29703     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29704     (arg1
)->SetZoom(arg2
); 
29705     wxPyEndAllowThreads(__tstate
); 
29706     if (PyErr_Occurred()) SWIG_fail
; 
29708   resultobj 
= SWIG_Py_Void(); 
29715 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetZoom(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29716   PyObject 
*resultobj 
= 0; 
29717   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29721   PyObject 
*swig_obj
[1] ; 
29723   if (!args
) SWIG_fail
; 
29724   swig_obj
[0] = args
; 
29725   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29726   if (!SWIG_IsOK(res1
)) { 
29727     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29729   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29731     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29732     result 
= (int)(arg1
)->GetZoom(); 
29733     wxPyEndAllowThreads(__tstate
); 
29734     if (PyErr_Occurred()) SWIG_fail
; 
29736   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
29743 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetMaxPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29744   PyObject 
*resultobj 
= 0; 
29745   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29749   PyObject 
*swig_obj
[1] ; 
29751   if (!args
) SWIG_fail
; 
29752   swig_obj
[0] = args
; 
29753   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29754   if (!SWIG_IsOK(res1
)) { 
29755     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29757   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29759     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29760     result 
= (int)(arg1
)->GetMaxPage(); 
29761     wxPyEndAllowThreads(__tstate
); 
29762     if (PyErr_Occurred()) SWIG_fail
; 
29764   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
29771 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetMinPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29772   PyObject 
*resultobj 
= 0; 
29773   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29777   PyObject 
*swig_obj
[1] ; 
29779   if (!args
) SWIG_fail
; 
29780   swig_obj
[0] = args
; 
29781   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29782   if (!SWIG_IsOK(res1
)) { 
29783     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29785   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29787     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29788     result 
= (int)(arg1
)->GetMinPage(); 
29789     wxPyEndAllowThreads(__tstate
); 
29790     if (PyErr_Occurred()) SWIG_fail
; 
29792   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
29799 SWIGINTERN PyObject 
*_wrap_PrintPreview_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29800   PyObject 
*resultobj 
= 0; 
29801   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29805   PyObject 
*swig_obj
[1] ; 
29807   if (!args
) SWIG_fail
; 
29808   swig_obj
[0] = args
; 
29809   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29810   if (!SWIG_IsOK(res1
)) { 
29811     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29813   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29815     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29816     result 
= (bool)(arg1
)->Ok(); 
29817     wxPyEndAllowThreads(__tstate
); 
29818     if (PyErr_Occurred()) SWIG_fail
; 
29821     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29829 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29830   PyObject 
*resultobj 
= 0; 
29831   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29837   PyObject 
* obj0 
= 0 ; 
29838   PyObject 
* obj1 
= 0 ; 
29839   char *  kwnames
[] = { 
29840     (char *) "self",(char *) "ok", NULL 
 
29843   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29844   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29845   if (!SWIG_IsOK(res1
)) { 
29846     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29848   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29849   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
29850   if (!SWIG_IsOK(ecode2
)) { 
29851     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'"); 
29853   arg2 
= static_cast< bool >(val2
); 
29855     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29856     (arg1
)->SetOk(arg2
); 
29857     wxPyEndAllowThreads(__tstate
); 
29858     if (PyErr_Occurred()) SWIG_fail
; 
29860   resultobj 
= SWIG_Py_Void(); 
29867 SWIGINTERN PyObject 
*_wrap_PrintPreview_Print(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29868   PyObject 
*resultobj 
= 0; 
29869   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29876   PyObject 
* obj0 
= 0 ; 
29877   PyObject 
* obj1 
= 0 ; 
29878   char *  kwnames
[] = { 
29879     (char *) "self",(char *) "interactive", NULL 
 
29882   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29883   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29884   if (!SWIG_IsOK(res1
)) { 
29885     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29887   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29888   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
29889   if (!SWIG_IsOK(ecode2
)) { 
29890     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'"); 
29892   arg2 
= static_cast< bool >(val2
); 
29894     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29895     result 
= (bool)(arg1
)->Print(arg2
); 
29896     wxPyEndAllowThreads(__tstate
); 
29897     if (PyErr_Occurred()) SWIG_fail
; 
29900     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29908 SWIGINTERN PyObject 
*_wrap_PrintPreview_DetermineScaling(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29909   PyObject 
*resultobj 
= 0; 
29910   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29913   PyObject 
*swig_obj
[1] ; 
29915   if (!args
) SWIG_fail
; 
29916   swig_obj
[0] = args
; 
29917   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29918   if (!SWIG_IsOK(res1
)) { 
29919     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29921   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29923     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29924     (arg1
)->DetermineScaling(); 
29925     wxPyEndAllowThreads(__tstate
); 
29926     if (PyErr_Occurred()) SWIG_fail
; 
29928   resultobj 
= SWIG_Py_Void(); 
29935 SWIGINTERN PyObject 
*PrintPreview_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29937   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
29938   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
)); 
29939   return SWIG_Py_Void(); 
29942 SWIGINTERN PyObject 
*PrintPreview_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29943   return SWIG_Python_InitShadowInstance(args
); 
29946 SWIGINTERN PyObject 
*_wrap_new_PyPrintPreview__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
29947   PyObject 
*resultobj 
= 0; 
29948   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
29949   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
29950   wxPrintDialogData 
*arg3 
= (wxPrintDialogData 
*) NULL 
; 
29951   wxPyPrintPreview 
*result 
= 0 ; 
29957   if ((nobjs 
< 2) || (nobjs 
> 3)) SWIG_fail
; 
29958   res1 
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29959   if (!SWIG_IsOK(res1
)) { 
29960     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'"); 
29962   res2 
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29963   if (!SWIG_IsOK(res2
)) { 
29964     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
29967     res3 
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
29968     if (!SWIG_IsOK(res3
)) { 
29969       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");  
29971     arg3 
= reinterpret_cast< wxPrintDialogData 
* >(argp3
); 
29974     if (!wxPyCheckForApp()) SWIG_fail
; 
29975     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29976     result 
= (wxPyPrintPreview 
*)new wxPyPrintPreview(arg1
,arg2
,arg3
); 
29977     wxPyEndAllowThreads(__tstate
); 
29978     if (PyErr_Occurred()) SWIG_fail
; 
29980   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW 
|  0 ); 
29987 SWIGINTERN PyObject 
*_wrap_new_PyPrintPreview__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
29988   PyObject 
*resultobj 
= 0; 
29989   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
29990   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
29991   wxPrintData 
*arg3 
= (wxPrintData 
*) 0 ; 
29992   wxPyPrintPreview 
*result 
= 0 ; 
29998   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
29999   res1 
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
30000   if (!SWIG_IsOK(res1
)) { 
30001     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'"); 
30003   res2 
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
30004   if (!SWIG_IsOK(res2
)) { 
30005     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
30007   res3 
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
30008   if (!SWIG_IsOK(res3
)) { 
30009     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");  
30011   arg3 
= reinterpret_cast< wxPrintData 
* >(argp3
); 
30013     if (!wxPyCheckForApp()) SWIG_fail
; 
30014     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30015     result 
= (wxPyPrintPreview 
*)new wxPyPrintPreview(arg1
,arg2
,arg3
); 
30016     wxPyEndAllowThreads(__tstate
); 
30017     if (PyErr_Occurred()) SWIG_fail
; 
30019   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW 
|  0 ); 
30026 SWIGINTERN PyObject 
*_wrap_new_PyPrintPreview(PyObject 
*self
, PyObject 
*args
) { 
30030   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
; 
30032   if ((argc 
>= 2) && (argc 
<= 3)) { 
30037         int res 
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0); 
30038         _v 
= SWIG_CheckState(res
); 
30040       if (!_v
) goto check_1
; 
30042     return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
); 
30047     return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
); 
30051   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'"); 
30056 SWIGINTERN PyObject 
*_wrap_PyPrintPreview__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30057   PyObject 
*resultobj 
= 0; 
30058   wxPyPrintPreview 
*arg1 
= (wxPyPrintPreview 
*) 0 ; 
30059   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
30060   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
30063   PyObject 
* obj0 
= 0 ; 
30064   PyObject 
* obj1 
= 0 ; 
30065   PyObject 
* obj2 
= 0 ; 
30066   char *  kwnames
[] = { 
30067     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
30070   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
30071   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 |  0 ); 
30072   if (!SWIG_IsOK(res1
)) { 
30073     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");  
30075   arg1 
= reinterpret_cast< wxPyPrintPreview 
* >(argp1
); 
30079     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30080     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
30081     wxPyEndAllowThreads(__tstate
); 
30082     if (PyErr_Occurred()) SWIG_fail
; 
30084   resultobj 
= SWIG_Py_Void(); 
30091 SWIGINTERN PyObject 
*PyPrintPreview_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30093   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
30094   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
)); 
30095   return SWIG_Py_Void(); 
30098 SWIGINTERN PyObject 
*PyPrintPreview_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30099   return SWIG_Python_InitShadowInstance(args
); 
30102 SWIGINTERN PyObject 
*_wrap_new_PyPreviewFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30103   PyObject 
*resultobj 
= 0; 
30104   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30105   wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
30106   wxString 
*arg3 
= 0 ; 
30107   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
30108   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
30109   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
30110   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
30111   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
30112   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
30113   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
30114   wxPyPreviewFrame 
*result 
= 0 ; 
30119   bool temp3 
= false ; 
30124   bool temp7 
= false ; 
30125   PyObject 
* obj0 
= 0 ; 
30126   PyObject 
* obj1 
= 0 ; 
30127   PyObject 
* obj2 
= 0 ; 
30128   PyObject 
* obj3 
= 0 ; 
30129   PyObject 
* obj4 
= 0 ; 
30130   PyObject 
* obj5 
= 0 ; 
30131   PyObject 
* obj6 
= 0 ; 
30132   char *  kwnames
[] = { 
30133     (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
30136   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
30137   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30138   if (!SWIG_IsOK(res1
)) { 
30139     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30141   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30142   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
30143   if (!SWIG_IsOK(res2
)) { 
30144     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");  
30146   arg2 
= reinterpret_cast< wxFrame 
* >(argp2
); 
30148     arg3 
= wxString_in_helper(obj2
); 
30149     if (arg3 
== NULL
) SWIG_fail
; 
30155       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
30161       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
30165     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
30166     if (!SWIG_IsOK(ecode6
)) { 
30167       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'"); 
30169     arg6 
= static_cast< long >(val6
); 
30173       arg7 
= wxString_in_helper(obj6
); 
30174       if (arg7 
== NULL
) SWIG_fail
; 
30179     if (!wxPyCheckForApp()) SWIG_fail
; 
30180     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30181     result 
= (wxPyPreviewFrame 
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
30182     wxPyEndAllowThreads(__tstate
); 
30183     if (PyErr_Occurred()) SWIG_fail
; 
30185   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW 
|  0 ); 
30208 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30209   PyObject 
*resultobj 
= 0; 
30210   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30211   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
30212   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
30215   PyObject 
* obj0 
= 0 ; 
30216   PyObject 
* obj1 
= 0 ; 
30217   PyObject 
* obj2 
= 0 ; 
30218   char *  kwnames
[] = { 
30219     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
30222   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
30223   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30224   if (!SWIG_IsOK(res1
)) { 
30225     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30227   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30231     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30232     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
30233     wxPyEndAllowThreads(__tstate
); 
30234     if (PyErr_Occurred()) SWIG_fail
; 
30236   resultobj 
= SWIG_Py_Void(); 
30243 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30244   PyObject 
*resultobj 
= 0; 
30245   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30246   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
30251   PyObject 
* obj0 
= 0 ; 
30252   PyObject 
* obj1 
= 0 ; 
30253   char *  kwnames
[] = { 
30254     (char *) "self",(char *) "canvas", NULL 
 
30257   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30258   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30259   if (!SWIG_IsOK(res1
)) { 
30260     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30262   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30263   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
30264   if (!SWIG_IsOK(res2
)) { 
30265     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
30267   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
30269     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30270     (arg1
)->SetPreviewCanvas(arg2
); 
30271     wxPyEndAllowThreads(__tstate
); 
30272     if (PyErr_Occurred()) SWIG_fail
; 
30274   resultobj 
= SWIG_Py_Void(); 
30281 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_SetControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30282   PyObject 
*resultobj 
= 0; 
30283   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30284   wxPreviewControlBar 
*arg2 
= (wxPreviewControlBar 
*) 0 ; 
30289   PyObject 
* obj0 
= 0 ; 
30290   PyObject 
* obj1 
= 0 ; 
30291   char *  kwnames
[] = { 
30292     (char *) "self",(char *) "bar", NULL 
 
30295   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30296   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30297   if (!SWIG_IsOK(res1
)) { 
30298     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30300   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30301   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
30302   if (!SWIG_IsOK(res2
)) { 
30303     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");  
30305   arg2 
= reinterpret_cast< wxPreviewControlBar 
* >(argp2
); 
30307     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30308     (arg1
)->SetControlBar(arg2
); 
30309     wxPyEndAllowThreads(__tstate
); 
30310     if (PyErr_Occurred()) SWIG_fail
; 
30312   resultobj 
= SWIG_Py_Void(); 
30319 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_Initialize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30320   PyObject 
*resultobj 
= 0; 
30321   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30324   PyObject 
*swig_obj
[1] ; 
30326   if (!args
) SWIG_fail
; 
30327   swig_obj
[0] = args
; 
30328   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30329   if (!SWIG_IsOK(res1
)) { 
30330     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30332   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30334     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30335     (arg1
)->Initialize(); 
30336     wxPyEndAllowThreads(__tstate
); 
30337     if (PyErr_Occurred()) SWIG_fail
; 
30339   resultobj 
= SWIG_Py_Void(); 
30346 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_CreateCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30347   PyObject 
*resultobj 
= 0; 
30348   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30351   PyObject 
*swig_obj
[1] ; 
30353   if (!args
) SWIG_fail
; 
30354   swig_obj
[0] = args
; 
30355   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30356   if (!SWIG_IsOK(res1
)) { 
30357     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30359   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30361     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30362     (arg1
)->CreateCanvas(); 
30363     wxPyEndAllowThreads(__tstate
); 
30364     if (PyErr_Occurred()) SWIG_fail
; 
30366   resultobj 
= SWIG_Py_Void(); 
30373 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_CreateControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30374   PyObject 
*resultobj 
= 0; 
30375   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30378   PyObject 
*swig_obj
[1] ; 
30380   if (!args
) SWIG_fail
; 
30381   swig_obj
[0] = args
; 
30382   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30383   if (!SWIG_IsOK(res1
)) { 
30384     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30386   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30388     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30389     (arg1
)->CreateControlBar(); 
30390     wxPyEndAllowThreads(__tstate
); 
30391     if (PyErr_Occurred()) SWIG_fail
; 
30393   resultobj 
= SWIG_Py_Void(); 
30400 SWIGINTERN PyObject 
*PyPreviewFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30402   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
30403   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
)); 
30404   return SWIG_Py_Void(); 
30407 SWIGINTERN PyObject 
*PyPreviewFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30408   return SWIG_Python_InitShadowInstance(args
); 
30411 SWIGINTERN PyObject 
*_wrap_new_PyPreviewControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30412   PyObject 
*resultobj 
= 0; 
30413   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30415   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
30416   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
30417   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
30418   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
30419   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
30420   long arg6 
= (long) 0 ; 
30421   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
30422   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
30423   wxPyPreviewControlBar 
*result 
= 0 ; 
30434   bool temp7 
= false ; 
30435   PyObject 
* obj0 
= 0 ; 
30436   PyObject 
* obj1 
= 0 ; 
30437   PyObject 
* obj2 
= 0 ; 
30438   PyObject 
* obj3 
= 0 ; 
30439   PyObject 
* obj4 
= 0 ; 
30440   PyObject 
* obj5 
= 0 ; 
30441   PyObject 
* obj6 
= 0 ; 
30442   char *  kwnames
[] = { 
30443     (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
30446   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
30447   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30448   if (!SWIG_IsOK(res1
)) { 
30449     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30451   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30452   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
30453   if (!SWIG_IsOK(ecode2
)) { 
30454     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'"); 
30456   arg2 
= static_cast< long >(val2
); 
30457   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30458   if (!SWIG_IsOK(res3
)) { 
30459     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");  
30461   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
30465       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
30471       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
30475     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
30476     if (!SWIG_IsOK(ecode6
)) { 
30477       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'"); 
30479     arg6 
= static_cast< long >(val6
); 
30483       arg7 
= wxString_in_helper(obj6
); 
30484       if (arg7 
== NULL
) SWIG_fail
; 
30489     if (!wxPyCheckForApp()) SWIG_fail
; 
30490     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30491     result 
= (wxPyPreviewControlBar 
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
30492     wxPyEndAllowThreads(__tstate
); 
30493     if (PyErr_Occurred()) SWIG_fail
; 
30495   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW 
|  0 ); 
30510 SWIGINTERN PyObject 
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30511   PyObject 
*resultobj 
= 0; 
30512   wxPyPreviewControlBar 
*arg1 
= (wxPyPreviewControlBar 
*) 0 ; 
30513   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
30514   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
30517   PyObject 
* obj0 
= 0 ; 
30518   PyObject 
* obj1 
= 0 ; 
30519   PyObject 
* obj2 
= 0 ; 
30520   char *  kwnames
[] = { 
30521     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
30524   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
30525   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 |  0 ); 
30526   if (!SWIG_IsOK(res1
)) { 
30527     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");  
30529   arg1 
= reinterpret_cast< wxPyPreviewControlBar 
* >(argp1
); 
30533     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30534     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
30535     wxPyEndAllowThreads(__tstate
); 
30536     if (PyErr_Occurred()) SWIG_fail
; 
30538   resultobj 
= SWIG_Py_Void(); 
30545 SWIGINTERN PyObject 
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30546   PyObject 
*resultobj 
= 0; 
30547   wxPyPreviewControlBar 
*arg1 
= (wxPyPreviewControlBar 
*) 0 ; 
30548   wxPrintPreview 
*arg2 
= (wxPrintPreview 
*) 0 ; 
30553   PyObject 
* obj0 
= 0 ; 
30554   PyObject 
* obj1 
= 0 ; 
30555   char *  kwnames
[] = { 
30556     (char *) "self",(char *) "preview", NULL 
 
30559   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30560   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 |  0 ); 
30561   if (!SWIG_IsOK(res1
)) { 
30562     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");  
30564   arg1 
= reinterpret_cast< wxPyPreviewControlBar 
* >(argp1
); 
30565   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30566   if (!SWIG_IsOK(res2
)) { 
30567     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");  
30569   arg2 
= reinterpret_cast< wxPrintPreview 
* >(argp2
); 
30571     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30572     (arg1
)->SetPrintPreview(arg2
); 
30573     wxPyEndAllowThreads(__tstate
); 
30574     if (PyErr_Occurred()) SWIG_fail
; 
30576   resultobj 
= SWIG_Py_Void(); 
30583 SWIGINTERN PyObject 
*_wrap_PyPreviewControlBar_CreateButtons(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30584   PyObject 
*resultobj 
= 0; 
30585   wxPyPreviewControlBar 
*arg1 
= (wxPyPreviewControlBar 
*) 0 ; 
30588   PyObject 
*swig_obj
[1] ; 
30590   if (!args
) SWIG_fail
; 
30591   swig_obj
[0] = args
; 
30592   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 |  0 ); 
30593   if (!SWIG_IsOK(res1
)) { 
30594     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");  
30596   arg1 
= reinterpret_cast< wxPyPreviewControlBar 
* >(argp1
); 
30598     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30599     (arg1
)->CreateButtons(); 
30600     wxPyEndAllowThreads(__tstate
); 
30601     if (PyErr_Occurred()) SWIG_fail
; 
30603   resultobj 
= SWIG_Py_Void(); 
30610 SWIGINTERN PyObject 
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30611   PyObject 
*resultobj 
= 0; 
30612   wxPyPreviewControlBar 
*arg1 
= (wxPyPreviewControlBar 
*) 0 ; 
30618   PyObject 
* obj0 
= 0 ; 
30619   PyObject 
* obj1 
= 0 ; 
30620   char *  kwnames
[] = { 
30621     (char *) "self",(char *) "zoom", NULL 
 
30624   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30625   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 |  0 ); 
30626   if (!SWIG_IsOK(res1
)) { 
30627     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");  
30629   arg1 
= reinterpret_cast< wxPyPreviewControlBar 
* >(argp1
); 
30630   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
30631   if (!SWIG_IsOK(ecode2
)) { 
30632     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'"); 
30634   arg2 
= static_cast< int >(val2
); 
30636     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30637     (arg1
)->SetZoomControl(arg2
); 
30638     wxPyEndAllowThreads(__tstate
); 
30639     if (PyErr_Occurred()) SWIG_fail
; 
30641   resultobj 
= SWIG_Py_Void(); 
30648 SWIGINTERN PyObject 
*PyPreviewControlBar_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30650   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
30651   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
)); 
30652   return SWIG_Py_Void(); 
30655 SWIGINTERN PyObject 
*PyPreviewControlBar_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30656   return SWIG_Python_InitShadowInstance(args
); 
30659 static PyMethodDef SwigMethods
[] = { 
30660          { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30661          { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
}, 
30662          { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30663          { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
}, 
30664          { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30665          { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
}, 
30666          { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
}, 
30667          { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30668          { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
}, 
30669          { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30670          { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30671          { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30672          { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30673          { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30674          { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30675          { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
}, 
30676          { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30677          { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
}, 
30678          { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30679          { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
}, 
30680          { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
}, 
30681          { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
}, 
30682          { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
}, 
30683          { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
}, 
30684          { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30685          { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30686          { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
}, 
30687          { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30688          { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
}, 
30689          { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30690          { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30691          { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
}, 
30692          { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
}, 
30693          { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30694          { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
}, 
30695          { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30696          { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
}, 
30697          { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
}, 
30698          { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
}, 
30699          { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30700          { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30701          { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30702          { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
}, 
30703          { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30704          { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
}, 
30705          { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30706          { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30707          { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
}, 
30708          { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30709          { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
}, 
30710          { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30711          { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
}, 
30712          { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30713          { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
}, 
30714          { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30715          { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
}, 
30716          { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30717          { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
}, 
30718          { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30719          { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30720          { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
}, 
30721          { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30722          { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30723          { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30724          { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30725          { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30726          { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30727          { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
}, 
30728          { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30729          { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
}, 
30730          { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30731          { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30732          { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30733          { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30734          { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
}, 
30735          { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
}, 
30736          { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30737          { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
}, 
30738          { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30739          { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30740          { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
}, 
30741          { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30742          { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
}, 
30743          { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30744          { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
}, 
30745          { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30746          { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30747          { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30748          { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
}, 
30749          { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
}, 
30750          { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30751          { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30752          { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
}, 
30753          { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
}, 
30754          { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30755          { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
}, 
30756          { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30757          { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
}, 
30758          { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
}, 
30759          { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30760          { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30761          { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
}, 
30762          { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
}, 
30763          { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
}, 
30764          { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30765          { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
}, 
30766          { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
}, 
30767          { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
}, 
30768          { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
}, 
30769          { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
}, 
30770          { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30771          { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
}, 
30772          { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30773          { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30774          { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
}, 
30775          { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30776          { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30777          { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30778          { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30779          { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30780          { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30781          { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30782          { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30783          { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
}, 
30784          { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
}, 
30785          { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30786          { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
}, 
30787          { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
}, 
30788          { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30789          { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
}, 
30790          { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30791          { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
}, 
30792          { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
}, 
30793          { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30794          { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
}, 
30795          { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30796          { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30797          { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30798          { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30799          { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30800          { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
}, 
30801          { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
}, 
30802          { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30803          { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30804          { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
}, 
30805          { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
}, 
30806          { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30807          { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
}, 
30808          { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30809          { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
}, 
30810          { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30811          { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
}, 
30812          { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30813          { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
}, 
30814          { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30815          { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
}, 
30816          { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30817          { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
}, 
30818          { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
}, 
30819          { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30820          { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30821          { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
}, 
30822          { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
}, 
30823          { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
}, 
30824          { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
}, 
30825          { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
}, 
30826          { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
}, 
30827          { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30828          { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
}, 
30829          { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30830          { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30831          { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30832          { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30833          { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30834          { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30835          { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30836          { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
}, 
30837          { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30838          { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
}, 
30839          { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30840          { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30841          { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
}, 
30842          { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
}, 
30843          { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30844          { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30845          { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
}, 
30846          { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
}, 
30847          { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30848          { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
}, 
30849          { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
}, 
30850          { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
}, 
30851          { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30852          { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30853          { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
}, 
30854          { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30855          { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
}, 
30856          { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30857          { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
}, 
30858          { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
}, 
30859          { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
}, 
30860          { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30861          { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30862          { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
}, 
30863          { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30864          { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
}, 
30865          { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30866          { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
}, 
30867          { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30868          { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
}, 
30869          { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30870          { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
}, 
30871          { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
}, 
30872          { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
}, 
30873          { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30874          { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30875          { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
}, 
30876          { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30877          { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
}, 
30878          { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
}, 
30879          { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
}, 
30880          { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30881          { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
}, 
30882          { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30883          { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
}, 
30884          { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
}, 
30885          { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30886          { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30887          { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30888          { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
}, 
30889          { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
}, 
30890          { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
}, 
30891          { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
}, 
30892          { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30893          { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30894          { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30895          { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
}, 
30896          { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
}, 
30897          { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30898          { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
}, 
30899          { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30900          { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30901          { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
}, 
30902          { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
}, 
30903          { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30904          { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
}, 
30905          { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30906          { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30907          { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
}, 
30908          { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
}, 
30909          { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
}, 
30910          { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30911          { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30912          { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
}, 
30913          { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
}, 
30914          { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
}, 
30915          { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30916          { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
}, 
30917          { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30918          { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30919          { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30920          { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30921          { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30922          { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30923          { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30924          { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30925          { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
}, 
30926          { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
}, 
30927          { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
}, 
30928          { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
}, 
30929          { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30930          { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
}, 
30931          { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
}, 
30932          { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30933          { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30934          { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
}, 
30935          { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
}, 
30936          { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30937          { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
}, 
30938          { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30939          { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30940          { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
}, 
30941          { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
}, 
30942          { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
}, 
30943          { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30944          { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30945          { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
}, 
30946          { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
}, 
30947          { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30948          { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
}, 
30949          { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
}, 
30950          { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30951          { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
}, 
30952          { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30953          { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30954          { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30955          { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30956          { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
}, 
30957          { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
}, 
30958          { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30959          { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30960          { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30961          { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30962          { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30963          { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
}, 
30964          { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
}, 
30965          { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30966          { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
}, 
30967          { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30968          { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30969          { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30970          { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
}, 
30971          { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30972          { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
}, 
30973          { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
}, 
30974          { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
}, 
30975          { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
}, 
30976          { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30977          { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
}, 
30978          { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
}, 
30979          { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
}, 
30980          { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30981          { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
}, 
30982          { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30983          { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
}, 
30984          { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
}, 
30985          { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30986          { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
}, 
30987          { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
}, 
30988          { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
}, 
30989          { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
}, 
30990          { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
}, 
30991          { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
}, 
30992          { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30993          { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30994          { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30995          { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30996          { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
}, 
30997          { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
}, 
30998          { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30999          { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
}, 
31000          { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
}, 
31001          { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
}, 
31002          { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31003          { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31004          { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
}, 
31005          { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
}, 
31006          { (char *)"DirDialog_GetStyle", (PyCFunction
)_wrap_DirDialog_GetStyle
, METH_O
, NULL
}, 
31007          { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31008          { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31009          { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
}, 
31010          { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
}, 
31011          { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31012          { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31013          { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31014          { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31015          { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31016          { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31017          { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31018          { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31019          { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
}, 
31020          { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
}, 
31021          { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
}, 
31022          { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
}, 
31023          { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
}, 
31024          { (char *)"FileDialog_GetStyle", (PyCFunction
)_wrap_FileDialog_GetStyle
, METH_O
, NULL
}, 
31025          { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
}, 
31026          { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
}, 
31027          { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
}, 
31028          { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
}, 
31029          { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
}, 
31030          { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31031          { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31032          { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
}, 
31033          { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
}, 
31034          { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
}, 
31035          { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31036          { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
}, 
31037          { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
}, 
31038          { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31039          { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
}, 
31040          { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
}, 
31041          { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31042          { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
}, 
31043          { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31044          { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
}, 
31045          { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
}, 
31046          { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31047          { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
}, 
31048          { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
}, 
31049          { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
}, 
31050          { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
}, 
31051          { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31052          { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
}, 
31053          { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
}, 
31054          { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
}, 
31055          { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
}, 
31056          { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
}, 
31057          { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
}, 
31058          { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31059          { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31060          { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31061          { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31062          { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31063          { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31064          { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
}, 
31065          { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
}, 
31066          { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31067          { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
}, 
31068          { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
}, 
31069          { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
}, 
31070          { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31071          { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31072          { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
}, 
31073          { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
}, 
31074          { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31075          { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31076          { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
}, 
31077          { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
}, 
31078          { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
}, 
31079          { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31080          { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
}, 
31081          { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
}, 
31082          { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
}, 
31083          { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
}, 
31084          { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31085          { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31086          { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31087          { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
}, 
31088          { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
}, 
31089          { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31090          { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
}, 
31091          { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
}, 
31092          { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
}, 
31093          { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
}, 
31094          { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31095          { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31096          { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31097          { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
}, 
31098          { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
}, 
31099          { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31100          { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
}, 
31101          { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31102          { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
}, 
31103          { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31104          { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
}, 
31105          { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
}, 
31106          { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31107          { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
}, 
31108          { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31109          { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
}, 
31110          { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
}, 
31111          { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
}, 
31112          { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
}, 
31113          { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
}, 
31114          { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
}, 
31115          { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
}, 
31116          { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
}, 
31117          { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31118          { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31119          { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
}, 
31120          { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
}, 
31121          { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31122          { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
}, 
31123          { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31124          { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
}, 
31125          { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
}, 
31126          { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
}, 
31127          { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31128          { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
}, 
31129          { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31130          { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
}, 
31131          { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
}, 
31132          { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31133          { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
}, 
31134          { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31135          { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31136          { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31137          { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31138          { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31139          { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31140          { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31141          { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
}, 
31142          { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
}, 
31143          { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
}, 
31144          { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
}, 
31145          { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
}, 
31146          { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
}, 
31147          { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
}, 
31148          { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
}, 
31149          { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
}, 
31150          { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31151          { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
}, 
31152          { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31153          { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31154          { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31155          { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31156          { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31157          { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31158          { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31159          { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
}, 
31160          { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
}, 
31161          { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
}, 
31162          { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
}, 
31163          { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
}, 
31164          { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
}, 
31165          { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
}, 
31166          { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
}, 
31167          { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
}, 
31168          { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31169          { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
}, 
31170          { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31171          { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31172          { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31173          { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31174          { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31175          { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31176          { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31177          { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
}, 
31178          { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
}, 
31179          { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
}, 
31180          { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
}, 
31181          { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
}, 
31182          { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
}, 
31183          { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
}, 
31184          { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
}, 
31185          { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
}, 
31186          { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
}, 
31187          { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
}, 
31188          { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
}, 
31189          { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
}, 
31190          { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
}, 
31191          { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
}, 
31192          { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
}, 
31193          { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
}, 
31194          { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
}, 
31195          { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
}, 
31196          { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
}, 
31197          { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
}, 
31198          { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
}, 
31199          { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
}, 
31200          { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31201          { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31202          { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31203          { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31204          { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31205          { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31206          { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31207          { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31208          { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31209          { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31210          { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31211          { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
}, 
31212          { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31213          { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
}, 
31214          { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31215          { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
}, 
31216          { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
}, 
31217          { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
}, 
31218          { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
}, 
31219          { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31220          { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31221          { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31222          { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31223          { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31224          { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
}, 
31225          { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
}, 
31226          { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
}, 
31227          { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
}, 
31228          { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
}, 
31229          { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
}, 
31230          { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
}, 
31231          { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
}, 
31232          { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
}, 
31233          { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
}, 
31234          { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
}, 
31235          { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
}, 
31236          { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
}, 
31237          { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
}, 
31238          { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
}, 
31239          { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31240          { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31241          { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31242          { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31243          { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31244          { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31245          { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31246          { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31247          { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31248          { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
}, 
31249          { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
}, 
31250          { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
}, 
31251          { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
}, 
31252          { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31253          { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
}, 
31254          { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
}, 
31255          { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
}, 
31256          { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
}, 
31257          { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
}, 
31258          { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
}, 
31259          { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
}, 
31260          { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
}, 
31261          { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
}, 
31262          { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
}, 
31263          { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
}, 
31264          { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
}, 
31265          { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
}, 
31266          { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
}, 
31267          { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
}, 
31268          { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
}, 
31269          { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31270          { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31271          { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31272          { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31273          { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31274          { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31275          { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31276          { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31277          { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31278          { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31279          { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31280          { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31281          { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31282          { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
}, 
31283          { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
}, 
31284          { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
}, 
31285          { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
}, 
31286          { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
}, 
31287          { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
}, 
31288          { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31289          { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
}, 
31290          { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
}, 
31291          { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31292          { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
}, 
31293          { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
}, 
31294          { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
}, 
31295          { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
}, 
31296          { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
}, 
31297          { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
}, 
31298          { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31299          { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
}, 
31300          { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31301          { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31302          { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31303          { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31304          { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31305          { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
}, 
31306          { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
}, 
31307          { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
}, 
31308          { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
}, 
31309          { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
}, 
31310          { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31311          { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
}, 
31312          { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31313          { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
}, 
31314          { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
}, 
31315          { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31316          { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31317          { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
}, 
31318          { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31319          { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
}, 
31320          { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31321          { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
}, 
31322          { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31323          { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
}, 
31324          { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
}, 
31325          { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31326          { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31327          { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
}, 
31328          { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
}, 
31329          { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
}, 
31330          { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
}, 
31331          { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31332          { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
}, 
31333          { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
}, 
31334          { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
}, 
31335          { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31336          { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
}, 
31337          { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
}, 
31338          { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31339          { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
}, 
31340          { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
}, 
31341          { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
}, 
31342          { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
}, 
31343          { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
}, 
31344          { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
}, 
31345          { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31346          { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
}, 
31347          { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31348          { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
}, 
31349          { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
}, 
31350          { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
}, 
31351          { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
}, 
31352          { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
}, 
31353          { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
}, 
31354          { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
}, 
31355          { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
}, 
31356          { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
}, 
31357          { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
}, 
31358          { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31359          { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
}, 
31360          { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31361          { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
}, 
31362          { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
}, 
31363          { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31364          { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31365          { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
}, 
31366          { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
}, 
31367          { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31368          { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31369          { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31370          { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31371          { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
}, 
31372          { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31373          { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
}, 
31374          { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
}, 
31375          { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
}, 
31376          { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
}, 
31377          { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31378          { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31379          { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
}, 
31380          { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
}, 
31381          { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
}, 
31382          { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
}, 
31383          { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31384          { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
}, 
31385          { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
}, 
31386          { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31387          { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31388          { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31389          { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31390          { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
}, 
31391          { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
}, 
31392          { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
}, 
31393          { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
}, 
31394          { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
}, 
31395          { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31396          { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31397          { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31398          { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
}, 
31399          { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31400          { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
}, 
31401          { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
}, 
31402          { NULL
, NULL
, 0, NULL 
} 
31406 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
31408 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) { 
31409     return (void *)((wxPreviewFrame 
*)  ((wxPyPreviewFrame 
*) x
)); 
31411 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
31412     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
31414 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
31415     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
31417 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
31418     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
31420 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
31421     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
31423 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
31424     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
31426 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
31427     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
31429 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) { 
31430     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
31432 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
31433     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
31435 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
31436     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
31438 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) { 
31439     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
31441 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
31442     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
31444 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
31445     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
31447 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) { 
31448     return (void *)((wxEvent 
*)  ((wxCalculateLayoutEvent 
*) x
)); 
31450 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
31451     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
31453 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
31454     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
31456 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
31457     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
31459 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
31460     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
31462 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
31463     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
31465 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
31466     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
31468 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
31469     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
31471 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
31472     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
31474 static void *_p_wxDateEventTo_p_wxEvent(void *x
) { 
31475     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
31477 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
31478     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
31480 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
31481     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
31483 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
31484     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
31486 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
31487     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
31489 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
31490     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
31492 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
31493     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
31495 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
31496     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
31498 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
31499     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
31501 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
31502     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
31504 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
31505     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
31507 static void *_p_wxSashEventTo_p_wxEvent(void *x
) { 
31508     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
31510 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) { 
31511     return (void *)((wxEvent 
*)  ((wxQueryLayoutInfoEvent 
*) x
)); 
31513 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
31514     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
31516 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
31517     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
31519 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
31520     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
31522 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
31523     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
31525 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
31526     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
31528 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
31529     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
31531 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
31532     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
31534 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) { 
31535     return (void *)((wxEvent 
*)  ((wxTaskBarIconEvent 
*) x
)); 
31537 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) { 
31538     return (void *)((wxNotifyEvent 
*)  ((wxSplitterEvent 
*) x
)); 
31540 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) { 
31541     return (void *)((wxTextEntryDialog 
*)  ((wxPasswordEntryDialog 
*) x
)); 
31543 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) { 
31544     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
31546 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) { 
31547     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
31549 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) { 
31550     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
31552 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
31553     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
31555 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
31556     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
31558 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
31559     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
31561 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
31562     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
31564 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) { 
31565     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
31567 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) { 
31568     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
31570 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) { 
31571     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
31573 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) { 
31574     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
31576 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) { 
31577     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
31579 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) { 
31580     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
31582 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) { 
31583     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
31585 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) { 
31586     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
31588 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) { 
31589     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPanel 
*) x
)); 
31591 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) { 
31592     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxStatusBar 
*) x
)); 
31594 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) { 
31595     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
31597 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) { 
31598     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
31600 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) { 
31601     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
31603 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) { 
31604     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPopupWindow 
*) x
)); 
31606 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) { 
31607     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
31609 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) { 
31610     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSashWindow 
*) x
)); 
31612 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) { 
31613     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
31615 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) { 
31616     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
31618 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
31619     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
31621 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) { 
31622     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
31624 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) { 
31625     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
31627 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) { 
31628     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
31630 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) { 
31631     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
31633 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
31634     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
31636 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) { 
31637     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
31639 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) { 
31640     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
31642 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) { 
31643     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
31645 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
31646     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
31648 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
31649     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
31651 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) { 
31652     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPyWindow 
*) x
)); 
31654 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) { 
31655     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
31657 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) { 
31658     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
31660 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) { 
31661     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
31663 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
31664     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
31666 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
31667     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
31669 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) { 
31670     return (void *)((wxEvtHandler 
*)  ((wxPyTaskBarIcon 
*) x
)); 
31672 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) { 
31673     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
31675 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) { 
31676     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
31678 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) { 
31679     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
31681 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) { 
31682     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
31684 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) { 
31685     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
31687 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) { 
31688     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
31690 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) { 
31691     return (void *)((wxPyVListBox 
*)  ((wxPyHtmlListBox 
*) x
)); 
31693 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) { 
31694     return (void *)((wxFrame 
*)  ((wxMDIChildFrame 
*) x
)); 
31696 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) { 
31697     return (void *)((wxFrame 
*)  ((wxProgressDialog 
*) x
)); 
31699 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) { 
31700     return (void *)((wxFrame 
*)  ((wxPreviewFrame 
*) x
)); 
31702 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) { 
31703     return (void *)((wxFrame 
*) (wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
31705 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) { 
31706     return (void *)((wxFrame 
*)  ((wxMiniFrame 
*) x
)); 
31708 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) { 
31709     return (void *)((wxFrame 
*)  ((wxSplashScreen 
*) x
)); 
31711 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) { 
31712     return (void *)((wxFrame 
*)  ((wxMDIParentFrame 
*) x
)); 
31714 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
31715     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
31717 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) { 
31718     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryLayoutInfoEvent 
*) x
)); 
31720 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) { 
31721     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
31723 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) { 
31724     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
31726 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
31727     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
31729 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
31730     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
31732 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
31733     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
31735 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
31736     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
31738 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
31739     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
31741 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
31742     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
31744 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
31745     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
31747 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
31748     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
31750 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
31751     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
31753 static void *_p_wxPyPanelTo_p_wxObject(void *x
) { 
31754     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
31756 static void *_p_wxEventTo_p_wxObject(void *x
) { 
31757     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
31759 static void *_p_wxFontDataTo_p_wxObject(void *x
) { 
31760     return (void *)((wxObject 
*)  ((wxFontData 
*) x
)); 
31762 static void *_p_wxPrintDataTo_p_wxObject(void *x
) { 
31763     return (void *)((wxObject 
*)  ((wxPrintData 
*) x
)); 
31765 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
31766     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
31768 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
31769     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
31771 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
31772     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
31774 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) { 
31775     return (void *)((wxObject 
*)  ((wxLayoutAlgorithm 
*) x
)); 
31777 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) { 
31778     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyTaskBarIcon 
*) x
)); 
31780 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) { 
31781     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
31783 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
31784     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
31786 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
31787     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
31789 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
31790     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
31792 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
31793     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
31795 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
31796     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
31798 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
31799     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
31801 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) { 
31802     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
31804 static void *_p_wxControlTo_p_wxObject(void *x
) { 
31805     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
31807 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
31808     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
31810 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) { 
31811     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
31813 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
31814     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
31816 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) { 
31817     return (void *)((wxObject 
*)  ((wxFindReplaceData 
*) x
)); 
31819 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
31820     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
31822 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) { 
31823     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
31825 static void *_p_wxColourDataTo_p_wxObject(void *x
) { 
31826     return (void *)((wxObject 
*)  ((wxColourData 
*) x
)); 
31828 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
31829     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
31831 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
31832     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
31834 static void *_p_wxPyWindowTo_p_wxObject(void *x
) { 
31835     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPyWindow 
*) x
)); 
31837 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) { 
31838     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
31840 static void *_p_wxFileDialogTo_p_wxObject(void *x
) { 
31841     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
31843 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) { 
31844     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
31846 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) { 
31847     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
31849 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) { 
31850     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
31852 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) { 
31853     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
31855 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) { 
31856     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
31858 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) { 
31859     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
31861 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) { 
31862     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
31864 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
31865     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
31867 static void *_p_wxPrinterTo_p_wxObject(void *x
) { 
31868     return (void *)((wxObject 
*)  ((wxPrinter 
*) x
)); 
31870 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
31871     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
31873 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
31874     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
31876 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
31877     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
31879 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
31880     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
31882 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
31883     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
31885 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
31886     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
31888 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
31889     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
31891 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
31892     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
31894 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
31895     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
31897 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
31898     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
31900 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
31901     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
31903 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
31904     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
31906 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
31907     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
31909 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
31910     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
31912 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
31913     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
31915 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
31916     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
31918 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
31919     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
31921 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
31922     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
31924 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
31925     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
31927 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) { 
31928     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPyImageHandler 
*) x
)); 
31930 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
31931     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
31933 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
31934     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
31936 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
31937     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
31939 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
31940     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
31942 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) { 
31943     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCalculateLayoutEvent 
*) x
)); 
31945 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) { 
31946     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
31948 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) { 
31949     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
31951 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
31952     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
31954 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
31955     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
31957 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) { 
31958     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
31960 static void *_p_wxImageTo_p_wxObject(void *x
) { 
31961     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
31963 static void *_p_wxFrameTo_p_wxObject(void *x
) { 
31964     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
31966 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) { 
31967     return (void *)((wxObject 
*)  ((wxPyPrintout 
*) x
)); 
31969 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
31970     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
31972 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) { 
31973     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTaskBarIconEvent 
*) x
)); 
31975 static void *_p_wxStatusBarTo_p_wxObject(void *x
) { 
31976     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxStatusBar 
*) x
)); 
31978 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) { 
31979     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
31981 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
31982     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
31984 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
31985     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
31987 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
31988     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
31990 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
31991     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
31993 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
31994     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
31996 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
31997     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
31999 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) { 
32000     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
32002 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) { 
32003     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
32005 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) { 
32006     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
32008 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) { 
32009     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
32011 static void *_p_wxSashWindowTo_p_wxObject(void *x
) { 
32012     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSashWindow 
*) x
)); 
32014 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) { 
32015     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
32017 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) { 
32018     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPopupWindow 
*) x
)); 
32020 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) { 
32021     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
32023 static void *_p_wxTipWindowTo_p_wxObject(void *x
) { 
32024     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
32026 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) { 
32027     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
32029 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) { 
32030     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
32032 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) { 
32033     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
32035 static void *_p_wxSashEventTo_p_wxObject(void *x
) { 
32036     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
32038 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) { 
32039     return (void *)((wxObject 
*)  ((wxPrintPreview 
*) x
)); 
32041 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) { 
32042     return (void *)((wxObject 
*) (wxPrintPreview 
*) ((wxPyPrintPreview 
*) x
)); 
32044 static void *_p_wxPanelTo_p_wxObject(void *x
) { 
32045     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPanel 
*) x
)); 
32047 static void *_p_wxDialogTo_p_wxObject(void *x
) { 
32048     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
32050 static void *_p_wxColourDialogTo_p_wxObject(void *x
) { 
32051     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
32053 static void *_p_wxDirDialogTo_p_wxObject(void *x
) { 
32054     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
32056 static void *_p_wxFontDialogTo_p_wxObject(void *x
) { 
32057     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
32059 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) { 
32060     return (void *)((wxObject 
*)  ((wxPageSetupDialog 
*) x
)); 
32062 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) { 
32063     return (void *)((wxObject 
*)  ((wxPrintDialog 
*) x
)); 
32065 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
32066     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
32068 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
32069     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
32071 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
32072     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
32074 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
32075     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
32077 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
32078     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
32080 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
32081     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
32083 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
32084     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
32086 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
32087     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
32089 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
32090     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
32092 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) { 
32093     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
32095 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) { 
32096     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
32098 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
32099     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
32101 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
32102     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
32104 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
32105     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
32107 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
32108     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
32110 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) { 
32111     return (void *)((wxObject 
*)  ((wxPageSetupDialogData 
*) x
)); 
32113 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) { 
32114     return (void *)((wxObject 
*)  ((wxPrintDialogData 
*) x
)); 
32116 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
32117     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
32119 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
32120     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
32122 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) { 
32123     return (void *)((wxPyVScrolledWindow 
*)  ((wxPyVListBox 
*) x
)); 
32125 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) { 
32126     return (void *)((wxPyVScrolledWindow 
*) (wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
32128 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) { 
32129     return (void *)((wxPyPopupTransientWindow 
*)  ((wxTipWindow 
*) x
)); 
32131 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) { 
32132     return (void *)((wxPopupWindow 
*)  ((wxPyPopupTransientWindow 
*) x
)); 
32134 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) { 
32135     return (void *)((wxPopupWindow 
*) (wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
32137 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) { 
32138     return (void *)((wxSashWindow 
*)  ((wxSashLayoutWindow 
*) x
)); 
32140 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) { 
32141     return (void *)((wxTopLevelWindow 
*)  ((wxFrame 
*) x
)); 
32143 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) { 
32144     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxMiniFrame 
*) x
)); 
32146 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) { 
32147     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxFontDialog 
*) x
)); 
32149 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) { 
32150     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxDirDialog 
*) x
)); 
32152 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) { 
32153     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxColourDialog 
*) x
)); 
32155 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) { 
32156     return (void *)((wxTopLevelWindow 
*)  ((wxDialog 
*) x
)); 
32158 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) { 
32159     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxSplashScreen 
*) x
)); 
32161 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) { 
32162     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
32164 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) { 
32165     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
32167 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) { 
32168     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxProgressDialog 
*) x
)); 
32170 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) { 
32171     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxMessageDialog 
*) x
)); 
32173 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) { 
32174     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
32176 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) { 
32177     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
32179 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) { 
32180     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
32182 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) { 
32183     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
32185 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) { 
32186     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxFileDialog 
*) x
)); 
32188 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) { 
32189     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
32191 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) { 
32192     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
32194 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) { 
32195     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
32197 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) { 
32198     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
32200 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) { 
32201     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
32203 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) { 
32204     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyPanel 
*) x
)); 
32206 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
32207     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
32209 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) { 
32210     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
32212 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) { 
32213     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
32215 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) { 
32216     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
32218 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) { 
32219     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
32221 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) { 
32222     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
32224 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) { 
32225     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
32227 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) { 
32228     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
32230 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) { 
32231     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
32233 static void *_p_wxPanelTo_p_wxWindow(void *x
) { 
32234     return (void *)((wxWindow 
*)  ((wxPanel 
*) x
)); 
32236 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) { 
32237     return (void *)((wxWindow 
*)  ((wxStatusBar 
*) x
)); 
32239 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) { 
32240     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
32242 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) { 
32243     return (void *)((wxWindow 
*) (wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
32245 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) { 
32246     return (void *)((wxWindow 
*) (wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
32248 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) { 
32249     return (void *)((wxWindow 
*)  ((wxPopupWindow 
*) x
)); 
32251 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) { 
32252     return (void *)((wxWindow 
*) (wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
32254 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) { 
32255     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
32257 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) { 
32258     return (void *)((wxWindow 
*)  ((wxTopLevelWindow 
*) x
)); 
32260 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) { 
32261     return (void *)((wxWindow 
*)  ((wxSplashScreenWindow 
*) x
)); 
32263 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) { 
32264     return (void *)((wxWindow 
*)  ((wxSplitterWindow 
*) x
)); 
32266 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) { 
32267     return (void *)((wxWindow 
*)  ((wxSashWindow 
*) x
)); 
32269 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) { 
32270     return (void *)((wxWindow 
*)  ((wxMDIClientWindow 
*) x
)); 
32272 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) { 
32273     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
32275 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
32276     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
32278 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) { 
32279     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
32281 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) { 
32282     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
32284 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) { 
32285     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
32287 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
32288     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
32290 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) { 
32291     return (void *)((wxWindow 
*)  ((wxPyWindow 
*) x
)); 
32293 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) { 
32294     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
32296 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) { 
32297     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
32299 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) { 
32300     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
32302 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) { 
32303     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
32305 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) { 
32306     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
32308 static void *_p_wxFrameTo_p_wxWindow(void *x
) { 
32309     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
32311 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) { 
32312     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
32314 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) { 
32315     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
32317 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) { 
32318     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
32320 static void *_p_wxDialogTo_p_wxWindow(void *x
) { 
32321     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
32323 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) { 
32324     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
32326 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) { 
32327     return (void *)((wxScrolledWindow 
*)  ((wxPyScrolledWindow 
*) x
)); 
32329 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) { 
32330     return (void *)((wxScrolledWindow 
*)  ((wxPreviewCanvas 
*) x
)); 
32332 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) { 
32333     return (void *)((wxPrintPreview 
*)  ((wxPyPrintPreview 
*) x
)); 
32335 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) { 
32336     return (void *)((wxDialog 
*)  ((wxColourDialog 
*) x
)); 
32338 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) { 
32339     return (void *)((wxDialog 
*)  ((wxDirDialog 
*) x
)); 
32341 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) { 
32342     return (void *)((wxDialog 
*)  ((wxFontDialog 
*) x
)); 
32344 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) { 
32345     return (void *)((wxDialog 
*)  ((wxFileDialog 
*) x
)); 
32347 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) { 
32348     return (void *)((wxDialog 
*)  ((wxMultiChoiceDialog 
*) x
)); 
32350 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) { 
32351     return (void *)((wxDialog 
*)  ((wxSingleChoiceDialog 
*) x
)); 
32353 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) { 
32354     return (void *)((wxDialog 
*)  ((wxTextEntryDialog 
*) x
)); 
32356 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) { 
32357     return (void *)((wxDialog 
*) (wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
32359 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) { 
32360     return (void *)((wxDialog 
*)  ((wxMessageDialog 
*) x
)); 
32362 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) { 
32363     return (void *)((wxDialog 
*)  ((wxFindReplaceDialog 
*) x
)); 
32365 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) { 
32366     return (void *)((wxPanel 
*)  ((wxScrolledWindow 
*) x
)); 
32368 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) { 
32369     return (void *)((wxPanel 
*)  ((wxPyVScrolledWindow 
*) x
)); 
32371 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) { 
32372     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
32374 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) { 
32375     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
32377 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) { 
32378     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
32380 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) { 
32381     return (void *)((wxPanel 
*)  ((wxPyPanel 
*) x
)); 
32383 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) { 
32384     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
32386 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) { 
32387     return (void *)((wxPanel 
*)  ((wxPreviewControlBar 
*) x
)); 
32389 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) { 
32390     return (void *)((wxPanel 
*) (wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
32392 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
32393     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
32395 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
32396     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
32398 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
32399     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
32401 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) { 
32402     return (void *)((wxCommandEvent 
*)  ((wxDateEvent 
*) x
)); 
32404 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
32405     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
32407 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) { 
32408     return (void *)((wxCommandEvent 
*)  ((wxFindDialogEvent 
*) x
)); 
32410 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
32411     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
32413 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
32414     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
32416 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) { 
32417     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
32419 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
32420     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
32422 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
32423     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
32425 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) { 
32426     return (void *)((wxCommandEvent 
*)  ((wxSashEvent 
*) x
)); 
32428 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) { 
32429     return (void *)((wxPreviewControlBar 
*)  ((wxPyPreviewControlBar 
*) x
)); 
32431 static swig_type_info _swigt__p_char 
= {"_p_char", "char *", 0, 0, (void*)0, 0}; 
32432 static swig_type_info _swigt__p_form_ops_t 
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0}; 
32433 static swig_type_info _swigt__p_int 
= {"_p_int", "int *", 0, 0, (void*)0, 0}; 
32434 static swig_type_info _swigt__p_unsigned_char 
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; 
32435 static swig_type_info _swigt__p_unsigned_int 
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; 
32436 static swig_type_info _swigt__p_unsigned_long 
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; 
32437 static swig_type_info _swigt__p_wxArrayInt 
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0}; 
32438 static swig_type_info _swigt__p_wxBitmap 
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; 
32439 static swig_type_info _swigt__p_wxCalculateLayoutEvent 
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0}; 
32440 static swig_type_info _swigt__p_wxColour 
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; 
32441 static swig_type_info _swigt__p_wxColourData 
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0}; 
32442 static swig_type_info _swigt__p_wxColourDialog 
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0}; 
32443 static swig_type_info _swigt__p_wxCommandEvent 
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; 
32444 static swig_type_info _swigt__p_wxChildFocusEvent 
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; 
32445 static swig_type_info _swigt__p_wxScrollEvent 
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; 
32446 static swig_type_info _swigt__p_wxWindowCreateEvent 
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; 
32447 static swig_type_info _swigt__p_wxDateEvent 
= {"_p_wxDateEvent", 0, 0, 0, 0, 0}; 
32448 static swig_type_info _swigt__p_wxUpdateUIEvent 
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; 
32449 static swig_type_info _swigt__p_wxWindowDestroyEvent 
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; 
32450 static swig_type_info _swigt__p_wxContextMenuEvent 
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; 
32451 static swig_type_info _swigt__p_wxPyCommandEvent 
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; 
32452 static swig_type_info _swigt__p_wxDC 
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; 
32453 static swig_type_info _swigt__p_wxDialog 
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0}; 
32454 static swig_type_info _swigt__p_wxDirDialog 
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0}; 
32455 static swig_type_info _swigt__p_wxDuplexMode 
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; 
32456 static swig_type_info _swigt__p_wxEvent 
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; 
32457 static swig_type_info _swigt__p_wxMenuEvent 
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; 
32458 static swig_type_info _swigt__p_wxCloseEvent 
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; 
32459 static swig_type_info _swigt__p_wxMouseEvent 
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; 
32460 static swig_type_info _swigt__p_wxEraseEvent 
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; 
32461 static swig_type_info _swigt__p_wxSetCursorEvent 
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; 
32462 static swig_type_info _swigt__p_wxInitDialogEvent 
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; 
32463 static swig_type_info _swigt__p_wxPyEvent 
= {"_p_wxPyEvent", 0, 0, 0, 0, 0}; 
32464 static swig_type_info _swigt__p_wxIdleEvent 
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; 
32465 static swig_type_info _swigt__p_wxQueryNewPaletteEvent 
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; 
32466 static swig_type_info _swigt__p_wxMaximizeEvent 
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; 
32467 static swig_type_info _swigt__p_wxIconizeEvent 
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; 
32468 static swig_type_info _swigt__p_wxActivateEvent 
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; 
32469 static swig_type_info _swigt__p_wxSizeEvent 
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; 
32470 static swig_type_info _swigt__p_wxMoveEvent 
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; 
32471 static swig_type_info _swigt__p_wxPaintEvent 
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; 
32472 static swig_type_info _swigt__p_wxNcPaintEvent 
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; 
32473 static swig_type_info _swigt__p_wxPaletteChangedEvent 
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; 
32474 static swig_type_info _swigt__p_wxDisplayChangedEvent 
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; 
32475 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent 
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; 
32476 static swig_type_info _swigt__p_wxSysColourChangedEvent 
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; 
32477 static swig_type_info _swigt__p_wxDropFilesEvent 
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; 
32478 static swig_type_info _swigt__p_wxFocusEvent 
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; 
32479 static swig_type_info _swigt__p_wxShowEvent 
= {"_p_wxShowEvent", 0, 0, 0, 0, 0}; 
32480 static swig_type_info _swigt__p_wxNavigationKeyEvent 
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; 
32481 static swig_type_info _swigt__p_wxKeyEvent 
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; 
32482 static swig_type_info _swigt__p_wxEvtHandler 
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; 
32483 static swig_type_info _swigt__p_wxValidator 
= {"_p_wxValidator", 0, 0, 0, 0, 0}; 
32484 static swig_type_info _swigt__p_wxPyValidator 
= {"_p_wxPyValidator", 0, 0, 0, 0, 0}; 
32485 static swig_type_info _swigt__p_wxControl 
= {"_p_wxControl", 0, 0, 0, 0, 0}; 
32486 static swig_type_info _swigt__p_wxPyApp 
= {"_p_wxPyApp", 0, 0, 0, 0, 0}; 
32487 static swig_type_info _swigt__p_wxControlWithItems 
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; 
32488 static swig_type_info _swigt__p_wxFileDialog 
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0}; 
32489 static swig_type_info _swigt__p_wxFileSystem 
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0}; 
32490 static swig_type_info _swigt__p_wxFindDialogEvent 
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0}; 
32491 static swig_type_info _swigt__p_wxFindReplaceData 
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0}; 
32492 static swig_type_info _swigt__p_wxFindReplaceDialog 
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0}; 
32493 static swig_type_info _swigt__p_wxFont 
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; 
32494 static swig_type_info _swigt__p_wxFontData 
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0}; 
32495 static swig_type_info _swigt__p_wxFontDialog 
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0}; 
32496 static swig_type_info _swigt__p_wxFrame 
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; 
32497 static swig_type_info _swigt__p_wxHtmlLinkInfo 
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0}; 
32498 static swig_type_info _swigt__p_wxIcon 
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0}; 
32499 static swig_type_info _swigt__p_wxIconBundle 
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0}; 
32500 static swig_type_info _swigt__p_wxLayoutAlgorithm 
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0}; 
32501 static swig_type_info _swigt__p_wxMDIChildFrame 
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0}; 
32502 static swig_type_info _swigt__p_wxMDIClientWindow 
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0}; 
32503 static swig_type_info _swigt__p_wxMDIParentFrame 
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0}; 
32504 static swig_type_info _swigt__p_wxMenu 
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0}; 
32505 static swig_type_info _swigt__p_wxMenuBar 
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0}; 
32506 static swig_type_info _swigt__p_wxMessageDialog 
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0}; 
32507 static swig_type_info _swigt__p_wxMiniFrame 
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; 
32508 static swig_type_info _swigt__p_wxMultiChoiceDialog 
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0}; 
32509 static swig_type_info _swigt__p_wxNotifyEvent 
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; 
32510 static swig_type_info _swigt__p_wxObject 
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; 
32511 static swig_type_info _swigt__p_wxLayoutConstraints 
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; 
32512 static swig_type_info _swigt__p_wxGBSizerItem 
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; 
32513 static swig_type_info _swigt__p_wxSizerItem 
= {"_p_wxSizerItem", 0, 0, 0, 0, 0}; 
32514 static swig_type_info _swigt__p_wxIndividualLayoutConstraint 
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; 
32515 static swig_type_info _swigt__p_wxStaticBoxSizer 
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; 
32516 static swig_type_info _swigt__p_wxBoxSizer 
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; 
32517 static swig_type_info _swigt__p_wxSizer 
= {"_p_wxSizer", 0, 0, 0, 0, 0}; 
32518 static swig_type_info _swigt__p_wxGridBagSizer 
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; 
32519 static swig_type_info _swigt__p_wxGridSizer 
= {"_p_wxGridSizer", 0, 0, 0, 0, 0}; 
32520 static swig_type_info _swigt__p_wxFlexGridSizer 
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; 
32521 static swig_type_info _swigt__p_wxFSFile 
= {"_p_wxFSFile", 0, 0, 0, 0, 0}; 
32522 static swig_type_info _swigt__p_wxPySizer 
= {"_p_wxPySizer", 0, 0, 0, 0, 0}; 
32523 static swig_type_info _swigt__p_wxMenuItem 
= {"_p_wxMenuItem", 0, 0, 0, 0, 0}; 
32524 static swig_type_info _swigt__p_wxImageHandler 
= {"_p_wxImageHandler", 0, 0, 0, 0, 0}; 
32525 static swig_type_info _swigt__p_wxPyImageHandler 
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; 
32526 static swig_type_info _swigt__p_wxBMPHandler 
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; 
32527 static swig_type_info _swigt__p_wxICOHandler 
= {"_p_wxICOHandler", 0, 0, 0, 0, 0}; 
32528 static swig_type_info _swigt__p_wxCURHandler 
= {"_p_wxCURHandler", 0, 0, 0, 0, 0}; 
32529 static swig_type_info _swigt__p_wxANIHandler 
= {"_p_wxANIHandler", 0, 0, 0, 0, 0}; 
32530 static swig_type_info _swigt__p_wxPNGHandler 
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; 
32531 static swig_type_info _swigt__p_wxGIFHandler 
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; 
32532 static swig_type_info _swigt__p_wxPCXHandler 
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; 
32533 static swig_type_info _swigt__p_wxJPEGHandler 
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; 
32534 static swig_type_info _swigt__p_wxPNMHandler 
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; 
32535 static swig_type_info _swigt__p_wxXPMHandler 
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; 
32536 static swig_type_info _swigt__p_wxTIFFHandler 
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; 
32537 static swig_type_info _swigt__p_wxAcceleratorTable 
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; 
32538 static swig_type_info _swigt__p_wxImage 
= {"_p_wxImage", 0, 0, 0, 0, 0}; 
32539 static swig_type_info _swigt__p_wxPageSetupDialog 
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0}; 
32540 static swig_type_info _swigt__p_wxPageSetupDialogData 
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0}; 
32541 static swig_type_info _swigt__p_wxPanel 
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; 
32542 static swig_type_info _swigt__p_wxPaperSize 
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; 
32543 static swig_type_info _swigt__p_wxPasswordEntryDialog 
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0}; 
32544 static swig_type_info _swigt__p_wxPoint 
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; 
32545 static swig_type_info _swigt__p_wxPopupWindow 
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0}; 
32546 static swig_type_info _swigt__p_wxPreviewCanvas 
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0}; 
32547 static swig_type_info _swigt__p_wxPreviewControlBar 
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0}; 
32548 static swig_type_info _swigt__p_wxPreviewFrame 
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0}; 
32549 static swig_type_info _swigt__p_wxPrintData 
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0}; 
32550 static swig_type_info _swigt__p_wxPrintDialog 
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0}; 
32551 static swig_type_info _swigt__p_wxPrintDialogData 
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0}; 
32552 static swig_type_info _swigt__p_wxPrintPreview 
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0}; 
32553 static swig_type_info _swigt__p_wxPrinter 
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0}; 
32554 static swig_type_info _swigt__p_wxProgressDialog 
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0}; 
32555 static swig_type_info _swigt__p_wxPyHtmlListBox 
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0}; 
32556 static swig_type_info _swigt__p_wxPyPanel 
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0}; 
32557 static swig_type_info _swigt__p_wxPyPopupTransientWindow 
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0}; 
32558 static swig_type_info _swigt__p_wxPyPreviewControlBar 
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0}; 
32559 static swig_type_info _swigt__p_wxPyPreviewFrame 
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0}; 
32560 static swig_type_info _swigt__p_wxPyPrintPreview 
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0}; 
32561 static swig_type_info _swigt__p_wxPyPrintout 
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0}; 
32562 static swig_type_info _swigt__p_wxPyScrolledWindow 
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0}; 
32563 static swig_type_info _swigt__p_wxPyTaskBarIcon 
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0}; 
32564 static swig_type_info _swigt__p_wxPyVListBox 
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0}; 
32565 static swig_type_info _swigt__p_wxPyVScrolledWindow 
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0}; 
32566 static swig_type_info _swigt__p_wxPyWindow 
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0}; 
32567 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent 
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0}; 
32568 static swig_type_info _swigt__p_wxRect 
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; 
32569 static swig_type_info _swigt__p_wxRegion 
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0}; 
32570 static swig_type_info _swigt__p_wxSashEvent 
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0}; 
32571 static swig_type_info _swigt__p_wxSashLayoutWindow 
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0}; 
32572 static swig_type_info _swigt__p_wxSashWindow 
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0}; 
32573 static swig_type_info _swigt__p_wxScrollWinEvent 
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0}; 
32574 static swig_type_info _swigt__p_wxScrolledWindow 
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; 
32575 static swig_type_info _swigt__p_wxSingleChoiceDialog 
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0}; 
32576 static swig_type_info _swigt__p_wxSize 
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; 
32577 static swig_type_info _swigt__p_wxSplashScreen 
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0}; 
32578 static swig_type_info _swigt__p_wxSplashScreenWindow 
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0}; 
32579 static swig_type_info _swigt__p_wxSplitterEvent 
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0}; 
32580 static swig_type_info _swigt__p_wxSplitterWindow 
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0}; 
32581 static swig_type_info _swigt__p_wxStatusBar 
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0}; 
32582 static swig_type_info _swigt__p_wxStdDialogButtonSizer 
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0}; 
32583 static swig_type_info _swigt__p_wxString 
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; 
32584 static swig_type_info _swigt__p_wxTaskBarIcon 
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0}; 
32585 static swig_type_info _swigt__p_wxTaskBarIconEvent 
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0}; 
32586 static swig_type_info _swigt__p_wxTextEntryDialog 
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0}; 
32587 static swig_type_info _swigt__p_wxTipWindow 
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0}; 
32588 static swig_type_info _swigt__p_wxToolBar 
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0}; 
32589 static swig_type_info _swigt__p_wxTopLevelWindow 
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; 
32590 static swig_type_info _swigt__p_wxVisualAttributes 
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; 
32591 static swig_type_info _swigt__p_wxWindow 
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; 
32593 static swig_type_info 
*swig_type_initial
[] = { 
32595   &_swigt__p_form_ops_t
, 
32597   &_swigt__p_unsigned_char
, 
32598   &_swigt__p_unsigned_int
, 
32599   &_swigt__p_unsigned_long
, 
32600   &_swigt__p_wxANIHandler
, 
32601   &_swigt__p_wxAcceleratorTable
, 
32602   &_swigt__p_wxActivateEvent
, 
32603   &_swigt__p_wxArrayInt
, 
32604   &_swigt__p_wxBMPHandler
, 
32605   &_swigt__p_wxBitmap
, 
32606   &_swigt__p_wxBoxSizer
, 
32607   &_swigt__p_wxCURHandler
, 
32608   &_swigt__p_wxCalculateLayoutEvent
, 
32609   &_swigt__p_wxChildFocusEvent
, 
32610   &_swigt__p_wxCloseEvent
, 
32611   &_swigt__p_wxColour
, 
32612   &_swigt__p_wxColourData
, 
32613   &_swigt__p_wxColourDialog
, 
32614   &_swigt__p_wxCommandEvent
, 
32615   &_swigt__p_wxContextMenuEvent
, 
32616   &_swigt__p_wxControl
, 
32617   &_swigt__p_wxControlWithItems
, 
32619   &_swigt__p_wxDateEvent
, 
32620   &_swigt__p_wxDialog
, 
32621   &_swigt__p_wxDirDialog
, 
32622   &_swigt__p_wxDisplayChangedEvent
, 
32623   &_swigt__p_wxDropFilesEvent
, 
32624   &_swigt__p_wxDuplexMode
, 
32625   &_swigt__p_wxEraseEvent
, 
32626   &_swigt__p_wxEvent
, 
32627   &_swigt__p_wxEvtHandler
, 
32628   &_swigt__p_wxFSFile
, 
32629   &_swigt__p_wxFileDialog
, 
32630   &_swigt__p_wxFileSystem
, 
32631   &_swigt__p_wxFindDialogEvent
, 
32632   &_swigt__p_wxFindReplaceData
, 
32633   &_swigt__p_wxFindReplaceDialog
, 
32634   &_swigt__p_wxFlexGridSizer
, 
32635   &_swigt__p_wxFocusEvent
, 
32637   &_swigt__p_wxFontData
, 
32638   &_swigt__p_wxFontDialog
, 
32639   &_swigt__p_wxFrame
, 
32640   &_swigt__p_wxGBSizerItem
, 
32641   &_swigt__p_wxGIFHandler
, 
32642   &_swigt__p_wxGridBagSizer
, 
32643   &_swigt__p_wxGridSizer
, 
32644   &_swigt__p_wxHtmlLinkInfo
, 
32645   &_swigt__p_wxICOHandler
, 
32647   &_swigt__p_wxIconBundle
, 
32648   &_swigt__p_wxIconizeEvent
, 
32649   &_swigt__p_wxIdleEvent
, 
32650   &_swigt__p_wxImage
, 
32651   &_swigt__p_wxImageHandler
, 
32652   &_swigt__p_wxIndividualLayoutConstraint
, 
32653   &_swigt__p_wxInitDialogEvent
, 
32654   &_swigt__p_wxJPEGHandler
, 
32655   &_swigt__p_wxKeyEvent
, 
32656   &_swigt__p_wxLayoutAlgorithm
, 
32657   &_swigt__p_wxLayoutConstraints
, 
32658   &_swigt__p_wxMDIChildFrame
, 
32659   &_swigt__p_wxMDIClientWindow
, 
32660   &_swigt__p_wxMDIParentFrame
, 
32661   &_swigt__p_wxMaximizeEvent
, 
32663   &_swigt__p_wxMenuBar
, 
32664   &_swigt__p_wxMenuEvent
, 
32665   &_swigt__p_wxMenuItem
, 
32666   &_swigt__p_wxMessageDialog
, 
32667   &_swigt__p_wxMiniFrame
, 
32668   &_swigt__p_wxMouseCaptureChangedEvent
, 
32669   &_swigt__p_wxMouseEvent
, 
32670   &_swigt__p_wxMoveEvent
, 
32671   &_swigt__p_wxMultiChoiceDialog
, 
32672   &_swigt__p_wxNavigationKeyEvent
, 
32673   &_swigt__p_wxNcPaintEvent
, 
32674   &_swigt__p_wxNotifyEvent
, 
32675   &_swigt__p_wxObject
, 
32676   &_swigt__p_wxPCXHandler
, 
32677   &_swigt__p_wxPNGHandler
, 
32678   &_swigt__p_wxPNMHandler
, 
32679   &_swigt__p_wxPageSetupDialog
, 
32680   &_swigt__p_wxPageSetupDialogData
, 
32681   &_swigt__p_wxPaintEvent
, 
32682   &_swigt__p_wxPaletteChangedEvent
, 
32683   &_swigt__p_wxPanel
, 
32684   &_swigt__p_wxPaperSize
, 
32685   &_swigt__p_wxPasswordEntryDialog
, 
32686   &_swigt__p_wxPoint
, 
32687   &_swigt__p_wxPopupWindow
, 
32688   &_swigt__p_wxPreviewCanvas
, 
32689   &_swigt__p_wxPreviewControlBar
, 
32690   &_swigt__p_wxPreviewFrame
, 
32691   &_swigt__p_wxPrintData
, 
32692   &_swigt__p_wxPrintDialog
, 
32693   &_swigt__p_wxPrintDialogData
, 
32694   &_swigt__p_wxPrintPreview
, 
32695   &_swigt__p_wxPrinter
, 
32696   &_swigt__p_wxProgressDialog
, 
32697   &_swigt__p_wxPyApp
, 
32698   &_swigt__p_wxPyCommandEvent
, 
32699   &_swigt__p_wxPyEvent
, 
32700   &_swigt__p_wxPyHtmlListBox
, 
32701   &_swigt__p_wxPyImageHandler
, 
32702   &_swigt__p_wxPyPanel
, 
32703   &_swigt__p_wxPyPopupTransientWindow
, 
32704   &_swigt__p_wxPyPreviewControlBar
, 
32705   &_swigt__p_wxPyPreviewFrame
, 
32706   &_swigt__p_wxPyPrintPreview
, 
32707   &_swigt__p_wxPyPrintout
, 
32708   &_swigt__p_wxPyScrolledWindow
, 
32709   &_swigt__p_wxPySizer
, 
32710   &_swigt__p_wxPyTaskBarIcon
, 
32711   &_swigt__p_wxPyVListBox
, 
32712   &_swigt__p_wxPyVScrolledWindow
, 
32713   &_swigt__p_wxPyValidator
, 
32714   &_swigt__p_wxPyWindow
, 
32715   &_swigt__p_wxQueryLayoutInfoEvent
, 
32716   &_swigt__p_wxQueryNewPaletteEvent
, 
32718   &_swigt__p_wxRegion
, 
32719   &_swigt__p_wxSashEvent
, 
32720   &_swigt__p_wxSashLayoutWindow
, 
32721   &_swigt__p_wxSashWindow
, 
32722   &_swigt__p_wxScrollEvent
, 
32723   &_swigt__p_wxScrollWinEvent
, 
32724   &_swigt__p_wxScrolledWindow
, 
32725   &_swigt__p_wxSetCursorEvent
, 
32726   &_swigt__p_wxShowEvent
, 
32727   &_swigt__p_wxSingleChoiceDialog
, 
32729   &_swigt__p_wxSizeEvent
, 
32730   &_swigt__p_wxSizer
, 
32731   &_swigt__p_wxSizerItem
, 
32732   &_swigt__p_wxSplashScreen
, 
32733   &_swigt__p_wxSplashScreenWindow
, 
32734   &_swigt__p_wxSplitterEvent
, 
32735   &_swigt__p_wxSplitterWindow
, 
32736   &_swigt__p_wxStaticBoxSizer
, 
32737   &_swigt__p_wxStatusBar
, 
32738   &_swigt__p_wxStdDialogButtonSizer
, 
32739   &_swigt__p_wxString
, 
32740   &_swigt__p_wxSysColourChangedEvent
, 
32741   &_swigt__p_wxTIFFHandler
, 
32742   &_swigt__p_wxTaskBarIcon
, 
32743   &_swigt__p_wxTaskBarIconEvent
, 
32744   &_swigt__p_wxTextEntryDialog
, 
32745   &_swigt__p_wxTipWindow
, 
32746   &_swigt__p_wxToolBar
, 
32747   &_swigt__p_wxTopLevelWindow
, 
32748   &_swigt__p_wxUpdateUIEvent
, 
32749   &_swigt__p_wxValidator
, 
32750   &_swigt__p_wxVisualAttributes
, 
32751   &_swigt__p_wxWindow
, 
32752   &_swigt__p_wxWindowCreateEvent
, 
32753   &_swigt__p_wxWindowDestroyEvent
, 
32754   &_swigt__p_wxXPMHandler
, 
32757 static swig_cast_info _swigc__p_char
[] = {  {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}}; 
32758 static swig_cast_info _swigc__p_form_ops_t
[] = {  {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}}; 
32759 static swig_cast_info _swigc__p_int
[] = {  {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}}; 
32760 static swig_cast_info _swigc__p_unsigned_char
[] = {  {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}}; 
32761 static swig_cast_info _swigc__p_unsigned_int
[] = {  {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
32762 static swig_cast_info _swigc__p_unsigned_long
[] = {  {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}}; 
32763 static swig_cast_info _swigc__p_wxArrayInt
[] = {  {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}}; 
32764 static swig_cast_info _swigc__p_wxBitmap
[] = {  {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}}; 
32765 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {  {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32766 static swig_cast_info _swigc__p_wxColour
[] = {  {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}}; 
32767 static swig_cast_info _swigc__p_wxColourData
[] = {  {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}}; 
32768 static swig_cast_info _swigc__p_wxColourDialog
[] = {  {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
32769 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32770 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32771 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32772 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32773 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32774 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32775 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32776 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32777 static swig_cast_info _swigc__p_wxCommandEvent
[] = {  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxCommandEvent
, 0, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}}; 
32778 static swig_cast_info _swigc__p_wxDC
[] = {  {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}}; 
32779 static swig_cast_info _swigc__p_wxDialog
[] = {  {&_swigt__p_wxDialog
, 0, 0, 0},  {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0},  {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0},  {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0},  {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0},  {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}}; 
32780 static swig_cast_info _swigc__p_wxDirDialog
[] = {  {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
32781 static swig_cast_info _swigc__p_wxDuplexMode
[] = {  {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}}; 
32782 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32783 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32784 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32785 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32786 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32787 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32788 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32789 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32790 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32791 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32792 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32793 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32794 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32795 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32796 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32797 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32798 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32799 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32800 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32801 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32802 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32803 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32804 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32805 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32806 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32807 static swig_cast_info _swigc__p_wxEvent
[] = {  {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxEvent
, 0, 0, 0},  {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}}; 
32808 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
32809 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
32810 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}}; 
32811 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}}; 
32812 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}}; 
32813 static swig_cast_info _swigc__p_wxEvtHandler
[] = {  {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxEvtHandler
, 0, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}}; 
32814 static swig_cast_info _swigc__p_wxFileDialog
[] = {  {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
32815 static swig_cast_info _swigc__p_wxFileSystem
[] = {  {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}}; 
32816 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {  {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32817 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {  {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}}; 
32818 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {  {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
32819 static swig_cast_info _swigc__p_wxFont
[] = {  {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}}; 
32820 static swig_cast_info _swigc__p_wxFontData
[] = {  {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}}; 
32821 static swig_cast_info _swigc__p_wxFontDialog
[] = {  {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
32822 static swig_cast_info _swigc__p_wxFrame
[] = {  {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0},  {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0},  {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0},  {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0},  {&_swigt__p_wxFrame
, 0, 0, 0},  {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0},  {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}}; 
32823 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = {  {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}}; 
32824 static swig_cast_info _swigc__p_wxIcon
[] = {  {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
32825 static swig_cast_info _swigc__p_wxIconBundle
[] = {  {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}}; 
32826 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {  {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}}; 
32827 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {  {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
32828 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {  {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
32829 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {  {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
32830 static swig_cast_info _swigc__p_wxMenu
[] = {  {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}}; 
32831 static swig_cast_info _swigc__p_wxMenuBar
[] = {  {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}}; 
32832 static swig_cast_info _swigc__p_wxMessageDialog
[] = {  {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
32833 static swig_cast_info _swigc__p_wxMiniFrame
[] = {  {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
32834 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {  {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
32835 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0},  {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32836 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}}; 
32837 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
32838 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
32839 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}}; 
32840 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
32841 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
32842 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
32843 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
32844 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
32845 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
32846 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}}; 
32847 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}}; 
32848 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}}; 
32849 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
32850 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
32851 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
32852 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
32853 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
32854 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
32855 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
32856 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
32857 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
32858 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
32859 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
32860 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
32861 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
32862 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}}; 
32863 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}}; 
32864 static swig_cast_info _swigc__p_wxObject
[] = {  {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0},  {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0},  {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0},  {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0},  {&_swigt__p_wxObject
, 0, 0, 0},  {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}}; 
32865 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {  {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
32866 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {  {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
32867 static swig_cast_info _swigc__p_wxPanel
[] = {  {&_swigt__p_wxPanel
, 0, 0, 0},  {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}}; 
32868 static swig_cast_info _swigc__p_wxPaperSize
[] = {  {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}}; 
32869 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {  {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
32870 static swig_cast_info _swigc__p_wxPoint
[] = {  {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}}; 
32871 static swig_cast_info _swigc__p_wxPopupWindow
[] = {  {&_swigt__p_wxPopupWindow
, 0, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0},  {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}}; 
32872 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {  {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}}; 
32873 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = {  {&_swigt__p_wxPreviewControlBar
, 0, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
, 0, 0},{0, 0, 0, 0}}; 
32874 static swig_cast_info _swigc__p_wxPreviewFrame
[] = {  {&_swigt__p_wxPreviewFrame
, 0, 0, 0},  {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxPreviewFrame
, 0, 0},{0, 0, 0, 0}}; 
32875 static swig_cast_info _swigc__p_wxPrintData
[] = {  {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}}; 
32876 static swig_cast_info _swigc__p_wxPrintDialog
[] = {  {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
32877 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {  {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
32878 static swig_cast_info _swigc__p_wxPrintPreview
[] = {  {&_swigt__p_wxPrintPreview
, 0, 0, 0},  {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxPrintPreview
, 0, 0},{0, 0, 0, 0}}; 
32879 static swig_cast_info _swigc__p_wxPrinter
[] = {  {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}}; 
32880 static swig_cast_info _swigc__p_wxProgressDialog
[] = {  {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
32881 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {  {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
32882 static swig_cast_info _swigc__p_wxPyPanel
[] = {  {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}}; 
32883 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = {  {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},  {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0},{0, 0, 0, 0}}; 
32884 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {  {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
32885 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {  {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
32886 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {  {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
32887 static swig_cast_info _swigc__p_wxPyPrintout
[] = {  {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}}; 
32888 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {  {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
32889 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {  {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
32890 static swig_cast_info _swigc__p_wxPyVListBox
[] = {  {&_swigt__p_wxPyVListBox
, 0, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}}; 
32891 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = {  {&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0},  {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0},{0, 0, 0, 0}}; 
32892 static swig_cast_info _swigc__p_wxPyWindow
[] = {  {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
32893 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {  {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32894 static swig_cast_info _swigc__p_wxRect
[] = {  {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}}; 
32895 static swig_cast_info _swigc__p_wxRegion
[] = {  {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}}; 
32896 static swig_cast_info _swigc__p_wxSashEvent
[] = {  {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32897 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {  {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
32898 static swig_cast_info _swigc__p_wxSashWindow
[] = {  {&_swigt__p_wxSashWindow
, 0, 0, 0},  {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxSashWindow
, 0, 0},{0, 0, 0, 0}}; 
32899 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {  {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32900 static swig_cast_info _swigc__p_wxScrolledWindow
[] = {  {&_swigt__p_wxScrolledWindow
, 0, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0},{0, 0, 0, 0}}; 
32901 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {  {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
32902 static swig_cast_info _swigc__p_wxSize
[] = {  {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}}; 
32903 static swig_cast_info _swigc__p_wxSplashScreen
[] = {  {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}}; 
32904 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {  {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
32905 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {  {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32906 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {  {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
32907 static swig_cast_info _swigc__p_wxStatusBar
[] = {  {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}}; 
32908 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {  {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
32909 static swig_cast_info _swigc__p_wxString
[] = {  {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}}; 
32910 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = {  {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
32911 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {  {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32912 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = {  {&_swigt__p_wxTextEntryDialog
, 0, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog
, 0, 0},{0, 0, 0, 0}}; 
32913 static swig_cast_info _swigc__p_wxTipWindow
[] = {  {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
32914 static swig_cast_info _swigc__p_wxToolBar
[] = {  {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}}; 
32915 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = {  {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxTopLevelWindow
, 0, 0, 0},  {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},  {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}}; 
32916 static swig_cast_info _swigc__p_wxVisualAttributes
[] = {  {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}}; 
32917 static swig_cast_info _swigc__p_wxWindow
[] = {  {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxWindow
, 0, 0, 0},  {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0},  {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}}; 
32919 static swig_cast_info 
*swig_cast_initial
[] = { 
32921   _swigc__p_form_ops_t
, 
32923   _swigc__p_unsigned_char
, 
32924   _swigc__p_unsigned_int
, 
32925   _swigc__p_unsigned_long
, 
32926   _swigc__p_wxANIHandler
, 
32927   _swigc__p_wxAcceleratorTable
, 
32928   _swigc__p_wxActivateEvent
, 
32929   _swigc__p_wxArrayInt
, 
32930   _swigc__p_wxBMPHandler
, 
32931   _swigc__p_wxBitmap
, 
32932   _swigc__p_wxBoxSizer
, 
32933   _swigc__p_wxCURHandler
, 
32934   _swigc__p_wxCalculateLayoutEvent
, 
32935   _swigc__p_wxChildFocusEvent
, 
32936   _swigc__p_wxCloseEvent
, 
32937   _swigc__p_wxColour
, 
32938   _swigc__p_wxColourData
, 
32939   _swigc__p_wxColourDialog
, 
32940   _swigc__p_wxCommandEvent
, 
32941   _swigc__p_wxContextMenuEvent
, 
32942   _swigc__p_wxControl
, 
32943   _swigc__p_wxControlWithItems
, 
32945   _swigc__p_wxDateEvent
, 
32946   _swigc__p_wxDialog
, 
32947   _swigc__p_wxDirDialog
, 
32948   _swigc__p_wxDisplayChangedEvent
, 
32949   _swigc__p_wxDropFilesEvent
, 
32950   _swigc__p_wxDuplexMode
, 
32951   _swigc__p_wxEraseEvent
, 
32953   _swigc__p_wxEvtHandler
, 
32954   _swigc__p_wxFSFile
, 
32955   _swigc__p_wxFileDialog
, 
32956   _swigc__p_wxFileSystem
, 
32957   _swigc__p_wxFindDialogEvent
, 
32958   _swigc__p_wxFindReplaceData
, 
32959   _swigc__p_wxFindReplaceDialog
, 
32960   _swigc__p_wxFlexGridSizer
, 
32961   _swigc__p_wxFocusEvent
, 
32963   _swigc__p_wxFontData
, 
32964   _swigc__p_wxFontDialog
, 
32966   _swigc__p_wxGBSizerItem
, 
32967   _swigc__p_wxGIFHandler
, 
32968   _swigc__p_wxGridBagSizer
, 
32969   _swigc__p_wxGridSizer
, 
32970   _swigc__p_wxHtmlLinkInfo
, 
32971   _swigc__p_wxICOHandler
, 
32973   _swigc__p_wxIconBundle
, 
32974   _swigc__p_wxIconizeEvent
, 
32975   _swigc__p_wxIdleEvent
, 
32977   _swigc__p_wxImageHandler
, 
32978   _swigc__p_wxIndividualLayoutConstraint
, 
32979   _swigc__p_wxInitDialogEvent
, 
32980   _swigc__p_wxJPEGHandler
, 
32981   _swigc__p_wxKeyEvent
, 
32982   _swigc__p_wxLayoutAlgorithm
, 
32983   _swigc__p_wxLayoutConstraints
, 
32984   _swigc__p_wxMDIChildFrame
, 
32985   _swigc__p_wxMDIClientWindow
, 
32986   _swigc__p_wxMDIParentFrame
, 
32987   _swigc__p_wxMaximizeEvent
, 
32989   _swigc__p_wxMenuBar
, 
32990   _swigc__p_wxMenuEvent
, 
32991   _swigc__p_wxMenuItem
, 
32992   _swigc__p_wxMessageDialog
, 
32993   _swigc__p_wxMiniFrame
, 
32994   _swigc__p_wxMouseCaptureChangedEvent
, 
32995   _swigc__p_wxMouseEvent
, 
32996   _swigc__p_wxMoveEvent
, 
32997   _swigc__p_wxMultiChoiceDialog
, 
32998   _swigc__p_wxNavigationKeyEvent
, 
32999   _swigc__p_wxNcPaintEvent
, 
33000   _swigc__p_wxNotifyEvent
, 
33001   _swigc__p_wxObject
, 
33002   _swigc__p_wxPCXHandler
, 
33003   _swigc__p_wxPNGHandler
, 
33004   _swigc__p_wxPNMHandler
, 
33005   _swigc__p_wxPageSetupDialog
, 
33006   _swigc__p_wxPageSetupDialogData
, 
33007   _swigc__p_wxPaintEvent
, 
33008   _swigc__p_wxPaletteChangedEvent
, 
33010   _swigc__p_wxPaperSize
, 
33011   _swigc__p_wxPasswordEntryDialog
, 
33013   _swigc__p_wxPopupWindow
, 
33014   _swigc__p_wxPreviewCanvas
, 
33015   _swigc__p_wxPreviewControlBar
, 
33016   _swigc__p_wxPreviewFrame
, 
33017   _swigc__p_wxPrintData
, 
33018   _swigc__p_wxPrintDialog
, 
33019   _swigc__p_wxPrintDialogData
, 
33020   _swigc__p_wxPrintPreview
, 
33021   _swigc__p_wxPrinter
, 
33022   _swigc__p_wxProgressDialog
, 
33024   _swigc__p_wxPyCommandEvent
, 
33025   _swigc__p_wxPyEvent
, 
33026   _swigc__p_wxPyHtmlListBox
, 
33027   _swigc__p_wxPyImageHandler
, 
33028   _swigc__p_wxPyPanel
, 
33029   _swigc__p_wxPyPopupTransientWindow
, 
33030   _swigc__p_wxPyPreviewControlBar
, 
33031   _swigc__p_wxPyPreviewFrame
, 
33032   _swigc__p_wxPyPrintPreview
, 
33033   _swigc__p_wxPyPrintout
, 
33034   _swigc__p_wxPyScrolledWindow
, 
33035   _swigc__p_wxPySizer
, 
33036   _swigc__p_wxPyTaskBarIcon
, 
33037   _swigc__p_wxPyVListBox
, 
33038   _swigc__p_wxPyVScrolledWindow
, 
33039   _swigc__p_wxPyValidator
, 
33040   _swigc__p_wxPyWindow
, 
33041   _swigc__p_wxQueryLayoutInfoEvent
, 
33042   _swigc__p_wxQueryNewPaletteEvent
, 
33044   _swigc__p_wxRegion
, 
33045   _swigc__p_wxSashEvent
, 
33046   _swigc__p_wxSashLayoutWindow
, 
33047   _swigc__p_wxSashWindow
, 
33048   _swigc__p_wxScrollEvent
, 
33049   _swigc__p_wxScrollWinEvent
, 
33050   _swigc__p_wxScrolledWindow
, 
33051   _swigc__p_wxSetCursorEvent
, 
33052   _swigc__p_wxShowEvent
, 
33053   _swigc__p_wxSingleChoiceDialog
, 
33055   _swigc__p_wxSizeEvent
, 
33057   _swigc__p_wxSizerItem
, 
33058   _swigc__p_wxSplashScreen
, 
33059   _swigc__p_wxSplashScreenWindow
, 
33060   _swigc__p_wxSplitterEvent
, 
33061   _swigc__p_wxSplitterWindow
, 
33062   _swigc__p_wxStaticBoxSizer
, 
33063   _swigc__p_wxStatusBar
, 
33064   _swigc__p_wxStdDialogButtonSizer
, 
33065   _swigc__p_wxString
, 
33066   _swigc__p_wxSysColourChangedEvent
, 
33067   _swigc__p_wxTIFFHandler
, 
33068   _swigc__p_wxTaskBarIcon
, 
33069   _swigc__p_wxTaskBarIconEvent
, 
33070   _swigc__p_wxTextEntryDialog
, 
33071   _swigc__p_wxTipWindow
, 
33072   _swigc__p_wxToolBar
, 
33073   _swigc__p_wxTopLevelWindow
, 
33074   _swigc__p_wxUpdateUIEvent
, 
33075   _swigc__p_wxValidator
, 
33076   _swigc__p_wxVisualAttributes
, 
33077   _swigc__p_wxWindow
, 
33078   _swigc__p_wxWindowCreateEvent
, 
33079   _swigc__p_wxWindowDestroyEvent
, 
33080   _swigc__p_wxXPMHandler
, 
33084 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
33086 static swig_const_info swig_const_table
[] = { 
33087 {0, 0, 0, 0.0, 0, 0}}; 
33092 /* ----------------------------------------------------------------------------- 
33093  * Type initialization: 
33094  * This problem is tough by the requirement that no dynamic  
33095  * memory is used. Also, since swig_type_info structures store pointers to  
33096  * swig_cast_info structures and swig_cast_info structures store pointers back 
33097  * to swig_type_info structures, we need some lookup code at initialization.  
33098  * The idea is that swig generates all the structures that are needed.  
33099  * The runtime then collects these partially filled structures.  
33100  * The SWIG_InitializeModule function takes these initial arrays out of  
33101  * swig_module, and does all the lookup, filling in the swig_module.types 
33102  * array with the correct data and linking the correct swig_cast_info 
33103  * structures together. 
33105  * The generated swig_type_info structures are assigned staticly to an initial  
33106  * array. We just loop though that array, and handle each type individually. 
33107  * First we lookup if this type has been already loaded, and if so, use the 
33108  * loaded structure instead of the generated one. Then we have to fill in the 
33109  * cast linked list. The cast data is initially stored in something like a 
33110  * two-dimensional array. Each row corresponds to a type (there are the same 
33111  * number of rows as there are in the swig_type_initial array). Each entry in 
33112  * a column is one of the swig_cast_info structures for that type. 
33113  * The cast_initial array is actually an array of arrays, because each row has 
33114  * a variable number of columns. So to actually build the cast linked list, 
33115  * we find the array of casts associated with the type, and loop through it  
33116  * adding the casts to the list. The one last trick we need to do is making 
33117  * sure the type pointer in the swig_cast_info struct is correct. 
33119  * First off, we lookup the cast->type name to see if it is already loaded.  
33120  * There are three cases to handle: 
33121  *  1) If the cast->type has already been loaded AND the type we are adding 
33122  *     casting info to has not been loaded (it is in this module), THEN we 
33123  *     replace the cast->type pointer with the type pointer that has already 
33125  *  2) If BOTH types (the one we are adding casting info to, and the  
33126  *     cast->type) are loaded, THEN the cast info has already been loaded by 
33127  *     the previous module so we just ignore it. 
33128  *  3) Finally, if cast->type has not already been loaded, then we add that 
33129  *     swig_cast_info to the linked list (because the cast->type) pointer will 
33131  * ----------------------------------------------------------------------------- */ 
33141 #define SWIGRUNTIME_DEBUG 
33145 SWIG_InitializeModule(void *clientdata
) { 
33147   swig_module_info 
*module_head
; 
33148   static int init_run 
= 0; 
33150   clientdata 
= clientdata
; 
33152   if (init_run
) return; 
33155   /* Initialize the swig_module */ 
33156   swig_module
.type_initial 
= swig_type_initial
; 
33157   swig_module
.cast_initial 
= swig_cast_initial
; 
33159   /* Try and load any already created modules */ 
33160   module_head 
= SWIG_GetModule(clientdata
); 
33162     swig_module
.next 
= module_head
->next
; 
33163     module_head
->next 
= &swig_module
; 
33165     /* This is the first module loaded */ 
33166     swig_module
.next 
= &swig_module
; 
33167     SWIG_SetModule(clientdata
, &swig_module
); 
33170   /* Now work on filling in swig_module.types */ 
33171 #ifdef SWIGRUNTIME_DEBUG 
33172   printf("SWIG_InitializeModule: size %d\n", swig_module
.size
); 
33174   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
33175     swig_type_info 
*type 
= 0; 
33176     swig_type_info 
*ret
; 
33177     swig_cast_info 
*cast
; 
33179 #ifdef SWIGRUNTIME_DEBUG 
33180     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
33183     /* if there is another module already loaded */ 
33184     if (swig_module
.next 
!= &swig_module
) { 
33185       type 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
); 
33188       /* Overwrite clientdata field */ 
33189 #ifdef SWIGRUNTIME_DEBUG 
33190       printf("SWIG_InitializeModule: found type %s\n", type
->name
); 
33192       if (swig_module
.type_initial
[i
]->clientdata
) { 
33193         type
->clientdata 
= swig_module
.type_initial
[i
]->clientdata
; 
33194 #ifdef SWIGRUNTIME_DEBUG 
33195         printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
); 
33199       type 
= swig_module
.type_initial
[i
]; 
33202     /* Insert casting types */ 
33203     cast 
= swig_module
.cast_initial
[i
]; 
33204     while (cast
->type
) { 
33205       /* Don't need to add information already in the list */ 
33207 #ifdef SWIGRUNTIME_DEBUG 
33208       printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
); 
33210       if (swig_module
.next 
!= &swig_module
) { 
33211         ret 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
); 
33212 #ifdef SWIGRUNTIME_DEBUG 
33213         if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
); 
33217         if (type 
== swig_module
.type_initial
[i
]) { 
33218 #ifdef SWIGRUNTIME_DEBUG 
33219           printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
); 
33224           /* Check for casting already in the list */ 
33225           swig_cast_info 
*ocast 
= SWIG_TypeCheck(ret
->name
, type
); 
33226 #ifdef SWIGRUNTIME_DEBUG 
33227           if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
); 
33229           if (!ocast
) ret 
= 0; 
33234 #ifdef SWIGRUNTIME_DEBUG 
33235         printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
); 
33238           type
->cast
->prev 
= cast
; 
33239           cast
->next 
= type
->cast
; 
33245     /* Set entry in modules->types array equal to the type */ 
33246     swig_module
.types
[i
] = type
; 
33248   swig_module
.types
[i
] = 0; 
33250 #ifdef SWIGRUNTIME_DEBUG 
33251   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
33252   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
33254     swig_cast_info 
*cast 
= swig_module
.cast_initial
[i
]; 
33255     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
33256     while (cast
->type
) { 
33257       printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
); 
33261     printf("---- Total casts: %d\n",j
); 
33263   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
33267 /* This function will propagate the clientdata field of type to 
33268 * any new swig_type_info structures that have been added into the list 
33269 * of equivalent types.  It is like calling 
33270 * SWIG_TypeClientData(type, clientdata) a second time. 
33273 SWIG_PropagateClientData(void) { 
33275   swig_cast_info 
*equiv
; 
33276   static int init_run 
= 0; 
33278   if (init_run
) return; 
33281   for (i 
= 0; i 
< swig_module
.size
; i
++) { 
33282     if (swig_module
.types
[i
]->clientdata
) { 
33283       equiv 
= swig_module
.types
[i
]->cast
; 
33285         if (!equiv
->converter
) { 
33286           if (equiv
->type 
&& !equiv
->type
->clientdata
) 
33287           SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
); 
33289         equiv 
= equiv
->next
; 
33309   /* Python-specific SWIG API */ 
33310 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
33311 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
33312 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
33314   /* ----------------------------------------------------------------------------- 
33315    * global variable support code. 
33316    * ----------------------------------------------------------------------------- */ 
33318   typedef struct swig_globalvar 
{ 
33319     char       *name
;                  /* Name of global variable */ 
33320     PyObject 
*(*get_attr
)(void);       /* Return the current value */ 
33321     int       (*set_attr
)(PyObject 
*); /* Set the value */ 
33322     struct swig_globalvar 
*next
; 
33325   typedef struct swig_varlinkobject 
{ 
33327     swig_globalvar 
*vars
; 
33328   } swig_varlinkobject
; 
33330   SWIGINTERN PyObject 
* 
33331   swig_varlink_repr(swig_varlinkobject 
*SWIGUNUSEDPARM(v
)) { 
33332     return PyString_FromString("<Swig global variables>"); 
33335   SWIGINTERN PyObject 
* 
33336   swig_varlink_str(swig_varlinkobject 
*v
) { 
33337     PyObject 
*str 
= PyString_FromString("("); 
33338     swig_globalvar  
*var
; 
33339     for (var 
= v
->vars
; var
; var
=var
->next
) { 
33340       PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
)); 
33341       if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", ")); 
33343     PyString_ConcatAndDel(&str
,PyString_FromString(")")); 
33348   swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) { 
33349     PyObject 
*str 
= swig_varlink_str(v
); 
33350     fprintf(fp
,"Swig global variables "); 
33351     fprintf(fp
,"%s\n", PyString_AsString(str
)); 
33357   swig_varlink_dealloc(swig_varlinkobject 
*v
) { 
33358     swig_globalvar 
*var 
= v
->vars
; 
33360       swig_globalvar 
*n 
= var
->next
; 
33367   SWIGINTERN PyObject 
* 
33368   swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
33369     PyObject 
*res 
= NULL
; 
33370     swig_globalvar 
*var 
= v
->vars
; 
33372       if (strcmp(var
->name
,n
) == 0) { 
33373         res 
= (*var
->get_attr
)(); 
33378     if (res 
== NULL 
&& !PyErr_Occurred()) { 
33379       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
33385   swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
33387     swig_globalvar 
*var 
= v
->vars
; 
33389       if (strcmp(var
->name
,n
) == 0) { 
33390         res 
= (*var
->set_attr
)(p
); 
33395     if (res 
== 1 && !PyErr_Occurred()) { 
33396       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
33401   SWIGINTERN PyTypeObject
* 
33402   swig_varlink_type(void) { 
33403     static char varlink__doc__
[] = "Swig var link object"; 
33404     static PyTypeObject varlink_type
; 
33405     static int type_init 
= 0;   
33407       const PyTypeObject tmp
 
33409         PyObject_HEAD_INIT(NULL
) 
33410         0,                                  /* Number of items in variable part (ob_size) */ 
33411         (char *)"swigvarlink",              /* Type name (tp_name) */ 
33412         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
33413         0,                                  /* Itemsize (tp_itemsize) */ 
33414         (destructor
) swig_varlink_dealloc
,   /* Deallocator (tp_dealloc) */  
33415         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
33416         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
33417         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
33418         0,                                  /* tp_compare */ 
33419         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
33420         0,                                  /* tp_as_number */ 
33421         0,                                  /* tp_as_sequence */ 
33422         0,                                  /* tp_as_mapping */ 
33425         (reprfunc
)swig_varlink_str
,        /* tp_str */ 
33426         0,                                  /* tp_getattro */ 
33427         0,                                  /* tp_setattro */ 
33428         0,                                  /* tp_as_buffer */ 
33430         varlink__doc__
,                     /* tp_doc */ 
33431         0,                                  /* tp_traverse */ 
33433         0,                                  /* tp_richcompare */ 
33434         0,                                  /* tp_weaklistoffset */ 
33435 #if PY_VERSION_HEX >= 0x02020000 
33436         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
33438 #if PY_VERSION_HEX >= 0x02030000 
33441 #ifdef COUNT_ALLOCS 
33442         0,0,0,0                             /* tp_alloc -> tp_next */ 
33445       varlink_type 
= tmp
; 
33446       varlink_type
.ob_type 
= &PyType_Type
; 
33449     return &varlink_type
; 
33452   /* Create a variable linking object for use later */ 
33453   SWIGINTERN PyObject 
* 
33454   SWIG_Python_newvarlink(void) { 
33455     swig_varlinkobject 
*result 
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type()); 
33459     return ((PyObject
*) result
); 
33463   SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
33464     swig_varlinkobject 
*v 
= (swig_varlinkobject 
*) p
; 
33465     swig_globalvar 
*gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
33467       size_t size 
= strlen(name
)+1; 
33468       gv
->name 
= (char *)malloc(size
); 
33470         strncpy(gv
->name
,name
,size
); 
33471         gv
->get_attr 
= get_attr
; 
33472         gv
->set_attr 
= set_attr
; 
33473         gv
->next 
= v
->vars
; 
33479   SWIGINTERN PyObject 
* 
33481     static PyObject 
*_SWIG_globals 
= 0;  
33482     if (!_SWIG_globals
) _SWIG_globals 
= SWIG_newvarlink();   
33483     return _SWIG_globals
; 
33486   /* ----------------------------------------------------------------------------- 
33487    * constants/methods manipulation 
33488    * ----------------------------------------------------------------------------- */ 
33490   /* Install Constants */ 
33492   SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
33495     for (i 
= 0; constants
[i
].type
; ++i
) { 
33496       switch(constants
[i
].type
) { 
33497       case SWIG_PY_POINTER
: 
33498         obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
33500       case SWIG_PY_BINARY
: 
33501         obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
33508         PyDict_SetItemString(d
, constants
[i
].name
, obj
); 
33514   /* -----------------------------------------------------------------------------*/ 
33515   /* Fix SwigMethods to carry the callback ptrs when needed */ 
33516   /* -----------------------------------------------------------------------------*/ 
33519   SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
33520     swig_const_info 
*const_table
, 
33521     swig_type_info 
**types
, 
33522     swig_type_info 
**types_initial
) { 
33524     for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
33525       char *c 
= methods
[i
].ml_doc
; 
33526       if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
33528         swig_const_info 
*ci 
= 0; 
33529         char *name 
= c 
+ 10; 
33530         for (j 
= 0; const_table
[j
].type
; ++j
) { 
33531           if (strncmp(const_table
[j
].name
, name
,  
33532               strlen(const_table
[j
].name
)) == 0) { 
33533             ci 
= &(const_table
[j
]); 
33538           size_t shift 
= (ci
->ptype
) - types
; 
33539           swig_type_info 
*ty 
= types_initial
[shift
]; 
33540           size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
33541           size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
33542           char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
33545             void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue 
: 0; 
33547               strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
33549               strncpy(buff
, "swig_ptr: ", 10); 
33551               SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
33552               methods
[i
].ml_doc 
= ndoc
; 
33564 /* -----------------------------------------------------------------------------* 
33565  *  Partial Init method 
33566  * -----------------------------------------------------------------------------*/ 
33571 SWIGEXPORT 
void SWIG_init(void) { 
33574   /* Fix SwigMethods to carry the callback ptrs when needed */ 
33575   SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
); 
33577   m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
33578   d 
= PyModule_GetDict(m
); 
33580   SWIG_InitializeModule(0); 
33581   SWIG_InstallConstants(d
,swig_const_table
); 
33584   PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals()); 
33585   SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
); 
33586   SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
); 
33587   SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
); 
33588   SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
); 
33589   SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
))); 
33590   SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
))); 
33591   SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
))); 
33592   SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
))); 
33593   SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
))); 
33594   SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
))); 
33595   SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
))); 
33596   SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
))); 
33597   SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
))); 
33598   SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
))); 
33599   SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
))); 
33600   SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
))); 
33601   SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
))); 
33602   SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
))); 
33603   SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
))); 
33604   SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
))); 
33605   SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
))); 
33606   SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
))); 
33607   SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
))); 
33608   SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
))); 
33609   SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
))); 
33610   SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
))); 
33611   SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
))); 
33612   SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
))); 
33613   SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
))); 
33614   SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
))); 
33615   SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
))); 
33616   SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
))); 
33617   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
))); 
33618   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
))); 
33619   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
))); 
33620   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
))); 
33621   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
))); 
33622   SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
))); 
33623   SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
))); 
33624   SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
))); 
33625   SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
))); 
33626   SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
))); 
33627   SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
))); 
33628   SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
))); 
33629   SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
))); 
33630   SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
))); 
33631   SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
))); 
33632   SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
))); 
33633   SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
))); 
33634   SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
))); 
33635   SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
); 
33636   SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
))); 
33637   SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
))); 
33638   SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
))); 
33639   SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
))); 
33640   SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
))); 
33641   SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
))); 
33642   SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
))); 
33643   SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
))); 
33644   SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
))); 
33645   SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
))); 
33646   SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
))); 
33647   SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
))); 
33648   SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
))); 
33649   SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
))); 
33650   PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
)); 
33651   PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
)); 
33652   PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
)); 
33653   PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
)); 
33654   SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
); 
33655   SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
); 
33656   SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
))); 
33657   SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
))); 
33658   SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
))); 
33659   SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
))); 
33660   SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
))); 
33661   SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
))); 
33662   SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
))); 
33663   SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
))); 
33664   SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
))); 
33665   SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
))); 
33666   SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
))); 
33667   SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
))); 
33668   SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
))); 
33669   SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
))); 
33670   SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
))); 
33671   PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
)); 
33672   SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
))); 
33673   SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
))); 
33674   SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
))); 
33675   SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
))); 
33676   SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
))); 
33677   SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
))); 
33678   SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
))); 
33679   SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
))); 
33680   SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
))); 
33681   SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
))); 
33682   SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
))); 
33683   PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
)); 
33684   PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
)); 
33685   SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
); 
33687   // Map renamed classes back to their common name for OOR 
33688   wxPyPtrTypeMap_Add("wxHtmlListBox",     "wxPyHtmlListBox"); 
33689   wxPyPtrTypeMap_Add("wxVListBox",        "wxPyVListBox"); 
33690   wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); 
33692   PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
)); 
33693   PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
)); 
33694   PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
)); 
33695   PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
)); 
33696   PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
)); 
33697   PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
)); 
33698   PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
)); 
33699   SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
); 
33700   SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
); 
33701   SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
); 
33702   SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
); 
33703   SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
); 
33704   SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
); 
33705   SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
))); 
33706   SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
))); 
33707   SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
); 
33708   SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
))); 
33709   SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
))); 
33710   SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
))); 
33711   SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
))); 
33712   SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
))); 
33713   SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
))); 
33714   SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
))); 
33715   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
)); 
33716   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
)); 
33717   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
)); 
33718   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
)); 
33719   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
)); 
33720   SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001))); 
33721   SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001))); 
33722   SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002))); 
33723   SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003))); 
33724   SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004))); 
33725   SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005))); 
33726   SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006))); 
33727   SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100))); 
33728   SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600))); 
33729   SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
); 
33730   SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
); 
33731   SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
))); 
33732   SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
))); 
33733   SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
))); 
33734   SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
))); 
33735   SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
))); 
33736   SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
))); 
33737   SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
))); 
33738   SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
))); 
33739   SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
))); 
33740   SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
))); 
33741   SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
))); 
33742   SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
))); 
33743   SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
))); 
33744   SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
))); 
33745   SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
))); 
33746   SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
))); 
33747   SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
))); 
33748   SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
))); 
33749   SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
))); 
33750   SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
))); 
33751   SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
))); 
33752   SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
))); 
33753   SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
))); 
33754   SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
))); 
33755   SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
))); 
33756   SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
))); 
33757   SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
))); 
33758   SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
))); 
33759   SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
))); 
33760   SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
))); 
33761   SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
))); 
33762   SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
))); 
33763   SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
))); 
33764   SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
))); 
33765   SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
))); 
33766   SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
))); 
33767   SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
))); 
33768   SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
))); 
33769   SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
))); 
33771   wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");