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 #if PY_VERSION_HEX < 0x02050000 
 989 typedef int Py_ssize_t
; 
 992 /* for raw pointers */ 
 993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) 
 994 #define SWIG_ConvertPtr(obj, pptr, type, flags)         SWIG_Python_ConvertPtr(obj, pptr, type, flags) 
 995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own)  SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) 
 996 #define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(ptr, type, flags) 
 997 #define SWIG_CheckImplicit(ty)                          SWIG_Python_CheckImplicit(ty)  
 998 #define SWIG_AcquirePtr(ptr, src)                       SWIG_Python_AcquirePtr(ptr, src) 
 999 #define swig_owntype                                    int 
1001 /* for raw packed data */ 
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 
1003 #define SWIG_NewPackedObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type) 
1005 /* for class or struct pointers */ 
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags) 
1007 #define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags) 
1009 /* for C or C++ function pointers */ 
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_Python_ConvertFunctionPtr(obj, pptr, type) 
1011 #define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_Python_NewPointerObj(ptr, type, 0) 
1013 /* for C++ member pointers, ie, member methods */ 
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_Python_ConvertPacked(obj, ptr, sz, ty) 
1015 #define SWIG_NewMemberObj(ptr, sz, type)                SWIG_Python_NewPackedObj(ptr, sz, type) 
1020 #define SWIG_GetModule(clientdata)                      SWIG_Python_GetModule() 
1021 #define SWIG_SetModule(clientdata, pointer)             SWIG_Python_SetModule(pointer) 
1022 #define SWIG_NewClientData(obj)                         PySwigClientData_New(obj) 
1024 #define SWIG_SetErrorObj                                SWIG_Python_SetErrorObj                             
1025 #define SWIG_SetErrorMsg                                SWIG_Python_SetErrorMsg                             
1026 #define SWIG_ErrorType(code)                            SWIG_Python_ErrorType(code)                         
1027 #define SWIG_Error(code, msg)                           SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)  
1028 #define SWIG_fail                                       goto fail                                           
1031 /* Runtime API implementation */ 
1033 /* Error manipulation */ 
1036 SWIG_Python_SetErrorObj(PyObject 
*errtype
, PyObject 
*obj
) { 
1037   SWIG_PYTHON_THREAD_BEGIN_BLOCK
;  
1038   PyErr_SetObject(errtype
, obj
); 
1040   SWIG_PYTHON_THREAD_END_BLOCK
; 
1044 SWIG_Python_SetErrorMsg(PyObject 
*errtype
, const char *msg
) { 
1045   SWIG_PYTHON_THREAD_BEGIN_BLOCK
; 
1046   PyErr_SetString(errtype
, (char *) msg
); 
1047   SWIG_PYTHON_THREAD_END_BLOCK
; 
1050 #define SWIG_Python_Raise(obj, type, desc)  SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) 
1052 /* Set a constant value */ 
1055 SWIG_Python_SetConstant(PyObject 
*d
, const char *name
, PyObject 
*obj
) {    
1056   PyDict_SetItemString(d
, (char*) name
, obj
); 
1060 /* Append a value to the result obj */ 
1062 SWIGINTERN PyObject
* 
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) { 
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) 
1067   } else if (result 
== Py_None
) { 
1071     if (!PyList_Check(result
)) { 
1072       PyObject 
*o2 
= result
; 
1073       result 
= PyList_New(1); 
1074       PyList_SetItem(result
, 0, o2
); 
1076     PyList_Append(result
,obj
); 
1085   } else if (result 
== Py_None
) { 
1089     if (!PyTuple_Check(result
)) { 
1091       result 
= PyTuple_New(1); 
1092       PyTuple_SET_ITEM(result
, 0, o2
); 
1094     o3 
= PyTuple_New(1); 
1095     PyTuple_SET_ITEM(o3
, 0, obj
); 
1097     result 
= PySequence_Concat(o2
, o3
); 
1105 /* Unpack the argument tuple */ 
1108 SWIG_Python_UnpackTuple(PyObject 
*args
, const char *name
, int min
, int max
, PyObject 
**objs
) 
1114       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",  
1115                    name
, (min 
== max 
? "" : "at least "), min
); 
1119   if (!PyTuple_Check(args
)) { 
1120     PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple"); 
1123     register int l 
= PyTuple_GET_SIZE(args
); 
1125       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",  
1126                    name
, (min 
== max 
? "" : "at least "), min
, l
); 
1128     } else if (l 
> max
) { 
1129       PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",  
1130                    name
, (min 
== max 
? "" : "at most "), max
, l
); 
1134       for (i 
= 0; i 
< l
; ++i
) { 
1135         objs
[i
] = PyTuple_GET_ITEM(args
, i
); 
1137       for (; l 
< max
; ++l
) { 
1145 /* A functor is a function object with one single object argument */ 
1146 #if PY_VERSION_HEX >= 0x02020000 
1147 #define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunctionObjArgs(functor, obj, NULL); 
1149 #define SWIG_Python_CallFunctor(functor, obj)           PyObject_CallFunction(functor, "O", obj); 
1153   Helper for static pointer initialization for both C and C++ code, for example 
1154   static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); 
1157 #define SWIG_STATIC_POINTER(var)  var 
1159 #define SWIG_STATIC_POINTER(var)  var = 0; if (!var) var 
1162 /* ----------------------------------------------------------------------------- 
1163  * Pointer declarations 
1164  * ----------------------------------------------------------------------------- */ 
1166 /* Flags for new pointer objects */ 
1167 #define SWIG_POINTER_NOSHADOW       (SWIG_POINTER_OWN      << 1) 
1168 #define SWIG_POINTER_NEW            (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) 
1170 #define SWIG_POINTER_IMPLICIT_CONV  (SWIG_POINTER_DISOWN   << 1) 
1179 /*  How to access Py_None */ 
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) 
1181 #  ifndef SWIG_PYTHON_NO_BUILD_NONE 
1182 #    ifndef SWIG_PYTHON_BUILD_NONE 
1183 #      define SWIG_PYTHON_BUILD_NONE 
1188 #ifdef SWIG_PYTHON_BUILD_NONE 
1191 #   define Py_None SWIG_Py_None() 
1193 SWIGRUNTIMEINLINE PyObject 
*  
1196   PyObject 
*none 
= Py_BuildValue(""); 
1200 SWIGRUNTIME PyObject 
*  
1203   static PyObject 
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None(); 
1208 /* The python void return value */ 
1210 SWIGRUNTIMEINLINE PyObject 
*  
1213   PyObject 
*none 
= Py_None
; 
1218 /* PySwigClientData */ 
1229 SWIGRUNTIMEINLINE 
int  
1230 SWIG_Python_CheckImplicit(swig_type_info 
*ty
) 
1232   PySwigClientData 
*data 
= (PySwigClientData 
*)ty
->clientdata
; 
1233   return data 
? data
->implicitconv 
: 0; 
1236 SWIGRUNTIMEINLINE PyObject 
* 
1237 SWIG_Python_ExceptionType(swig_type_info 
*desc
) { 
1238   PySwigClientData 
*data 
= desc 
? (PySwigClientData 
*) desc
->clientdata 
: 0; 
1239   PyObject 
*klass 
= data 
? data
->klass 
: 0; 
1240   return (klass 
? klass 
: PyExc_RuntimeError
); 
1244 SWIGRUNTIME PySwigClientData 
*  
1245 PySwigClientData_New(PyObject
* obj
) 
1250     PySwigClientData 
*data 
= (PySwigClientData 
*)malloc(sizeof(PySwigClientData
)); 
1251     /* the klass element */ 
1253     Py_INCREF(data
->klass
); 
1254     /* the newraw method and newargs arguments used to create a new raw instance */ 
1255     if (PyClass_Check(obj
)) { 
1257       data
->newargs 
= obj
; 
1260 #if (PY_VERSION_HEX < 0x02020000) 
1263       data
->newraw 
= PyObject_GetAttrString(data
->klass
, (char *)"__new__"); 
1266         Py_INCREF(data
->newraw
); 
1267         data
->newargs 
= PyTuple_New(1); 
1268         PyTuple_SetItem(data
->newargs
, 0, obj
); 
1270         data
->newargs 
= obj
; 
1272       Py_INCREF(data
->newargs
); 
1274     /* the destroy method, aka as the C++ delete method */ 
1275     data
->destroy 
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__"); 
1276     if (PyErr_Occurred()) { 
1280     if (data
->destroy
) { 
1282       Py_INCREF(data
->destroy
); 
1283       flags 
= PyCFunction_GET_FLAGS(data
->destroy
); 
1285       data
->delargs 
= !(flags 
& (METH_O
)); 
1292     data
->implicitconv 
= 0; 
1298 PySwigClientData_Del(PySwigClientData
* data
) 
1300   Py_XDECREF(data
->newraw
); 
1301   Py_XDECREF(data
->newargs
); 
1302   Py_XDECREF(data
->destroy
); 
1305 /* =============== PySwigObject =====================*/ 
1315 SWIGRUNTIME PyObject 
* 
1316 PySwigObject_long(PySwigObject 
*v
) 
1318   return PyLong_FromVoidPtr(v
->ptr
); 
1321 SWIGRUNTIME PyObject 
* 
1322 PySwigObject_format(const char* fmt
, PySwigObject 
*v
) 
1324   PyObject 
*res 
= NULL
; 
1325   PyObject 
*args 
= PyTuple_New(1); 
1327     if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) { 
1328       PyObject 
*ofmt 
= PyString_FromString(fmt
); 
1330         res 
= PyString_Format(ofmt
,args
); 
1339 SWIGRUNTIME PyObject 
* 
1340 PySwigObject_oct(PySwigObject 
*v
) 
1342   return PySwigObject_format("%o",v
); 
1345 SWIGRUNTIME PyObject 
* 
1346 PySwigObject_hex(PySwigObject 
*v
) 
1348   return PySwigObject_format("%x",v
); 
1351 SWIGRUNTIME PyObject 
* 
1353 PySwigObject_repr(PySwigObject 
*v
) 
1355 PySwigObject_repr(PySwigObject 
*v
, PyObject 
*args
) 
1358   const char *name 
= SWIG_TypePrettyName(v
->ty
); 
1359   PyObject 
*hex 
= PySwigObject_hex(v
);     
1360   PyObject 
*repr 
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
)); 
1364     PyObject 
*nrep 
= PySwigObject_repr((PySwigObject 
*)v
->next
); 
1366     PyObject 
*nrep 
= PySwigObject_repr((PySwigObject 
*)v
->next
, args
); 
1368     PyString_ConcatAndDel(&repr
,nrep
); 
1374 PySwigObject_print(PySwigObject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) 
1377   PyObject 
*repr 
= PySwigObject_repr(v
); 
1379   PyObject 
*repr 
= PySwigObject_repr(v
, NULL
); 
1382     fputs(PyString_AsString(repr
), fp
); 
1390 SWIGRUNTIME PyObject 
* 
1391 PySwigObject_str(PySwigObject 
*v
) 
1393   char result
[SWIG_BUFFER_SIZE
]; 
1394   return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ? 
1395     PyString_FromString(result
) : 0; 
1399 PySwigObject_compare(PySwigObject 
*v
, PySwigObject 
*w
) 
1403   return (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void); 
1408 SWIGRUNTIME PyTypeObject
* 
1409 PySwigObject_type(void) { 
1410   static PyTypeObject 
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type(); 
1414 SWIGRUNTIMEINLINE 
int 
1415 PySwigObject_Check(PyObject 
*op
) { 
1416   return ((op
)->ob_type 
== PySwigObject_type()) 
1417     || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0); 
1420 SWIGRUNTIME PyObject 
* 
1421 PySwigObject_New(void *ptr
, swig_type_info 
*ty
, int own
); 
1424 PySwigObject_dealloc(PyObject 
*v
) 
1426   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1427   PyObject 
*next 
= sobj
->next
; 
1429     swig_type_info 
*ty 
= sobj
->ty
; 
1430     PySwigClientData 
*data 
= ty 
? (PySwigClientData 
*) ty
->clientdata 
: 0; 
1431     PyObject 
*destroy 
= data 
? data
->destroy 
: 0; 
1433       /* destroy is always a VARARGS method */ 
1435       if (data
->delargs
) { 
1436         /* we need to create a temporal object to carry the destroy operation */ 
1437         PyObject 
*tmp 
= PySwigObject_New(sobj
->ptr
, ty
, 0); 
1438         res 
= SWIG_Python_CallFunctor(destroy
, tmp
); 
1441         PyCFunction meth 
= PyCFunction_GET_FUNCTION(destroy
); 
1442         PyObject 
*mself 
= PyCFunction_GET_SELF(destroy
); 
1443         res 
= ((*meth
)(mself
, v
)); 
1447       const char *name 
= SWIG_TypePrettyName(ty
); 
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) 
1449       printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
); 
1457 SWIGRUNTIME PyObject
*  
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
) 
1460   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1463   if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
; 
1466   if (!PySwigObject_Check(next
)) { 
1471   return SWIG_Py_Void(); 
1474 SWIGRUNTIME PyObject
*  
1476 PySwigObject_next(PyObject
* v
) 
1478 PySwigObject_next(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1481   PySwigObject 
*sobj 
= (PySwigObject 
*) v
; 
1483     Py_INCREF(sobj
->next
); 
1486     return SWIG_Py_Void(); 
1490 SWIGINTERN PyObject
* 
1492 PySwigObject_disown(PyObject 
*v
) 
1494 PySwigObject_disown(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1497   PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1499   return SWIG_Py_Void(); 
1502 SWIGINTERN PyObject
* 
1504 PySwigObject_acquire(PyObject 
*v
) 
1506 PySwigObject_acquire(PyObject
* v
, PyObject 
*SWIGUNUSEDPARM(args
)) 
1509   PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1510   sobj
->own 
= SWIG_POINTER_OWN
; 
1511   return SWIG_Py_Void(); 
1514 SWIGINTERN PyObject
* 
1515 PySwigObject_own(PyObject 
*v
, PyObject 
*args
) 
1518 #if (PY_VERSION_HEX < 0x02020000) 
1519   if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
)) 
1521   if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))  
1528       PySwigObject 
*sobj 
= (PySwigObject 
*)v
; 
1529       PyObject 
*obj 
= PyBool_FromLong(sobj
->own
); 
1532         if (PyObject_IsTrue(val
)) { 
1533           PySwigObject_acquire(v
); 
1535           PySwigObject_disown(v
); 
1538         if (PyObject_IsTrue(val
)) { 
1539           PySwigObject_acquire(v
,args
); 
1541           PySwigObject_disown(v
,args
); 
1551 swigobject_methods
[] = { 
1552   {(char *)"disown",  (PyCFunction
)PySwigObject_disown
,  METH_NOARGS
,  (char *)"releases ownership of the pointer"}, 
1553   {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
,  (char *)"aquires ownership of the pointer"}, 
1554   {(char *)"own",     (PyCFunction
)PySwigObject_own
,     METH_VARARGS
, (char *)"returns/sets ownership of the pointer"}, 
1555   {(char *)"append",  (PyCFunction
)PySwigObject_append
,  METH_O
,       (char *)"appends another 'this' object"}, 
1556   {(char *)"next",    (PyCFunction
)PySwigObject_next
,    METH_NOARGS
,  (char *)"returns the next 'this' object"}, 
1557   {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
,    METH_NOARGS
,  (char *)"returns object representation"}, 
1562 swigobject_methods
[] = { 
1563   {(char *)"disown",  (PyCFunction
)PySwigObject_disown
,  METH_VARARGS
,  (char *)"releases ownership of the pointer"}, 
1564   {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
,  (char *)"aquires ownership of the pointer"}, 
1565   {(char *)"own",     (PyCFunction
)PySwigObject_own
,     METH_VARARGS
,  (char *)"returns/sets ownership of the pointer"}, 
1566   {(char *)"append",  (PyCFunction
)PySwigObject_append
,  METH_VARARGS
,  (char *)"appends another 'this' object"}, 
1567   {(char *)"next",    (PyCFunction
)PySwigObject_next
,    METH_VARARGS
,  (char *)"returns the next 'this' object"}, 
1568   {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
,   METH_VARARGS
,  (char *)"returns object representation"}, 
1573 #if PY_VERSION_HEX < 0x02020000 
1574 SWIGINTERN PyObject 
* 
1575 PySwigObject_getattr(PySwigObject 
*sobj
,char *name
) 
1577   return Py_FindMethod(swigobject_methods
, (PyObject 
*)sobj
, name
); 
1581 SWIGRUNTIME PyTypeObject
* 
1582 _PySwigObject_type(void) { 
1583   static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer"; 
1585   static PyNumberMethods PySwigObject_as_number 
= { 
1586     (binaryfunc
)0, /*nb_add*/ 
1587     (binaryfunc
)0, /*nb_subtract*/ 
1588     (binaryfunc
)0, /*nb_multiply*/ 
1589     (binaryfunc
)0, /*nb_divide*/ 
1590     (binaryfunc
)0, /*nb_remainder*/ 
1591     (binaryfunc
)0, /*nb_divmod*/ 
1592     (ternaryfunc
)0,/*nb_power*/ 
1593     (unaryfunc
)0,  /*nb_negative*/ 
1594     (unaryfunc
)0,  /*nb_positive*/ 
1595     (unaryfunc
)0,  /*nb_absolute*/ 
1596     (inquiry
)0,    /*nb_nonzero*/ 
1603     (coercion
)0,   /*nb_coerce*/ 
1604     (unaryfunc
)PySwigObject_long
, /*nb_int*/ 
1605     (unaryfunc
)PySwigObject_long
, /*nb_long*/ 
1606     (unaryfunc
)0,                 /*nb_float*/ 
1607     (unaryfunc
)PySwigObject_oct
,  /*nb_oct*/ 
1608     (unaryfunc
)PySwigObject_hex
,  /*nb_hex*/ 
1609 #if PY_VERSION_HEX >= 0x02020000 
1610     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */  
1611 #elif PY_VERSION_HEX >= 0x02000000 
1612     0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ 
1616   static PyTypeObject pyswigobject_type
;   
1617   static int type_init 
= 0; 
1619     const PyTypeObject tmp
 
1621         PyObject_HEAD_INIT(NULL
) 
1623         (char *)"PySwigObject",             /* tp_name */ 
1624         sizeof(PySwigObject
),               /* tp_basicsize */ 
1625         0,                                  /* tp_itemsize */ 
1626         (destructor
)PySwigObject_dealloc
,   /* tp_dealloc */ 
1627         (printfunc
)PySwigObject_print
,      /* tp_print */ 
1628 #if PY_VERSION_HEX < 0x02020000 
1629         (getattrfunc
)PySwigObject_getattr
,  /* tp_getattr */  
1631         (getattrfunc
)0,                     /* tp_getattr */  
1633         (setattrfunc
)0,                     /* tp_setattr */  
1634         (cmpfunc
)PySwigObject_compare
,      /* tp_compare */  
1635         (reprfunc
)PySwigObject_repr
,        /* tp_repr */     
1636         &PySwigObject_as_number
,            /* tp_as_number */ 
1637         0,                                  /* tp_as_sequence */ 
1638         0,                                  /* tp_as_mapping */ 
1639         (hashfunc
)0,                        /* tp_hash */ 
1640         (ternaryfunc
)0,                     /* tp_call */ 
1641         (reprfunc
)PySwigObject_str
,         /* tp_str */ 
1642         PyObject_GenericGetAttr
,            /* tp_getattro */ 
1643         0,                                  /* tp_setattro */ 
1644         0,                                  /* tp_as_buffer */ 
1645         Py_TPFLAGS_DEFAULT
,                 /* tp_flags */ 
1646         swigobject_doc
,                     /* tp_doc */         
1647         0,                                  /* tp_traverse */ 
1649         0,                                  /* tp_richcompare */ 
1650         0,                                  /* tp_weaklistoffset */ 
1651 #if PY_VERSION_HEX >= 0x02020000 
1653         0,                                  /* tp_iternext */ 
1654         swigobject_methods
,                 /* tp_methods */  
1659         0,                                  /* tp_descr_get */           
1660         0,                                  /* tp_descr_set */           
1661         0,                                  /* tp_dictoffset */          
1670         0,                                  /* tp_subclasses */ 
1671         0,                                  /* tp_weaklist */ 
1673 #if PY_VERSION_HEX >= 0x02030000 
1677         0,0,0,0                             /* tp_alloc -> tp_next */ 
1680     pyswigobject_type 
= tmp
; 
1681     pyswigobject_type
.ob_type 
= &PyType_Type
; 
1684   return &pyswigobject_type
; 
1687 SWIGRUNTIME PyObject 
* 
1688 PySwigObject_New(void *ptr
, swig_type_info 
*ty
, int own
) 
1690   PySwigObject 
*sobj 
= PyObject_NEW(PySwigObject
, PySwigObject_type()); 
1697   return (PyObject 
*)sobj
; 
1700 /* ----------------------------------------------------------------------------- 
1701  * Implements a simple Swig Packed type, and use it instead of string 
1702  * ----------------------------------------------------------------------------- */ 
1712 PySwigPacked_print(PySwigPacked 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) 
1714   char result
[SWIG_BUFFER_SIZE
]; 
1715   fputs("<Swig Packed ", fp
);  
1716   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
1720   fputs(v
->ty
->name
,fp
);  
1725 SWIGRUNTIME PyObject 
* 
1726 PySwigPacked_repr(PySwigPacked 
*v
) 
1728   char result
[SWIG_BUFFER_SIZE
]; 
1729   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) { 
1730     return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
); 
1732     return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
); 
1736 SWIGRUNTIME PyObject 
* 
1737 PySwigPacked_str(PySwigPacked 
*v
) 
1739   char result
[SWIG_BUFFER_SIZE
]; 
1740   if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){ 
1741     return PyString_FromFormat("%s%s", result
, v
->ty
->name
); 
1743     return PyString_FromString(v
->ty
->name
); 
1748 PySwigPacked_compare(PySwigPacked 
*v
, PySwigPacked 
*w
) 
1752   int s 
= (i 
< j
) ? -1 : ((i 
> j
) ? 1 : 0); 
1753   return s 
? s 
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
); 
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void); 
1758 SWIGRUNTIME PyTypeObject
* 
1759 PySwigPacked_type(void) { 
1760   static PyTypeObject 
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type(); 
1764 SWIGRUNTIMEINLINE 
int 
1765 PySwigPacked_Check(PyObject 
*op
) { 
1766   return ((op
)->ob_type 
== _PySwigPacked_type())  
1767     || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0); 
1771 PySwigPacked_dealloc(PyObject 
*v
) 
1773   if (PySwigPacked_Check(v
)) { 
1774     PySwigPacked 
*sobj 
= (PySwigPacked 
*) v
; 
1780 SWIGRUNTIME PyTypeObject
* 
1781 _PySwigPacked_type(void) { 
1782   static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer"; 
1783   static PyTypeObject pyswigpacked_type
; 
1784   static int type_init 
= 0;   
1786     const PyTypeObject tmp
 
1788         PyObject_HEAD_INIT(NULL
) 
1790         (char *)"PySwigPacked",             /* tp_name */        
1791         sizeof(PySwigPacked
),               /* tp_basicsize */   
1792         0,                                  /* tp_itemsize */    
1793         (destructor
)PySwigPacked_dealloc
,   /* tp_dealloc */     
1794         (printfunc
)PySwigPacked_print
,      /* tp_print */       
1795         (getattrfunc
)0,                     /* tp_getattr */     
1796         (setattrfunc
)0,                     /* tp_setattr */     
1797         (cmpfunc
)PySwigPacked_compare
,      /* tp_compare */     
1798         (reprfunc
)PySwigPacked_repr
,        /* tp_repr */        
1799         0,                                  /* tp_as_number */   
1800         0,                                  /* tp_as_sequence */ 
1801         0,                                  /* tp_as_mapping */  
1802         (hashfunc
)0,                        /* tp_hash */        
1803         (ternaryfunc
)0,                     /* tp_call */        
1804         (reprfunc
)PySwigPacked_str
,         /* tp_str */         
1805         PyObject_GenericGetAttr
,            /* tp_getattro */ 
1806         0,                                  /* tp_setattro */ 
1807         0,                                  /* tp_as_buffer */ 
1808         Py_TPFLAGS_DEFAULT
,                 /* tp_flags */ 
1809         swigpacked_doc
,                     /* tp_doc */ 
1810         0,                                  /* tp_traverse */ 
1812         0,                                  /* tp_richcompare */ 
1813         0,                                  /* tp_weaklistoffset */ 
1814 #if PY_VERSION_HEX >= 0x02020000 
1816         0,                                  /* tp_iternext */ 
1822         0,                                  /* tp_descr_get */           
1823         0,                                  /* tp_descr_set */           
1824         0,                                  /* tp_dictoffset */          
1833         0,                                  /* tp_subclasses */ 
1834         0,                                  /* tp_weaklist */ 
1836 #if PY_VERSION_HEX >= 0x02030000 
1840         0,0,0,0                             /* tp_alloc -> tp_next */ 
1843     pyswigpacked_type 
= tmp
; 
1844     pyswigpacked_type
.ob_type 
= &PyType_Type
; 
1847   return &pyswigpacked_type
; 
1850 SWIGRUNTIME PyObject 
* 
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info 
*ty
) 
1853   PySwigPacked 
*sobj 
= PyObject_NEW(PySwigPacked
, PySwigPacked_type()); 
1855     void *pack 
= malloc(size
); 
1857       memcpy(pack
, ptr
, size
); 
1862       PyObject_DEL((PyObject 
*) sobj
); 
1866   return (PyObject 
*) sobj
; 
1869 SWIGRUNTIME swig_type_info 
* 
1870 PySwigPacked_UnpackData(PyObject 
*obj
, void *ptr
, size_t size
) 
1872   if (PySwigPacked_Check(obj
)) { 
1873     PySwigPacked 
*sobj 
= (PySwigPacked 
*)obj
; 
1874     if (sobj
->size 
!= size
) return 0; 
1875     memcpy(ptr
, sobj
->pack
, size
); 
1882 /* ----------------------------------------------------------------------------- 
1883  * pointers/data manipulation 
1884  * ----------------------------------------------------------------------------- */ 
1886 SWIGRUNTIMEINLINE PyObject 
* 
1889   return PyString_FromString("this"); 
1892 SWIGRUNTIME PyObject 
* 
1895   static PyObject 
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This(); 
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ 
1901 SWIGRUNTIME PySwigObject 
* 
1902 SWIG_Python_GetSwigThis(PyObject 
*pyobj
)  
1904   if (PySwigObject_Check(pyobj
)) { 
1905     return (PySwigObject 
*) pyobj
; 
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) 
1909     if (PyInstance_Check(pyobj
)) { 
1910       obj 
= _PyInstance_Lookup(pyobj
, SWIG_This());       
1912       PyObject 
**dictptr 
= _PyObject_GetDictPtr(pyobj
); 
1913       if (dictptr 
!= NULL
) { 
1914         PyObject 
*dict 
= *dictptr
; 
1915         obj 
= dict 
? PyDict_GetItem(dict
, SWIG_This()) : 0; 
1917 #ifdef PyWeakref_CheckProxy 
1918         if (PyWeakref_CheckProxy(pyobj
)) { 
1919           PyObject 
*wobj 
= PyWeakref_GET_OBJECT(pyobj
); 
1920           return wobj 
? SWIG_Python_GetSwigThis(wobj
) : 0; 
1923         obj 
= PyObject_GetAttr(pyobj
,SWIG_This()); 
1927           if (PyErr_Occurred()) PyErr_Clear(); 
1933     obj 
= PyObject_GetAttr(pyobj
,SWIG_This()); 
1937       if (PyErr_Occurred()) PyErr_Clear(); 
1941     if (obj 
&& !PySwigObject_Check(obj
)) { 
1942       /* a PyObject is called 'this', try to get the 'real this' 
1943          PySwigObject from it */  
1944       return SWIG_Python_GetSwigThis(obj
); 
1946     return (PySwigObject 
*)obj
; 
1950 /* Acquire a pointer value */ 
1953 SWIG_Python_AcquirePtr(PyObject 
*obj
, int own
) { 
1955     PySwigObject 
*sobj 
= SWIG_Python_GetSwigThis(obj
); 
1957       int oldown 
= sobj
->own
; 
1965 /* Convert a pointer value */ 
1968 SWIG_Python_ConvertPtrAndOwn(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
, int flags
, int *own
) { 
1969   if (!obj
) return SWIG_ERROR
; 
1970   if (obj 
== Py_None
) { 
1974     PySwigObject 
*sobj 
= SWIG_Python_GetSwigThis(obj
); 
1976       void *vptr 
= sobj
->ptr
; 
1978         swig_type_info 
*to 
= sobj
->ty
; 
1980           /* no type cast needed */ 
1981           if (ptr
) *ptr 
= vptr
; 
1984           swig_cast_info 
*tc 
= SWIG_TypeCheck(to
->name
,ty
); 
1986             sobj 
= (PySwigObject 
*)sobj
->next
; 
1988             if (ptr
) *ptr 
= SWIG_TypeCast(tc
,vptr
); 
1993         if (ptr
) *ptr 
= vptr
; 
1998       if (own
) *own 
= sobj
->own
; 
1999       if (flags 
& SWIG_POINTER_DISOWN
) { 
2004       int res 
= SWIG_ERROR
; 
2005       if (flags 
& SWIG_POINTER_IMPLICIT_CONV
) { 
2006         PySwigClientData 
*data 
= ty 
? (PySwigClientData 
*) ty
->clientdata 
: 0; 
2007         if (data 
&& !data
->implicitconv
) { 
2008           PyObject 
*klass 
= data
->klass
; 
2011             data
->implicitconv 
= 1; /* avoid recursion and call 'explicit' constructors*/ 
2012             impconv 
= SWIG_Python_CallFunctor(klass
, obj
); 
2013             data
->implicitconv 
= 0; 
2014             if (PyErr_Occurred()) { 
2019               PySwigObject 
*iobj 
= SWIG_Python_GetSwigThis(impconv
); 
2022                 res 
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0); 
2023                 if (SWIG_IsOK(res
)) { 
2026                     /* transfer the ownership to 'ptr' */ 
2028                     res 
= SWIG_AddCast(res
); 
2029                     res 
= SWIG_AddNewMask(res
); 
2031                     res 
= SWIG_AddCast(res
);                 
2045 /* Convert a function ptr value */ 
2048 SWIG_Python_ConvertFunctionPtr(PyObject 
*obj
, void **ptr
, swig_type_info 
*ty
) { 
2049   if (!PyCFunction_Check(obj
)) { 
2050     return SWIG_ConvertPtr(obj
, ptr
, ty
, 0); 
2054     /* here we get the method pointer for callbacks */ 
2055     const char *doc 
= (((PyCFunctionObject 
*)obj
) -> m_ml 
-> ml_doc
); 
2056     const char *desc 
= doc 
? strstr(doc
, "swig_ptr: ") : 0; 
2058       desc 
= ty 
? SWIG_UnpackVoidPtr(desc 
+ 10, &vptr
, ty
->name
) : 0; 
2059       if (!desc
) return SWIG_ERROR
; 
2062       swig_cast_info 
*tc 
= SWIG_TypeCheck(desc
,ty
); 
2063       if (!tc
) return SWIG_ERROR
; 
2064       *ptr 
= SWIG_TypeCast(tc
,vptr
); 
2072 /* Convert a packed value value */ 
2075 SWIG_Python_ConvertPacked(PyObject 
*obj
, void *ptr
, size_t sz
, swig_type_info 
*ty
) { 
2076   swig_type_info 
*to 
= PySwigPacked_UnpackData(obj
, ptr
, sz
); 
2077   if (!to
) return SWIG_ERROR
; 
2080       /* check type cast? */ 
2081       swig_cast_info 
*tc 
= SWIG_TypeCheck(to
->name
,ty
); 
2082       if (!tc
) return SWIG_ERROR
; 
2088 /* ----------------------------------------------------------------------------- 
2089  * Create a new pointer object 
2090  * ----------------------------------------------------------------------------- */ 
2093   Create a new instance object, whitout calling __init__, and set the 
2097 SWIGRUNTIME PyObject
*  
2098 SWIG_Python_NewShadowInstance(PySwigClientData 
*data
, PyObject 
*swig_this
) 
2100 #if (PY_VERSION_HEX >= 0x02020000) 
2102   PyObject 
*newraw 
= data
->newraw
; 
2104     inst 
= PyObject_Call(newraw
, data
->newargs
, NULL
); 
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 
2107       PyObject 
**dictptr 
= _PyObject_GetDictPtr(inst
); 
2108       if (dictptr 
!= NULL
) { 
2109         PyObject 
*dict 
= *dictptr
; 
2111           dict 
= PyDict_New(); 
2113           PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2117       PyObject 
*key 
= SWIG_This(); 
2118       PyObject_SetAttr(inst
, key
, swig_this
); 
2122     PyObject 
*dict 
= PyDict_New(); 
2123     PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2124     inst 
= PyInstance_NewRaw(data
->newargs
, dict
); 
2129 #if (PY_VERSION_HEX >= 0x02010000) 
2131   PyObject 
*dict 
= PyDict_New(); 
2132   PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2133   inst 
= PyInstance_NewRaw(data
->newargs
, dict
); 
2135   return (PyObject 
*) inst
; 
2137   PyInstanceObject 
*inst 
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
); 
2141   inst
->in_class 
= (PyClassObject 
*)data
->newargs
; 
2142   Py_INCREF(inst
->in_class
); 
2143   inst
->in_dict 
= PyDict_New(); 
2144   if (inst
->in_dict 
== NULL
) { 
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS 
2149   inst
->in_weakreflist 
= NULL
; 
2151 #ifdef Py_TPFLAGS_GC 
2152   PyObject_GC_Init(inst
); 
2154   PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
); 
2155   return (PyObject 
*) inst
; 
2161 SWIG_Python_SetSwigThis(PyObject 
*inst
, PyObject 
*swig_this
) 
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) 
2165  PyObject 
**dictptr 
= _PyObject_GetDictPtr(inst
); 
2166  if (dictptr 
!= NULL
) { 
2169      dict 
= PyDict_New(); 
2172    PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2176  dict 
= PyObject_GetAttrString(inst
, "__dict__"); 
2177  PyDict_SetItem(dict
, SWIG_This(), swig_this
); 
2182 SWIGINTERN PyObject 
* 
2183 SWIG_Python_InitShadowInstance(PyObject 
*args
) { 
2185   if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) { 
2188     PySwigObject 
*sthis 
= SWIG_Python_GetSwigThis(obj
[0]); 
2190       PySwigObject_append((PyObject
*) sthis
, obj
[1]); 
2192       SWIG_Python_SetSwigThis(obj
[0], obj
[1]); 
2194     return SWIG_Py_Void(); 
2198 /* Create a new pointer object */ 
2200 SWIGRUNTIME PyObject 
* 
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info 
*type
, int flags
) { 
2203     return SWIG_Py_Void(); 
2205     int own 
= (flags 
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN 
: 0; 
2206     PyObject 
*robj 
= PySwigObject_New(ptr
, type
, own
); 
2207     PySwigClientData 
*clientdata 
= type 
? (PySwigClientData 
*)(type
->clientdata
) : 0; 
2208     if (clientdata 
&& !(flags 
& SWIG_POINTER_NOSHADOW
)) { 
2209       PyObject 
*inst 
= SWIG_Python_NewShadowInstance(clientdata
, robj
); 
2219 /* Create a new packed object */ 
2221 SWIGRUNTIMEINLINE PyObject 
* 
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info 
*type
) { 
2223   return ptr 
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void(); 
2226 /* -----------------------------------------------------------------------------* 
2228  * -----------------------------------------------------------------------------*/ 
2230 #ifdef SWIG_LINK_RUNTIME 
2231 void *SWIG_ReturnGlobalTypeList(void *); 
2234 SWIGRUNTIME swig_module_info 
* 
2235 SWIG_Python_GetModule(void) { 
2236   static void *type_pointer 
= (void *)0; 
2237   /* first check if module already created */ 
2238   if (!type_pointer
) { 
2239 #ifdef SWIG_LINK_RUNTIME 
2240     type_pointer 
= SWIG_ReturnGlobalTypeList((void *)0); 
2242     type_pointer 
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
2243                                     (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
); 
2244     if (PyErr_Occurred()) { 
2246       type_pointer 
= (void *)0; 
2250   return (swig_module_info 
*) type_pointer
; 
2253 #if PY_MAJOR_VERSION < 2 
2254 /* PyModule_AddObject function was introduced in Python 2.0.  The following function 
2255    is copied out of Python/modsupport.c in python version 2.3.4 */ 
2257 PyModule_AddObject(PyObject 
*m
, char *name
, PyObject 
*o
) 
2260   if (!PyModule_Check(m
)) { 
2261     PyErr_SetString(PyExc_TypeError
, 
2262                     "PyModule_AddObject() needs module as first arg"); 
2266     PyErr_SetString(PyExc_TypeError
, 
2267                     "PyModule_AddObject() needs non-NULL value"); 
2271   dict 
= PyModule_GetDict(m
); 
2273     /* Internal error -- modules must have a dict! */ 
2274     PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__", 
2275                  PyModule_GetName(m
)); 
2278   if (PyDict_SetItemString(dict
, name
, o
)) 
2286 SWIG_Python_DestroyModule(void *vptr
) 
2288   swig_module_info 
*swig_module 
= (swig_module_info 
*) vptr
; 
2289   swig_type_info 
**types 
= swig_module
->types
; 
2291   for (i 
=0; i 
< swig_module
->size
; ++i
) { 
2292     swig_type_info 
*ty 
= types
[i
]; 
2294       PySwigClientData 
*data 
= (PySwigClientData 
*) ty
->clientdata
; 
2295       if (data
) PySwigClientData_Del(data
); 
2298   Py_DECREF(SWIG_This()); 
2302 SWIG_Python_SetModule(swig_module_info 
*swig_module
) { 
2303   static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */ 
2305   PyObject 
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
, 
2306                                    swig_empty_runtime_method_table
); 
2307   PyObject 
*pointer 
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
); 
2308   if (pointer 
&& module) { 
2309     PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
); 
2311     Py_XDECREF(pointer
); 
2315 /* The python cached type query */ 
2316 SWIGRUNTIME PyObject 
* 
2317 SWIG_Python_TypeCache() { 
2318   static PyObject 
*SWIG_STATIC_POINTER(cache
) = PyDict_New(); 
2322 SWIGRUNTIME swig_type_info 
* 
2323 SWIG_Python_TypeQuery(const char *type
) 
2325   PyObject 
*cache 
= SWIG_Python_TypeCache(); 
2326   PyObject 
*key 
= PyString_FromString(type
);  
2327   PyObject 
*obj 
= PyDict_GetItem(cache
, key
); 
2328   swig_type_info 
*descriptor
; 
2330     descriptor 
= (swig_type_info 
*) PyCObject_AsVoidPtr(obj
); 
2332     swig_module_info 
*swig_module 
= SWIG_Python_GetModule(); 
2333     descriptor 
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
); 
2335       obj 
= PyCObject_FromVoidPtr(descriptor
, NULL
); 
2336       PyDict_SetItem(cache
, key
, obj
); 
2345    For backward compatibility only 
2347 #define SWIG_POINTER_EXCEPTION  0 
2348 #define SWIG_arg_fail(arg)      SWIG_Python_ArgFail(arg) 
2349 #define SWIG_MustGetPtr(p, type, argnum, flags)  SWIG_Python_MustGetPtr(p, type, argnum, flags) 
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
) 
2354   if (PyErr_Occurred()) { 
2356     PyObject 
*value 
= 0; 
2357     PyObject 
*traceback 
= 0; 
2358     PyErr_Fetch(&type
, &value
, &traceback
); 
2360       PyObject 
*old_str 
= PyObject_Str(value
); 
2364         PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
)); 
2366         PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
); 
2377 SWIG_Python_ArgFail(int argnum
) 
2379   if (PyErr_Occurred()) { 
2380     /* add information about failing argument */ 
2382     PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
); 
2383     return SWIG_Python_AddErrMesg(mesg
, 1); 
2389 SWIGRUNTIMEINLINE 
const char * 
2390 PySwigObject_GetDesc(PyObject 
*self
) 
2392   PySwigObject 
*v 
= (PySwigObject 
*)self
; 
2393   swig_type_info 
*ty 
= v 
? v
->ty 
: 0; 
2394   return ty 
? ty
->str 
: (char*)""; 
2398 SWIG_Python_TypeError(const char *type
, PyObject 
*obj
) 
2401 #if defined(SWIG_COBJECT_TYPES) 
2402     if (obj 
&& PySwigObject_Check(obj
)) { 
2403       const char *otype 
= (const char *) PySwigObject_GetDesc(obj
); 
2405         PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received", 
2412       const char *otype 
= (obj 
? obj
->ob_type
->tp_name 
: 0);  
2414         PyObject 
*str 
= PyObject_Str(obj
); 
2415         const char *cstr 
= str 
? PyString_AsString(str
) : 0; 
2417           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received", 
2420           PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received", 
2427     PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
); 
2429     PyErr_Format(PyExc_TypeError
, "unexpected type is received"); 
2434 /* Convert a pointer value, signal an exception on a type mismatch */ 
2436 SWIG_Python_MustGetPtr(PyObject 
*obj
, swig_type_info 
*ty
, int argnum
, int flags
) { 
2438   if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) { 
2440     if (flags 
& SWIG_POINTER_EXCEPTION
) { 
2441       SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
); 
2442       SWIG_Python_ArgFail(argnum
); 
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)  
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else  
2464 /* -------- TYPES TABLE (BEGIN) -------- */ 
2466 #define SWIGTYPE_p_bool swig_types[0] 
2467 #define SWIGTYPE_p_char swig_types[1] 
2468 #define SWIGTYPE_p_form_ops_t swig_types[2] 
2469 #define SWIGTYPE_p_int swig_types[3] 
2470 #define SWIGTYPE_p_unsigned_char swig_types[4] 
2471 #define SWIGTYPE_p_unsigned_int swig_types[5] 
2472 #define SWIGTYPE_p_unsigned_long swig_types[6] 
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7] 
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8] 
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9] 
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10] 
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11] 
2478 #define SWIGTYPE_p_wxBitmap swig_types[12] 
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13] 
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14] 
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15] 
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16] 
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17] 
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18] 
2485 #define SWIGTYPE_p_wxColour swig_types[19] 
2486 #define SWIGTYPE_p_wxColourData swig_types[20] 
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21] 
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22] 
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23] 
2490 #define SWIGTYPE_p_wxControl swig_types[24] 
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25] 
2492 #define SWIGTYPE_p_wxDC swig_types[26] 
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27] 
2494 #define SWIGTYPE_p_wxDialog swig_types[28] 
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29] 
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30] 
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31] 
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32] 
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33] 
2500 #define SWIGTYPE_p_wxEvent swig_types[34] 
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35] 
2502 #define SWIGTYPE_p_wxFSFile swig_types[36] 
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37] 
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38] 
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39] 
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40] 
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41] 
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42] 
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43] 
2510 #define SWIGTYPE_p_wxFont swig_types[44] 
2511 #define SWIGTYPE_p_wxFontData swig_types[45] 
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46] 
2513 #define SWIGTYPE_p_wxFrame swig_types[47] 
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48] 
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49] 
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50] 
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51] 
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52] 
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53] 
2520 #define SWIGTYPE_p_wxIcon swig_types[54] 
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55] 
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56] 
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57] 
2524 #define SWIGTYPE_p_wxImage swig_types[58] 
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59] 
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60] 
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61] 
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62] 
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63] 
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64] 
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65] 
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66] 
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67] 
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68] 
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69] 
2536 #define SWIGTYPE_p_wxMenu swig_types[70] 
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71] 
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72] 
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73] 
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74] 
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75] 
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76] 
2543 #define SWIGTYPE_p_wxMouseEvent swig_types[77] 
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78] 
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79] 
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80] 
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81] 
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82] 
2549 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[83] 
2550 #define SWIGTYPE_p_wxObject swig_types[84] 
2551 #define SWIGTYPE_p_wxPCXHandler swig_types[85] 
2552 #define SWIGTYPE_p_wxPNGHandler swig_types[86] 
2553 #define SWIGTYPE_p_wxPNMHandler swig_types[87] 
2554 #define SWIGTYPE_p_wxPageSetupDialog swig_types[88] 
2555 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[89] 
2556 #define SWIGTYPE_p_wxPaintEvent swig_types[90] 
2557 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91] 
2558 #define SWIGTYPE_p_wxPanel swig_types[92] 
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93] 
2560 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94] 
2561 #define SWIGTYPE_p_wxPoint swig_types[95] 
2562 #define SWIGTYPE_p_wxPopupWindow swig_types[96] 
2563 #define SWIGTYPE_p_wxPreviewCanvas swig_types[97] 
2564 #define SWIGTYPE_p_wxPreviewControlBar swig_types[98] 
2565 #define SWIGTYPE_p_wxPreviewFrame swig_types[99] 
2566 #define SWIGTYPE_p_wxPrintData swig_types[100] 
2567 #define SWIGTYPE_p_wxPrintDialog swig_types[101] 
2568 #define SWIGTYPE_p_wxPrintDialogData swig_types[102] 
2569 #define SWIGTYPE_p_wxPrintPreview swig_types[103] 
2570 #define SWIGTYPE_p_wxPrinter swig_types[104] 
2571 #define SWIGTYPE_p_wxProgressDialog swig_types[105] 
2572 #define SWIGTYPE_p_wxPyApp swig_types[106] 
2573 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107] 
2574 #define SWIGTYPE_p_wxPyEvent swig_types[108] 
2575 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[109] 
2576 #define SWIGTYPE_p_wxPyImageHandler swig_types[110] 
2577 #define SWIGTYPE_p_wxPyPanel swig_types[111] 
2578 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112] 
2579 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113] 
2580 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[114] 
2581 #define SWIGTYPE_p_wxPyPrintPreview swig_types[115] 
2582 #define SWIGTYPE_p_wxPyPrintout swig_types[116] 
2583 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[117] 
2584 #define SWIGTYPE_p_wxPySizer swig_types[118] 
2585 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119] 
2586 #define SWIGTYPE_p_wxPyVListBox swig_types[120] 
2587 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121] 
2588 #define SWIGTYPE_p_wxPyValidator swig_types[122] 
2589 #define SWIGTYPE_p_wxPyWindow swig_types[123] 
2590 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124] 
2591 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125] 
2592 #define SWIGTYPE_p_wxRect swig_types[126] 
2593 #define SWIGTYPE_p_wxRegion swig_types[127] 
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128] 
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129] 
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130] 
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131] 
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132] 
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133] 
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134] 
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135] 
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136] 
2603 #define SWIGTYPE_p_wxSize swig_types[137] 
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138] 
2605 #define SWIGTYPE_p_wxSizer swig_types[139] 
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140] 
2607 #define SWIGTYPE_p_wxSplashScreen swig_types[141] 
2608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[142] 
2609 #define SWIGTYPE_p_wxSplitterEvent swig_types[143] 
2610 #define SWIGTYPE_p_wxSplitterWindow swig_types[144] 
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145] 
2612 #define SWIGTYPE_p_wxStatusBar swig_types[146] 
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147] 
2614 #define SWIGTYPE_p_wxString swig_types[148] 
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149] 
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150] 
2617 #define SWIGTYPE_p_wxTaskBarIcon swig_types[151] 
2618 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152] 
2619 #define SWIGTYPE_p_wxTextEntryDialog swig_types[153] 
2620 #define SWIGTYPE_p_wxTipWindow swig_types[154] 
2621 #define SWIGTYPE_p_wxToolBar swig_types[155] 
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156] 
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157] 
2624 #define SWIGTYPE_p_wxValidator swig_types[158] 
2625 #define SWIGTYPE_p_wxVisualAttributes swig_types[159] 
2626 #define SWIGTYPE_p_wxWindow swig_types[160] 
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161] 
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162] 
2629 #define SWIGTYPE_p_wxXPMHandler swig_types[163] 
2630 static swig_type_info 
*swig_types
[165]; 
2631 static swig_module_info swig_module 
= {swig_types
, 164, 0, 0, 0, 0}; 
2632 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 
2633 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 
2635 /* -------- TYPES TABLE (END) -------- */ 
2637 #if (PY_VERSION_HEX <= 0x02000000) 
2638 # if !defined(SWIG_PYTHON_CLASSIC) 
2639 #  error "This python version requires to use swig with the '-classic' option" 
2642 #if (PY_VERSION_HEX <= 0x02020000) 
2643 # error "This python version requires to use swig with the '-nomodern' option" 
2645 #if (PY_VERSION_HEX <= 0x02020000) 
2646 # error "This python version requires to use swig with the '-nomodernargs' option" 
2649 # error "This python version requires to use swig with the '-nofastunpack' option" 
2652 /*----------------------------------------------- 
2653               @(target):= _windows_.so 
2654   ------------------------------------------------*/ 
2655 #define SWIG_init    init_windows_ 
2657 #define SWIG_name    "_windows_" 
2659 #define SWIGVERSION 0x010329  
2662 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))  
2663 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))  
2666 #include <stdexcept> 
2670   class PyObject_ptr 
{ 
2675     PyObject_ptr() :_obj(0) 
2679     PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
) 
2684     PyObject_ptr(PyObject 
*obj
, bool initial_ref 
= true) :_obj(obj
) 
2686       if (initial_ref
) Py_XINCREF(_obj
); 
2689     PyObject_ptr 
& operator=(const PyObject_ptr
& item
)  
2691       Py_XINCREF(item
._obj
); 
2702     operator PyObject 
*() const 
2707     PyObject 
*operator->() const 
2716   struct PyObject_var 
: PyObject_ptr 
{ 
2717     PyObject_var(PyObject
* obj 
= 0) : PyObject_ptr(obj
, false) { } 
2719     PyObject_var 
& operator = (PyObject
* obj
) 
2729 #include "wx/wxPython/wxPython.h" 
2730 #include "wx/wxPython/pyclasses.h" 
2733  static const wxString 
wxPyEmptyString(wxEmptyString
);  
2734  static const wxString 
wxPyPanelNameStr(wxPanelNameStr
);  
2740 # define LLONG_MIN      LONG_LONG_MIN 
2743 # define LLONG_MAX      LONG_LONG_MAX 
2746 # define ULLONG_MAX     ULONG_LONG_MAX 
2751 SWIG_AsVal_long (PyObject
* obj
, long* val
) 
2753     if (PyNumber_Check(obj
)) { 
2754         if (val
) *val 
= PyInt_AsLong(obj
); 
2757     return SWIG_TypeError
; 
2762 SWIG_AsVal_int (PyObject 
* obj
, int *val
) 
2765   int res 
= SWIG_AsVal_long (obj
, &v
); 
2766   if (SWIG_IsOK(res
)) { 
2767     if ((v 
< INT_MIN 
|| v 
> INT_MAX
)) { 
2768       return SWIG_OverflowError
; 
2770       if (val
) *val 
= static_cast< int >(v
); 
2778 SWIG_AsVal_bool (PyObject 
*obj
, bool *val
) 
2780   if (obj 
== Py_True
) { 
2781     if (val
) *val 
= true; 
2783   } else if (obj 
== Py_False
) { 
2784     if (val
) *val 
= false; 
2788     int res 
= SWIG_AddCast(SWIG_AsVal_long (obj
, val 
? &v 
: 0)); 
2789     if (SWIG_IsOK(res
) && val
) *val 
= v 
? true : false; 
2795   #define SWIG_From_long   PyInt_FromLong  
2798 SWIGINTERNINLINE PyObject 
* 
2799 SWIG_From_int  (int value
) 
2801   return SWIG_From_long  (value
); 
2806 SWIG_AsVal_double (PyObject 
*obj
, double* val
) 
2808     if (PyNumber_Check(obj
)) { 
2809         if (val
) *val 
= PyFloat_AsDouble(obj
); 
2812     return SWIG_TypeError
; 
2816   #define SWIG_From_double   PyFloat_FromDouble  
2818  static const wxString 
wxPyFrameNameStr(wxFrameNameStr
);  
2819  static const wxString 
wxPyDialogNameStr(wxDialogNameStr
);  
2820  static const wxString 
wxPyStatusLineNameStr(wxStatusLineNameStr
);  
2821  static const wxString 
wxPyToolBarNameStr(wxToolBarNameStr
);  
2822 SWIGINTERN 
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow 
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ } 
2823 SWIGINTERN 
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow 
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; } 
2826 SWIGINTERN wxRect 
wxStatusBar_GetFieldRect(wxStatusBar 
*self
,int i
){ 
2828             self
->GetFieldRect(i
, r
); 
2831  static const wxString 
wxPySplitterNameStr(wxT("splitter"));  
2832  static const wxString 
wxPySashNameStr(wxT("sashWindow"));  
2833  static const wxString 
wxPySashLayoutNameStr(wxT("layoutWindow"));  
2835 #include <wx/popupwin.h> 
2838 class wxPyPopupTransientWindow 
: public wxPopupTransientWindow
 
2841     wxPyPopupTransientWindow() : wxPopupTransientWindow() {} 
2842     wxPyPopupTransientWindow(wxWindow
* parent
, int style 
= wxBORDER_NONE
) 
2843         : wxPopupTransientWindow(parent
, style
) {} 
2845     DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
); 
2846     DEC_PYCALLBACK__(OnDismiss
); 
2847     DEC_PYCALLBACK_BOOL_(CanDismiss
); 
2852 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
); 
2853 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
); 
2854 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
); 
2857 #include <wx/tipwin.h> 
2859 SWIGINTERN wxTipWindow 
*new_wxTipWindow(wxWindow 
*parent
,wxString 
const &text
,int maxLength
=100,wxRect 
*rectBound
=NULL
){ 
2860             return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
); 
2863 #include <wx/tipwin.h> 
2866 #include <wx/vscroll.h> 
2869 class wxPyVScrolledWindow  
: public wxVScrolledWindow
 
2871     DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
) 
2873     wxPyVScrolledWindow() : wxVScrolledWindow() {} 
2875     wxPyVScrolledWindow(wxWindow 
*parent
, 
2876                         wxWindowID id 
= wxID_ANY
, 
2877                         const wxPoint
& pos 
= wxDefaultPosition
, 
2878                         const wxSize
& size 
= wxDefaultSize
, 
2880                         const wxString
& name 
= wxPyPanelNameStr
) 
2881         : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
) 
2884     // Overridable virtuals 
2886     // this function must be overridden in the derived class and it should 
2887     // return the height of the given line in pixels 
2888     DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
); 
2891     // this function doesn't have to be overridden but it may be useful to do 
2892     // it if calculating the lines heights is a relatively expensive operation 
2893     // as it gives the user code a possibility to calculate several of them at 
2896     // OnGetLinesHint() is normally called just before OnGetLineHeight() but you 
2897     // shouldn't rely on the latter being called for all lines in the interval 
2898     // specified here. It is also possible that OnGetLineHeight() will be 
2899     // called for the lines outside of this interval, so this is really just a 
2900     // hint, not a promise. 
2902     // finally note that lineMin is inclusive, while lineMax is exclusive, as 
2904     DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
); 
2907     // when the number of lines changes, we try to estimate the total height 
2908     // of all lines which is a rather expensive operation in terms of lines 
2909     // access, so if the user code may estimate the average height 
2910     // better/faster than we do, it should override this function to implement 
2913     // this function should return the best guess for the total height it may 
2915     DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
); 
2918     // Also expose some other interesting protected methods 
2921     // find the index of the line we need to show at the top of the window such 
2922     // that the last (fully or partially) visible line is the given one 
2923     size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible 
= false) 
2924     { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); } 
2926     // get the total height of the lines between lineMin (inclusive) and 
2927     // lineMax (exclusive) 
2928     wxCoord 
GetLinesHeight(size_t lineMin
, size_t lineMax
) const 
2929     { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); } 
2931     // update the thumb size shown by the scrollbar 
2932     void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); } 
2934     // remove the scrollbar completely because we don't need it 
2935     void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); } 
2940 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
); 
2942 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
); 
2943 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
); 
2944 IMP_PYCALLBACK_COORD_const          (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
); 
2948 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
) 
2951     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
2952         return SWIG_TypeError
; 
2955         *val 
= (unsigned long)v
; 
2960 SWIGINTERNINLINE 
int 
2961 SWIG_AsVal_size_t (PyObject 
* obj
, size_t *val
) 
2964   int res 
= SWIG_AsVal_unsigned_SS_long (obj
, val 
? &v 
: 0); 
2965   if (SWIG_IsOK(res
) && val
) *val 
= static_cast< size_t >(v
); 
2970 SWIGINTERNINLINE PyObject
*  
2971 SWIG_From_unsigned_SS_long  (unsigned long value
) 
2973   return (value 
> LONG_MAX
) ? 
2974     PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));  
2978 SWIGINTERNINLINE PyObject 
* 
2979 SWIG_From_size_t  (size_t value
) 
2981   return SWIG_From_unsigned_SS_long  (static_cast< unsigned long >(value
)); 
2985 #include <wx/vlbox.h> 
2987  static const wxString 
wxPyVListBoxNameStr(wxVListBoxNameStr
);  
2989 class wxPyVListBox  
: public wxVListBox
 
2991     DECLARE_ABSTRACT_CLASS(wxPyVListBox
) 
2993     wxPyVListBox() : wxVListBox() {} 
2995     wxPyVListBox(wxWindow 
*parent
, 
2996                  wxWindowID id 
= wxID_ANY
, 
2997                  const wxPoint
& pos 
= wxDefaultPosition
, 
2998                  const wxSize
& size 
= wxDefaultSize
, 
3000                  const wxString
& name 
= wxPyVListBoxNameStr
) 
3001         : wxVListBox(parent
, id
, pos
, size
, style
, name
) 
3004     // Overridable virtuals 
3006     // the derived class must implement this function to actually draw the item 
3007     // with the given index on the provided DC 
3008     // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; 
3009     DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
); 
3012     // the derived class must implement this method to return the height of the 
3014     // virtual wxCoord OnMeasureItem(size_t n) const = 0; 
3015     DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
); 
3018     // this method may be used to draw separators between the lines; note that 
3019     // the rectangle may be modified, typically to deflate it a bit before 
3020     // passing to OnDrawItem() 
3022     // the base class version doesn't do anything 
3023     //    virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; 
3024     DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
); 
3027     // this method is used to draw the items background and, maybe, a border 
3030     // the base class version implements a reasonable default behaviour which 
3031     // consists in drawing the selected item with the standard background 
3032     // colour and drawing a border around the item if it is either selected or 
3034     //     virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; 
3035     DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
); 
3041 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
); 
3043 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
); 
3044 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
); 
3045 IMP_PYCALLBACK__DCRECTSIZET2_const   (wxPyVListBox
, wxVListBox
, OnDrawSeparator
); 
3046 IMP_PYCALLBACK__DCRECTSIZET_const    (wxPyVListBox
, wxVListBox
, OnDrawBackground
); 
3049 SWIGINTERN PyObject 
*wxPyVListBox_GetFirstSelected(wxPyVListBox 
*self
){ 
3050             unsigned long cookie 
= 0; 
3051             int selected 
= self
->GetFirstSelected(cookie
); 
3052             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3053             PyObject
* tup 
= PyTuple_New(2); 
3054             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
)); 
3055             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
)); 
3056             wxPyEndBlockThreads(blocked
); 
3059 SWIGINTERN PyObject 
*wxPyVListBox_GetNextSelected(wxPyVListBox 
*self
,unsigned long cookie
){ 
3060             int selected 
= self
->GetNextSelected(cookie
); 
3061             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3062             PyObject
* tup 
= PyTuple_New(2); 
3063             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
)); 
3064             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
)); 
3065             wxPyEndBlockThreads(blocked
); 
3069 #include <wx/htmllbox.h> 
3072 class wxPyHtmlListBox  
: public wxHtmlListBox
 
3074     DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
) 
3076     wxPyHtmlListBox() : wxHtmlListBox() {} 
3078     wxPyHtmlListBox(wxWindow 
*parent
, 
3079                     wxWindowID id 
= wxID_ANY
, 
3080                     const wxPoint
& pos 
= wxDefaultPosition
, 
3081                     const wxSize
& size 
= wxDefaultSize
, 
3083                     const wxString
& name 
= wxPyVListBoxNameStr
) 
3084         : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
) 
3087     // Overridable virtuals 
3089     // this method must be implemented in the derived class and should return 
3090     // the body (i.e. without <html>) of the HTML for the given item 
3091     DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
); 
3093     // this function may be overridden to decorate HTML returned by OnGetItem() 
3094     DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
); 
3096     // These are from wxVListBox 
3097     DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
); 
3098     DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
); 
3101 //     // this method allows to customize the selection appearance: it may be used 
3102 //     // to specify the colour of the text which normally has the given colour 
3103 //     // colFg when it is inside the selection 
3105 //     // by default, the original colour is not used at all and all text has the 
3106 //     // same (default for this system) colour inside selection 
3107 //     virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; 
3109 //     // this is the same as GetSelectedTextColour() but allows to customize the 
3110 //     // background colour -- this is even more rarely used as you can change it 
3111 //     // globally using SetSelectionBackground() 
3112 //     virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; 
3115     // This method may be overriden to handle clicking on a link in 
3116     // the listbox. By default, clicking links is ignored. 
3117     virtual void OnLinkClicked(size_t n
, 
3118                                const wxHtmlLinkInfo
& link
);         
3124 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
) 
3126 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
); 
3127 IMP_PYCALLBACK_STRING_SIZET     (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
); 
3128 IMP_PYCALLBACK__DCRECTSIZET2_const   (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
); 
3129 IMP_PYCALLBACK__DCRECTSIZET_const    (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
); 
3132 void wxPyHtmlListBox::OnLinkClicked(size_t n
, 
3133                                     const wxHtmlLinkInfo
& link
) { 
3135     wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3136     if ((found 
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) { 
3137         PyObject
* obj 
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0); 
3138         wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
)); 
3141     wxPyEndBlockThreads(blocked
); 
3143         wxPyHtmlListBox::OnLinkClicked(n
, link
); 
3150 #ifndef wxHAS_TASK_BAR_ICON 
3151 // implement dummy classes for platforms that don't have it 
3153 class wxTaskBarIcon 
: public wxEvtHandler
 
3156     wxTaskBarIcon()  { wxPyRaiseNotImplemented(); } 
3160 class wxTaskBarIconEvent 
: public wxEvent
 
3163     wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon 
*) 
3164         { wxPyRaiseNotImplemented(); } 
3165     virtual wxEvent
* Clone() const { return NULL
; } 
3166     bool IsOk() const { return false; } 
3167     bool IsIconInstalled() const { return false; } 
3168     bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip 
= wxPyEmptyString
) { return false; } 
3169     bool RemoveIcon() { return false; } 
3170     bool PopupMenu(wxMenu 
*menu
) { return false; } 
3174     wxEVT_TASKBAR_MOVE 
= 0, 
3175     wxEVT_TASKBAR_LEFT_DOWN 
= 0, 
3176     wxEVT_TASKBAR_LEFT_UP 
= 0, 
3177     wxEVT_TASKBAR_RIGHT_DOWN 
= 0, 
3178     wxEVT_TASKBAR_RIGHT_UP 
= 0, 
3179     wxEVT_TASKBAR_LEFT_DCLICK 
= 0, 
3180     wxEVT_TASKBAR_RIGHT_DCLICK 
= 0, 
3185 // Otherwise make a class that can virtualize CreatePopupMenu 
3186 class wxPyTaskBarIcon 
: public wxTaskBarIcon
 
3188     DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
) 
3190     wxPyTaskBarIcon() : wxTaskBarIcon() 
3193     wxMenu
* CreatePopupMenu() { 
3194         wxMenu 
*rval 
= NULL
; 
3196         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3197         if ((found 
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) { 
3200             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
3202                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu"))) 
3207         wxPyEndBlockThreads(blocked
); 
3209             rval 
= wxTaskBarIcon::CreatePopupMenu(); 
3216 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
); 
3220 SWIGINTERN 
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon 
*self
){ 
3224  static const wxString 
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);  
3225  static const wxString 
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);  
3226  static const wxString 
wxPyDirDialogNameStr(wxDirDialogNameStr
);  
3227  static const wxString 
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);  
3228  static const wxString 
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);  
3229  static const wxString 
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);  
3231 // for compatibility only     
3232 #define wxHIDE_READONLY 0 
3234 SWIGINTERN PyObject 
*wxFileDialog_GetFilenames(wxFileDialog 
*self
){ 
3236             self
->GetFilenames(arr
); 
3237             return wxArrayString2PyList_helper(arr
); 
3239 SWIGINTERN PyObject 
*wxFileDialog_GetPaths(wxFileDialog 
*self
){ 
3241             self
->GetPaths(arr
); 
3242             return wxArrayString2PyList_helper(arr
); 
3244 SWIGINTERN PyObject 
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog 
*self
){ 
3245             return wxArrayInt2PyList_helper(self
->GetSelections()); 
3247 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
){ 
3248             return new wxSingleChoiceDialog(parent
, message
, caption
, 
3249                                             choices
, choices_array
, NULL
, style
, pos
); 
3251  static const wxString 
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);  
3253 SWIGINTERNINLINE PyObject
* 
3254   SWIG_From_bool  (bool value
) 
3256   return PyBool_FromLong(value 
? 1 : 0); 
3262  // C++ version of Python aware wxWindow 
3263 class wxPyWindow 
: public wxWindow
 
3265     DECLARE_DYNAMIC_CLASS(wxPyWindow
) 
3267     wxPyWindow() : wxWindow() {} 
3268     wxPyWindow(wxWindow
* parent
, const wxWindowID id
, 
3269                const wxPoint
& pos 
= wxDefaultPosition
, 
3270                const wxSize
& size 
= wxDefaultSize
, 
3272                const wxString
& name 
= wxPyPanelNameStr
) 
3273         : wxWindow(parent
, id
, pos
, size
, style
, name
) {} 
3275     void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); } 
3277     bool DoEraseBackground(wxDC
* dc
) { 
3279         return wxWindow::DoEraseBackground(dc
->GetHDC()); 
3281         dc
->SetBackground(wxBrush(GetBackgroundColour())); 
3287     DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
); 
3288     DEC_PYCALLBACK_VOID_INT5(DoSetSize
); 
3289     DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
); 
3290     DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
); 
3292     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
); 
3293     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
); 
3294     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
); 
3296     DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
); 
3297     DEC_PYCALLBACK_SIZE_const(DoGetBestSize
); 
3299     DEC_PYCALLBACK__(InitDialog
); 
3300     DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
); 
3301     DEC_PYCALLBACK_BOOL_(TransferDataToWindow
); 
3302     DEC_PYCALLBACK_BOOL_(Validate
); 
3304     DEC_PYCALLBACK_BOOL_const(AcceptsFocus
); 
3305     DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
); 
3306     DEC_PYCALLBACK_SIZE_const(GetMaxSize
); 
3308     DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
); 
3309     DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
); 
3311     DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
); 
3312     DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
); 
3314     DEC_PYCALLBACK_BOOL_(HasTransparentBackground
); 
3316     DEC_PYCALLBACK_VOID_(OnInternalIdle
); 
3321 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
); 
3323 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
); 
3324 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
); 
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
); 
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
); 
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
); 
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
); 
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
); 
3332 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
); 
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
); 
3335 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
); 
3336 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
); 
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
); 
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
); 
3340 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
); 
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
); 
3342 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
); 
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
); 
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
); 
3347 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
); 
3348 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
); 
3350 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
); 
3352 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
); 
3354  // C++ version of Python aware wxPanel 
3355 class wxPyPanel 
: public wxPanel
 
3357     DECLARE_DYNAMIC_CLASS(wxPyPanel
) 
3359     wxPyPanel() : wxPanel() {} 
3360     wxPyPanel(wxWindow
* parent
, const wxWindowID id
, 
3361                const wxPoint
& pos 
= wxDefaultPosition
, 
3362                const wxSize
& size 
= wxDefaultSize
, 
3364                const wxString
& name 
= wxPyPanelNameStr
) 
3365         : wxPanel(parent
, id
, pos
, size
, style
, name
) {} 
3367     void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); } 
3368     bool DoEraseBackground(wxDC
* dc
) { 
3370         return wxWindow::DoEraseBackground(dc
->GetHDC()); 
3372         dc
->SetBackground(wxBrush(GetBackgroundColour())); 
3379     DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
); 
3380     DEC_PYCALLBACK_VOID_INT5(DoSetSize
); 
3381     DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
); 
3382     DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
); 
3384     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
); 
3385     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
); 
3386     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
); 
3388     DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
); 
3389     DEC_PYCALLBACK_SIZE_const(DoGetBestSize
); 
3391     DEC_PYCALLBACK__(InitDialog
); 
3392     DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
); 
3393     DEC_PYCALLBACK_BOOL_(TransferDataToWindow
); 
3394     DEC_PYCALLBACK_BOOL_(Validate
); 
3396     DEC_PYCALLBACK_BOOL_const(AcceptsFocus
); 
3397     DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
); 
3398     DEC_PYCALLBACK_SIZE_const(GetMaxSize
); 
3400     DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
); 
3401     DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
); 
3403     DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
); 
3404     DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
); 
3406     DEC_PYCALLBACK_BOOL_(HasTransparentBackground
); 
3408     DEC_PYCALLBACK_VOID_(OnInternalIdle
); 
3413 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
); 
3415 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
); 
3416 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
); 
3417 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
); 
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
); 
3420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
); 
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
); 
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
); 
3424 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
); 
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
); 
3427 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
); 
3428 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
); 
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
); 
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
); 
3432 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
); 
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
); 
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
); 
3436 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
); 
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
); 
3439 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
); 
3440 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
); 
3442 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
); 
3444 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
); 
3446  // C++ version of Python aware wxScrolledWindow 
3447 class wxPyScrolledWindow 
: public wxScrolledWindow
 
3449     DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
) 
3451     wxPyScrolledWindow() : wxScrolledWindow() {} 
3452     wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
, 
3453                const wxPoint
& pos 
= wxDefaultPosition
, 
3454                const wxSize
& size 
= wxDefaultSize
, 
3456                const wxString
& name 
= wxPyPanelNameStr
) 
3457         : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {} 
3459     void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); } 
3460     bool DoEraseBackground(wxDC
* dc
) { 
3462         return wxWindow::DoEraseBackground(dc
->GetHDC()); 
3464         dc
->SetBackground(wxBrush(GetBackgroundColour())); 
3470     DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
); 
3471     DEC_PYCALLBACK_VOID_INT5(DoSetSize
); 
3472     DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
); 
3473     DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
); 
3475     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
); 
3476     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
); 
3477     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
); 
3479     DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
); 
3480     DEC_PYCALLBACK_SIZE_const(DoGetBestSize
); 
3482     DEC_PYCALLBACK__(InitDialog
); 
3483     DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
); 
3484     DEC_PYCALLBACK_BOOL_(TransferDataToWindow
); 
3485     DEC_PYCALLBACK_BOOL_(Validate
); 
3487     DEC_PYCALLBACK_BOOL_const(AcceptsFocus
); 
3488     DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
); 
3489     DEC_PYCALLBACK_SIZE_const(GetMaxSize
); 
3491     DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
); 
3492     DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
); 
3494     DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
); 
3495     DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
); 
3497     DEC_PYCALLBACK_BOOL_(HasTransparentBackground
); 
3499     DEC_PYCALLBACK_VOID_(OnInternalIdle
); 
3504 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
); 
3506 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
); 
3507 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
); 
3508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
); 
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
); 
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
); 
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
); 
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
); 
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
); 
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
); 
3518 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
); 
3519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
); 
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
); 
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
); 
3523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
); 
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
); 
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
); 
3527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
); 
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
); 
3530 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
); 
3531 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
); 
3533 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
); 
3535 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
); 
3538 #include "wx/wxPython/printfw.h" 
3541  static const wxString 
wxPyPrintoutTitleStr(wxT("Printout"));  
3542  static const wxString 
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));  
3543 SWIGINTERN PyObject 
*wxPrintData_GetPrivData(wxPrintData 
*self
){ 
3545             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3546             data 
= PyString_FromStringAndSize(self
->GetPrivData(), 
3547                                               self
->GetPrivDataLen()); 
3548             wxPyEndBlockThreads(blocked
); 
3551 SWIGINTERN 
void wxPrintData_SetPrivData(wxPrintData 
*self
,PyObject 
*data
){ 
3552             if (! PyString_Check(data
)) { 
3553                 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
, 
3554                                                   "Expected string object")); 
3558             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3559             self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
)); 
3560             wxPyEndBlockThreads(blocked
); 
3564 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
); 
3566 // Since this one would be tough and ugly to do with the Macros... 
3567 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) { 
3568     bool hadErr 
= false; 
3571     wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3572     if ((found 
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) { 
3573         PyObject
* result 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
3574         if (result 
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) { 
3577             val 
= PyTuple_GetItem(result
, 0); 
3578             if (PyInt_Check(val
))    *minPage 
= PyInt_AsLong(val
); 
3581             val 
= PyTuple_GetItem(result
, 1); 
3582             if (PyInt_Check(val
))    *maxPage 
= PyInt_AsLong(val
); 
3585             val 
= PyTuple_GetItem(result
, 2); 
3586             if (PyInt_Check(val
))    *pageFrom 
= PyInt_AsLong(val
); 
3589             val 
= PyTuple_GetItem(result
, 3); 
3590             if (PyInt_Check(val
))    *pageTo 
= PyInt_AsLong(val
); 
3597             PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers."); 
3602     wxPyEndBlockThreads(blocked
); 
3604         wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
); 
3609 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
); 
3610 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
); 
3611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
); 
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
); 
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
); 
3614 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
); 
3615 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
); 
3621 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME)                                            \ 
3622     bool CBNAME(wxPreviewCanvas* a, wxDC& b) 
3625 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME)                             \ 
3626     bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) {                                   \ 
3629         wxPyBlock_t blocked = wxPyBeginBlockThreads();                                  \ 
3630         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                        \ 
3631             PyObject* win = wxPyMake_wxObject(a,false);                                 \ 
3632             PyObject* dc  = wxPyMake_wxObject(&b,false);                                \ 
3633             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));      \ 
3637         wxPyEndBlockThreads(blocked);                                                   \ 
3639             rval = PCLASS::CBNAME(a, b);                                                \ 
3646 class wxPyPrintPreview 
: public wxPrintPreview
 
3648     DECLARE_CLASS(wxPyPrintPreview
) 
3650     wxPyPrintPreview(wxPyPrintout
* printout
, 
3651                      wxPyPrintout
* printoutForPrinting
, 
3652                      wxPrintDialogData
* data
=NULL
) 
3653         : wxPrintPreview(printout
, printoutForPrinting
, data
) 
3655     wxPyPrintPreview(wxPyPrintout
* printout
, 
3656                      wxPyPrintout
* printoutForPrinting
, 
3658         : wxPrintPreview(printout
, printoutForPrinting
, data
) 
3661     DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
); 
3662     DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
); 
3663     DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
); 
3664     DEC_PYCALLBACK_BOOL_INT(RenderPage
); 
3665     DEC_PYCALLBACK_VOID_INT(SetZoom
); 
3666     DEC_PYCALLBACK_BOOL_BOOL(Print
); 
3667     DEC_PYCALLBACK_VOID_(DetermineScaling
); 
3672 // Stupid renamed classes...  Fix this in 2.5... 
3673 #if defined(__WXMSW__) 
3674 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview 
); 
3675 #elif defined(__WXMAC__) 
3676 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview 
); 
3678 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview 
); 
3681 IMP_PYCALLBACK_BOOL_INT     (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
); 
3682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
); 
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
); 
3684 IMP_PYCALLBACK_BOOL_INT     (wxPyPrintPreview
, wxPrintPreview
, RenderPage
); 
3685 IMP_PYCALLBACK_VOID_INT     (wxPyPrintPreview
, wxPrintPreview
, SetZoom
); 
3686 IMP_PYCALLBACK_BOOL_BOOL    (wxPyPrintPreview
, wxPrintPreview
, Print
); 
3687 IMP_PYCALLBACK_VOID_        (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
); 
3690 class wxPyPreviewFrame 
: public wxPreviewFrame
 
3692     DECLARE_CLASS(wxPyPreviewFrame
) 
3694     wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
, 
3695                      const wxString
& title
, 
3696                      const wxPoint
& pos 
= wxDefaultPosition
, 
3697                      const wxSize
&  size 
= wxDefaultSize
, 
3698                      long style 
= wxDEFAULT_FRAME_STYLE
, 
3699                      const wxString
& name 
= wxPyFrameNameStr
) 
3700         : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
) 
3703     void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas 
= canvas
; } 
3704     void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar 
= bar
; } 
3706     DEC_PYCALLBACK_VOID_(Initialize
); 
3707     DEC_PYCALLBACK_VOID_(CreateCanvas
); 
3708     DEC_PYCALLBACK_VOID_(CreateControlBar
); 
3713 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
); 
3715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
); 
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
); 
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
); 
3720 class wxPyPreviewControlBar 
: public wxPreviewControlBar
 
3722     DECLARE_CLASS(wxPyPreviewControlBar
) 
3724     wxPyPreviewControlBar(wxPrintPreview 
*preview
, 
3727                           const wxPoint
& pos 
= wxDefaultPosition
, 
3728                           const wxSize
& size 
= wxDefaultSize
, 
3730                           const wxString
& name 
= wxPyPanelNameStr
) 
3731         : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
) 
3734     void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview 
= preview
; } 
3736     DEC_PYCALLBACK_VOID_(CreateButtons
); 
3737     DEC_PYCALLBACK_VOID_INT(SetZoomControl
); 
3742 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
); 
3743 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
); 
3744 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
); 
3749 SWIGINTERN PyObject 
*_wrap_new_Panel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3750   PyObject 
*resultobj 
= 0; 
3751   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
3752   int arg2 
= (int) (int)-1 ; 
3753   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
3754   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
3755   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
3756   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
3757   long arg5 
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER 
; 
3758   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
3759   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
3760   wxPanel 
*result 
= 0 ; 
3769   bool temp6 
= false ; 
3770   PyObject 
* obj0 
= 0 ; 
3771   PyObject 
* obj1 
= 0 ; 
3772   PyObject 
* obj2 
= 0 ; 
3773   PyObject 
* obj3 
= 0 ; 
3774   PyObject 
* obj4 
= 0 ; 
3775   PyObject 
* obj5 
= 0 ; 
3776   char *  kwnames
[] = { 
3777     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
3780   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
3781   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
3782   if (!SWIG_IsOK(res1
)) { 
3783     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");  
3785   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
3787     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3788     if (!SWIG_IsOK(ecode2
)) { 
3789       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'"); 
3791     arg2 
= static_cast< int >(val2
); 
3796       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
3802       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
3806     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
3807     if (!SWIG_IsOK(ecode5
)) { 
3808       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'"); 
3810     arg5 
= static_cast< long >(val5
); 
3814       arg6 
= wxString_in_helper(obj5
); 
3815       if (arg6 
== NULL
) SWIG_fail
; 
3820     if (!wxPyCheckForApp()) SWIG_fail
; 
3821     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3822     result 
= (wxPanel 
*)new wxPanel(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
3823     wxPyEndAllowThreads(__tstate
); 
3824     if (PyErr_Occurred()) SWIG_fail
; 
3826   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW 
|  0 ); 
3841 SWIGINTERN PyObject 
*_wrap_new_PrePanel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3842   PyObject 
*resultobj 
= 0; 
3843   wxPanel 
*result 
= 0 ; 
3845   if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
; 
3847     if (!wxPyCheckForApp()) SWIG_fail
; 
3848     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3849     result 
= (wxPanel 
*)new wxPanel(); 
3850     wxPyEndAllowThreads(__tstate
); 
3851     if (PyErr_Occurred()) SWIG_fail
; 
3853   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN 
|  0 ); 
3860 SWIGINTERN PyObject 
*_wrap_Panel_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3861   PyObject 
*resultobj 
= 0; 
3862   wxPanel 
*arg1 
= (wxPanel 
*) 0 ; 
3863   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
3864   int arg3 
= (int) (int)-1 ; 
3865   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3866   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3867   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
3868   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
3869   long arg6 
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER 
; 
3870   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
3871   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
3883   bool temp7 
= false ; 
3884   PyObject 
* obj0 
= 0 ; 
3885   PyObject 
* obj1 
= 0 ; 
3886   PyObject 
* obj2 
= 0 ; 
3887   PyObject 
* obj3 
= 0 ; 
3888   PyObject 
* obj4 
= 0 ; 
3889   PyObject 
* obj5 
= 0 ; 
3890   PyObject 
* obj6 
= 0 ; 
3891   char *  kwnames
[] = { 
3892     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
3895   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
3896   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 |  0 ); 
3897   if (!SWIG_IsOK(res1
)) { 
3898     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");  
3900   arg1 
= reinterpret_cast< wxPanel 
* >(argp1
); 
3901   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
3902   if (!SWIG_IsOK(res2
)) { 
3903     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
3905   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
3907     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
3908     if (!SWIG_IsOK(ecode3
)) { 
3909       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'"); 
3911     arg3 
= static_cast< int >(val3
); 
3916       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
3922       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
3926     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
3927     if (!SWIG_IsOK(ecode6
)) { 
3928       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'"); 
3930     arg6 
= static_cast< long >(val6
); 
3934       arg7 
= wxString_in_helper(obj6
); 
3935       if (arg7 
== NULL
) SWIG_fail
; 
3940     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3941     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
3942     wxPyEndAllowThreads(__tstate
); 
3943     if (PyErr_Occurred()) SWIG_fail
; 
3946     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3962 SWIGINTERN PyObject 
*_wrap_Panel_SetFocusIgnoringChildren(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3963   PyObject 
*resultobj 
= 0; 
3964   wxPanel 
*arg1 
= (wxPanel 
*) 0 ; 
3967   PyObject 
*swig_obj
[1] ; 
3969   if (!args
) SWIG_fail
; 
3971   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 |  0 ); 
3972   if (!SWIG_IsOK(res1
)) { 
3973     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");  
3975   arg1 
= reinterpret_cast< wxPanel 
* >(argp1
); 
3977     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3978     (arg1
)->SetFocusIgnoringChildren(); 
3979     wxPyEndAllowThreads(__tstate
); 
3980     if (PyErr_Occurred()) SWIG_fail
; 
3982   resultobj 
= SWIG_Py_Void(); 
3989 SWIGINTERN PyObject 
*_wrap_Panel_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3990   PyObject 
*resultobj 
= 0; 
3991   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
3992   SwigValueWrapper
<wxVisualAttributes 
> result
; 
3995   PyObject 
* obj0 
= 0 ; 
3996   char *  kwnames
[] = { 
3997     (char *) "variant", NULL 
 
4000   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
4002     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
4003     if (!SWIG_IsOK(ecode1
)) { 
4004       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
4006     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
4009     if (!wxPyCheckForApp()) SWIG_fail
; 
4010     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4011     result 
= wxPanel::GetClassDefaultAttributes(arg1
); 
4012     wxPyEndAllowThreads(__tstate
); 
4013     if (PyErr_Occurred()) SWIG_fail
; 
4015   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
4022 SWIGINTERN PyObject 
*Panel_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4024   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4025   SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
)); 
4026   return SWIG_Py_Void(); 
4029 SWIGINTERN PyObject 
*Panel_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4030   return SWIG_Python_InitShadowInstance(args
); 
4033 SWIGINTERN PyObject 
*_wrap_new_ScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4034   PyObject 
*resultobj 
= 0; 
4035   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4036   int arg2 
= (int) (int)-1 ; 
4037   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
4038   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
4039   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
4040   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
4041   long arg5 
= (long) wxHSCROLL
|wxVSCROLL 
; 
4042   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
4043   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
4044   wxScrolledWindow 
*result 
= 0 ; 
4053   bool temp6 
= false ; 
4054   PyObject 
* obj0 
= 0 ; 
4055   PyObject 
* obj1 
= 0 ; 
4056   PyObject 
* obj2 
= 0 ; 
4057   PyObject 
* obj3 
= 0 ; 
4058   PyObject 
* obj4 
= 0 ; 
4059   PyObject 
* obj5 
= 0 ; 
4060   char *  kwnames
[] = { 
4061     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4064   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
4065   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
4066   if (!SWIG_IsOK(res1
)) { 
4067     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
4069   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
4071     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4072     if (!SWIG_IsOK(ecode2
)) { 
4073       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'"); 
4075     arg2 
= static_cast< int >(val2
); 
4080       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
4086       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
4090     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
4091     if (!SWIG_IsOK(ecode5
)) { 
4092       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'"); 
4094     arg5 
= static_cast< long >(val5
); 
4098       arg6 
= wxString_in_helper(obj5
); 
4099       if (arg6 
== NULL
) SWIG_fail
; 
4104     if (!wxPyCheckForApp()) SWIG_fail
; 
4105     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4106     result 
= (wxScrolledWindow 
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
4107     wxPyEndAllowThreads(__tstate
); 
4108     if (PyErr_Occurred()) SWIG_fail
; 
4110   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW 
|  0 ); 
4125 SWIGINTERN PyObject 
*_wrap_new_PreScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4126   PyObject 
*resultobj 
= 0; 
4127   wxScrolledWindow 
*result 
= 0 ; 
4129   if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
; 
4131     if (!wxPyCheckForApp()) SWIG_fail
; 
4132     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4133     result 
= (wxScrolledWindow 
*)new wxScrolledWindow(); 
4134     wxPyEndAllowThreads(__tstate
); 
4135     if (PyErr_Occurred()) SWIG_fail
; 
4137   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN 
|  0 ); 
4144 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4145   PyObject 
*resultobj 
= 0; 
4146   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4147   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
4148   int arg3 
= (int) (int)-1 ; 
4149   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
4150   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
4151   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
4152   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
4153   long arg6 
= (long) wxHSCROLL
|wxVSCROLL 
; 
4154   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
4155   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
4167   bool temp7 
= false ; 
4168   PyObject 
* obj0 
= 0 ; 
4169   PyObject 
* obj1 
= 0 ; 
4170   PyObject 
* obj2 
= 0 ; 
4171   PyObject 
* obj3 
= 0 ; 
4172   PyObject 
* obj4 
= 0 ; 
4173   PyObject 
* obj5 
= 0 ; 
4174   PyObject 
* obj6 
= 0 ; 
4175   char *  kwnames
[] = { 
4176     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4179   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
4180   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4181   if (!SWIG_IsOK(res1
)) { 
4182     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4184   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4185   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
4186   if (!SWIG_IsOK(res2
)) { 
4187     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
4189   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
4191     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4192     if (!SWIG_IsOK(ecode3
)) { 
4193       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
4195     arg3 
= static_cast< int >(val3
); 
4200       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
4206       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
4210     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
4211     if (!SWIG_IsOK(ecode6
)) { 
4212       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
4214     arg6 
= static_cast< long >(val6
); 
4218       arg7 
= wxString_in_helper(obj6
); 
4219       if (arg7 
== NULL
) SWIG_fail
; 
4224     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4225     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
4226     wxPyEndAllowThreads(__tstate
); 
4227     if (PyErr_Occurred()) SWIG_fail
; 
4230     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4246 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetScrollbars(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4247   PyObject 
*resultobj 
= 0; 
4248   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4253   int arg6 
= (int) 0 ; 
4254   int arg7 
= (int) 0 ; 
4255   bool arg8 
= (bool) false ; 
4272   PyObject 
* obj0 
= 0 ; 
4273   PyObject 
* obj1 
= 0 ; 
4274   PyObject 
* obj2 
= 0 ; 
4275   PyObject 
* obj3 
= 0 ; 
4276   PyObject 
* obj4 
= 0 ; 
4277   PyObject 
* obj5 
= 0 ; 
4278   PyObject 
* obj6 
= 0 ; 
4279   PyObject 
* obj7 
= 0 ; 
4280   char *  kwnames
[] = { 
4281     (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL 
 
4284   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
4285   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4286   if (!SWIG_IsOK(res1
)) { 
4287     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4289   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4290   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4291   if (!SWIG_IsOK(ecode2
)) { 
4292     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'"); 
4294   arg2 
= static_cast< int >(val2
); 
4295   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4296   if (!SWIG_IsOK(ecode3
)) { 
4297     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'"); 
4299   arg3 
= static_cast< int >(val3
); 
4300   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
4301   if (!SWIG_IsOK(ecode4
)) { 
4302     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'"); 
4304   arg4 
= static_cast< int >(val4
); 
4305   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
4306   if (!SWIG_IsOK(ecode5
)) { 
4307     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'"); 
4309   arg5 
= static_cast< int >(val5
); 
4311     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
4312     if (!SWIG_IsOK(ecode6
)) { 
4313       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'"); 
4315     arg6 
= static_cast< int >(val6
); 
4318     ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
4319     if (!SWIG_IsOK(ecode7
)) { 
4320       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'"); 
4322     arg7 
= static_cast< int >(val7
); 
4325     ecode8 
= SWIG_AsVal_bool(obj7
, &val8
); 
4326     if (!SWIG_IsOK(ecode8
)) { 
4327       SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'"); 
4329     arg8 
= static_cast< bool >(val8
); 
4332     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4333     (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
); 
4334     wxPyEndAllowThreads(__tstate
); 
4335     if (PyErr_Occurred()) SWIG_fail
; 
4337   resultobj 
= SWIG_Py_Void(); 
4344 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_Scroll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4345   PyObject 
*resultobj 
= 0; 
4346   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4355   PyObject 
* obj0 
= 0 ; 
4356   PyObject 
* obj1 
= 0 ; 
4357   PyObject 
* obj2 
= 0 ; 
4358   char *  kwnames
[] = { 
4359     (char *) "self",(char *) "x",(char *) "y", NULL 
 
4362   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4363   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4364   if (!SWIG_IsOK(res1
)) { 
4365     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4367   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4368   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4369   if (!SWIG_IsOK(ecode2
)) { 
4370     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'"); 
4372   arg2 
= static_cast< int >(val2
); 
4373   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4374   if (!SWIG_IsOK(ecode3
)) { 
4375     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'"); 
4377   arg3 
= static_cast< int >(val3
); 
4379     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4380     (arg1
)->Scroll(arg2
,arg3
); 
4381     wxPyEndAllowThreads(__tstate
); 
4382     if (PyErr_Occurred()) SWIG_fail
; 
4384   resultobj 
= SWIG_Py_Void(); 
4391 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4392   PyObject 
*resultobj 
= 0; 
4393   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4400   PyObject 
* obj0 
= 0 ; 
4401   PyObject 
* obj1 
= 0 ; 
4402   char *  kwnames
[] = { 
4403     (char *) "self",(char *) "orient", NULL 
 
4406   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4407   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4408   if (!SWIG_IsOK(res1
)) { 
4409     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4411   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4412   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4413   if (!SWIG_IsOK(ecode2
)) { 
4414     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'"); 
4416   arg2 
= static_cast< int >(val2
); 
4418     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4419     result 
= (int)((wxScrolledWindow 
const *)arg1
)->GetScrollPageSize(arg2
); 
4420     wxPyEndAllowThreads(__tstate
); 
4421     if (PyErr_Occurred()) SWIG_fail
; 
4423   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4430 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4431   PyObject 
*resultobj 
= 0; 
4432   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4441   PyObject 
* obj0 
= 0 ; 
4442   PyObject 
* obj1 
= 0 ; 
4443   PyObject 
* obj2 
= 0 ; 
4444   char *  kwnames
[] = { 
4445     (char *) "self",(char *) "orient",(char *) "pageSize", NULL 
 
4448   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4449   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4450   if (!SWIG_IsOK(res1
)) { 
4451     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4453   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4454   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4455   if (!SWIG_IsOK(ecode2
)) { 
4456     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'"); 
4458   arg2 
= static_cast< int >(val2
); 
4459   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4460   if (!SWIG_IsOK(ecode3
)) { 
4461     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'"); 
4463   arg3 
= static_cast< int >(val3
); 
4465     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4466     (arg1
)->SetScrollPageSize(arg2
,arg3
); 
4467     wxPyEndAllowThreads(__tstate
); 
4468     if (PyErr_Occurred()) SWIG_fail
; 
4470   resultobj 
= SWIG_Py_Void(); 
4477 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetScrollRate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4478   PyObject 
*resultobj 
= 0; 
4479   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4488   PyObject 
* obj0 
= 0 ; 
4489   PyObject 
* obj1 
= 0 ; 
4490   PyObject 
* obj2 
= 0 ; 
4491   char *  kwnames
[] = { 
4492     (char *) "self",(char *) "xstep",(char *) "ystep", NULL 
 
4495   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4496   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4497   if (!SWIG_IsOK(res1
)) { 
4498     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4500   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4501   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4502   if (!SWIG_IsOK(ecode2
)) { 
4503     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'"); 
4505   arg2 
= static_cast< int >(val2
); 
4506   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4507   if (!SWIG_IsOK(ecode3
)) { 
4508     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'"); 
4510   arg3 
= static_cast< int >(val3
); 
4512     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4513     (arg1
)->SetScrollRate(arg2
,arg3
); 
4514     wxPyEndAllowThreads(__tstate
); 
4515     if (PyErr_Occurred()) SWIG_fail
; 
4517   resultobj 
= SWIG_Py_Void(); 
4524 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4525   PyObject 
*resultobj 
= 0; 
4526   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4527   int *arg2 
= (int *) 0 ; 
4528   int *arg3 
= (int *) 0 ; 
4532   int res2 
= SWIG_TMPOBJ 
; 
4534   int res3 
= SWIG_TMPOBJ 
; 
4535   PyObject 
*swig_obj
[1] ; 
4539   if (!args
) SWIG_fail
; 
4541   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4542   if (!SWIG_IsOK(res1
)) { 
4543     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4545   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4547     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4548     ((wxScrolledWindow 
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
); 
4549     wxPyEndAllowThreads(__tstate
); 
4550     if (PyErr_Occurred()) SWIG_fail
; 
4552   resultobj 
= SWIG_Py_Void(); 
4553   if (SWIG_IsTmpObj(res2
)) { 
4554     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
4556     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4557     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
4559   if (SWIG_IsTmpObj(res3
)) { 
4560     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
4562     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4563     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
4571 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_EnableScrolling(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4572   PyObject 
*resultobj 
= 0; 
4573   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4582   PyObject 
* obj0 
= 0 ; 
4583   PyObject 
* obj1 
= 0 ; 
4584   PyObject 
* obj2 
= 0 ; 
4585   char *  kwnames
[] = { 
4586     (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL 
 
4589   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4590   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4591   if (!SWIG_IsOK(res1
)) { 
4592     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4594   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4595   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
4596   if (!SWIG_IsOK(ecode2
)) { 
4597     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'"); 
4599   arg2 
= static_cast< bool >(val2
); 
4600   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
4601   if (!SWIG_IsOK(ecode3
)) { 
4602     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'"); 
4604   arg3 
= static_cast< bool >(val3
); 
4606     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4607     (arg1
)->EnableScrolling(arg2
,arg3
); 
4608     wxPyEndAllowThreads(__tstate
); 
4609     if (PyErr_Occurred()) SWIG_fail
; 
4611   resultobj 
= SWIG_Py_Void(); 
4618 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetViewStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4619   PyObject 
*resultobj 
= 0; 
4620   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4621   int *arg2 
= (int *) 0 ; 
4622   int *arg3 
= (int *) 0 ; 
4626   int res2 
= SWIG_TMPOBJ 
; 
4628   int res3 
= SWIG_TMPOBJ 
; 
4629   PyObject 
*swig_obj
[1] ; 
4633   if (!args
) SWIG_fail
; 
4635   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4636   if (!SWIG_IsOK(res1
)) { 
4637     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4639   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4641     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4642     ((wxScrolledWindow 
const *)arg1
)->GetViewStart(arg2
,arg3
); 
4643     wxPyEndAllowThreads(__tstate
); 
4644     if (PyErr_Occurred()) SWIG_fail
; 
4646   resultobj 
= SWIG_Py_Void(); 
4647   if (SWIG_IsTmpObj(res2
)) { 
4648     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
4650     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4651     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
4653   if (SWIG_IsTmpObj(res3
)) { 
4654     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
4656     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4657     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
4665 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetScale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4666   PyObject 
*resultobj 
= 0; 
4667   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4676   PyObject 
* obj0 
= 0 ; 
4677   PyObject 
* obj1 
= 0 ; 
4678   PyObject 
* obj2 
= 0 ; 
4679   char *  kwnames
[] = { 
4680     (char *) "self",(char *) "xs",(char *) "ys", NULL 
 
4683   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4684   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4685   if (!SWIG_IsOK(res1
)) { 
4686     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4688   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4689   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
4690   if (!SWIG_IsOK(ecode2
)) { 
4691     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'"); 
4693   arg2 
= static_cast< double >(val2
); 
4694   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
4695   if (!SWIG_IsOK(ecode3
)) { 
4696     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'"); 
4698   arg3 
= static_cast< double >(val3
); 
4700     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4701     (arg1
)->SetScale(arg2
,arg3
); 
4702     wxPyEndAllowThreads(__tstate
); 
4703     if (PyErr_Occurred()) SWIG_fail
; 
4705   resultobj 
= SWIG_Py_Void(); 
4712 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetScaleX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4713   PyObject 
*resultobj 
= 0; 
4714   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4718   PyObject 
*swig_obj
[1] ; 
4720   if (!args
) SWIG_fail
; 
4722   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4723   if (!SWIG_IsOK(res1
)) { 
4724     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4726   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4728     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4729     result 
= (double)((wxScrolledWindow 
const *)arg1
)->GetScaleX(); 
4730     wxPyEndAllowThreads(__tstate
); 
4731     if (PyErr_Occurred()) SWIG_fail
; 
4733   resultobj 
= SWIG_From_double(static_cast< double >(result
)); 
4740 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetScaleY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4741   PyObject 
*resultobj 
= 0; 
4742   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4746   PyObject 
*swig_obj
[1] ; 
4748   if (!args
) SWIG_fail
; 
4750   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4751   if (!SWIG_IsOK(res1
)) { 
4752     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4754   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4756     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4757     result 
= (double)((wxScrolledWindow 
const *)arg1
)->GetScaleY(); 
4758     wxPyEndAllowThreads(__tstate
); 
4759     if (PyErr_Occurred()) SWIG_fail
; 
4761   resultobj 
= SWIG_From_double(static_cast< double >(result
)); 
4768 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
4769   PyObject 
*resultobj 
= 0; 
4770   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4777   if ((nobjs 
< 2) || (nobjs 
> 2)) SWIG_fail
; 
4778   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4779   if (!SWIG_IsOK(res1
)) { 
4780     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4782   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4785     if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
4788     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4789     result 
= ((wxScrolledWindow 
const *)arg1
)->CalcScrolledPosition((wxPoint 
const &)*arg2
); 
4790     wxPyEndAllowThreads(__tstate
); 
4791     if (PyErr_Occurred()) SWIG_fail
; 
4793   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
4800 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
4801   PyObject 
*resultobj 
= 0; 
4802   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4805   int *arg4 
= (int *) 0 ; 
4806   int *arg5 
= (int *) 0 ; 
4814   int res4 
= SWIG_TMPOBJ 
; 
4816   int res5 
= SWIG_TMPOBJ 
; 
4820   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
4821   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4822   if (!SWIG_IsOK(res1
)) { 
4823     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4825   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4826   ecode2 
= SWIG_AsVal_int(swig_obj
[1], &val2
); 
4827   if (!SWIG_IsOK(ecode2
)) { 
4828     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'"); 
4830   arg2 
= static_cast< int >(val2
); 
4831   ecode3 
= SWIG_AsVal_int(swig_obj
[2], &val3
); 
4832   if (!SWIG_IsOK(ecode3
)) { 
4833     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'"); 
4835   arg3 
= static_cast< int >(val3
); 
4837     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4838     ((wxScrolledWindow 
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
); 
4839     wxPyEndAllowThreads(__tstate
); 
4840     if (PyErr_Occurred()) SWIG_fail
; 
4842   resultobj 
= SWIG_Py_Void(); 
4843   if (SWIG_IsTmpObj(res4
)) { 
4844     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
4846     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4847     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
4849   if (SWIG_IsTmpObj(res5
)) { 
4850     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
4852     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4853     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
4861 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject 
*self
, PyObject 
*args
) { 
4865   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
; 
4868     return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
); 
4871     return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
); 
4875   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); 
4880 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
4881   PyObject 
*resultobj 
= 0; 
4882   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4889   if ((nobjs 
< 2) || (nobjs 
> 2)) SWIG_fail
; 
4890   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4891   if (!SWIG_IsOK(res1
)) { 
4892     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4894   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4897     if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
4900     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4901     result 
= ((wxScrolledWindow 
const *)arg1
)->CalcUnscrolledPosition((wxPoint 
const &)*arg2
); 
4902     wxPyEndAllowThreads(__tstate
); 
4903     if (PyErr_Occurred()) SWIG_fail
; 
4905   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
4912 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
4913   PyObject 
*resultobj 
= 0; 
4914   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4917   int *arg4 
= (int *) 0 ; 
4918   int *arg5 
= (int *) 0 ; 
4926   int res4 
= SWIG_TMPOBJ 
; 
4928   int res5 
= SWIG_TMPOBJ 
; 
4932   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
4933   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4934   if (!SWIG_IsOK(res1
)) { 
4935     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4937   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4938   ecode2 
= SWIG_AsVal_int(swig_obj
[1], &val2
); 
4939   if (!SWIG_IsOK(ecode2
)) { 
4940     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'"); 
4942   arg2 
= static_cast< int >(val2
); 
4943   ecode3 
= SWIG_AsVal_int(swig_obj
[2], &val3
); 
4944   if (!SWIG_IsOK(ecode3
)) { 
4945     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'"); 
4947   arg3 
= static_cast< int >(val3
); 
4949     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4950     ((wxScrolledWindow 
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
); 
4951     wxPyEndAllowThreads(__tstate
); 
4952     if (PyErr_Occurred()) SWIG_fail
; 
4954   resultobj 
= SWIG_Py_Void(); 
4955   if (SWIG_IsTmpObj(res4
)) { 
4956     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
4958     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4959     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
4961   if (SWIG_IsTmpObj(res5
)) { 
4962     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
4964     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4965     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
4973 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject 
*self
, PyObject 
*args
) { 
4977   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
; 
4980     return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
); 
4983     return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
); 
4987   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); 
4992 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4993   PyObject 
*resultobj 
= 0; 
4994   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4997   PyObject 
*swig_obj
[1] ; 
4999   if (!args
) SWIG_fail
; 
5001   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5002   if (!SWIG_IsOK(res1
)) { 
5003     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
5005   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5007     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5008     (arg1
)->AdjustScrollbars(); 
5009     wxPyEndAllowThreads(__tstate
); 
5010     if (PyErr_Occurred()) SWIG_fail
; 
5012   resultobj 
= SWIG_Py_Void(); 
5019 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcScrollInc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5020   PyObject 
*resultobj 
= 0; 
5021   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5022   wxScrollWinEvent 
*arg2 
= 0 ; 
5028   PyObject 
* obj0 
= 0 ; 
5029   PyObject 
* obj1 
= 0 ; 
5030   char *  kwnames
[] = { 
5031     (char *) "self",(char *) "event", NULL 
 
5034   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5035   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5036   if (!SWIG_IsOK(res1
)) { 
5037     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
5039   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5040   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
,  0 ); 
5041   if (!SWIG_IsOK(res2
)) { 
5042     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");  
5045     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");  
5047   arg2 
= reinterpret_cast< wxScrollWinEvent 
* >(argp2
); 
5049     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5050     result 
= (int)(arg1
)->CalcScrollInc(*arg2
); 
5051     wxPyEndAllowThreads(__tstate
); 
5052     if (PyErr_Occurred()) SWIG_fail
; 
5054   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5061 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetTargetWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5062   PyObject 
*resultobj 
= 0; 
5063   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5064   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
5069   PyObject 
* obj0 
= 0 ; 
5070   PyObject 
* obj1 
= 0 ; 
5071   char *  kwnames
[] = { 
5072     (char *) "self",(char *) "target", NULL 
 
5075   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5076   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5077   if (!SWIG_IsOK(res1
)) { 
5078     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
5080   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5081   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
5082   if (!SWIG_IsOK(res2
)) { 
5083     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
5085   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
5087     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5088     (arg1
)->SetTargetWindow(arg2
); 
5089     wxPyEndAllowThreads(__tstate
); 
5090     if (PyErr_Occurred()) SWIG_fail
; 
5092   resultobj 
= SWIG_Py_Void(); 
5099 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetTargetWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5100   PyObject 
*resultobj 
= 0; 
5101   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5102   wxWindow 
*result 
= 0 ; 
5105   PyObject 
*swig_obj
[1] ; 
5107   if (!args
) SWIG_fail
; 
5109   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5110   if (!SWIG_IsOK(res1
)) { 
5111     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
5113   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5115     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5116     result 
= (wxWindow 
*)((wxScrolledWindow 
const *)arg1
)->GetTargetWindow(); 
5117     wxPyEndAllowThreads(__tstate
); 
5118     if (PyErr_Occurred()) SWIG_fail
; 
5121     resultobj 
= wxPyMake_wxObject(result
, 0);  
5129 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetTargetRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5130   PyObject 
*resultobj 
= 0; 
5131   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5136   PyObject 
* obj0 
= 0 ; 
5137   PyObject 
* obj1 
= 0 ; 
5138   char *  kwnames
[] = { 
5139     (char *) "self",(char *) "rect", NULL 
 
5142   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5143   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5144   if (!SWIG_IsOK(res1
)) { 
5145     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
5147   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5150     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
5153     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5154     (arg1
)->SetTargetRect((wxRect 
const &)*arg2
); 
5155     wxPyEndAllowThreads(__tstate
); 
5156     if (PyErr_Occurred()) SWIG_fail
; 
5158   resultobj 
= SWIG_Py_Void(); 
5165 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetTargetRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5166   PyObject 
*resultobj 
= 0; 
5167   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5171   PyObject 
*swig_obj
[1] ; 
5173   if (!args
) SWIG_fail
; 
5175   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5176   if (!SWIG_IsOK(res1
)) { 
5177     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
5179   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5181     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5182     result 
= ((wxScrolledWindow 
const *)arg1
)->GetTargetRect(); 
5183     wxPyEndAllowThreads(__tstate
); 
5184     if (PyErr_Occurred()) SWIG_fail
; 
5186   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
5193 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_DoPrepareDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5194   PyObject 
*resultobj 
= 0; 
5195   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5201   PyObject 
* obj0 
= 0 ; 
5202   PyObject 
* obj1 
= 0 ; 
5203   char *  kwnames
[] = { 
5204     (char *) "self",(char *) "dc", NULL 
 
5207   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5208   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5209   if (!SWIG_IsOK(res1
)) { 
5210     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
5212   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5213   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
5214   if (!SWIG_IsOK(res2
)) { 
5215     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");  
5218     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");  
5220   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
5222     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5223     (arg1
)->DoPrepareDC(*arg2
); 
5224     wxPyEndAllowThreads(__tstate
); 
5225     if (PyErr_Occurred()) SWIG_fail
; 
5227   resultobj 
= SWIG_Py_Void(); 
5234 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5235   PyObject 
*resultobj 
= 0; 
5236   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
5237   SwigValueWrapper
<wxVisualAttributes 
> result
; 
5240   PyObject 
* obj0 
= 0 ; 
5241   char *  kwnames
[] = { 
5242     (char *) "variant", NULL 
 
5245   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
5247     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
5248     if (!SWIG_IsOK(ecode1
)) { 
5249       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
5251     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
5254     if (!wxPyCheckForApp()) SWIG_fail
; 
5255     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5256     result 
= wxScrolledWindow::GetClassDefaultAttributes(arg1
); 
5257     wxPyEndAllowThreads(__tstate
); 
5258     if (PyErr_Occurred()) SWIG_fail
; 
5260   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
5267 SWIGINTERN PyObject 
*ScrolledWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5269   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5270   SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
)); 
5271   return SWIG_Py_Void(); 
5274 SWIGINTERN PyObject 
*ScrolledWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5275   return SWIG_Python_InitShadowInstance(args
); 
5278 SWIGINTERN 
int FrameNameStr_set(PyObject 
*) { 
5279   SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only."); 
5284 SWIGINTERN PyObject 
*FrameNameStr_get(void) { 
5285   PyObject 
*pyobj 
= 0; 
5289     pyobj 
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len()); 
5291     pyobj 
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len()); 
5298 SWIGINTERN 
int DialogNameStr_set(PyObject 
*) { 
5299   SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only."); 
5304 SWIGINTERN PyObject 
*DialogNameStr_get(void) { 
5305   PyObject 
*pyobj 
= 0; 
5309     pyobj 
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len()); 
5311     pyobj 
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len()); 
5318 SWIGINTERN 
int StatusLineNameStr_set(PyObject 
*) { 
5319   SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only."); 
5324 SWIGINTERN PyObject 
*StatusLineNameStr_get(void) { 
5325   PyObject 
*pyobj 
= 0; 
5329     pyobj 
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len()); 
5331     pyobj 
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len()); 
5338 SWIGINTERN 
int ToolBarNameStr_set(PyObject 
*) { 
5339   SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only."); 
5344 SWIGINTERN PyObject 
*ToolBarNameStr_get(void) { 
5345   PyObject 
*pyobj 
= 0; 
5349     pyobj 
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len()); 
5351     pyobj 
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len()); 
5358 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_Maximize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5359   PyObject 
*resultobj 
= 0; 
5360   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5361   bool arg2 
= (bool) true ; 
5366   PyObject 
* obj0 
= 0 ; 
5367   PyObject 
* obj1 
= 0 ; 
5368   char *  kwnames
[] = { 
5369     (char *) "self",(char *) "maximize", NULL 
 
5372   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5373   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5374   if (!SWIG_IsOK(res1
)) { 
5375     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5377   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5379     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
5380     if (!SWIG_IsOK(ecode2
)) { 
5381       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'"); 
5383     arg2 
= static_cast< bool >(val2
); 
5386     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5387     (arg1
)->Maximize(arg2
); 
5388     wxPyEndAllowThreads(__tstate
); 
5389     if (PyErr_Occurred()) SWIG_fail
; 
5391   resultobj 
= SWIG_Py_Void(); 
5398 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_Restore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5399   PyObject 
*resultobj 
= 0; 
5400   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5403   PyObject 
*swig_obj
[1] ; 
5405   if (!args
) SWIG_fail
; 
5407   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5408   if (!SWIG_IsOK(res1
)) { 
5409     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5411   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5413     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5415     wxPyEndAllowThreads(__tstate
); 
5416     if (PyErr_Occurred()) SWIG_fail
; 
5418   resultobj 
= SWIG_Py_Void(); 
5425 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_Iconize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5426   PyObject 
*resultobj 
= 0; 
5427   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5428   bool arg2 
= (bool) true ; 
5433   PyObject 
* obj0 
= 0 ; 
5434   PyObject 
* obj1 
= 0 ; 
5435   char *  kwnames
[] = { 
5436     (char *) "self",(char *) "iconize", NULL 
 
5439   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5440   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5441   if (!SWIG_IsOK(res1
)) { 
5442     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5444   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5446     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
5447     if (!SWIG_IsOK(ecode2
)) { 
5448       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'"); 
5450     arg2 
= static_cast< bool >(val2
); 
5453     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5454     (arg1
)->Iconize(arg2
); 
5455     wxPyEndAllowThreads(__tstate
); 
5456     if (PyErr_Occurred()) SWIG_fail
; 
5458   resultobj 
= SWIG_Py_Void(); 
5465 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_IsMaximized(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5466   PyObject 
*resultobj 
= 0; 
5467   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5471   PyObject 
*swig_obj
[1] ; 
5473   if (!args
) SWIG_fail
; 
5475   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5476   if (!SWIG_IsOK(res1
)) { 
5477     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5479   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5481     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5482     result 
= (bool)((wxTopLevelWindow 
const *)arg1
)->IsMaximized(); 
5483     wxPyEndAllowThreads(__tstate
); 
5484     if (PyErr_Occurred()) SWIG_fail
; 
5487     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5495 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5496   PyObject 
*resultobj 
= 0; 
5497   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5501   PyObject 
*swig_obj
[1] ; 
5503   if (!args
) SWIG_fail
; 
5505   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5506   if (!SWIG_IsOK(res1
)) { 
5507     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5509   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5511     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5512     result 
= (bool)((wxTopLevelWindow 
const *)arg1
)->IsAlwaysMaximized(); 
5513     wxPyEndAllowThreads(__tstate
); 
5514     if (PyErr_Occurred()) SWIG_fail
; 
5517     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5525 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_IsIconized(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5526   PyObject 
*resultobj 
= 0; 
5527   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5531   PyObject 
*swig_obj
[1] ; 
5533   if (!args
) SWIG_fail
; 
5535   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5536   if (!SWIG_IsOK(res1
)) { 
5537     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5539   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5541     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5542     result 
= (bool)((wxTopLevelWindow 
const *)arg1
)->IsIconized(); 
5543     wxPyEndAllowThreads(__tstate
); 
5544     if (PyErr_Occurred()) SWIG_fail
; 
5547     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5555 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_GetIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5556   PyObject 
*resultobj 
= 0; 
5557   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5561   PyObject 
*swig_obj
[1] ; 
5563   if (!args
) SWIG_fail
; 
5565   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5566   if (!SWIG_IsOK(res1
)) { 
5567     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5569   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5571     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5572     result 
= ((wxTopLevelWindow 
const *)arg1
)->GetIcon(); 
5573     wxPyEndAllowThreads(__tstate
); 
5574     if (PyErr_Occurred()) SWIG_fail
; 
5576   resultobj 
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN 
|  0 ); 
5583 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5584   PyObject 
*resultobj 
= 0; 
5585   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5591   PyObject 
* obj0 
= 0 ; 
5592   PyObject 
* obj1 
= 0 ; 
5593   char *  kwnames
[] = { 
5594     (char *) "self",(char *) "icon", NULL 
 
5597   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5598   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5599   if (!SWIG_IsOK(res1
)) { 
5600     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5602   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5603   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
5604   if (!SWIG_IsOK(res2
)) { 
5605     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
5608     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
5610   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
5612     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5613     (arg1
)->SetIcon((wxIcon 
const &)*arg2
); 
5614     wxPyEndAllowThreads(__tstate
); 
5615     if (PyErr_Occurred()) SWIG_fail
; 
5617   resultobj 
= SWIG_Py_Void(); 
5624 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetIcons(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5625   PyObject 
*resultobj 
= 0; 
5626   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5627   wxIconBundle 
*arg2 
= 0 ; 
5632   PyObject 
* obj0 
= 0 ; 
5633   PyObject 
* obj1 
= 0 ; 
5634   char *  kwnames
[] = { 
5635     (char *) "self",(char *) "icons", NULL 
 
5638   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5639   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5640   if (!SWIG_IsOK(res1
)) { 
5641     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5643   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5644   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
,  0  | 0); 
5645   if (!SWIG_IsOK(res2
)) { 
5646     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");  
5649     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");  
5651   arg2 
= reinterpret_cast< wxIconBundle 
* >(argp2
); 
5653     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5654     (arg1
)->SetIcons((wxIconBundle 
const &)*arg2
); 
5655     wxPyEndAllowThreads(__tstate
); 
5656     if (PyErr_Occurred()) SWIG_fail
; 
5658   resultobj 
= SWIG_Py_Void(); 
5665 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_ShowFullScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5666   PyObject 
*resultobj 
= 0; 
5667   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5669   long arg3 
= (long) wxFULLSCREEN_ALL 
; 
5677   PyObject 
* obj0 
= 0 ; 
5678   PyObject 
* obj1 
= 0 ; 
5679   PyObject 
* obj2 
= 0 ; 
5680   char *  kwnames
[] = { 
5681     (char *) "self",(char *) "show",(char *) "style", NULL 
 
5684   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
5685   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5686   if (!SWIG_IsOK(res1
)) { 
5687     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5689   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5690   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
5691   if (!SWIG_IsOK(ecode2
)) { 
5692     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'"); 
5694   arg2 
= static_cast< bool >(val2
); 
5696     ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
5697     if (!SWIG_IsOK(ecode3
)) { 
5698       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'"); 
5700     arg3 
= static_cast< long >(val3
); 
5703     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5704     result 
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
); 
5705     wxPyEndAllowThreads(__tstate
); 
5706     if (PyErr_Occurred()) SWIG_fail
; 
5709     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5717 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_IsFullScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5718   PyObject 
*resultobj 
= 0; 
5719   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5723   PyObject 
*swig_obj
[1] ; 
5725   if (!args
) SWIG_fail
; 
5727   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5728   if (!SWIG_IsOK(res1
)) { 
5729     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5731   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5733     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5734     result 
= (bool)((wxTopLevelWindow 
const *)arg1
)->IsFullScreen(); 
5735     wxPyEndAllowThreads(__tstate
); 
5736     if (PyErr_Occurred()) SWIG_fail
; 
5739     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5747 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetTitle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5748   PyObject 
*resultobj 
= 0; 
5749   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5750   wxString 
*arg2 
= 0 ; 
5753   bool temp2 
= false ; 
5754   PyObject 
* obj0 
= 0 ; 
5755   PyObject 
* obj1 
= 0 ; 
5756   char *  kwnames
[] = { 
5757     (char *) "self",(char *) "title", NULL 
 
5760   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5761   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5762   if (!SWIG_IsOK(res1
)) { 
5763     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5765   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5767     arg2 
= wxString_in_helper(obj1
); 
5768     if (arg2 
== NULL
) SWIG_fail
; 
5772     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5773     (arg1
)->SetTitle((wxString 
const &)*arg2
); 
5774     wxPyEndAllowThreads(__tstate
); 
5775     if (PyErr_Occurred()) SWIG_fail
; 
5777   resultobj 
= SWIG_Py_Void(); 
5792 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_GetTitle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5793   PyObject 
*resultobj 
= 0; 
5794   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5798   PyObject 
*swig_obj
[1] ; 
5800   if (!args
) SWIG_fail
; 
5802   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5803   if (!SWIG_IsOK(res1
)) { 
5804     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5806   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5808     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5809     result 
= ((wxTopLevelWindow 
const *)arg1
)->GetTitle(); 
5810     wxPyEndAllowThreads(__tstate
); 
5811     if (PyErr_Occurred()) SWIG_fail
; 
5815     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5817     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5826 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetShape(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5827   PyObject 
*resultobj 
= 0; 
5828   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5829   wxRegion 
*arg2 
= 0 ; 
5835   PyObject 
* obj0 
= 0 ; 
5836   PyObject 
* obj1 
= 0 ; 
5837   char *  kwnames
[] = { 
5838     (char *) "self",(char *) "region", NULL 
 
5841   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5842   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5843   if (!SWIG_IsOK(res1
)) { 
5844     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5846   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5847   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
5848   if (!SWIG_IsOK(res2
)) { 
5849     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");  
5852     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");  
5854   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
5856     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5857     result 
= (bool)(arg1
)->SetShape((wxRegion 
const &)*arg2
); 
5858     wxPyEndAllowThreads(__tstate
); 
5859     if (PyErr_Occurred()) SWIG_fail
; 
5862     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5870 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_RequestUserAttention(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5871   PyObject 
*resultobj 
= 0; 
5872   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5873   int arg2 
= (int) wxUSER_ATTENTION_INFO 
; 
5878   PyObject 
* obj0 
= 0 ; 
5879   PyObject 
* obj1 
= 0 ; 
5880   char *  kwnames
[] = { 
5881     (char *) "self",(char *) "flags", NULL 
 
5884   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5885   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5886   if (!SWIG_IsOK(res1
)) { 
5887     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5889   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5891     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5892     if (!SWIG_IsOK(ecode2
)) { 
5893       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'"); 
5895     arg2 
= static_cast< int >(val2
); 
5898     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5899     (arg1
)->RequestUserAttention(arg2
); 
5900     wxPyEndAllowThreads(__tstate
); 
5901     if (PyErr_Occurred()) SWIG_fail
; 
5903   resultobj 
= SWIG_Py_Void(); 
5910 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_IsActive(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5911   PyObject 
*resultobj 
= 0; 
5912   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5916   PyObject 
*swig_obj
[1] ; 
5918   if (!args
) SWIG_fail
; 
5920   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5921   if (!SWIG_IsOK(res1
)) { 
5922     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5924   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5926     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5927     result 
= (bool)(arg1
)->IsActive(); 
5928     wxPyEndAllowThreads(__tstate
); 
5929     if (PyErr_Occurred()) SWIG_fail
; 
5932     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5940 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5941   PyObject 
*resultobj 
= 0; 
5942   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5948   PyObject 
* obj0 
= 0 ; 
5949   PyObject 
* obj1 
= 0 ; 
5950   char *  kwnames
[] = { 
5951     (char *) "self",(char *) "on", NULL 
 
5954   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5955   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5956   if (!SWIG_IsOK(res1
)) { 
5957     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5959   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5960   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
5961   if (!SWIG_IsOK(ecode2
)) { 
5962     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'"); 
5964   arg2 
= static_cast< bool >(val2
); 
5966     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5967     wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
); 
5968     wxPyEndAllowThreads(__tstate
); 
5969     if (PyErr_Occurred()) SWIG_fail
; 
5971   resultobj 
= SWIG_Py_Void(); 
5978 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5979   PyObject 
*resultobj 
= 0; 
5980   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5984   PyObject 
*swig_obj
[1] ; 
5986   if (!args
) SWIG_fail
; 
5988   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5989   if (!SWIG_IsOK(res1
)) { 
5990     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5992   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5994     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5995     result 
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow 
const *)arg1
); 
5996     wxPyEndAllowThreads(__tstate
); 
5997     if (PyErr_Occurred()) SWIG_fail
; 
6000     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6008 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_CenterOnScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6009   PyObject 
*resultobj 
= 0; 
6010   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
6011   int arg2 
= (int) wxBOTH 
; 
6016   PyObject 
* obj0 
= 0 ; 
6017   PyObject 
* obj1 
= 0 ; 
6018   char *  kwnames
[] = { 
6019     (char *) "self",(char *) "dir", NULL 
 
6022   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6023   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
6024   if (!SWIG_IsOK(res1
)) { 
6025     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
6027   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
6029     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6030     if (!SWIG_IsOK(ecode2
)) { 
6031       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'"); 
6033     arg2 
= static_cast< int >(val2
); 
6036     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6037     (arg1
)->CenterOnScreen(arg2
); 
6038     wxPyEndAllowThreads(__tstate
); 
6039     if (PyErr_Occurred()) SWIG_fail
; 
6041   resultobj 
= SWIG_Py_Void(); 
6048 SWIGINTERN PyObject 
*TopLevelWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6050   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
6051   SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
)); 
6052   return SWIG_Py_Void(); 
6055 SWIGINTERN PyObject 
*_wrap_new_Frame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6056   PyObject 
*resultobj 
= 0; 
6057   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6058   int arg2 
= (int) (int)-1 ; 
6059   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
6060   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
6061   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
6062   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
6063   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
6064   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
6065   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
6066   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
6067   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
6068   wxFrame 
*result 
= 0 ; 
6073   bool temp3 
= false ; 
6078   bool temp7 
= false ; 
6079   PyObject 
* obj0 
= 0 ; 
6080   PyObject 
* obj1 
= 0 ; 
6081   PyObject 
* obj2 
= 0 ; 
6082   PyObject 
* obj3 
= 0 ; 
6083   PyObject 
* obj4 
= 0 ; 
6084   PyObject 
* obj5 
= 0 ; 
6085   PyObject 
* obj6 
= 0 ; 
6086   char *  kwnames
[] = { 
6087     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
6090   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
6091   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
6092   if (!SWIG_IsOK(res1
)) { 
6093     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");  
6095   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
6097     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6098     if (!SWIG_IsOK(ecode2
)) { 
6099       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'"); 
6101     arg2 
= static_cast< int >(val2
); 
6105       arg3 
= wxString_in_helper(obj2
); 
6106       if (arg3 
== NULL
) SWIG_fail
; 
6113       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
6119       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
6123     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
6124     if (!SWIG_IsOK(ecode6
)) { 
6125       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'"); 
6127     arg6 
= static_cast< long >(val6
); 
6131       arg7 
= wxString_in_helper(obj6
); 
6132       if (arg7 
== NULL
) SWIG_fail
; 
6137     if (!wxPyCheckForApp()) SWIG_fail
; 
6138     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6139     result 
= (wxFrame 
*)new wxFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
6140     wxPyEndAllowThreads(__tstate
); 
6141     if (PyErr_Occurred()) SWIG_fail
; 
6143   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW 
|  0 ); 
6166 SWIGINTERN PyObject 
*_wrap_new_PreFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6167   PyObject 
*resultobj 
= 0; 
6168   wxFrame 
*result 
= 0 ; 
6170   if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
; 
6172     if (!wxPyCheckForApp()) SWIG_fail
; 
6173     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6174     result 
= (wxFrame 
*)new wxFrame(); 
6175     wxPyEndAllowThreads(__tstate
); 
6176     if (PyErr_Occurred()) SWIG_fail
; 
6178   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN 
|  0 ); 
6185 SWIGINTERN PyObject 
*_wrap_Frame_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6186   PyObject 
*resultobj 
= 0; 
6187   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6188   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6189   int arg3 
= (int) (int)-1 ; 
6190   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
6191   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
6192   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
6193   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
6194   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
6195   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
6196   long arg7 
= (long) wxDEFAULT_FRAME_STYLE 
; 
6197   wxString 
const &arg8_defvalue 
= wxPyFrameNameStr 
; 
6198   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
6206   bool temp4 
= false ; 
6211   bool temp8 
= false ; 
6212   PyObject 
* obj0 
= 0 ; 
6213   PyObject 
* obj1 
= 0 ; 
6214   PyObject 
* obj2 
= 0 ; 
6215   PyObject 
* obj3 
= 0 ; 
6216   PyObject 
* obj4 
= 0 ; 
6217   PyObject 
* obj5 
= 0 ; 
6218   PyObject 
* obj6 
= 0 ; 
6219   PyObject 
* obj7 
= 0 ; 
6220   char *  kwnames
[] = { 
6221     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
6224   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
6225   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6226   if (!SWIG_IsOK(res1
)) { 
6227     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");  
6229   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6230   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
6231   if (!SWIG_IsOK(res2
)) { 
6232     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
6234   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
6236     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6237     if (!SWIG_IsOK(ecode3
)) { 
6238       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'"); 
6240     arg3 
= static_cast< int >(val3
); 
6244       arg4 
= wxString_in_helper(obj3
); 
6245       if (arg4 
== NULL
) SWIG_fail
; 
6252       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
6258       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
6262     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
6263     if (!SWIG_IsOK(ecode7
)) { 
6264       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'"); 
6266     arg7 
= static_cast< long >(val7
); 
6270       arg8 
= wxString_in_helper(obj7
); 
6271       if (arg8 
== NULL
) SWIG_fail
; 
6276     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6277     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
6278     wxPyEndAllowThreads(__tstate
); 
6279     if (PyErr_Occurred()) SWIG_fail
; 
6282     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6306 SWIGINTERN PyObject 
*_wrap_Frame_SendSizeEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6307   PyObject 
*resultobj 
= 0; 
6308   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6311   PyObject 
*swig_obj
[1] ; 
6313   if (!args
) SWIG_fail
; 
6315   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6316   if (!SWIG_IsOK(res1
)) { 
6317     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");  
6319   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6321     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6322     (arg1
)->SendSizeEvent(); 
6323     wxPyEndAllowThreads(__tstate
); 
6324     if (PyErr_Occurred()) SWIG_fail
; 
6326   resultobj 
= SWIG_Py_Void(); 
6333 SWIGINTERN PyObject 
*_wrap_Frame_SetMenuBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6334   PyObject 
*resultobj 
= 0; 
6335   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6336   wxMenuBar 
*arg2 
= (wxMenuBar 
*) 0 ; 
6341   PyObject 
* obj0 
= 0 ; 
6342   PyObject 
* obj1 
= 0 ; 
6343   char *  kwnames
[] = { 
6344     (char *) "self",(char *) "menubar", NULL 
 
6347   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6348   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6349   if (!SWIG_IsOK(res1
)) { 
6350     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
6352   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6353   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 |  0 ); 
6354   if (!SWIG_IsOK(res2
)) { 
6355     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");  
6357   arg2 
= reinterpret_cast< wxMenuBar 
* >(argp2
); 
6359     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6360     (arg1
)->SetMenuBar(arg2
); 
6361     wxPyEndAllowThreads(__tstate
); 
6362     if (PyErr_Occurred()) SWIG_fail
; 
6364   resultobj 
= SWIG_Py_Void(); 
6371 SWIGINTERN PyObject 
*_wrap_Frame_GetMenuBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6372   PyObject 
*resultobj 
= 0; 
6373   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6374   wxMenuBar 
*result 
= 0 ; 
6377   PyObject 
*swig_obj
[1] ; 
6379   if (!args
) SWIG_fail
; 
6381   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6382   if (!SWIG_IsOK(res1
)) { 
6383     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");  
6385   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6387     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6388     result 
= (wxMenuBar 
*)((wxFrame 
const *)arg1
)->GetMenuBar(); 
6389     wxPyEndAllowThreads(__tstate
); 
6390     if (PyErr_Occurred()) SWIG_fail
; 
6393     resultobj 
= wxPyMake_wxObject(result
, 0);  
6401 SWIGINTERN PyObject 
*_wrap_Frame_ProcessCommand(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6402   PyObject 
*resultobj 
= 0; 
6403   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6410   PyObject 
* obj0 
= 0 ; 
6411   PyObject 
* obj1 
= 0 ; 
6412   char *  kwnames
[] = { 
6413     (char *) "self",(char *) "winid", NULL 
 
6416   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) 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_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");  
6421   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6422   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6423   if (!SWIG_IsOK(ecode2
)) { 
6424     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'"); 
6426   arg2 
= static_cast< int >(val2
); 
6428     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6429     result 
= (bool)(arg1
)->ProcessCommand(arg2
); 
6430     wxPyEndAllowThreads(__tstate
); 
6431     if (PyErr_Occurred()) SWIG_fail
; 
6434     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6442 SWIGINTERN PyObject 
*_wrap_Frame_CreateStatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6443   PyObject 
*resultobj 
= 0; 
6444   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6445   int arg2 
= (int) 1 ; 
6446   long arg3 
= (long) wxDEFAULT_STATUSBAR_STYLE 
; 
6447   int arg4 
= (int) 0 ; 
6448   wxString 
const &arg5_defvalue 
= wxPyStatusLineNameStr 
; 
6449   wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
6450   wxStatusBar 
*result 
= 0 ; 
6459   bool temp5 
= false ; 
6460   PyObject 
* obj0 
= 0 ; 
6461   PyObject 
* obj1 
= 0 ; 
6462   PyObject 
* obj2 
= 0 ; 
6463   PyObject 
* obj3 
= 0 ; 
6464   PyObject 
* obj4 
= 0 ; 
6465   char *  kwnames
[] = { 
6466     (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL 
 
6469   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
6470   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6471   if (!SWIG_IsOK(res1
)) { 
6472     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
6474   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6476     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6477     if (!SWIG_IsOK(ecode2
)) { 
6478       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'"); 
6480     arg2 
= static_cast< int >(val2
); 
6483     ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6484     if (!SWIG_IsOK(ecode3
)) { 
6485       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'"); 
6487     arg3 
= static_cast< long >(val3
); 
6490     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
6491     if (!SWIG_IsOK(ecode4
)) { 
6492       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'"); 
6494     arg4 
= static_cast< int >(val4
); 
6498       arg5 
= wxString_in_helper(obj4
); 
6499       if (arg5 
== NULL
) SWIG_fail
; 
6504     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6505     result 
= (wxStatusBar 
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString 
const &)*arg5
); 
6506     wxPyEndAllowThreads(__tstate
); 
6507     if (PyErr_Occurred()) SWIG_fail
; 
6510     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
6526 SWIGINTERN PyObject 
*_wrap_Frame_GetStatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6527   PyObject 
*resultobj 
= 0; 
6528   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6529   wxStatusBar 
*result 
= 0 ; 
6532   PyObject 
*swig_obj
[1] ; 
6534   if (!args
) SWIG_fail
; 
6536   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6537   if (!SWIG_IsOK(res1
)) { 
6538     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");  
6540   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6542     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6543     result 
= (wxStatusBar 
*)((wxFrame 
const *)arg1
)->GetStatusBar(); 
6544     wxPyEndAllowThreads(__tstate
); 
6545     if (PyErr_Occurred()) SWIG_fail
; 
6548     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
6556 SWIGINTERN PyObject 
*_wrap_Frame_SetStatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6557   PyObject 
*resultobj 
= 0; 
6558   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6559   wxStatusBar 
*arg2 
= (wxStatusBar 
*) 0 ; 
6564   PyObject 
* obj0 
= 0 ; 
6565   PyObject 
* obj1 
= 0 ; 
6566   char *  kwnames
[] = { 
6567     (char *) "self",(char *) "statBar", NULL 
 
6570   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6571   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6572   if (!SWIG_IsOK(res1
)) { 
6573     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
6575   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6576   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
6577   if (!SWIG_IsOK(res2
)) { 
6578     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");  
6580   arg2 
= reinterpret_cast< wxStatusBar 
* >(argp2
); 
6582     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6583     (arg1
)->SetStatusBar(arg2
); 
6584     wxPyEndAllowThreads(__tstate
); 
6585     if (PyErr_Occurred()) SWIG_fail
; 
6587   resultobj 
= SWIG_Py_Void(); 
6594 SWIGINTERN PyObject 
*_wrap_Frame_SetStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6595   PyObject 
*resultobj 
= 0; 
6596   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6597   wxString 
*arg2 
= 0 ; 
6598   int arg3 
= (int) 0 ; 
6601   bool temp2 
= false ; 
6604   PyObject 
* obj0 
= 0 ; 
6605   PyObject 
* obj1 
= 0 ; 
6606   PyObject 
* obj2 
= 0 ; 
6607   char *  kwnames
[] = { 
6608     (char *) "self",(char *) "text",(char *) "number", NULL 
 
6611   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6612   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6613   if (!SWIG_IsOK(res1
)) { 
6614     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");  
6616   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6618     arg2 
= wxString_in_helper(obj1
); 
6619     if (arg2 
== NULL
) SWIG_fail
; 
6623     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6624     if (!SWIG_IsOK(ecode3
)) { 
6625       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'"); 
6627     arg3 
= static_cast< int >(val3
); 
6630     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6631     (arg1
)->SetStatusText((wxString 
const &)*arg2
,arg3
); 
6632     wxPyEndAllowThreads(__tstate
); 
6633     if (PyErr_Occurred()) SWIG_fail
; 
6635   resultobj 
= SWIG_Py_Void(); 
6650 SWIGINTERN PyObject 
*_wrap_Frame_SetStatusWidths(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6651   PyObject 
*resultobj 
= 0; 
6652   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6654   int *arg3 
= (int *) 0 ; 
6657   PyObject 
* obj0 
= 0 ; 
6658   PyObject 
* obj1 
= 0 ; 
6659   char *  kwnames
[] = { 
6660     (char *) "self",(char *) "widths", NULL 
 
6663   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6664   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6665   if (!SWIG_IsOK(res1
)) { 
6666     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");  
6668   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6670     arg2 
= PyList_Size(obj1
); 
6671     arg3 
=  int_LIST_helper(obj1
); 
6672     if (arg3 
== NULL
) SWIG_fail
; 
6675     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6676     (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
); 
6677     wxPyEndAllowThreads(__tstate
); 
6678     if (PyErr_Occurred()) SWIG_fail
; 
6680   resultobj 
= SWIG_Py_Void(); 
6682     if (arg3
) delete [] arg3
; 
6687     if (arg3
) delete [] arg3
; 
6693 SWIGINTERN PyObject 
*_wrap_Frame_PushStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6694   PyObject 
*resultobj 
= 0; 
6695   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6696   wxString 
*arg2 
= 0 ; 
6697   int arg3 
= (int) 0 ; 
6700   bool temp2 
= false ; 
6703   PyObject 
* obj0 
= 0 ; 
6704   PyObject 
* obj1 
= 0 ; 
6705   PyObject 
* obj2 
= 0 ; 
6706   char *  kwnames
[] = { 
6707     (char *) "self",(char *) "text",(char *) "number", NULL 
 
6710   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) 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_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");  
6715   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6717     arg2 
= wxString_in_helper(obj1
); 
6718     if (arg2 
== NULL
) SWIG_fail
; 
6722     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6723     if (!SWIG_IsOK(ecode3
)) { 
6724       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'"); 
6726     arg3 
= static_cast< int >(val3
); 
6729     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6730     (arg1
)->PushStatusText((wxString 
const &)*arg2
,arg3
); 
6731     wxPyEndAllowThreads(__tstate
); 
6732     if (PyErr_Occurred()) SWIG_fail
; 
6734   resultobj 
= SWIG_Py_Void(); 
6749 SWIGINTERN PyObject 
*_wrap_Frame_PopStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6750   PyObject 
*resultobj 
= 0; 
6751   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6752   int arg2 
= (int) 0 ; 
6757   PyObject 
* obj0 
= 0 ; 
6758   PyObject 
* obj1 
= 0 ; 
6759   char *  kwnames
[] = { 
6760     (char *) "self",(char *) "number", NULL 
 
6763   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6764   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6765   if (!SWIG_IsOK(res1
)) { 
6766     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");  
6768   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6770     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6771     if (!SWIG_IsOK(ecode2
)) { 
6772       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'"); 
6774     arg2 
= static_cast< int >(val2
); 
6777     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6778     (arg1
)->PopStatusText(arg2
); 
6779     wxPyEndAllowThreads(__tstate
); 
6780     if (PyErr_Occurred()) SWIG_fail
; 
6782   resultobj 
= SWIG_Py_Void(); 
6789 SWIGINTERN PyObject 
*_wrap_Frame_SetStatusBarPane(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6790   PyObject 
*resultobj 
= 0; 
6791   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6797   PyObject 
* obj0 
= 0 ; 
6798   PyObject 
* obj1 
= 0 ; 
6799   char *  kwnames
[] = { 
6800     (char *) "self",(char *) "n", NULL 
 
6803   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6804   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6805   if (!SWIG_IsOK(res1
)) { 
6806     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");  
6808   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6809   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6810   if (!SWIG_IsOK(ecode2
)) { 
6811     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'"); 
6813   arg2 
= static_cast< int >(val2
); 
6815     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6816     (arg1
)->SetStatusBarPane(arg2
); 
6817     wxPyEndAllowThreads(__tstate
); 
6818     if (PyErr_Occurred()) SWIG_fail
; 
6820   resultobj 
= SWIG_Py_Void(); 
6827 SWIGINTERN PyObject 
*_wrap_Frame_GetStatusBarPane(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6828   PyObject 
*resultobj 
= 0; 
6829   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6833   PyObject 
*swig_obj
[1] ; 
6835   if (!args
) SWIG_fail
; 
6837   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6838   if (!SWIG_IsOK(res1
)) { 
6839     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");  
6841   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6843     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6844     result 
= (int)((wxFrame 
const *)arg1
)->GetStatusBarPane(); 
6845     wxPyEndAllowThreads(__tstate
); 
6846     if (PyErr_Occurred()) SWIG_fail
; 
6848   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
6855 SWIGINTERN PyObject 
*_wrap_Frame_CreateToolBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6856   PyObject 
*resultobj 
= 0; 
6857   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6858   long arg2 
= (long) -1 ; 
6859   int arg3 
= (int) -1 ; 
6860   wxString 
const &arg4_defvalue 
= wxPyToolBarNameStr 
; 
6861   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
6862   wxToolBar 
*result 
= 0 ; 
6869   bool temp4 
= false ; 
6870   PyObject 
* obj0 
= 0 ; 
6871   PyObject 
* obj1 
= 0 ; 
6872   PyObject 
* obj2 
= 0 ; 
6873   PyObject 
* obj3 
= 0 ; 
6874   char *  kwnames
[] = { 
6875     (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL 
 
6878   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
6879   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6880   if (!SWIG_IsOK(res1
)) { 
6881     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
6883   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6885     ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
6886     if (!SWIG_IsOK(ecode2
)) { 
6887       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'"); 
6889     arg2 
= static_cast< long >(val2
); 
6892     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6893     if (!SWIG_IsOK(ecode3
)) { 
6894       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'"); 
6896     arg3 
= static_cast< int >(val3
); 
6900       arg4 
= wxString_in_helper(obj3
); 
6901       if (arg4 
== NULL
) SWIG_fail
; 
6906     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6907     result 
= (wxToolBar 
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString 
const &)*arg4
); 
6908     wxPyEndAllowThreads(__tstate
); 
6909     if (PyErr_Occurred()) SWIG_fail
; 
6912     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
6928 SWIGINTERN PyObject 
*_wrap_Frame_GetToolBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6929   PyObject 
*resultobj 
= 0; 
6930   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6931   wxToolBar 
*result 
= 0 ; 
6934   PyObject 
*swig_obj
[1] ; 
6936   if (!args
) SWIG_fail
; 
6938   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6939   if (!SWIG_IsOK(res1
)) { 
6940     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");  
6942   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6944     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6945     result 
= (wxToolBar 
*)((wxFrame 
const *)arg1
)->GetToolBar(); 
6946     wxPyEndAllowThreads(__tstate
); 
6947     if (PyErr_Occurred()) SWIG_fail
; 
6950     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
6958 SWIGINTERN PyObject 
*_wrap_Frame_SetToolBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6959   PyObject 
*resultobj 
= 0; 
6960   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6961   wxToolBar 
*arg2 
= (wxToolBar 
*) 0 ; 
6966   PyObject 
* obj0 
= 0 ; 
6967   PyObject 
* obj1 
= 0 ; 
6968   char *  kwnames
[] = { 
6969     (char *) "self",(char *) "toolbar", NULL 
 
6972   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6973   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6974   if (!SWIG_IsOK(res1
)) { 
6975     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
6977   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6978   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 |  0 ); 
6979   if (!SWIG_IsOK(res2
)) { 
6980     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");  
6982   arg2 
= reinterpret_cast< wxToolBar 
* >(argp2
); 
6984     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6985     (arg1
)->SetToolBar(arg2
); 
6986     wxPyEndAllowThreads(__tstate
); 
6987     if (PyErr_Occurred()) SWIG_fail
; 
6989   resultobj 
= SWIG_Py_Void(); 
6996 SWIGINTERN PyObject 
*_wrap_Frame_DoGiveHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6997   PyObject 
*resultobj 
= 0; 
6998   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6999   wxString 
*arg2 
= 0 ; 
7003   bool temp2 
= false ; 
7006   PyObject 
* obj0 
= 0 ; 
7007   PyObject 
* obj1 
= 0 ; 
7008   PyObject 
* obj2 
= 0 ; 
7009   char *  kwnames
[] = { 
7010     (char *) "self",(char *) "text",(char *) "show", NULL 
 
7013   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7014   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
7015   if (!SWIG_IsOK(res1
)) { 
7016     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");  
7018   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
7020     arg2 
= wxString_in_helper(obj1
); 
7021     if (arg2 
== NULL
) SWIG_fail
; 
7024   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
7025   if (!SWIG_IsOK(ecode3
)) { 
7026     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'"); 
7028   arg3 
= static_cast< bool >(val3
); 
7030     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7031     (arg1
)->DoGiveHelp((wxString 
const &)*arg2
,arg3
); 
7032     wxPyEndAllowThreads(__tstate
); 
7033     if (PyErr_Occurred()) SWIG_fail
; 
7035   resultobj 
= SWIG_Py_Void(); 
7050 SWIGINTERN PyObject 
*_wrap_Frame_DoMenuUpdates(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7051   PyObject 
*resultobj 
= 0; 
7052   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
7053   wxMenu 
*arg2 
= (wxMenu 
*) NULL 
; 
7058   PyObject 
* obj0 
= 0 ; 
7059   PyObject 
* obj1 
= 0 ; 
7060   char *  kwnames
[] = { 
7061     (char *) "self",(char *) "menu", NULL 
 
7064   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7065   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
7066   if (!SWIG_IsOK(res1
)) { 
7067     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");  
7069   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
7071     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 |  0 ); 
7072     if (!SWIG_IsOK(res2
)) { 
7073       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");  
7075     arg2 
= reinterpret_cast< wxMenu 
* >(argp2
); 
7078     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7079     (arg1
)->DoMenuUpdates(arg2
); 
7080     wxPyEndAllowThreads(__tstate
); 
7081     if (PyErr_Occurred()) SWIG_fail
; 
7083   resultobj 
= SWIG_Py_Void(); 
7090 SWIGINTERN PyObject 
*_wrap_Frame_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7091   PyObject 
*resultobj 
= 0; 
7092   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
7093   SwigValueWrapper
<wxVisualAttributes 
> result
; 
7096   PyObject 
* obj0 
= 0 ; 
7097   char *  kwnames
[] = { 
7098     (char *) "variant", NULL 
 
7101   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
7103     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
7104     if (!SWIG_IsOK(ecode1
)) { 
7105       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
7107     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
7110     if (!wxPyCheckForApp()) SWIG_fail
; 
7111     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7112     result 
= wxFrame::GetClassDefaultAttributes(arg1
); 
7113     wxPyEndAllowThreads(__tstate
); 
7114     if (PyErr_Occurred()) SWIG_fail
; 
7116   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
7123 SWIGINTERN PyObject 
*Frame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7125   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7126   SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
)); 
7127   return SWIG_Py_Void(); 
7130 SWIGINTERN PyObject 
*Frame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7131   return SWIG_Python_InitShadowInstance(args
); 
7134 SWIGINTERN PyObject 
*_wrap_new_Dialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7135   PyObject 
*resultobj 
= 0; 
7136   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
7137   int arg2 
= (int) (int)-1 ; 
7138   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
7139   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
7140   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
7141   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
7142   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
7143   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
7144   long arg6 
= (long) wxDEFAULT_DIALOG_STYLE 
; 
7145   wxString 
const &arg7_defvalue 
= wxPyDialogNameStr 
; 
7146   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
7147   wxDialog 
*result 
= 0 ; 
7152   bool temp3 
= false ; 
7157   bool temp7 
= false ; 
7158   PyObject 
* obj0 
= 0 ; 
7159   PyObject 
* obj1 
= 0 ; 
7160   PyObject 
* obj2 
= 0 ; 
7161   PyObject 
* obj3 
= 0 ; 
7162   PyObject 
* obj4 
= 0 ; 
7163   PyObject 
* obj5 
= 0 ; 
7164   PyObject 
* obj6 
= 0 ; 
7165   char *  kwnames
[] = { 
7166     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
7169   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
7170   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
7171   if (!SWIG_IsOK(res1
)) { 
7172     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
7174   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
7176     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7177     if (!SWIG_IsOK(ecode2
)) { 
7178       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'"); 
7180     arg2 
= static_cast< int >(val2
); 
7184       arg3 
= wxString_in_helper(obj2
); 
7185       if (arg3 
== NULL
) SWIG_fail
; 
7192       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
7198       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
7202     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
7203     if (!SWIG_IsOK(ecode6
)) { 
7204       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'"); 
7206     arg6 
= static_cast< long >(val6
); 
7210       arg7 
= wxString_in_helper(obj6
); 
7211       if (arg7 
== NULL
) SWIG_fail
; 
7216     if (!wxPyCheckForApp()) SWIG_fail
; 
7217     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7218     result 
= (wxDialog 
*)new wxDialog(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
7219     wxPyEndAllowThreads(__tstate
); 
7220     if (PyErr_Occurred()) SWIG_fail
; 
7222   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW 
|  0 ); 
7245 SWIGINTERN PyObject 
*_wrap_new_PreDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7246   PyObject 
*resultobj 
= 0; 
7247   wxDialog 
*result 
= 0 ; 
7249   if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
; 
7251     if (!wxPyCheckForApp()) SWIG_fail
; 
7252     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7253     result 
= (wxDialog 
*)new wxDialog(); 
7254     wxPyEndAllowThreads(__tstate
); 
7255     if (PyErr_Occurred()) SWIG_fail
; 
7257   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN 
|  0 ); 
7264 SWIGINTERN PyObject 
*_wrap_Dialog_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7265   PyObject 
*resultobj 
= 0; 
7266   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7267   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
7268   int arg3 
= (int) (int)-1 ; 
7269   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
7270   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
7271   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
7272   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
7273   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
7274   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
7275   long arg7 
= (long) wxDEFAULT_DIALOG_STYLE 
; 
7276   wxString 
const &arg8_defvalue 
= wxPyDialogNameStr 
; 
7277   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
7285   bool temp4 
= false ; 
7290   bool temp8 
= false ; 
7291   PyObject 
* obj0 
= 0 ; 
7292   PyObject 
* obj1 
= 0 ; 
7293   PyObject 
* obj2 
= 0 ; 
7294   PyObject 
* obj3 
= 0 ; 
7295   PyObject 
* obj4 
= 0 ; 
7296   PyObject 
* obj5 
= 0 ; 
7297   PyObject 
* obj6 
= 0 ; 
7298   PyObject 
* obj7 
= 0 ; 
7299   char *  kwnames
[] = { 
7300     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
7303   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
7304   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7305   if (!SWIG_IsOK(res1
)) { 
7306     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");  
7308   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7309   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
7310   if (!SWIG_IsOK(res2
)) { 
7311     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
7313   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
7315     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7316     if (!SWIG_IsOK(ecode3
)) { 
7317       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'"); 
7319     arg3 
= static_cast< int >(val3
); 
7323       arg4 
= wxString_in_helper(obj3
); 
7324       if (arg4 
== NULL
) SWIG_fail
; 
7331       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
7337       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
7341     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
7342     if (!SWIG_IsOK(ecode7
)) { 
7343       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'"); 
7345     arg7 
= static_cast< long >(val7
); 
7349       arg8 
= wxString_in_helper(obj7
); 
7350       if (arg8 
== NULL
) SWIG_fail
; 
7355     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7356     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
7357     wxPyEndAllowThreads(__tstate
); 
7358     if (PyErr_Occurred()) SWIG_fail
; 
7361     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7385 SWIGINTERN PyObject 
*_wrap_Dialog_SetReturnCode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7386   PyObject 
*resultobj 
= 0; 
7387   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7393   PyObject 
* obj0 
= 0 ; 
7394   PyObject 
* obj1 
= 0 ; 
7395   char *  kwnames
[] = { 
7396     (char *) "self",(char *) "returnCode", NULL 
 
7399   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7400   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7401   if (!SWIG_IsOK(res1
)) { 
7402     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");  
7404   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7405   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7406   if (!SWIG_IsOK(ecode2
)) { 
7407     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'"); 
7409   arg2 
= static_cast< int >(val2
); 
7411     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7412     (arg1
)->SetReturnCode(arg2
); 
7413     wxPyEndAllowThreads(__tstate
); 
7414     if (PyErr_Occurred()) SWIG_fail
; 
7416   resultobj 
= SWIG_Py_Void(); 
7423 SWIGINTERN PyObject 
*_wrap_Dialog_GetReturnCode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7424   PyObject 
*resultobj 
= 0; 
7425   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7429   PyObject 
*swig_obj
[1] ; 
7431   if (!args
) SWIG_fail
; 
7433   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7434   if (!SWIG_IsOK(res1
)) { 
7435     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");  
7437   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7439     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7440     result 
= (int)((wxDialog 
const *)arg1
)->GetReturnCode(); 
7441     wxPyEndAllowThreads(__tstate
); 
7442     if (PyErr_Occurred()) SWIG_fail
; 
7444   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7451 SWIGINTERN PyObject 
*_wrap_Dialog_SetAffirmativeId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7452   PyObject 
*resultobj 
= 0; 
7453   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7459   PyObject 
* obj0 
= 0 ; 
7460   PyObject 
* obj1 
= 0 ; 
7461   char *  kwnames
[] = { 
7462     (char *) "self",(char *) "affirmativeId", NULL 
 
7465   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7466   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7467   if (!SWIG_IsOK(res1
)) { 
7468     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");  
7470   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7471   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7472   if (!SWIG_IsOK(ecode2
)) { 
7473     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'"); 
7475   arg2 
= static_cast< int >(val2
); 
7477     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7478     (arg1
)->SetAffirmativeId(arg2
); 
7479     wxPyEndAllowThreads(__tstate
); 
7480     if (PyErr_Occurred()) SWIG_fail
; 
7482   resultobj 
= SWIG_Py_Void(); 
7489 SWIGINTERN PyObject 
*_wrap_Dialog_GetAffirmativeId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7490   PyObject 
*resultobj 
= 0; 
7491   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7495   PyObject 
*swig_obj
[1] ; 
7497   if (!args
) SWIG_fail
; 
7499   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7500   if (!SWIG_IsOK(res1
)) { 
7501     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");  
7503   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7505     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7506     result 
= (int)((wxDialog 
const *)arg1
)->GetAffirmativeId(); 
7507     wxPyEndAllowThreads(__tstate
); 
7508     if (PyErr_Occurred()) SWIG_fail
; 
7510   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7517 SWIGINTERN PyObject 
*_wrap_Dialog_SetEscapeId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7518   PyObject 
*resultobj 
= 0; 
7519   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7525   PyObject 
* obj0 
= 0 ; 
7526   PyObject 
* obj1 
= 0 ; 
7527   char *  kwnames
[] = { 
7528     (char *) "self",(char *) "escapeId", NULL 
 
7531   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7532   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7533   if (!SWIG_IsOK(res1
)) { 
7534     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");  
7536   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7537   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7538   if (!SWIG_IsOK(ecode2
)) { 
7539     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'"); 
7541   arg2 
= static_cast< int >(val2
); 
7543     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7544     (arg1
)->SetEscapeId(arg2
); 
7545     wxPyEndAllowThreads(__tstate
); 
7546     if (PyErr_Occurred()) SWIG_fail
; 
7548   resultobj 
= SWIG_Py_Void(); 
7555 SWIGINTERN PyObject 
*_wrap_Dialog_GetEscapeId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7556   PyObject 
*resultobj 
= 0; 
7557   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7561   PyObject 
*swig_obj
[1] ; 
7563   if (!args
) SWIG_fail
; 
7565   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7566   if (!SWIG_IsOK(res1
)) { 
7567     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");  
7569   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7571     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7572     result 
= (int)((wxDialog 
const *)arg1
)->GetEscapeId(); 
7573     wxPyEndAllowThreads(__tstate
); 
7574     if (PyErr_Occurred()) SWIG_fail
; 
7576   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7583 SWIGINTERN PyObject 
*_wrap_Dialog_CreateTextSizer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7584   PyObject 
*resultobj 
= 0; 
7585   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7586   wxString 
*arg2 
= 0 ; 
7587   wxSizer 
*result 
= 0 ; 
7590   bool temp2 
= false ; 
7591   PyObject 
* obj0 
= 0 ; 
7592   PyObject 
* obj1 
= 0 ; 
7593   char *  kwnames
[] = { 
7594     (char *) "self",(char *) "message", NULL 
 
7597   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7598   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7599   if (!SWIG_IsOK(res1
)) { 
7600     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");  
7602   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7604     arg2 
= wxString_in_helper(obj1
); 
7605     if (arg2 
== NULL
) SWIG_fail
; 
7609     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7610     result 
= (wxSizer 
*)(arg1
)->CreateTextSizer((wxString 
const &)*arg2
); 
7611     wxPyEndAllowThreads(__tstate
); 
7612     if (PyErr_Occurred()) SWIG_fail
; 
7615     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
7631 SWIGINTERN PyObject 
*_wrap_Dialog_CreateButtonSizer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7632   PyObject 
*resultobj 
= 0; 
7633   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7635   bool arg3 
= (bool) false ; 
7636   int arg4 
= (int) 0 ; 
7637   wxSizer 
*result 
= 0 ; 
7646   PyObject 
* obj0 
= 0 ; 
7647   PyObject 
* obj1 
= 0 ; 
7648   PyObject 
* obj2 
= 0 ; 
7649   PyObject 
* obj3 
= 0 ; 
7650   char *  kwnames
[] = { 
7651     (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL 
 
7654   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7655   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7656   if (!SWIG_IsOK(res1
)) { 
7657     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");  
7659   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7660   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7661   if (!SWIG_IsOK(ecode2
)) { 
7662     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'"); 
7664   arg2 
= static_cast< long >(val2
); 
7666     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
7667     if (!SWIG_IsOK(ecode3
)) { 
7668       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'"); 
7670     arg3 
= static_cast< bool >(val3
); 
7673     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7674     if (!SWIG_IsOK(ecode4
)) { 
7675       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'"); 
7677     arg4 
= static_cast< int >(val4
); 
7680     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7681     result 
= (wxSizer 
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
); 
7682     wxPyEndAllowThreads(__tstate
); 
7683     if (PyErr_Occurred()) SWIG_fail
; 
7686     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
7694 SWIGINTERN PyObject 
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7695   PyObject 
*resultobj 
= 0; 
7696   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7698   wxStdDialogButtonSizer 
*result 
= 0 ; 
7703   PyObject 
* obj0 
= 0 ; 
7704   PyObject 
* obj1 
= 0 ; 
7705   char *  kwnames
[] = { 
7706     (char *) "self",(char *) "flags", NULL 
 
7709   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7710   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7711   if (!SWIG_IsOK(res1
)) { 
7712     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");  
7714   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7715   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7716   if (!SWIG_IsOK(ecode2
)) { 
7717     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'"); 
7719   arg2 
= static_cast< long >(val2
); 
7721     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7722     result 
= (wxStdDialogButtonSizer 
*)(arg1
)->CreateStdDialogButtonSizer(arg2
); 
7723     wxPyEndAllowThreads(__tstate
); 
7724     if (PyErr_Occurred()) SWIG_fail
; 
7726   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 |  0 ); 
7733 SWIGINTERN PyObject 
*_wrap_Dialog_IsModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7734   PyObject 
*resultobj 
= 0; 
7735   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7739   PyObject 
*swig_obj
[1] ; 
7741   if (!args
) SWIG_fail
; 
7743   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7744   if (!SWIG_IsOK(res1
)) { 
7745     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");  
7747   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7749     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7750     result 
= (bool)((wxDialog 
const *)arg1
)->IsModal(); 
7751     wxPyEndAllowThreads(__tstate
); 
7752     if (PyErr_Occurred()) SWIG_fail
; 
7755     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7763 SWIGINTERN PyObject 
*_wrap_Dialog_ShowModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7764   PyObject 
*resultobj 
= 0; 
7765   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7769   PyObject 
*swig_obj
[1] ; 
7771   if (!args
) SWIG_fail
; 
7773   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7774   if (!SWIG_IsOK(res1
)) { 
7775     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");  
7777   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7779     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7780     result 
= (int)(arg1
)->ShowModal(); 
7781     wxPyEndAllowThreads(__tstate
); 
7782     if (PyErr_Occurred()) SWIG_fail
; 
7784   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7791 SWIGINTERN PyObject 
*_wrap_Dialog_EndModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7792   PyObject 
*resultobj 
= 0; 
7793   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7799   PyObject 
* obj0 
= 0 ; 
7800   PyObject 
* obj1 
= 0 ; 
7801   char *  kwnames
[] = { 
7802     (char *) "self",(char *) "retCode", NULL 
 
7805   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7806   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7807   if (!SWIG_IsOK(res1
)) { 
7808     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");  
7810   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7811   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7812   if (!SWIG_IsOK(ecode2
)) { 
7813     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'"); 
7815   arg2 
= static_cast< int >(val2
); 
7817     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7818     (arg1
)->EndModal(arg2
); 
7819     wxPyEndAllowThreads(__tstate
); 
7820     if (PyErr_Occurred()) SWIG_fail
; 
7822   resultobj 
= SWIG_Py_Void(); 
7829 SWIGINTERN PyObject 
*_wrap_Dialog_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7830   PyObject 
*resultobj 
= 0; 
7831   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
7832   SwigValueWrapper
<wxVisualAttributes 
> result
; 
7835   PyObject 
* obj0 
= 0 ; 
7836   char *  kwnames
[] = { 
7837     (char *) "variant", NULL 
 
7840   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
7842     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
7843     if (!SWIG_IsOK(ecode1
)) { 
7844       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
7846     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
7849     if (!wxPyCheckForApp()) SWIG_fail
; 
7850     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7851     result 
= wxDialog::GetClassDefaultAttributes(arg1
); 
7852     wxPyEndAllowThreads(__tstate
); 
7853     if (PyErr_Occurred()) SWIG_fail
; 
7855   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
7862 SWIGINTERN PyObject 
*Dialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7864   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7865   SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
)); 
7866   return SWIG_Py_Void(); 
7869 SWIGINTERN PyObject 
*Dialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7870   return SWIG_Python_InitShadowInstance(args
); 
7873 SWIGINTERN PyObject 
*_wrap_new_MiniFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7874   PyObject 
*resultobj 
= 0; 
7875   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
7876   int arg2 
= (int) (int)-1 ; 
7877   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
7878   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
7879   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
7880   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
7881   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
7882   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
7883   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
7884   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
7885   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
7886   wxMiniFrame 
*result 
= 0 ; 
7891   bool temp3 
= false ; 
7896   bool temp7 
= false ; 
7897   PyObject 
* obj0 
= 0 ; 
7898   PyObject 
* obj1 
= 0 ; 
7899   PyObject 
* obj2 
= 0 ; 
7900   PyObject 
* obj3 
= 0 ; 
7901   PyObject 
* obj4 
= 0 ; 
7902   PyObject 
* obj5 
= 0 ; 
7903   PyObject 
* obj6 
= 0 ; 
7904   char *  kwnames
[] = { 
7905     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
7908   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
7909   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
7910   if (!SWIG_IsOK(res1
)) { 
7911     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");  
7913   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
7915     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7916     if (!SWIG_IsOK(ecode2
)) { 
7917       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'"); 
7919     arg2 
= static_cast< int >(val2
); 
7923       arg3 
= wxString_in_helper(obj2
); 
7924       if (arg3 
== NULL
) SWIG_fail
; 
7931       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
7937       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
7941     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
7942     if (!SWIG_IsOK(ecode6
)) { 
7943       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'"); 
7945     arg6 
= static_cast< long >(val6
); 
7949       arg7 
= wxString_in_helper(obj6
); 
7950       if (arg7 
== NULL
) SWIG_fail
; 
7955     if (!wxPyCheckForApp()) SWIG_fail
; 
7956     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7957     result 
= (wxMiniFrame 
*)new wxMiniFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
7958     wxPyEndAllowThreads(__tstate
); 
7959     if (PyErr_Occurred()) SWIG_fail
; 
7961   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW 
|  0 ); 
7984 SWIGINTERN PyObject 
*_wrap_new_PreMiniFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7985   PyObject 
*resultobj 
= 0; 
7986   wxMiniFrame 
*result 
= 0 ; 
7988   if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
; 
7990     if (!wxPyCheckForApp()) SWIG_fail
; 
7991     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7992     result 
= (wxMiniFrame 
*)new wxMiniFrame(); 
7993     wxPyEndAllowThreads(__tstate
); 
7994     if (PyErr_Occurred()) SWIG_fail
; 
7996   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN 
|  0 ); 
8003 SWIGINTERN PyObject 
*_wrap_MiniFrame_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8004   PyObject 
*resultobj 
= 0; 
8005   wxMiniFrame 
*arg1 
= (wxMiniFrame 
*) 0 ; 
8006   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
8007   int arg3 
= (int) (int)-1 ; 
8008   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
8009   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
8010   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
8011   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
8012   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
8013   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
8014   long arg7 
= (long) wxDEFAULT_FRAME_STYLE 
; 
8015   wxString 
const &arg8_defvalue 
= wxPyFrameNameStr 
; 
8016   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
8024   bool temp4 
= false ; 
8029   bool temp8 
= false ; 
8030   PyObject 
* obj0 
= 0 ; 
8031   PyObject 
* obj1 
= 0 ; 
8032   PyObject 
* obj2 
= 0 ; 
8033   PyObject 
* obj3 
= 0 ; 
8034   PyObject 
* obj4 
= 0 ; 
8035   PyObject 
* obj5 
= 0 ; 
8036   PyObject 
* obj6 
= 0 ; 
8037   PyObject 
* obj7 
= 0 ; 
8038   char *  kwnames
[] = { 
8039     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
8042   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
8043   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 |  0 ); 
8044   if (!SWIG_IsOK(res1
)) { 
8045     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");  
8047   arg1 
= reinterpret_cast< wxMiniFrame 
* >(argp1
); 
8048   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8049   if (!SWIG_IsOK(res2
)) { 
8050     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
8052   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
8054     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8055     if (!SWIG_IsOK(ecode3
)) { 
8056       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'"); 
8058     arg3 
= static_cast< int >(val3
); 
8062       arg4 
= wxString_in_helper(obj3
); 
8063       if (arg4 
== NULL
) SWIG_fail
; 
8070       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
8076       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
8080     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
8081     if (!SWIG_IsOK(ecode7
)) { 
8082       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'"); 
8084     arg7 
= static_cast< long >(val7
); 
8088       arg8 
= wxString_in_helper(obj7
); 
8089       if (arg8 
== NULL
) SWIG_fail
; 
8094     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8095     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
8096     wxPyEndAllowThreads(__tstate
); 
8097     if (PyErr_Occurred()) SWIG_fail
; 
8100     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8124 SWIGINTERN PyObject 
*MiniFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8126   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
8127   SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
)); 
8128   return SWIG_Py_Void(); 
8131 SWIGINTERN PyObject 
*MiniFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8132   return SWIG_Python_InitShadowInstance(args
); 
8135 SWIGINTERN PyObject 
*_wrap_new_SplashScreenWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8136   PyObject 
*resultobj 
= 0; 
8137   wxBitmap 
*arg1 
= 0 ; 
8138   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
8140   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
8141   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
8142   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
8143   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
8144   long arg6 
= (long) wxNO_BORDER 
; 
8145   wxSplashScreenWindow 
*result 
= 0 ; 
8156   PyObject 
* obj0 
= 0 ; 
8157   PyObject 
* obj1 
= 0 ; 
8158   PyObject 
* obj2 
= 0 ; 
8159   PyObject 
* obj3 
= 0 ; 
8160   PyObject 
* obj4 
= 0 ; 
8161   PyObject 
* obj5 
= 0 ; 
8162   char *  kwnames
[] = { 
8163     (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
8166   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
8167   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8168   if (!SWIG_IsOK(res1
)) { 
8169     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8172     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8174   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
8175   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8176   if (!SWIG_IsOK(res2
)) { 
8177     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
8179   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
8180   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8181   if (!SWIG_IsOK(ecode3
)) { 
8182     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'"); 
8184   arg3 
= static_cast< int >(val3
); 
8188       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
8194       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
8198     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
8199     if (!SWIG_IsOK(ecode6
)) { 
8200       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'"); 
8202     arg6 
= static_cast< long >(val6
); 
8205     if (!wxPyCheckForApp()) SWIG_fail
; 
8206     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8207     result 
= (wxSplashScreenWindow 
*)new wxSplashScreenWindow((wxBitmap 
const &)*arg1
,arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
); 
8208     wxPyEndAllowThreads(__tstate
); 
8209     if (PyErr_Occurred()) SWIG_fail
; 
8211   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW 
|  0 ); 
8218 SWIGINTERN PyObject 
*_wrap_SplashScreenWindow_SetBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8219   PyObject 
*resultobj 
= 0; 
8220   wxSplashScreenWindow 
*arg1 
= (wxSplashScreenWindow 
*) 0 ; 
8221   wxBitmap 
*arg2 
= 0 ; 
8226   PyObject 
* obj0 
= 0 ; 
8227   PyObject 
* obj1 
= 0 ; 
8228   char *  kwnames
[] = { 
8229     (char *) "self",(char *) "bitmap", NULL 
 
8232   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8233   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 |  0 ); 
8234   if (!SWIG_IsOK(res1
)) { 
8235     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");  
8237   arg1 
= reinterpret_cast< wxSplashScreenWindow 
* >(argp1
); 
8238   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8239   if (!SWIG_IsOK(res2
)) { 
8240     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8243     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8245   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
8247     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8248     (arg1
)->SetBitmap((wxBitmap 
const &)*arg2
); 
8249     wxPyEndAllowThreads(__tstate
); 
8250     if (PyErr_Occurred()) SWIG_fail
; 
8252   resultobj 
= SWIG_Py_Void(); 
8259 SWIGINTERN PyObject 
*_wrap_SplashScreenWindow_GetBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8260   PyObject 
*resultobj 
= 0; 
8261   wxSplashScreenWindow 
*arg1 
= (wxSplashScreenWindow 
*) 0 ; 
8262   wxBitmap 
*result 
= 0 ; 
8265   PyObject 
*swig_obj
[1] ; 
8267   if (!args
) SWIG_fail
; 
8269   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 |  0 ); 
8270   if (!SWIG_IsOK(res1
)) { 
8271     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");  
8273   arg1 
= reinterpret_cast< wxSplashScreenWindow 
* >(argp1
); 
8275     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8277       wxBitmap 
&_result_ref 
= (arg1
)->GetBitmap(); 
8278       result 
= (wxBitmap 
*) &_result_ref
; 
8280     wxPyEndAllowThreads(__tstate
); 
8281     if (PyErr_Occurred()) SWIG_fail
; 
8284     wxBitmap
* resultptr 
= new wxBitmap(*result
); 
8285     resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
8293 SWIGINTERN PyObject 
*SplashScreenWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8295   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
8296   SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
)); 
8297   return SWIG_Py_Void(); 
8300 SWIGINTERN PyObject 
*SplashScreenWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8301   return SWIG_Python_InitShadowInstance(args
); 
8304 SWIGINTERN PyObject 
*_wrap_new_SplashScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8305   PyObject 
*resultobj 
= 0; 
8306   wxBitmap 
*arg1 
= 0 ; 
8309   wxWindow 
*arg4 
= (wxWindow 
*) 0 ; 
8310   int arg5 
= (int) -1 ; 
8311   wxPoint 
const &arg6_defvalue 
= wxDefaultPosition 
; 
8312   wxPoint 
*arg6 
= (wxPoint 
*) &arg6_defvalue 
; 
8313   wxSize 
const &arg7_defvalue 
= wxDefaultSize 
; 
8314   wxSize 
*arg7 
= (wxSize 
*) &arg7_defvalue 
; 
8315   long arg8 
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP 
; 
8316   wxSplashScreen 
*result 
= 0 ; 
8331   PyObject 
* obj0 
= 0 ; 
8332   PyObject 
* obj1 
= 0 ; 
8333   PyObject 
* obj2 
= 0 ; 
8334   PyObject 
* obj3 
= 0 ; 
8335   PyObject 
* obj4 
= 0 ; 
8336   PyObject 
* obj5 
= 0 ; 
8337   PyObject 
* obj6 
= 0 ; 
8338   PyObject 
* obj7 
= 0 ; 
8339   char *  kwnames
[] = { 
8340     (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
8343   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
8344   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8345   if (!SWIG_IsOK(res1
)) { 
8346     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8349     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8351   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
8352   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
8353   if (!SWIG_IsOK(ecode2
)) { 
8354     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'"); 
8356   arg2 
= static_cast< long >(val2
); 
8357   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8358   if (!SWIG_IsOK(ecode3
)) { 
8359     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'"); 
8361   arg3 
= static_cast< int >(val3
); 
8362   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8363   if (!SWIG_IsOK(res4
)) { 
8364     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");  
8366   arg4 
= reinterpret_cast< wxWindow 
* >(argp4
); 
8368     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
8369     if (!SWIG_IsOK(ecode5
)) { 
8370       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'"); 
8372     arg5 
= static_cast< int >(val5
); 
8377       if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
; 
8383       if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
; 
8387     ecode8 
= SWIG_AsVal_long(obj7
, &val8
); 
8388     if (!SWIG_IsOK(ecode8
)) { 
8389       SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'"); 
8391     arg8 
= static_cast< long >(val8
); 
8394     if (!wxPyCheckForApp()) SWIG_fail
; 
8395     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8396     result 
= (wxSplashScreen 
*)new wxSplashScreen((wxBitmap 
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint 
const &)*arg6
,(wxSize 
const &)*arg7
,arg8
); 
8397     wxPyEndAllowThreads(__tstate
); 
8398     if (PyErr_Occurred()) SWIG_fail
; 
8400   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW 
|  0 ); 
8407 SWIGINTERN PyObject 
*_wrap_SplashScreen_GetSplashStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8408   PyObject 
*resultobj 
= 0; 
8409   wxSplashScreen 
*arg1 
= (wxSplashScreen 
*) 0 ; 
8413   PyObject 
*swig_obj
[1] ; 
8415   if (!args
) SWIG_fail
; 
8417   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 |  0 ); 
8418   if (!SWIG_IsOK(res1
)) { 
8419     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");  
8421   arg1 
= reinterpret_cast< wxSplashScreen 
* >(argp1
); 
8423     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8424     result 
= (long)((wxSplashScreen 
const *)arg1
)->GetSplashStyle(); 
8425     wxPyEndAllowThreads(__tstate
); 
8426     if (PyErr_Occurred()) SWIG_fail
; 
8428   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
8435 SWIGINTERN PyObject 
*_wrap_SplashScreen_GetSplashWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8436   PyObject 
*resultobj 
= 0; 
8437   wxSplashScreen 
*arg1 
= (wxSplashScreen 
*) 0 ; 
8438   wxSplashScreenWindow 
*result 
= 0 ; 
8441   PyObject 
*swig_obj
[1] ; 
8443   if (!args
) SWIG_fail
; 
8445   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 |  0 ); 
8446   if (!SWIG_IsOK(res1
)) { 
8447     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");  
8449   arg1 
= reinterpret_cast< wxSplashScreen 
* >(argp1
); 
8451     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8452     result 
= (wxSplashScreenWindow 
*)((wxSplashScreen 
const *)arg1
)->GetSplashWindow(); 
8453     wxPyEndAllowThreads(__tstate
); 
8454     if (PyErr_Occurred()) SWIG_fail
; 
8456   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 |  0 ); 
8463 SWIGINTERN PyObject 
*_wrap_SplashScreen_GetTimeout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8464   PyObject 
*resultobj 
= 0; 
8465   wxSplashScreen 
*arg1 
= (wxSplashScreen 
*) 0 ; 
8469   PyObject 
*swig_obj
[1] ; 
8471   if (!args
) SWIG_fail
; 
8473   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 |  0 ); 
8474   if (!SWIG_IsOK(res1
)) { 
8475     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");  
8477   arg1 
= reinterpret_cast< wxSplashScreen 
* >(argp1
); 
8479     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8480     result 
= (int)((wxSplashScreen 
const *)arg1
)->GetTimeout(); 
8481     wxPyEndAllowThreads(__tstate
); 
8482     if (PyErr_Occurred()) SWIG_fail
; 
8484   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
8491 SWIGINTERN PyObject 
*SplashScreen_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8493   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
8494   SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
)); 
8495   return SWIG_Py_Void(); 
8498 SWIGINTERN PyObject 
*SplashScreen_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8499   return SWIG_Python_InitShadowInstance(args
); 
8502 SWIGINTERN PyObject 
*_wrap_new_StatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8503   PyObject 
*resultobj 
= 0; 
8504   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
8505   int arg2 
= (int) -1 ; 
8506   long arg3 
= (long) wxDEFAULT_STATUSBAR_STYLE 
; 
8507   wxString 
const &arg4_defvalue 
= wxPyStatusLineNameStr 
; 
8508   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
8509   wxStatusBar 
*result 
= 0 ; 
8516   bool temp4 
= false ; 
8517   PyObject 
* obj0 
= 0 ; 
8518   PyObject 
* obj1 
= 0 ; 
8519   PyObject 
* obj2 
= 0 ; 
8520   PyObject 
* obj3 
= 0 ; 
8521   char *  kwnames
[] = { 
8522     (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL 
 
8525   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8526   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8527   if (!SWIG_IsOK(res1
)) { 
8528     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");  
8530   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
8532     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8533     if (!SWIG_IsOK(ecode2
)) { 
8534       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'"); 
8536     arg2 
= static_cast< int >(val2
); 
8539     ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
8540     if (!SWIG_IsOK(ecode3
)) { 
8541       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'"); 
8543     arg3 
= static_cast< long >(val3
); 
8547       arg4 
= wxString_in_helper(obj3
); 
8548       if (arg4 
== NULL
) SWIG_fail
; 
8553     if (!wxPyCheckForApp()) SWIG_fail
; 
8554     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8555     result 
= (wxStatusBar 
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString 
const &)*arg4
); 
8556     wxPyEndAllowThreads(__tstate
); 
8557     if (PyErr_Occurred()) SWIG_fail
; 
8559   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW 
|  0 ); 
8574 SWIGINTERN PyObject 
*_wrap_new_PreStatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8575   PyObject 
*resultobj 
= 0; 
8576   wxStatusBar 
*result 
= 0 ; 
8578   if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
; 
8580     if (!wxPyCheckForApp()) SWIG_fail
; 
8581     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8582     result 
= (wxStatusBar 
*)new wxStatusBar(); 
8583     wxPyEndAllowThreads(__tstate
); 
8584     if (PyErr_Occurred()) SWIG_fail
; 
8586   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN 
|  0 ); 
8593 SWIGINTERN PyObject 
*_wrap_StatusBar_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8594   PyObject 
*resultobj 
= 0; 
8595   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8596   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
8597   int arg3 
= (int) -1 ; 
8598   long arg4 
= (long) wxST_SIZEGRIP 
; 
8599   wxString 
const &arg5_defvalue 
= wxPyStatusLineNameStr 
; 
8600   wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
8610   bool temp5 
= false ; 
8611   PyObject 
* obj0 
= 0 ; 
8612   PyObject 
* obj1 
= 0 ; 
8613   PyObject 
* obj2 
= 0 ; 
8614   PyObject 
* obj3 
= 0 ; 
8615   PyObject 
* obj4 
= 0 ; 
8616   char *  kwnames
[] = { 
8617     (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL 
 
8620   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
8621   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8622   if (!SWIG_IsOK(res1
)) { 
8623     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8625   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8626   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8627   if (!SWIG_IsOK(res2
)) { 
8628     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
8630   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
8632     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8633     if (!SWIG_IsOK(ecode3
)) { 
8634       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'"); 
8636     arg3 
= static_cast< int >(val3
); 
8639     ecode4 
= SWIG_AsVal_long(obj3
, &val4
); 
8640     if (!SWIG_IsOK(ecode4
)) { 
8641       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'"); 
8643     arg4 
= static_cast< long >(val4
); 
8647       arg5 
= wxString_in_helper(obj4
); 
8648       if (arg5 
== NULL
) SWIG_fail
; 
8653     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8654     result 
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString 
const &)*arg5
); 
8655     wxPyEndAllowThreads(__tstate
); 
8656     if (PyErr_Occurred()) SWIG_fail
; 
8659     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8675 SWIGINTERN PyObject 
*_wrap_StatusBar_SetFieldsCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8676   PyObject 
*resultobj 
= 0; 
8677   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8678   int arg2 
= (int) 1 ; 
8683   PyObject 
* obj0 
= 0 ; 
8684   PyObject 
* obj1 
= 0 ; 
8685   char *  kwnames
[] = { 
8686     (char *) "self",(char *) "number", NULL 
 
8689   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8690   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8691   if (!SWIG_IsOK(res1
)) { 
8692     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8694   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8696     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8697     if (!SWIG_IsOK(ecode2
)) { 
8698       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'"); 
8700     arg2 
= static_cast< int >(val2
); 
8703     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8704     (arg1
)->SetFieldsCount(arg2
); 
8705     wxPyEndAllowThreads(__tstate
); 
8706     if (PyErr_Occurred()) SWIG_fail
; 
8708   resultobj 
= SWIG_Py_Void(); 
8715 SWIGINTERN PyObject 
*_wrap_StatusBar_GetFieldsCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8716   PyObject 
*resultobj 
= 0; 
8717   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8721   PyObject 
*swig_obj
[1] ; 
8723   if (!args
) SWIG_fail
; 
8725   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8726   if (!SWIG_IsOK(res1
)) { 
8727     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");  
8729   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8731     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8732     result 
= (int)((wxStatusBar 
const *)arg1
)->GetFieldsCount(); 
8733     wxPyEndAllowThreads(__tstate
); 
8734     if (PyErr_Occurred()) SWIG_fail
; 
8736   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
8743 SWIGINTERN PyObject 
*_wrap_StatusBar_SetStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8744   PyObject 
*resultobj 
= 0; 
8745   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8746   wxString 
*arg2 
= 0 ; 
8747   int arg3 
= (int) 0 ; 
8750   bool temp2 
= false ; 
8753   PyObject 
* obj0 
= 0 ; 
8754   PyObject 
* obj1 
= 0 ; 
8755   PyObject 
* obj2 
= 0 ; 
8756   char *  kwnames
[] = { 
8757     (char *) "self",(char *) "text",(char *) "number", NULL 
 
8760   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8761   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8762   if (!SWIG_IsOK(res1
)) { 
8763     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8765   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8767     arg2 
= wxString_in_helper(obj1
); 
8768     if (arg2 
== NULL
) SWIG_fail
; 
8772     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8773     if (!SWIG_IsOK(ecode3
)) { 
8774       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'"); 
8776     arg3 
= static_cast< int >(val3
); 
8779     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8780     (arg1
)->SetStatusText((wxString 
const &)*arg2
,arg3
); 
8781     wxPyEndAllowThreads(__tstate
); 
8782     if (PyErr_Occurred()) SWIG_fail
; 
8784   resultobj 
= SWIG_Py_Void(); 
8799 SWIGINTERN PyObject 
*_wrap_StatusBar_GetStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8800   PyObject 
*resultobj 
= 0; 
8801   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8802   int arg2 
= (int) 0 ; 
8808   PyObject 
* obj0 
= 0 ; 
8809   PyObject 
* obj1 
= 0 ; 
8810   char *  kwnames
[] = { 
8811     (char *) "self",(char *) "number", NULL 
 
8814   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8815   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8816   if (!SWIG_IsOK(res1
)) { 
8817     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");  
8819   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8821     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8822     if (!SWIG_IsOK(ecode2
)) { 
8823       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'"); 
8825     arg2 
= static_cast< int >(val2
); 
8828     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8829     result 
= ((wxStatusBar 
const *)arg1
)->GetStatusText(arg2
); 
8830     wxPyEndAllowThreads(__tstate
); 
8831     if (PyErr_Occurred()) SWIG_fail
; 
8835     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
8837     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
8846 SWIGINTERN PyObject 
*_wrap_StatusBar_PushStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8847   PyObject 
*resultobj 
= 0; 
8848   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8849   wxString 
*arg2 
= 0 ; 
8850   int arg3 
= (int) 0 ; 
8853   bool temp2 
= false ; 
8856   PyObject 
* obj0 
= 0 ; 
8857   PyObject 
* obj1 
= 0 ; 
8858   PyObject 
* obj2 
= 0 ; 
8859   char *  kwnames
[] = { 
8860     (char *) "self",(char *) "text",(char *) "number", NULL 
 
8863   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) 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_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8868   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8870     arg2 
= wxString_in_helper(obj1
); 
8871     if (arg2 
== NULL
) SWIG_fail
; 
8875     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8876     if (!SWIG_IsOK(ecode3
)) { 
8877       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'"); 
8879     arg3 
= static_cast< int >(val3
); 
8882     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8883     (arg1
)->PushStatusText((wxString 
const &)*arg2
,arg3
); 
8884     wxPyEndAllowThreads(__tstate
); 
8885     if (PyErr_Occurred()) SWIG_fail
; 
8887   resultobj 
= SWIG_Py_Void(); 
8902 SWIGINTERN PyObject 
*_wrap_StatusBar_PopStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8903   PyObject 
*resultobj 
= 0; 
8904   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8905   int arg2 
= (int) 0 ; 
8910   PyObject 
* obj0 
= 0 ; 
8911   PyObject 
* obj1 
= 0 ; 
8912   char *  kwnames
[] = { 
8913     (char *) "self",(char *) "number", NULL 
 
8916   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8917   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8918   if (!SWIG_IsOK(res1
)) { 
8919     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8921   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8923     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8924     if (!SWIG_IsOK(ecode2
)) { 
8925       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'"); 
8927     arg2 
= static_cast< int >(val2
); 
8930     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8931     (arg1
)->PopStatusText(arg2
); 
8932     wxPyEndAllowThreads(__tstate
); 
8933     if (PyErr_Occurred()) SWIG_fail
; 
8935   resultobj 
= SWIG_Py_Void(); 
8942 SWIGINTERN PyObject 
*_wrap_StatusBar_SetStatusWidths(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8943   PyObject 
*resultobj 
= 0; 
8944   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8946   int *arg3 
= (int *) 0 ; 
8949   PyObject 
* obj0 
= 0 ; 
8950   PyObject 
* obj1 
= 0 ; 
8951   char *  kwnames
[] = { 
8952     (char *) "self",(char *) "widths", NULL 
 
8955   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8956   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8957   if (!SWIG_IsOK(res1
)) { 
8958     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8960   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8962     arg2 
= PyList_Size(obj1
); 
8963     arg3 
=  int_LIST_helper(obj1
); 
8964     if (arg3 
== NULL
) SWIG_fail
; 
8967     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8968     (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
); 
8969     wxPyEndAllowThreads(__tstate
); 
8970     if (PyErr_Occurred()) SWIG_fail
; 
8972   resultobj 
= SWIG_Py_Void(); 
8974     if (arg3
) delete [] arg3
; 
8979     if (arg3
) delete [] arg3
; 
8985 SWIGINTERN PyObject 
*_wrap_StatusBar_SetStatusStyles(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8986   PyObject 
*resultobj 
= 0; 
8987   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8989   int *arg3 
= (int *) 0 ; 
8992   PyObject 
* obj0 
= 0 ; 
8993   PyObject 
* obj1 
= 0 ; 
8994   char *  kwnames
[] = { 
8995     (char *) "self",(char *) "styles", NULL 
 
8998   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8999   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9000   if (!SWIG_IsOK(res1
)) { 
9001     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
9003   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9005     arg2 
= PyList_Size(obj1
); 
9006     arg3 
=  int_LIST_helper(obj1
); 
9007     if (arg3 
== NULL
) SWIG_fail
; 
9010     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9011     (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
); 
9012     wxPyEndAllowThreads(__tstate
); 
9013     if (PyErr_Occurred()) SWIG_fail
; 
9015   resultobj 
= SWIG_Py_Void(); 
9017     if (arg3
) delete [] arg3
; 
9022     if (arg3
) delete [] arg3
; 
9028 SWIGINTERN PyObject 
*_wrap_StatusBar_GetFieldRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9029   PyObject 
*resultobj 
= 0; 
9030   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9037   PyObject 
* obj0 
= 0 ; 
9038   PyObject 
* obj1 
= 0 ; 
9039   char *  kwnames
[] = { 
9040     (char *) "self",(char *) "i", NULL 
 
9043   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9044   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9045   if (!SWIG_IsOK(res1
)) { 
9046     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
9048   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9049   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9050   if (!SWIG_IsOK(ecode2
)) { 
9051     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'"); 
9053   arg2 
= static_cast< int >(val2
); 
9055     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9056     result 
= wxStatusBar_GetFieldRect(arg1
,arg2
); 
9057     wxPyEndAllowThreads(__tstate
); 
9058     if (PyErr_Occurred()) SWIG_fail
; 
9060   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
9067 SWIGINTERN PyObject 
*_wrap_StatusBar_SetMinHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9068   PyObject 
*resultobj 
= 0; 
9069   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9075   PyObject 
* obj0 
= 0 ; 
9076   PyObject 
* obj1 
= 0 ; 
9077   char *  kwnames
[] = { 
9078     (char *) "self",(char *) "height", NULL 
 
9081   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9082   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9083   if (!SWIG_IsOK(res1
)) { 
9084     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
9086   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9087   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9088   if (!SWIG_IsOK(ecode2
)) { 
9089     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'"); 
9091   arg2 
= static_cast< int >(val2
); 
9093     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9094     (arg1
)->SetMinHeight(arg2
); 
9095     wxPyEndAllowThreads(__tstate
); 
9096     if (PyErr_Occurred()) SWIG_fail
; 
9098   resultobj 
= SWIG_Py_Void(); 
9105 SWIGINTERN PyObject 
*_wrap_StatusBar_GetBorderX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9106   PyObject 
*resultobj 
= 0; 
9107   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9111   PyObject 
*swig_obj
[1] ; 
9113   if (!args
) SWIG_fail
; 
9115   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9116   if (!SWIG_IsOK(res1
)) { 
9117     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");  
9119   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9121     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9122     result 
= (int)((wxStatusBar 
const *)arg1
)->GetBorderX(); 
9123     wxPyEndAllowThreads(__tstate
); 
9124     if (PyErr_Occurred()) SWIG_fail
; 
9126   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9133 SWIGINTERN PyObject 
*_wrap_StatusBar_GetBorderY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9134   PyObject 
*resultobj 
= 0; 
9135   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9139   PyObject 
*swig_obj
[1] ; 
9141   if (!args
) SWIG_fail
; 
9143   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9144   if (!SWIG_IsOK(res1
)) { 
9145     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");  
9147   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9149     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9150     result 
= (int)((wxStatusBar 
const *)arg1
)->GetBorderY(); 
9151     wxPyEndAllowThreads(__tstate
); 
9152     if (PyErr_Occurred()) SWIG_fail
; 
9154   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9161 SWIGINTERN PyObject 
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9162   PyObject 
*resultobj 
= 0; 
9163   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
9164   SwigValueWrapper
<wxVisualAttributes 
> result
; 
9167   PyObject 
* obj0 
= 0 ; 
9168   char *  kwnames
[] = { 
9169     (char *) "variant", NULL 
 
9172   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
9174     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
9175     if (!SWIG_IsOK(ecode1
)) { 
9176       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
9178     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
9181     if (!wxPyCheckForApp()) SWIG_fail
; 
9182     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9183     result 
= wxStatusBar::GetClassDefaultAttributes(arg1
); 
9184     wxPyEndAllowThreads(__tstate
); 
9185     if (PyErr_Occurred()) SWIG_fail
; 
9187   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
9194 SWIGINTERN PyObject 
*StatusBar_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9196   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9197   SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
)); 
9198   return SWIG_Py_Void(); 
9201 SWIGINTERN PyObject 
*StatusBar_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9202   return SWIG_Python_InitShadowInstance(args
); 
9205 SWIGINTERN 
int SplitterNameStr_set(PyObject 
*) { 
9206   SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only."); 
9211 SWIGINTERN PyObject 
*SplitterNameStr_get(void) { 
9212   PyObject 
*pyobj 
= 0; 
9216     pyobj 
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len()); 
9218     pyobj 
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len()); 
9225 SWIGINTERN PyObject 
*_wrap_new_SplitterWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9226   PyObject 
*resultobj 
= 0; 
9227   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
9228   int arg2 
= (int) -1 ; 
9229   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
9230   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
9231   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
9232   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
9233   long arg5 
= (long) wxSP_3D 
; 
9234   wxString 
const &arg6_defvalue 
= wxPySplitterNameStr 
; 
9235   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
9236   wxSplitterWindow 
*result 
= 0 ; 
9245   bool temp6 
= false ; 
9246   PyObject 
* obj0 
= 0 ; 
9247   PyObject 
* obj1 
= 0 ; 
9248   PyObject 
* obj2 
= 0 ; 
9249   PyObject 
* obj3 
= 0 ; 
9250   PyObject 
* obj4 
= 0 ; 
9251   PyObject 
* obj5 
= 0 ; 
9252   char *  kwnames
[] = { 
9253     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
9256   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
9257   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9258   if (!SWIG_IsOK(res1
)) { 
9259     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
9261   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
9263     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9264     if (!SWIG_IsOK(ecode2
)) { 
9265       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'"); 
9267     arg2 
= static_cast< int >(val2
); 
9272       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
9278       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
9282     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
9283     if (!SWIG_IsOK(ecode5
)) { 
9284       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'"); 
9286     arg5 
= static_cast< long >(val5
); 
9290       arg6 
= wxString_in_helper(obj5
); 
9291       if (arg6 
== NULL
) SWIG_fail
; 
9296     if (!wxPyCheckForApp()) SWIG_fail
; 
9297     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9298     result 
= (wxSplitterWindow 
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
9299     wxPyEndAllowThreads(__tstate
); 
9300     if (PyErr_Occurred()) SWIG_fail
; 
9302   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW 
|  0 ); 
9317 SWIGINTERN PyObject 
*_wrap_new_PreSplitterWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9318   PyObject 
*resultobj 
= 0; 
9319   wxSplitterWindow 
*result 
= 0 ; 
9321   if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
; 
9323     if (!wxPyCheckForApp()) SWIG_fail
; 
9324     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9325     result 
= (wxSplitterWindow 
*)new wxSplitterWindow(); 
9326     wxPyEndAllowThreads(__tstate
); 
9327     if (PyErr_Occurred()) SWIG_fail
; 
9329   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN 
|  0 ); 
9336 SWIGINTERN PyObject 
*_wrap_SplitterWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9337   PyObject 
*resultobj 
= 0; 
9338   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9339   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9340   int arg3 
= (int) -1 ; 
9341   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
9342   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
9343   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
9344   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
9345   long arg6 
= (long) wxSP_3D 
; 
9346   wxString 
const &arg7_defvalue 
= wxPySplitterNameStr 
; 
9347   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
9359   bool temp7 
= false ; 
9360   PyObject 
* obj0 
= 0 ; 
9361   PyObject 
* obj1 
= 0 ; 
9362   PyObject 
* obj2 
= 0 ; 
9363   PyObject 
* obj3 
= 0 ; 
9364   PyObject 
* obj4 
= 0 ; 
9365   PyObject 
* obj5 
= 0 ; 
9366   PyObject 
* obj6 
= 0 ; 
9367   char *  kwnames
[] = { 
9368     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
9371   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
9372   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9373   if (!SWIG_IsOK(res1
)) { 
9374     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9376   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9377   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9378   if (!SWIG_IsOK(res2
)) { 
9379     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
9381   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9383     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9384     if (!SWIG_IsOK(ecode3
)) { 
9385       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
9387     arg3 
= static_cast< int >(val3
); 
9392       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
9398       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
9402     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
9403     if (!SWIG_IsOK(ecode6
)) { 
9404       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
9406     arg6 
= static_cast< long >(val6
); 
9410       arg7 
= wxString_in_helper(obj6
); 
9411       if (arg7 
== NULL
) SWIG_fail
; 
9416     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9417     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
9418     wxPyEndAllowThreads(__tstate
); 
9419     if (PyErr_Occurred()) SWIG_fail
; 
9422     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9438 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetWindow1(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9439   PyObject 
*resultobj 
= 0; 
9440   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9441   wxWindow 
*result 
= 0 ; 
9444   PyObject 
*swig_obj
[1] ; 
9446   if (!args
) SWIG_fail
; 
9448   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9449   if (!SWIG_IsOK(res1
)) { 
9450     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9452   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9454     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9455     result 
= (wxWindow 
*)((wxSplitterWindow 
const *)arg1
)->GetWindow1(); 
9456     wxPyEndAllowThreads(__tstate
); 
9457     if (PyErr_Occurred()) SWIG_fail
; 
9460     resultobj 
= wxPyMake_wxObject(result
, 0);  
9468 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetWindow2(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9469   PyObject 
*resultobj 
= 0; 
9470   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9471   wxWindow 
*result 
= 0 ; 
9474   PyObject 
*swig_obj
[1] ; 
9476   if (!args
) SWIG_fail
; 
9478   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9479   if (!SWIG_IsOK(res1
)) { 
9480     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9482   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9484     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9485     result 
= (wxWindow 
*)((wxSplitterWindow 
const *)arg1
)->GetWindow2(); 
9486     wxPyEndAllowThreads(__tstate
); 
9487     if (PyErr_Occurred()) SWIG_fail
; 
9490     resultobj 
= wxPyMake_wxObject(result
, 0);  
9498 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetSplitMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9499   PyObject 
*resultobj 
= 0; 
9500   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9506   PyObject 
* obj0 
= 0 ; 
9507   PyObject 
* obj1 
= 0 ; 
9508   char *  kwnames
[] = { 
9509     (char *) "self",(char *) "mode", NULL 
 
9512   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9513   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9514   if (!SWIG_IsOK(res1
)) { 
9515     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9517   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9518   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9519   if (!SWIG_IsOK(ecode2
)) { 
9520     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'"); 
9522   arg2 
= static_cast< int >(val2
); 
9524     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9525     (arg1
)->SetSplitMode(arg2
); 
9526     wxPyEndAllowThreads(__tstate
); 
9527     if (PyErr_Occurred()) SWIG_fail
; 
9529   resultobj 
= SWIG_Py_Void(); 
9536 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetSplitMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9537   PyObject 
*resultobj 
= 0; 
9538   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9542   PyObject 
*swig_obj
[1] ; 
9544   if (!args
) SWIG_fail
; 
9546   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9547   if (!SWIG_IsOK(res1
)) { 
9548     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9550   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9552     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9553     result 
= (wxSplitMode
)((wxSplitterWindow 
const *)arg1
)->GetSplitMode(); 
9554     wxPyEndAllowThreads(__tstate
); 
9555     if (PyErr_Occurred()) SWIG_fail
; 
9557   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9564 SWIGINTERN PyObject 
*_wrap_SplitterWindow_Initialize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9565   PyObject 
*resultobj 
= 0; 
9566   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9567   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9572   PyObject 
* obj0 
= 0 ; 
9573   PyObject 
* obj1 
= 0 ; 
9574   char *  kwnames
[] = { 
9575     (char *) "self",(char *) "window", NULL 
 
9578   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9579   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9580   if (!SWIG_IsOK(res1
)) { 
9581     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9583   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9584   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9585   if (!SWIG_IsOK(res2
)) { 
9586     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");  
9588   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9590     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9591     (arg1
)->Initialize(arg2
); 
9592     wxPyEndAllowThreads(__tstate
); 
9593     if (PyErr_Occurred()) SWIG_fail
; 
9595   resultobj 
= SWIG_Py_Void(); 
9602 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SplitVertically(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9603   PyObject 
*resultobj 
= 0; 
9604   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9605   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9606   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
9607   int arg4 
= (int) 0 ; 
9617   PyObject 
* obj0 
= 0 ; 
9618   PyObject 
* obj1 
= 0 ; 
9619   PyObject 
* obj2 
= 0 ; 
9620   PyObject 
* obj3 
= 0 ; 
9621   char *  kwnames
[] = { 
9622     (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL 
 
9625   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
9626   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9627   if (!SWIG_IsOK(res1
)) { 
9628     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9630   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9631   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9632   if (!SWIG_IsOK(res2
)) { 
9633     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");  
9635   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9636   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9637   if (!SWIG_IsOK(res3
)) { 
9638     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");  
9640   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
9642     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9643     if (!SWIG_IsOK(ecode4
)) { 
9644       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'"); 
9646     arg4 
= static_cast< int >(val4
); 
9649     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9650     result 
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
); 
9651     wxPyEndAllowThreads(__tstate
); 
9652     if (PyErr_Occurred()) SWIG_fail
; 
9655     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9663 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SplitHorizontally(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9664   PyObject 
*resultobj 
= 0; 
9665   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9666   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9667   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
9668   int arg4 
= (int) 0 ; 
9678   PyObject 
* obj0 
= 0 ; 
9679   PyObject 
* obj1 
= 0 ; 
9680   PyObject 
* obj2 
= 0 ; 
9681   PyObject 
* obj3 
= 0 ; 
9682   char *  kwnames
[] = { 
9683     (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL 
 
9686   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9691   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9692   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9693   if (!SWIG_IsOK(res2
)) { 
9694     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");  
9696   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9697   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9698   if (!SWIG_IsOK(res3
)) { 
9699     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");  
9701   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
9703     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9704     if (!SWIG_IsOK(ecode4
)) { 
9705       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'"); 
9707     arg4 
= static_cast< int >(val4
); 
9710     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9711     result 
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
); 
9712     wxPyEndAllowThreads(__tstate
); 
9713     if (PyErr_Occurred()) SWIG_fail
; 
9716     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9724 SWIGINTERN PyObject 
*_wrap_SplitterWindow_Unsplit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9725   PyObject 
*resultobj 
= 0; 
9726   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9727   wxWindow 
*arg2 
= (wxWindow 
*) NULL 
; 
9733   PyObject 
* obj0 
= 0 ; 
9734   PyObject 
* obj1 
= 0 ; 
9735   char *  kwnames
[] = { 
9736     (char *) "self",(char *) "toRemove", NULL 
 
9739   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9740   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9741   if (!SWIG_IsOK(res1
)) { 
9742     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9744   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9746     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9747     if (!SWIG_IsOK(res2
)) { 
9748       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");  
9750     arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9753     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9754     result 
= (bool)(arg1
)->Unsplit(arg2
); 
9755     wxPyEndAllowThreads(__tstate
); 
9756     if (PyErr_Occurred()) SWIG_fail
; 
9759     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9767 SWIGINTERN PyObject 
*_wrap_SplitterWindow_ReplaceWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9768   PyObject 
*resultobj 
= 0; 
9769   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9770   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9771   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
9779   PyObject 
* obj0 
= 0 ; 
9780   PyObject 
* obj1 
= 0 ; 
9781   PyObject 
* obj2 
= 0 ; 
9782   char *  kwnames
[] = { 
9783     (char *) "self",(char *) "winOld",(char *) "winNew", NULL 
 
9786   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9787   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9788   if (!SWIG_IsOK(res1
)) { 
9789     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9791   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9792   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9793   if (!SWIG_IsOK(res2
)) { 
9794     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
9796   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9797   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9798   if (!SWIG_IsOK(res3
)) { 
9799     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");  
9801   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
9803     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9804     result 
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
); 
9805     wxPyEndAllowThreads(__tstate
); 
9806     if (PyErr_Occurred()) SWIG_fail
; 
9809     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9817 SWIGINTERN PyObject 
*_wrap_SplitterWindow_UpdateSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9818   PyObject 
*resultobj 
= 0; 
9819   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9822   PyObject 
*swig_obj
[1] ; 
9824   if (!args
) SWIG_fail
; 
9826   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9827   if (!SWIG_IsOK(res1
)) { 
9828     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9830   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9832     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9833     (arg1
)->UpdateSize(); 
9834     wxPyEndAllowThreads(__tstate
); 
9835     if (PyErr_Occurred()) SWIG_fail
; 
9837   resultobj 
= SWIG_Py_Void(); 
9844 SWIGINTERN PyObject 
*_wrap_SplitterWindow_IsSplit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9845   PyObject 
*resultobj 
= 0; 
9846   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9850   PyObject 
*swig_obj
[1] ; 
9852   if (!args
) SWIG_fail
; 
9854   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9855   if (!SWIG_IsOK(res1
)) { 
9856     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9858   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9860     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9861     result 
= (bool)((wxSplitterWindow 
const *)arg1
)->IsSplit(); 
9862     wxPyEndAllowThreads(__tstate
); 
9863     if (PyErr_Occurred()) SWIG_fail
; 
9866     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9874 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetSashSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9875   PyObject 
*resultobj 
= 0; 
9876   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9882   PyObject 
* obj0 
= 0 ; 
9883   PyObject 
* obj1 
= 0 ; 
9884   char *  kwnames
[] = { 
9885     (char *) "self",(char *) "width", NULL 
 
9888   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9889   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9890   if (!SWIG_IsOK(res1
)) { 
9891     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9893   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9894   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9895   if (!SWIG_IsOK(ecode2
)) { 
9896     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'"); 
9898   arg2 
= static_cast< int >(val2
); 
9900     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9901     (arg1
)->SetSashSize(arg2
); 
9902     wxPyEndAllowThreads(__tstate
); 
9903     if (PyErr_Occurred()) SWIG_fail
; 
9905   resultobj 
= SWIG_Py_Void(); 
9912 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9913   PyObject 
*resultobj 
= 0; 
9914   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9920   PyObject 
* obj0 
= 0 ; 
9921   PyObject 
* obj1 
= 0 ; 
9922   char *  kwnames
[] = { 
9923     (char *) "self",(char *) "width", NULL 
 
9926   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9927   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9928   if (!SWIG_IsOK(res1
)) { 
9929     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9931   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9932   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9933   if (!SWIG_IsOK(ecode2
)) { 
9934     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'"); 
9936   arg2 
= static_cast< int >(val2
); 
9938     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9939     (arg1
)->SetBorderSize(arg2
); 
9940     wxPyEndAllowThreads(__tstate
); 
9941     if (PyErr_Occurred()) SWIG_fail
; 
9943   resultobj 
= SWIG_Py_Void(); 
9950 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetSashSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9951   PyObject 
*resultobj 
= 0; 
9952   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9956   PyObject 
*swig_obj
[1] ; 
9958   if (!args
) SWIG_fail
; 
9960   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9961   if (!SWIG_IsOK(res1
)) { 
9962     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9964   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9966     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9967     result 
= (int)((wxSplitterWindow 
const *)arg1
)->GetSashSize(); 
9968     wxPyEndAllowThreads(__tstate
); 
9969     if (PyErr_Occurred()) SWIG_fail
; 
9971   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9978 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9979   PyObject 
*resultobj 
= 0; 
9980   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9984   PyObject 
*swig_obj
[1] ; 
9986   if (!args
) SWIG_fail
; 
9988   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9989   if (!SWIG_IsOK(res1
)) { 
9990     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9992   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9994     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9995     result 
= (int)((wxSplitterWindow 
const *)arg1
)->GetBorderSize(); 
9996     wxPyEndAllowThreads(__tstate
); 
9997     if (PyErr_Occurred()) SWIG_fail
; 
9999   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10006 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetSashPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10007   PyObject 
*resultobj 
= 0; 
10008   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10010   bool arg3 
= (bool) true ; 
10017   PyObject 
* obj0 
= 0 ; 
10018   PyObject 
* obj1 
= 0 ; 
10019   PyObject 
* obj2 
= 0 ; 
10020   char *  kwnames
[] = { 
10021     (char *) "self",(char *) "position",(char *) "redraw", NULL 
 
10024   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10025   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10026   if (!SWIG_IsOK(res1
)) { 
10027     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10029   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10030   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10031   if (!SWIG_IsOK(ecode2
)) { 
10032     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'"); 
10034   arg2 
= static_cast< int >(val2
); 
10036     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
10037     if (!SWIG_IsOK(ecode3
)) { 
10038       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'"); 
10040     arg3 
= static_cast< bool >(val3
); 
10043     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10044     (arg1
)->SetSashPosition(arg2
,arg3
); 
10045     wxPyEndAllowThreads(__tstate
); 
10046     if (PyErr_Occurred()) SWIG_fail
; 
10048   resultobj 
= SWIG_Py_Void(); 
10055 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetSashPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10056   PyObject 
*resultobj 
= 0; 
10057   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10061   PyObject 
*swig_obj
[1] ; 
10063   if (!args
) SWIG_fail
; 
10064   swig_obj
[0] = args
; 
10065   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10066   if (!SWIG_IsOK(res1
)) { 
10067     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10069   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10071     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10072     result 
= (int)((wxSplitterWindow 
const *)arg1
)->GetSashPosition(); 
10073     wxPyEndAllowThreads(__tstate
); 
10074     if (PyErr_Occurred()) SWIG_fail
; 
10076   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10083 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetSashGravity(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10084   PyObject 
*resultobj 
= 0; 
10085   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10091   PyObject 
* obj0 
= 0 ; 
10092   PyObject 
* obj1 
= 0 ; 
10093   char *  kwnames
[] = { 
10094     (char *) "self",(char *) "gravity", NULL 
 
10097   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10098   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10099   if (!SWIG_IsOK(res1
)) { 
10100     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10102   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10103   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
10104   if (!SWIG_IsOK(ecode2
)) { 
10105     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'"); 
10107   arg2 
= static_cast< double >(val2
); 
10109     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10110     (arg1
)->SetSashGravity(arg2
); 
10111     wxPyEndAllowThreads(__tstate
); 
10112     if (PyErr_Occurred()) SWIG_fail
; 
10114   resultobj 
= SWIG_Py_Void(); 
10121 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetSashGravity(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10122   PyObject 
*resultobj 
= 0; 
10123   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10127   PyObject 
*swig_obj
[1] ; 
10129   if (!args
) SWIG_fail
; 
10130   swig_obj
[0] = args
; 
10131   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10132   if (!SWIG_IsOK(res1
)) { 
10133     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10135   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10137     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10138     result 
= (double)((wxSplitterWindow 
const *)arg1
)->GetSashGravity(); 
10139     wxPyEndAllowThreads(__tstate
); 
10140     if (PyErr_Occurred()) SWIG_fail
; 
10142   resultobj 
= SWIG_From_double(static_cast< double >(result
)); 
10149 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10150   PyObject 
*resultobj 
= 0; 
10151   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10157   PyObject 
* obj0 
= 0 ; 
10158   PyObject 
* obj1 
= 0 ; 
10159   char *  kwnames
[] = { 
10160     (char *) "self",(char *) "min", NULL 
 
10163   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10164   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10165   if (!SWIG_IsOK(res1
)) { 
10166     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10168   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10169   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10170   if (!SWIG_IsOK(ecode2
)) { 
10171     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'"); 
10173   arg2 
= static_cast< int >(val2
); 
10175     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10176     (arg1
)->SetMinimumPaneSize(arg2
); 
10177     wxPyEndAllowThreads(__tstate
); 
10178     if (PyErr_Occurred()) SWIG_fail
; 
10180   resultobj 
= SWIG_Py_Void(); 
10187 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10188   PyObject 
*resultobj 
= 0; 
10189   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10193   PyObject 
*swig_obj
[1] ; 
10195   if (!args
) SWIG_fail
; 
10196   swig_obj
[0] = args
; 
10197   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10198   if (!SWIG_IsOK(res1
)) { 
10199     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10201   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10203     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10204     result 
= (int)((wxSplitterWindow 
const *)arg1
)->GetMinimumPaneSize(); 
10205     wxPyEndAllowThreads(__tstate
); 
10206     if (PyErr_Occurred()) SWIG_fail
; 
10208   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10215 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SashHitTest(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10216   PyObject 
*resultobj 
= 0; 
10217   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10220   int arg4 
= (int) 5 ; 
10230   PyObject 
* obj0 
= 0 ; 
10231   PyObject 
* obj1 
= 0 ; 
10232   PyObject 
* obj2 
= 0 ; 
10233   PyObject 
* obj3 
= 0 ; 
10234   char *  kwnames
[] = { 
10235     (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL 
 
10238   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
10239   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10240   if (!SWIG_IsOK(res1
)) { 
10241     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10243   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10244   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10245   if (!SWIG_IsOK(ecode2
)) { 
10246     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'"); 
10248   arg2 
= static_cast< int >(val2
); 
10249   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10250   if (!SWIG_IsOK(ecode3
)) { 
10251     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'"); 
10253   arg3 
= static_cast< int >(val3
); 
10255     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
10256     if (!SWIG_IsOK(ecode4
)) { 
10257       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'"); 
10259     arg4 
= static_cast< int >(val4
); 
10262     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10263     result 
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
); 
10264     wxPyEndAllowThreads(__tstate
); 
10265     if (PyErr_Occurred()) SWIG_fail
; 
10268     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10276 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SizeWindows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10277   PyObject 
*resultobj 
= 0; 
10278   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10281   PyObject 
*swig_obj
[1] ; 
10283   if (!args
) SWIG_fail
; 
10284   swig_obj
[0] = args
; 
10285   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10286   if (!SWIG_IsOK(res1
)) { 
10287     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10289   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10291     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10292     (arg1
)->SizeWindows(); 
10293     wxPyEndAllowThreads(__tstate
); 
10294     if (PyErr_Occurred()) SWIG_fail
; 
10296   resultobj 
= SWIG_Py_Void(); 
10303 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetNeedUpdating(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10304   PyObject 
*resultobj 
= 0; 
10305   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10311   PyObject 
* obj0 
= 0 ; 
10312   PyObject 
* obj1 
= 0 ; 
10313   char *  kwnames
[] = { 
10314     (char *) "self",(char *) "needUpdating", NULL 
 
10317   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10318   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10319   if (!SWIG_IsOK(res1
)) { 
10320     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10322   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10323   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
10324   if (!SWIG_IsOK(ecode2
)) { 
10325     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'"); 
10327   arg2 
= static_cast< bool >(val2
); 
10329     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10330     (arg1
)->SetNeedUpdating(arg2
); 
10331     wxPyEndAllowThreads(__tstate
); 
10332     if (PyErr_Occurred()) SWIG_fail
; 
10334   resultobj 
= SWIG_Py_Void(); 
10341 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetNeedUpdating(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10342   PyObject 
*resultobj 
= 0; 
10343   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10347   PyObject 
*swig_obj
[1] ; 
10349   if (!args
) SWIG_fail
; 
10350   swig_obj
[0] = args
; 
10351   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10352   if (!SWIG_IsOK(res1
)) { 
10353     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10355   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10357     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10358     result 
= (bool)((wxSplitterWindow 
const *)arg1
)->GetNeedUpdating(); 
10359     wxPyEndAllowThreads(__tstate
); 
10360     if (PyErr_Occurred()) SWIG_fail
; 
10363     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10371 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10372   PyObject 
*resultobj 
= 0; 
10373   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
10374   SwigValueWrapper
<wxVisualAttributes 
> result
; 
10377   PyObject 
* obj0 
= 0 ; 
10378   char *  kwnames
[] = { 
10379     (char *) "variant", NULL 
 
10382   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
10384     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
10385     if (!SWIG_IsOK(ecode1
)) { 
10386       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
10388     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
10391     if (!wxPyCheckForApp()) SWIG_fail
; 
10392     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10393     result 
= wxSplitterWindow::GetClassDefaultAttributes(arg1
); 
10394     wxPyEndAllowThreads(__tstate
); 
10395     if (PyErr_Occurred()) SWIG_fail
; 
10397   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
10404 SWIGINTERN PyObject 
*SplitterWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10406   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
10407   SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
)); 
10408   return SWIG_Py_Void(); 
10411 SWIGINTERN PyObject 
*SplitterWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10412   return SWIG_Python_InitShadowInstance(args
); 
10415 SWIGINTERN PyObject 
*_wrap_new_SplitterEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10416   PyObject 
*resultobj 
= 0; 
10417   wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
10418   wxSplitterWindow 
*arg2 
= (wxSplitterWindow 
*) (wxSplitterWindow 
*) NULL 
; 
10419   wxSplitterEvent 
*result 
= 0 ; 
10424   PyObject 
* obj0 
= 0 ; 
10425   PyObject 
* obj1 
= 0 ; 
10426   char *  kwnames
[] = { 
10427     (char *) "type",(char *) "splitter", NULL 
 
10430   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10432     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
10433     if (!SWIG_IsOK(ecode1
)) { 
10434       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'"); 
10436     arg1 
= static_cast< wxEventType 
>(val1
); 
10439     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10440     if (!SWIG_IsOK(res2
)) { 
10441       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");  
10443     arg2 
= reinterpret_cast< wxSplitterWindow 
* >(argp2
); 
10446     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10447     result 
= (wxSplitterEvent 
*)new wxSplitterEvent(arg1
,arg2
); 
10448     wxPyEndAllowThreads(__tstate
); 
10449     if (PyErr_Occurred()) SWIG_fail
; 
10451   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW 
|  0 ); 
10458 SWIGINTERN PyObject 
*_wrap_SplitterEvent_SetSashPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10459   PyObject 
*resultobj 
= 0; 
10460   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10466   PyObject 
* obj0 
= 0 ; 
10467   PyObject 
* obj1 
= 0 ; 
10468   char *  kwnames
[] = { 
10469     (char *) "self",(char *) "pos", NULL 
 
10472   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10473   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10474   if (!SWIG_IsOK(res1
)) { 
10475     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");  
10477   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10478   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10479   if (!SWIG_IsOK(ecode2
)) { 
10480     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'"); 
10482   arg2 
= static_cast< int >(val2
); 
10484     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10485     (arg1
)->SetSashPosition(arg2
); 
10486     wxPyEndAllowThreads(__tstate
); 
10487     if (PyErr_Occurred()) SWIG_fail
; 
10489   resultobj 
= SWIG_Py_Void(); 
10496 SWIGINTERN PyObject 
*_wrap_SplitterEvent_GetSashPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10497   PyObject 
*resultobj 
= 0; 
10498   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10502   PyObject 
*swig_obj
[1] ; 
10504   if (!args
) SWIG_fail
; 
10505   swig_obj
[0] = args
; 
10506   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10507   if (!SWIG_IsOK(res1
)) { 
10508     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");  
10510   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10512     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10513     result 
= (int)((wxSplitterEvent 
const *)arg1
)->GetSashPosition(); 
10514     wxPyEndAllowThreads(__tstate
); 
10515     if (PyErr_Occurred()) SWIG_fail
; 
10517   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10524 SWIGINTERN PyObject 
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10525   PyObject 
*resultobj 
= 0; 
10526   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10527   wxWindow 
*result 
= 0 ; 
10530   PyObject 
*swig_obj
[1] ; 
10532   if (!args
) SWIG_fail
; 
10533   swig_obj
[0] = args
; 
10534   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10535   if (!SWIG_IsOK(res1
)) { 
10536     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");  
10538   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10540     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10541     result 
= (wxWindow 
*)((wxSplitterEvent 
const *)arg1
)->GetWindowBeingRemoved(); 
10542     wxPyEndAllowThreads(__tstate
); 
10543     if (PyErr_Occurred()) SWIG_fail
; 
10546     resultobj 
= wxPyMake_wxObject(result
, 0);  
10554 SWIGINTERN PyObject 
*_wrap_SplitterEvent_GetX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10555   PyObject 
*resultobj 
= 0; 
10556   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10560   PyObject 
*swig_obj
[1] ; 
10562   if (!args
) SWIG_fail
; 
10563   swig_obj
[0] = args
; 
10564   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10565   if (!SWIG_IsOK(res1
)) { 
10566     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");  
10568   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10570     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10571     result 
= (int)((wxSplitterEvent 
const *)arg1
)->GetX(); 
10572     wxPyEndAllowThreads(__tstate
); 
10573     if (PyErr_Occurred()) SWIG_fail
; 
10575   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10582 SWIGINTERN PyObject 
*_wrap_SplitterEvent_GetY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10583   PyObject 
*resultobj 
= 0; 
10584   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10588   PyObject 
*swig_obj
[1] ; 
10590   if (!args
) SWIG_fail
; 
10591   swig_obj
[0] = args
; 
10592   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10593   if (!SWIG_IsOK(res1
)) { 
10594     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");  
10596   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10598     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10599     result 
= (int)((wxSplitterEvent 
const *)arg1
)->GetY(); 
10600     wxPyEndAllowThreads(__tstate
); 
10601     if (PyErr_Occurred()) SWIG_fail
; 
10603   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10610 SWIGINTERN PyObject 
*SplitterEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10612   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
10613   SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
)); 
10614   return SWIG_Py_Void(); 
10617 SWIGINTERN PyObject 
*SplitterEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10618   return SWIG_Python_InitShadowInstance(args
); 
10621 SWIGINTERN 
int SashNameStr_set(PyObject 
*) { 
10622   SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only."); 
10627 SWIGINTERN PyObject 
*SashNameStr_get(void) { 
10628   PyObject 
*pyobj 
= 0; 
10632     pyobj 
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len()); 
10634     pyobj 
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len()); 
10641 SWIGINTERN 
int SashLayoutNameStr_set(PyObject 
*) { 
10642   SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only."); 
10647 SWIGINTERN PyObject 
*SashLayoutNameStr_get(void) { 
10648   PyObject 
*pyobj 
= 0; 
10652     pyobj 
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len()); 
10654     pyobj 
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len()); 
10661 SWIGINTERN PyObject 
*_wrap_new_SashWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10662   PyObject 
*resultobj 
= 0; 
10663   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
10664   int arg2 
= (int) -1 ; 
10665   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
10666   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
10667   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
10668   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
10669   long arg5 
= (long) wxCLIP_CHILDREN
|wxSW_3D 
; 
10670   wxString 
const &arg6_defvalue 
= wxPySashNameStr 
; 
10671   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
10672   wxSashWindow 
*result 
= 0 ; 
10681   bool temp6 
= false ; 
10682   PyObject 
* obj0 
= 0 ; 
10683   PyObject 
* obj1 
= 0 ; 
10684   PyObject 
* obj2 
= 0 ; 
10685   PyObject 
* obj3 
= 0 ; 
10686   PyObject 
* obj4 
= 0 ; 
10687   PyObject 
* obj5 
= 0 ; 
10688   char *  kwnames
[] = { 
10689     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
10692   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
10693   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
10694   if (!SWIG_IsOK(res1
)) { 
10695     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
10697   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
10699     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10700     if (!SWIG_IsOK(ecode2
)) { 
10701       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'"); 
10703     arg2 
= static_cast< int >(val2
); 
10708       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
10714       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
10718     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
10719     if (!SWIG_IsOK(ecode5
)) { 
10720       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'"); 
10722     arg5 
= static_cast< long >(val5
); 
10726       arg6 
= wxString_in_helper(obj5
); 
10727       if (arg6 
== NULL
) SWIG_fail
; 
10732     if (!wxPyCheckForApp()) SWIG_fail
; 
10733     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10734     result 
= (wxSashWindow 
*)new wxSashWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
10735     wxPyEndAllowThreads(__tstate
); 
10736     if (PyErr_Occurred()) SWIG_fail
; 
10738   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW 
|  0 ); 
10753 SWIGINTERN PyObject 
*_wrap_new_PreSashWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10754   PyObject 
*resultobj 
= 0; 
10755   wxSashWindow 
*result 
= 0 ; 
10757   if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
; 
10759     if (!wxPyCheckForApp()) SWIG_fail
; 
10760     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10761     result 
= (wxSashWindow 
*)new wxSashWindow(); 
10762     wxPyEndAllowThreads(__tstate
); 
10763     if (PyErr_Occurred()) SWIG_fail
; 
10765   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN 
|  0 ); 
10772 SWIGINTERN PyObject 
*_wrap_SashWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10773   PyObject 
*resultobj 
= 0; 
10774   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
10775   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
10776   int arg3 
= (int) -1 ; 
10777   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
10778   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
10779   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
10780   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
10781   long arg6 
= (long) wxCLIP_CHILDREN
|wxSW_3D 
; 
10782   wxString 
const &arg7_defvalue 
= wxPySashNameStr 
; 
10783   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
10795   bool temp7 
= false ; 
10796   PyObject 
* obj0 
= 0 ; 
10797   PyObject 
* obj1 
= 0 ; 
10798   PyObject 
* obj2 
= 0 ; 
10799   PyObject 
* obj3 
= 0 ; 
10800   PyObject 
* obj4 
= 0 ; 
10801   PyObject 
* obj5 
= 0 ; 
10802   PyObject 
* obj6 
= 0 ; 
10803   char *  kwnames
[] = { 
10804     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
10807   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
10808   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
10809   if (!SWIG_IsOK(res1
)) { 
10810     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
10812   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
10813   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
10814   if (!SWIG_IsOK(res2
)) { 
10815     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
10817   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
10819     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10820     if (!SWIG_IsOK(ecode3
)) { 
10821       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
10823     arg3 
= static_cast< int >(val3
); 
10828       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
10834       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
10838     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
10839     if (!SWIG_IsOK(ecode6
)) { 
10840       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
10842     arg6 
= static_cast< long >(val6
); 
10846       arg7 
= wxString_in_helper(obj6
); 
10847       if (arg7 
== NULL
) SWIG_fail
; 
10852     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10853     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
10854     wxPyEndAllowThreads(__tstate
); 
10855     if (PyErr_Occurred()) SWIG_fail
; 
10858     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10874 SWIGINTERN PyObject 
*_wrap_SashWindow_SetSashVisible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10875   PyObject 
*resultobj 
= 0; 
10876   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
10877   wxSashEdgePosition arg2 
; 
10885   PyObject 
* obj0 
= 0 ; 
10886   PyObject 
* obj1 
= 0 ; 
10887   PyObject 
* obj2 
= 0 ; 
10888   char *  kwnames
[] = { 
10889     (char *) "self",(char *) "edge",(char *) "sash", NULL 
 
10892   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10893   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
10894   if (!SWIG_IsOK(res1
)) { 
10895     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
10897   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
10898   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10899   if (!SWIG_IsOK(ecode2
)) { 
10900     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
10902   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
10903   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
10904   if (!SWIG_IsOK(ecode3
)) { 
10905     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'"); 
10907   arg3 
= static_cast< bool >(val3
); 
10909     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10910     (arg1
)->SetSashVisible(arg2
,arg3
); 
10911     wxPyEndAllowThreads(__tstate
); 
10912     if (PyErr_Occurred()) SWIG_fail
; 
10914   resultobj 
= SWIG_Py_Void(); 
10921 SWIGINTERN PyObject 
*_wrap_SashWindow_GetSashVisible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10922   PyObject 
*resultobj 
= 0; 
10923   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
10924   wxSashEdgePosition arg2 
; 
10930   PyObject 
* obj0 
= 0 ; 
10931   PyObject 
* obj1 
= 0 ; 
10932   char *  kwnames
[] = { 
10933     (char *) "self",(char *) "edge", NULL 
 
10936   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10937   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
10938   if (!SWIG_IsOK(res1
)) { 
10939     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
10941   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
10942   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10943   if (!SWIG_IsOK(ecode2
)) { 
10944     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
10946   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
10948     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10949     result 
= (bool)((wxSashWindow 
const *)arg1
)->GetSashVisible(arg2
); 
10950     wxPyEndAllowThreads(__tstate
); 
10951     if (PyErr_Occurred()) SWIG_fail
; 
10954     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10962 SWIGINTERN PyObject 
*_wrap_SashWindow_SetSashBorder(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10963   PyObject 
*resultobj 
= 0; 
10964   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
10965   wxSashEdgePosition arg2 
; 
10973   PyObject 
* obj0 
= 0 ; 
10974   PyObject 
* obj1 
= 0 ; 
10975   PyObject 
* obj2 
= 0 ; 
10976   char *  kwnames
[] = { 
10977     (char *) "self",(char *) "edge",(char *) "border", NULL 
 
10980   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10981   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
10982   if (!SWIG_IsOK(res1
)) { 
10983     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
10985   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
10986   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10987   if (!SWIG_IsOK(ecode2
)) { 
10988     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
10990   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
10991   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
10992   if (!SWIG_IsOK(ecode3
)) { 
10993     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'"); 
10995   arg3 
= static_cast< bool >(val3
); 
10997     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10998     (arg1
)->SetSashBorder(arg2
,arg3
); 
10999     wxPyEndAllowThreads(__tstate
); 
11000     if (PyErr_Occurred()) SWIG_fail
; 
11002   resultobj 
= SWIG_Py_Void(); 
11009 SWIGINTERN PyObject 
*_wrap_SashWindow_HasBorder(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11010   PyObject 
*resultobj 
= 0; 
11011   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11012   wxSashEdgePosition arg2 
; 
11018   PyObject 
* obj0 
= 0 ; 
11019   PyObject 
* obj1 
= 0 ; 
11020   char *  kwnames
[] = { 
11021     (char *) "self",(char *) "edge", NULL 
 
11024   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11025   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11026   if (!SWIG_IsOK(res1
)) { 
11027     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11029   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11030   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11031   if (!SWIG_IsOK(ecode2
)) { 
11032     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
11034   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
11036     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11037     result 
= (bool)((wxSashWindow 
const *)arg1
)->HasBorder(arg2
); 
11038     wxPyEndAllowThreads(__tstate
); 
11039     if (PyErr_Occurred()) SWIG_fail
; 
11042     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11050 SWIGINTERN PyObject 
*_wrap_SashWindow_GetEdgeMargin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11051   PyObject 
*resultobj 
= 0; 
11052   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11053   wxSashEdgePosition arg2 
; 
11059   PyObject 
* obj0 
= 0 ; 
11060   PyObject 
* obj1 
= 0 ; 
11061   char *  kwnames
[] = { 
11062     (char *) "self",(char *) "edge", NULL 
 
11065   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11066   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11067   if (!SWIG_IsOK(res1
)) { 
11068     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11070   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11071   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11072   if (!SWIG_IsOK(ecode2
)) { 
11073     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
11075   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
11077     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11078     result 
= (int)((wxSashWindow 
const *)arg1
)->GetEdgeMargin(arg2
); 
11079     wxPyEndAllowThreads(__tstate
); 
11080     if (PyErr_Occurred()) SWIG_fail
; 
11082   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11089 SWIGINTERN PyObject 
*_wrap_SashWindow_SetDefaultBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11090   PyObject 
*resultobj 
= 0; 
11091   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11097   PyObject 
* obj0 
= 0 ; 
11098   PyObject 
* obj1 
= 0 ; 
11099   char *  kwnames
[] = { 
11100     (char *) "self",(char *) "width", NULL 
 
11103   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11104   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11105   if (!SWIG_IsOK(res1
)) { 
11106     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11108   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11109   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11110   if (!SWIG_IsOK(ecode2
)) { 
11111     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'"); 
11113   arg2 
= static_cast< int >(val2
); 
11115     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11116     (arg1
)->SetDefaultBorderSize(arg2
); 
11117     wxPyEndAllowThreads(__tstate
); 
11118     if (PyErr_Occurred()) SWIG_fail
; 
11120   resultobj 
= SWIG_Py_Void(); 
11127 SWIGINTERN PyObject 
*_wrap_SashWindow_GetDefaultBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11128   PyObject 
*resultobj 
= 0; 
11129   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11133   PyObject 
*swig_obj
[1] ; 
11135   if (!args
) SWIG_fail
; 
11136   swig_obj
[0] = args
; 
11137   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11138   if (!SWIG_IsOK(res1
)) { 
11139     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11141   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11143     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11144     result 
= (int)((wxSashWindow 
const *)arg1
)->GetDefaultBorderSize(); 
11145     wxPyEndAllowThreads(__tstate
); 
11146     if (PyErr_Occurred()) SWIG_fail
; 
11148   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11155 SWIGINTERN PyObject 
*_wrap_SashWindow_SetExtraBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11156   PyObject 
*resultobj 
= 0; 
11157   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11163   PyObject 
* obj0 
= 0 ; 
11164   PyObject 
* obj1 
= 0 ; 
11165   char *  kwnames
[] = { 
11166     (char *) "self",(char *) "width", NULL 
 
11169   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11170   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11171   if (!SWIG_IsOK(res1
)) { 
11172     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11174   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11175   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11176   if (!SWIG_IsOK(ecode2
)) { 
11177     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'"); 
11179   arg2 
= static_cast< int >(val2
); 
11181     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11182     (arg1
)->SetExtraBorderSize(arg2
); 
11183     wxPyEndAllowThreads(__tstate
); 
11184     if (PyErr_Occurred()) SWIG_fail
; 
11186   resultobj 
= SWIG_Py_Void(); 
11193 SWIGINTERN PyObject 
*_wrap_SashWindow_GetExtraBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11194   PyObject 
*resultobj 
= 0; 
11195   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11199   PyObject 
*swig_obj
[1] ; 
11201   if (!args
) SWIG_fail
; 
11202   swig_obj
[0] = args
; 
11203   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11204   if (!SWIG_IsOK(res1
)) { 
11205     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11207   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11209     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11210     result 
= (int)((wxSashWindow 
const *)arg1
)->GetExtraBorderSize(); 
11211     wxPyEndAllowThreads(__tstate
); 
11212     if (PyErr_Occurred()) SWIG_fail
; 
11214   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11221 SWIGINTERN PyObject 
*_wrap_SashWindow_SetMinimumSizeX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11222   PyObject 
*resultobj 
= 0; 
11223   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11229   PyObject 
* obj0 
= 0 ; 
11230   PyObject 
* obj1 
= 0 ; 
11231   char *  kwnames
[] = { 
11232     (char *) "self",(char *) "min", NULL 
 
11235   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11236   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11237   if (!SWIG_IsOK(res1
)) { 
11238     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11240   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11241   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11242   if (!SWIG_IsOK(ecode2
)) { 
11243     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'"); 
11245   arg2 
= static_cast< int >(val2
); 
11247     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11248     (arg1
)->SetMinimumSizeX(arg2
); 
11249     wxPyEndAllowThreads(__tstate
); 
11250     if (PyErr_Occurred()) SWIG_fail
; 
11252   resultobj 
= SWIG_Py_Void(); 
11259 SWIGINTERN PyObject 
*_wrap_SashWindow_SetMinimumSizeY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11260   PyObject 
*resultobj 
= 0; 
11261   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11267   PyObject 
* obj0 
= 0 ; 
11268   PyObject 
* obj1 
= 0 ; 
11269   char *  kwnames
[] = { 
11270     (char *) "self",(char *) "min", NULL 
 
11273   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11274   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11275   if (!SWIG_IsOK(res1
)) { 
11276     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11278   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11279   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11280   if (!SWIG_IsOK(ecode2
)) { 
11281     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'"); 
11283   arg2 
= static_cast< int >(val2
); 
11285     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11286     (arg1
)->SetMinimumSizeY(arg2
); 
11287     wxPyEndAllowThreads(__tstate
); 
11288     if (PyErr_Occurred()) SWIG_fail
; 
11290   resultobj 
= SWIG_Py_Void(); 
11297 SWIGINTERN PyObject 
*_wrap_SashWindow_GetMinimumSizeX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11298   PyObject 
*resultobj 
= 0; 
11299   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11303   PyObject 
*swig_obj
[1] ; 
11305   if (!args
) SWIG_fail
; 
11306   swig_obj
[0] = args
; 
11307   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11308   if (!SWIG_IsOK(res1
)) { 
11309     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11311   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11313     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11314     result 
= (int)((wxSashWindow 
const *)arg1
)->GetMinimumSizeX(); 
11315     wxPyEndAllowThreads(__tstate
); 
11316     if (PyErr_Occurred()) SWIG_fail
; 
11318   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11325 SWIGINTERN PyObject 
*_wrap_SashWindow_GetMinimumSizeY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11326   PyObject 
*resultobj 
= 0; 
11327   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11331   PyObject 
*swig_obj
[1] ; 
11333   if (!args
) SWIG_fail
; 
11334   swig_obj
[0] = args
; 
11335   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11336   if (!SWIG_IsOK(res1
)) { 
11337     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11339   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11341     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11342     result 
= (int)((wxSashWindow 
const *)arg1
)->GetMinimumSizeY(); 
11343     wxPyEndAllowThreads(__tstate
); 
11344     if (PyErr_Occurred()) SWIG_fail
; 
11346   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11353 SWIGINTERN PyObject 
*_wrap_SashWindow_SetMaximumSizeX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11354   PyObject 
*resultobj 
= 0; 
11355   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11361   PyObject 
* obj0 
= 0 ; 
11362   PyObject 
* obj1 
= 0 ; 
11363   char *  kwnames
[] = { 
11364     (char *) "self",(char *) "max", NULL 
 
11367   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11368   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11369   if (!SWIG_IsOK(res1
)) { 
11370     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11372   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11373   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11374   if (!SWIG_IsOK(ecode2
)) { 
11375     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'"); 
11377   arg2 
= static_cast< int >(val2
); 
11379     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11380     (arg1
)->SetMaximumSizeX(arg2
); 
11381     wxPyEndAllowThreads(__tstate
); 
11382     if (PyErr_Occurred()) SWIG_fail
; 
11384   resultobj 
= SWIG_Py_Void(); 
11391 SWIGINTERN PyObject 
*_wrap_SashWindow_SetMaximumSizeY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11392   PyObject 
*resultobj 
= 0; 
11393   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11399   PyObject 
* obj0 
= 0 ; 
11400   PyObject 
* obj1 
= 0 ; 
11401   char *  kwnames
[] = { 
11402     (char *) "self",(char *) "max", NULL 
 
11405   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11406   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11407   if (!SWIG_IsOK(res1
)) { 
11408     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11410   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11411   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11412   if (!SWIG_IsOK(ecode2
)) { 
11413     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'"); 
11415   arg2 
= static_cast< int >(val2
); 
11417     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11418     (arg1
)->SetMaximumSizeY(arg2
); 
11419     wxPyEndAllowThreads(__tstate
); 
11420     if (PyErr_Occurred()) SWIG_fail
; 
11422   resultobj 
= SWIG_Py_Void(); 
11429 SWIGINTERN PyObject 
*_wrap_SashWindow_GetMaximumSizeX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11430   PyObject 
*resultobj 
= 0; 
11431   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11435   PyObject 
*swig_obj
[1] ; 
11437   if (!args
) SWIG_fail
; 
11438   swig_obj
[0] = args
; 
11439   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11440   if (!SWIG_IsOK(res1
)) { 
11441     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11443   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11445     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11446     result 
= (int)((wxSashWindow 
const *)arg1
)->GetMaximumSizeX(); 
11447     wxPyEndAllowThreads(__tstate
); 
11448     if (PyErr_Occurred()) SWIG_fail
; 
11450   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11457 SWIGINTERN PyObject 
*_wrap_SashWindow_GetMaximumSizeY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11458   PyObject 
*resultobj 
= 0; 
11459   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11463   PyObject 
*swig_obj
[1] ; 
11465   if (!args
) SWIG_fail
; 
11466   swig_obj
[0] = args
; 
11467   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11468   if (!SWIG_IsOK(res1
)) { 
11469     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11471   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11473     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11474     result 
= (int)((wxSashWindow 
const *)arg1
)->GetMaximumSizeY(); 
11475     wxPyEndAllowThreads(__tstate
); 
11476     if (PyErr_Occurred()) SWIG_fail
; 
11478   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11485 SWIGINTERN PyObject 
*_wrap_SashWindow_SashHitTest(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11486   PyObject 
*resultobj 
= 0; 
11487   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11490   int arg4 
= (int) 2 ; 
11491   wxSashEdgePosition result
; 
11500   PyObject 
* obj0 
= 0 ; 
11501   PyObject 
* obj1 
= 0 ; 
11502   PyObject 
* obj2 
= 0 ; 
11503   PyObject 
* obj3 
= 0 ; 
11504   char *  kwnames
[] = { 
11505     (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL 
 
11508   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
11509   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11510   if (!SWIG_IsOK(res1
)) { 
11511     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11513   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11514   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11515   if (!SWIG_IsOK(ecode2
)) { 
11516     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'"); 
11518   arg2 
= static_cast< int >(val2
); 
11519   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11520   if (!SWIG_IsOK(ecode3
)) { 
11521     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'"); 
11523   arg3 
= static_cast< int >(val3
); 
11525     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
11526     if (!SWIG_IsOK(ecode4
)) { 
11527       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'"); 
11529     arg4 
= static_cast< int >(val4
); 
11532     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11533     result 
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
); 
11534     wxPyEndAllowThreads(__tstate
); 
11535     if (PyErr_Occurred()) SWIG_fail
; 
11537   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11544 SWIGINTERN PyObject 
*_wrap_SashWindow_SizeWindows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11545   PyObject 
*resultobj 
= 0; 
11546   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11549   PyObject 
*swig_obj
[1] ; 
11551   if (!args
) SWIG_fail
; 
11552   swig_obj
[0] = args
; 
11553   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11554   if (!SWIG_IsOK(res1
)) { 
11555     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11557   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11559     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11560     (arg1
)->SizeWindows(); 
11561     wxPyEndAllowThreads(__tstate
); 
11562     if (PyErr_Occurred()) SWIG_fail
; 
11564   resultobj 
= SWIG_Py_Void(); 
11571 SWIGINTERN PyObject 
*SashWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11573   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11574   SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
)); 
11575   return SWIG_Py_Void(); 
11578 SWIGINTERN PyObject 
*SashWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11579   return SWIG_Python_InitShadowInstance(args
); 
11582 SWIGINTERN PyObject 
*_wrap_new_SashEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11583   PyObject 
*resultobj 
= 0; 
11584   int arg1 
= (int) 0 ; 
11585   wxSashEdgePosition arg2 
= (wxSashEdgePosition
) wxSASH_NONE 
; 
11586   wxSashEvent 
*result 
= 0 ; 
11591   PyObject 
* obj0 
= 0 ; 
11592   PyObject 
* obj1 
= 0 ; 
11593   char *  kwnames
[] = { 
11594     (char *) "id",(char *) "edge", NULL 
 
11597   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11599     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
11600     if (!SWIG_IsOK(ecode1
)) { 
11601       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'"); 
11603     arg1 
= static_cast< int >(val1
); 
11606     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11607     if (!SWIG_IsOK(ecode2
)) { 
11608       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
11610     arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
11613     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11614     result 
= (wxSashEvent 
*)new wxSashEvent(arg1
,arg2
); 
11615     wxPyEndAllowThreads(__tstate
); 
11616     if (PyErr_Occurred()) SWIG_fail
; 
11618   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW 
|  0 ); 
11625 SWIGINTERN PyObject 
*_wrap_SashEvent_SetEdge(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11626   PyObject 
*resultobj 
= 0; 
11627   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11628   wxSashEdgePosition arg2 
; 
11633   PyObject 
* obj0 
= 0 ; 
11634   PyObject 
* obj1 
= 0 ; 
11635   char *  kwnames
[] = { 
11636     (char *) "self",(char *) "edge", NULL 
 
11639   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11640   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11641   if (!SWIG_IsOK(res1
)) { 
11642     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");  
11644   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11645   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11646   if (!SWIG_IsOK(ecode2
)) { 
11647     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
11649   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
11651     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11652     (arg1
)->SetEdge(arg2
); 
11653     wxPyEndAllowThreads(__tstate
); 
11654     if (PyErr_Occurred()) SWIG_fail
; 
11656   resultobj 
= SWIG_Py_Void(); 
11663 SWIGINTERN PyObject 
*_wrap_SashEvent_GetEdge(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11664   PyObject 
*resultobj 
= 0; 
11665   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11666   wxSashEdgePosition result
; 
11669   PyObject 
*swig_obj
[1] ; 
11671   if (!args
) SWIG_fail
; 
11672   swig_obj
[0] = args
; 
11673   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11674   if (!SWIG_IsOK(res1
)) { 
11675     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");  
11677   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11679     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11680     result 
= (wxSashEdgePosition
)((wxSashEvent 
const *)arg1
)->GetEdge(); 
11681     wxPyEndAllowThreads(__tstate
); 
11682     if (PyErr_Occurred()) SWIG_fail
; 
11684   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11691 SWIGINTERN PyObject 
*_wrap_SashEvent_SetDragRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11692   PyObject 
*resultobj 
= 0; 
11693   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11698   PyObject 
* obj0 
= 0 ; 
11699   PyObject 
* obj1 
= 0 ; 
11700   char *  kwnames
[] = { 
11701     (char *) "self",(char *) "rect", NULL 
 
11704   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11705   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11706   if (!SWIG_IsOK(res1
)) { 
11707     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");  
11709   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11712     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
11715     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11716     (arg1
)->SetDragRect((wxRect 
const &)*arg2
); 
11717     wxPyEndAllowThreads(__tstate
); 
11718     if (PyErr_Occurred()) SWIG_fail
; 
11720   resultobj 
= SWIG_Py_Void(); 
11727 SWIGINTERN PyObject 
*_wrap_SashEvent_GetDragRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11728   PyObject 
*resultobj 
= 0; 
11729   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11733   PyObject 
*swig_obj
[1] ; 
11735   if (!args
) SWIG_fail
; 
11736   swig_obj
[0] = args
; 
11737   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11738   if (!SWIG_IsOK(res1
)) { 
11739     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");  
11741   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11743     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11744     result 
= ((wxSashEvent 
const *)arg1
)->GetDragRect(); 
11745     wxPyEndAllowThreads(__tstate
); 
11746     if (PyErr_Occurred()) SWIG_fail
; 
11748   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
11755 SWIGINTERN PyObject 
*_wrap_SashEvent_SetDragStatus(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11756   PyObject 
*resultobj 
= 0; 
11757   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11758   wxSashDragStatus arg2 
; 
11763   PyObject 
* obj0 
= 0 ; 
11764   PyObject 
* obj1 
= 0 ; 
11765   char *  kwnames
[] = { 
11766     (char *) "self",(char *) "status", NULL 
 
11769   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11770   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11771   if (!SWIG_IsOK(res1
)) { 
11772     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");  
11774   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11775   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11776   if (!SWIG_IsOK(ecode2
)) { 
11777     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'"); 
11779   arg2 
= static_cast< wxSashDragStatus 
>(val2
); 
11781     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11782     (arg1
)->SetDragStatus(arg2
); 
11783     wxPyEndAllowThreads(__tstate
); 
11784     if (PyErr_Occurred()) SWIG_fail
; 
11786   resultobj 
= SWIG_Py_Void(); 
11793 SWIGINTERN PyObject 
*_wrap_SashEvent_GetDragStatus(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11794   PyObject 
*resultobj 
= 0; 
11795   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11796   wxSashDragStatus result
; 
11799   PyObject 
*swig_obj
[1] ; 
11801   if (!args
) SWIG_fail
; 
11802   swig_obj
[0] = args
; 
11803   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11804   if (!SWIG_IsOK(res1
)) { 
11805     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");  
11807   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11809     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11810     result 
= (wxSashDragStatus
)((wxSashEvent 
const *)arg1
)->GetDragStatus(); 
11811     wxPyEndAllowThreads(__tstate
); 
11812     if (PyErr_Occurred()) SWIG_fail
; 
11814   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11821 SWIGINTERN PyObject 
*SashEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11823   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11824   SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
)); 
11825   return SWIG_Py_Void(); 
11828 SWIGINTERN PyObject 
*SashEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11829   return SWIG_Python_InitShadowInstance(args
); 
11832 SWIGINTERN PyObject 
*_wrap_new_QueryLayoutInfoEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11833   PyObject 
*resultobj 
= 0; 
11834   int arg1 
= (int) 0 ; 
11835   wxQueryLayoutInfoEvent 
*result 
= 0 ; 
11838   PyObject 
* obj0 
= 0 ; 
11839   char *  kwnames
[] = { 
11840     (char *) "id", NULL 
 
11843   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
; 
11845     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
11846     if (!SWIG_IsOK(ecode1
)) { 
11847       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'"); 
11849     arg1 
= static_cast< int >(val1
); 
11852     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11853     result 
= (wxQueryLayoutInfoEvent 
*)new wxQueryLayoutInfoEvent(arg1
); 
11854     wxPyEndAllowThreads(__tstate
); 
11855     if (PyErr_Occurred()) SWIG_fail
; 
11857   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW 
|  0 ); 
11864 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11865   PyObject 
*resultobj 
= 0; 
11866   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
11872   PyObject 
* obj0 
= 0 ; 
11873   PyObject 
* obj1 
= 0 ; 
11874   char *  kwnames
[] = { 
11875     (char *) "self",(char *) "length", NULL 
 
11878   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11879   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
11880   if (!SWIG_IsOK(res1
)) { 
11881     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
11883   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
11884   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11885   if (!SWIG_IsOK(ecode2
)) { 
11886     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'"); 
11888   arg2 
= static_cast< int >(val2
); 
11890     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11891     (arg1
)->SetRequestedLength(arg2
); 
11892     wxPyEndAllowThreads(__tstate
); 
11893     if (PyErr_Occurred()) SWIG_fail
; 
11895   resultobj 
= SWIG_Py_Void(); 
11902 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11903   PyObject 
*resultobj 
= 0; 
11904   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
11908   PyObject 
*swig_obj
[1] ; 
11910   if (!args
) SWIG_fail
; 
11911   swig_obj
[0] = args
; 
11912   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
11913   if (!SWIG_IsOK(res1
)) { 
11914     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
11916   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
11918     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11919     result 
= (int)((wxQueryLayoutInfoEvent 
const *)arg1
)->GetRequestedLength(); 
11920     wxPyEndAllowThreads(__tstate
); 
11921     if (PyErr_Occurred()) SWIG_fail
; 
11923   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11930 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11931   PyObject 
*resultobj 
= 0; 
11932   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
11938   PyObject 
* obj0 
= 0 ; 
11939   PyObject 
* obj1 
= 0 ; 
11940   char *  kwnames
[] = { 
11941     (char *) "self",(char *) "flags", NULL 
 
11944   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11945   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
11946   if (!SWIG_IsOK(res1
)) { 
11947     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
11949   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
11950   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11951   if (!SWIG_IsOK(ecode2
)) { 
11952     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
11954   arg2 
= static_cast< int >(val2
); 
11956     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11957     (arg1
)->SetFlags(arg2
); 
11958     wxPyEndAllowThreads(__tstate
); 
11959     if (PyErr_Occurred()) SWIG_fail
; 
11961   resultobj 
= SWIG_Py_Void(); 
11968 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11969   PyObject 
*resultobj 
= 0; 
11970   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
11974   PyObject 
*swig_obj
[1] ; 
11976   if (!args
) SWIG_fail
; 
11977   swig_obj
[0] = args
; 
11978   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
11979   if (!SWIG_IsOK(res1
)) { 
11980     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
11982   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
11984     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11985     result 
= (int)((wxQueryLayoutInfoEvent 
const *)arg1
)->GetFlags(); 
11986     wxPyEndAllowThreads(__tstate
); 
11987     if (PyErr_Occurred()) SWIG_fail
; 
11989   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11996 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11997   PyObject 
*resultobj 
= 0; 
11998   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12003   PyObject 
* obj0 
= 0 ; 
12004   PyObject 
* obj1 
= 0 ; 
12005   char *  kwnames
[] = { 
12006     (char *) "self",(char *) "size", NULL 
 
12009   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12010   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12011   if (!SWIG_IsOK(res1
)) { 
12012     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
12014   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12017     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
12020     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12021     (arg1
)->SetSize((wxSize 
const &)*arg2
); 
12022     wxPyEndAllowThreads(__tstate
); 
12023     if (PyErr_Occurred()) SWIG_fail
; 
12025   resultobj 
= SWIG_Py_Void(); 
12032 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12033   PyObject 
*resultobj 
= 0; 
12034   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12038   PyObject 
*swig_obj
[1] ; 
12040   if (!args
) SWIG_fail
; 
12041   swig_obj
[0] = args
; 
12042   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12043   if (!SWIG_IsOK(res1
)) { 
12044     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
12046   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12048     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12049     result 
= ((wxQueryLayoutInfoEvent 
const *)arg1
)->GetSize(); 
12050     wxPyEndAllowThreads(__tstate
); 
12051     if (PyErr_Occurred()) SWIG_fail
; 
12053   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
12060 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12061   PyObject 
*resultobj 
= 0; 
12062   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12063   wxLayoutOrientation arg2 
; 
12068   PyObject 
* obj0 
= 0 ; 
12069   PyObject 
* obj1 
= 0 ; 
12070   char *  kwnames
[] = { 
12071     (char *) "self",(char *) "orient", NULL 
 
12074   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12075   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12076   if (!SWIG_IsOK(res1
)) { 
12077     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
12079   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12080   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12081   if (!SWIG_IsOK(ecode2
)) { 
12082     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'"); 
12084   arg2 
= static_cast< wxLayoutOrientation 
>(val2
); 
12086     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12087     (arg1
)->SetOrientation(arg2
); 
12088     wxPyEndAllowThreads(__tstate
); 
12089     if (PyErr_Occurred()) SWIG_fail
; 
12091   resultobj 
= SWIG_Py_Void(); 
12098 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12099   PyObject 
*resultobj 
= 0; 
12100   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12101   wxLayoutOrientation result
; 
12104   PyObject 
*swig_obj
[1] ; 
12106   if (!args
) SWIG_fail
; 
12107   swig_obj
[0] = args
; 
12108   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12109   if (!SWIG_IsOK(res1
)) { 
12110     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
12112   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12114     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12115     result 
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent 
const *)arg1
)->GetOrientation(); 
12116     wxPyEndAllowThreads(__tstate
); 
12117     if (PyErr_Occurred()) SWIG_fail
; 
12119   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12126 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12127   PyObject 
*resultobj 
= 0; 
12128   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12129   wxLayoutAlignment arg2 
; 
12134   PyObject 
* obj0 
= 0 ; 
12135   PyObject 
* obj1 
= 0 ; 
12136   char *  kwnames
[] = { 
12137     (char *) "self",(char *) "align", NULL 
 
12140   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12141   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12142   if (!SWIG_IsOK(res1
)) { 
12143     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
12145   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12146   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12147   if (!SWIG_IsOK(ecode2
)) { 
12148     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'"); 
12150   arg2 
= static_cast< wxLayoutAlignment 
>(val2
); 
12152     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12153     (arg1
)->SetAlignment(arg2
); 
12154     wxPyEndAllowThreads(__tstate
); 
12155     if (PyErr_Occurred()) SWIG_fail
; 
12157   resultobj 
= SWIG_Py_Void(); 
12164 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12165   PyObject 
*resultobj 
= 0; 
12166   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12167   wxLayoutAlignment result
; 
12170   PyObject 
*swig_obj
[1] ; 
12172   if (!args
) SWIG_fail
; 
12173   swig_obj
[0] = args
; 
12174   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12175   if (!SWIG_IsOK(res1
)) { 
12176     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
12178   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12180     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12181     result 
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent 
const *)arg1
)->GetAlignment(); 
12182     wxPyEndAllowThreads(__tstate
); 
12183     if (PyErr_Occurred()) SWIG_fail
; 
12185   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12192 SWIGINTERN PyObject 
*QueryLayoutInfoEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12194   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12195   SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
)); 
12196   return SWIG_Py_Void(); 
12199 SWIGINTERN PyObject 
*QueryLayoutInfoEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12200   return SWIG_Python_InitShadowInstance(args
); 
12203 SWIGINTERN PyObject 
*_wrap_new_CalculateLayoutEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12204   PyObject 
*resultobj 
= 0; 
12205   int arg1 
= (int) 0 ; 
12206   wxCalculateLayoutEvent 
*result 
= 0 ; 
12209   PyObject 
* obj0 
= 0 ; 
12210   char *  kwnames
[] = { 
12211     (char *) "id", NULL 
 
12214   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
; 
12216     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
12217     if (!SWIG_IsOK(ecode1
)) { 
12218       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'"); 
12220     arg1 
= static_cast< int >(val1
); 
12223     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12224     result 
= (wxCalculateLayoutEvent 
*)new wxCalculateLayoutEvent(arg1
); 
12225     wxPyEndAllowThreads(__tstate
); 
12226     if (PyErr_Occurred()) SWIG_fail
; 
12228   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW 
|  0 ); 
12235 SWIGINTERN PyObject 
*_wrap_CalculateLayoutEvent_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12236   PyObject 
*resultobj 
= 0; 
12237   wxCalculateLayoutEvent 
*arg1 
= (wxCalculateLayoutEvent 
*) 0 ; 
12243   PyObject 
* obj0 
= 0 ; 
12244   PyObject 
* obj1 
= 0 ; 
12245   char *  kwnames
[] = { 
12246     (char *) "self",(char *) "flags", NULL 
 
12249   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12250   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 |  0 ); 
12251   if (!SWIG_IsOK(res1
)) { 
12252     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");  
12254   arg1 
= reinterpret_cast< wxCalculateLayoutEvent 
* >(argp1
); 
12255   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12256   if (!SWIG_IsOK(ecode2
)) { 
12257     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
12259   arg2 
= static_cast< int >(val2
); 
12261     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12262     (arg1
)->SetFlags(arg2
); 
12263     wxPyEndAllowThreads(__tstate
); 
12264     if (PyErr_Occurred()) SWIG_fail
; 
12266   resultobj 
= SWIG_Py_Void(); 
12273 SWIGINTERN PyObject 
*_wrap_CalculateLayoutEvent_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12274   PyObject 
*resultobj 
= 0; 
12275   wxCalculateLayoutEvent 
*arg1 
= (wxCalculateLayoutEvent 
*) 0 ; 
12279   PyObject 
*swig_obj
[1] ; 
12281   if (!args
) SWIG_fail
; 
12282   swig_obj
[0] = args
; 
12283   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 |  0 ); 
12284   if (!SWIG_IsOK(res1
)) { 
12285     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");  
12287   arg1 
= reinterpret_cast< wxCalculateLayoutEvent 
* >(argp1
); 
12289     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12290     result 
= (int)((wxCalculateLayoutEvent 
const *)arg1
)->GetFlags(); 
12291     wxPyEndAllowThreads(__tstate
); 
12292     if (PyErr_Occurred()) SWIG_fail
; 
12294   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12301 SWIGINTERN PyObject 
*_wrap_CalculateLayoutEvent_SetRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12302   PyObject 
*resultobj 
= 0; 
12303   wxCalculateLayoutEvent 
*arg1 
= (wxCalculateLayoutEvent 
*) 0 ; 
12308   PyObject 
* obj0 
= 0 ; 
12309   PyObject 
* obj1 
= 0 ; 
12310   char *  kwnames
[] = { 
12311     (char *) "self",(char *) "rect", NULL 
 
12314   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12315   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 |  0 ); 
12316   if (!SWIG_IsOK(res1
)) { 
12317     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");  
12319   arg1 
= reinterpret_cast< wxCalculateLayoutEvent 
* >(argp1
); 
12322     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
12325     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12326     (arg1
)->SetRect((wxRect 
const &)*arg2
); 
12327     wxPyEndAllowThreads(__tstate
); 
12328     if (PyErr_Occurred()) SWIG_fail
; 
12330   resultobj 
= SWIG_Py_Void(); 
12337 SWIGINTERN PyObject 
*_wrap_CalculateLayoutEvent_GetRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12338   PyObject 
*resultobj 
= 0; 
12339   wxCalculateLayoutEvent 
*arg1 
= (wxCalculateLayoutEvent 
*) 0 ; 
12343   PyObject 
*swig_obj
[1] ; 
12345   if (!args
) SWIG_fail
; 
12346   swig_obj
[0] = args
; 
12347   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 |  0 ); 
12348   if (!SWIG_IsOK(res1
)) { 
12349     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");  
12351   arg1 
= reinterpret_cast< wxCalculateLayoutEvent 
* >(argp1
); 
12353     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12354     result 
= ((wxCalculateLayoutEvent 
const *)arg1
)->GetRect(); 
12355     wxPyEndAllowThreads(__tstate
); 
12356     if (PyErr_Occurred()) SWIG_fail
; 
12358   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
12365 SWIGINTERN PyObject 
*CalculateLayoutEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12367   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12368   SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
)); 
12369   return SWIG_Py_Void(); 
12372 SWIGINTERN PyObject 
*CalculateLayoutEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12373   return SWIG_Python_InitShadowInstance(args
); 
12376 SWIGINTERN PyObject 
*_wrap_new_SashLayoutWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12377   PyObject 
*resultobj 
= 0; 
12378   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
12379   int arg2 
= (int) -1 ; 
12380   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
12381   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
12382   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
12383   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
12384   long arg5 
= (long) wxCLIP_CHILDREN
|wxSW_3D 
; 
12385   wxString 
const &arg6_defvalue 
= wxPySashLayoutNameStr 
; 
12386   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
12387   wxSashLayoutWindow 
*result 
= 0 ; 
12396   bool temp6 
= false ; 
12397   PyObject 
* obj0 
= 0 ; 
12398   PyObject 
* obj1 
= 0 ; 
12399   PyObject 
* obj2 
= 0 ; 
12400   PyObject 
* obj3 
= 0 ; 
12401   PyObject 
* obj4 
= 0 ; 
12402   PyObject 
* obj5 
= 0 ; 
12403   char *  kwnames
[] = { 
12404     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
12407   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
12408   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
12409   if (!SWIG_IsOK(res1
)) { 
12410     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
12412   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
12414     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12415     if (!SWIG_IsOK(ecode2
)) { 
12416       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'"); 
12418     arg2 
= static_cast< int >(val2
); 
12423       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12429       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
12433     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
12434     if (!SWIG_IsOK(ecode5
)) { 
12435       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'"); 
12437     arg5 
= static_cast< long >(val5
); 
12441       arg6 
= wxString_in_helper(obj5
); 
12442       if (arg6 
== NULL
) SWIG_fail
; 
12447     if (!wxPyCheckForApp()) SWIG_fail
; 
12448     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12449     result 
= (wxSashLayoutWindow 
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
12450     wxPyEndAllowThreads(__tstate
); 
12451     if (PyErr_Occurred()) SWIG_fail
; 
12453   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW 
|  0 ); 
12468 SWIGINTERN PyObject 
*_wrap_new_PreSashLayoutWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12469   PyObject 
*resultobj 
= 0; 
12470   wxSashLayoutWindow 
*result 
= 0 ; 
12472   if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
; 
12474     if (!wxPyCheckForApp()) SWIG_fail
; 
12475     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12476     result 
= (wxSashLayoutWindow 
*)new wxSashLayoutWindow(); 
12477     wxPyEndAllowThreads(__tstate
); 
12478     if (PyErr_Occurred()) SWIG_fail
; 
12480   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN 
|  0 ); 
12487 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12488   PyObject 
*resultobj 
= 0; 
12489   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12490   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
12491   int arg3 
= (int) -1 ; 
12492   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
12493   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
12494   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
12495   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
12496   long arg6 
= (long) wxCLIP_CHILDREN
|wxSW_3D 
; 
12497   wxString 
const &arg7_defvalue 
= wxPySashLayoutNameStr 
; 
12498   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
12510   bool temp7 
= false ; 
12511   PyObject 
* obj0 
= 0 ; 
12512   PyObject 
* obj1 
= 0 ; 
12513   PyObject 
* obj2 
= 0 ; 
12514   PyObject 
* obj3 
= 0 ; 
12515   PyObject 
* obj4 
= 0 ; 
12516   PyObject 
* obj5 
= 0 ; 
12517   PyObject 
* obj6 
= 0 ; 
12518   char *  kwnames
[] = { 
12519     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
12522   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
12523   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12524   if (!SWIG_IsOK(res1
)) { 
12525     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12527   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12528   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
12529   if (!SWIG_IsOK(res2
)) { 
12530     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
12532   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
12534     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
12535     if (!SWIG_IsOK(ecode3
)) { 
12536       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
12538     arg3 
= static_cast< int >(val3
); 
12543       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
12549       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
12553     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
12554     if (!SWIG_IsOK(ecode6
)) { 
12555       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
12557     arg6 
= static_cast< long >(val6
); 
12561       arg7 
= wxString_in_helper(obj6
); 
12562       if (arg7 
== NULL
) SWIG_fail
; 
12567     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12568     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
12569     wxPyEndAllowThreads(__tstate
); 
12570     if (PyErr_Occurred()) SWIG_fail
; 
12573     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12589 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_GetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12590   PyObject 
*resultobj 
= 0; 
12591   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12592   wxLayoutAlignment result
; 
12595   PyObject 
*swig_obj
[1] ; 
12597   if (!args
) SWIG_fail
; 
12598   swig_obj
[0] = args
; 
12599   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12600   if (!SWIG_IsOK(res1
)) { 
12601     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12603   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12605     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12606     result 
= (wxLayoutAlignment
)(arg1
)->GetAlignment(); 
12607     wxPyEndAllowThreads(__tstate
); 
12608     if (PyErr_Occurred()) SWIG_fail
; 
12610   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12617 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_GetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12618   PyObject 
*resultobj 
= 0; 
12619   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12620   wxLayoutOrientation result
; 
12623   PyObject 
*swig_obj
[1] ; 
12625   if (!args
) SWIG_fail
; 
12626   swig_obj
[0] = args
; 
12627   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12628   if (!SWIG_IsOK(res1
)) { 
12629     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12631   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12633     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12634     result 
= (wxLayoutOrientation
)(arg1
)->GetOrientation(); 
12635     wxPyEndAllowThreads(__tstate
); 
12636     if (PyErr_Occurred()) SWIG_fail
; 
12638   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12645 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_SetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12646   PyObject 
*resultobj 
= 0; 
12647   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12648   wxLayoutAlignment arg2 
; 
12653   PyObject 
* obj0 
= 0 ; 
12654   PyObject 
* obj1 
= 0 ; 
12655   char *  kwnames
[] = { 
12656     (char *) "self",(char *) "alignment", NULL 
 
12659   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12660   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12661   if (!SWIG_IsOK(res1
)) { 
12662     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12664   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12665   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12666   if (!SWIG_IsOK(ecode2
)) { 
12667     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'"); 
12669   arg2 
= static_cast< wxLayoutAlignment 
>(val2
); 
12671     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12672     (arg1
)->SetAlignment(arg2
); 
12673     wxPyEndAllowThreads(__tstate
); 
12674     if (PyErr_Occurred()) SWIG_fail
; 
12676   resultobj 
= SWIG_Py_Void(); 
12683 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12684   PyObject 
*resultobj 
= 0; 
12685   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12690   PyObject 
* obj0 
= 0 ; 
12691   PyObject 
* obj1 
= 0 ; 
12692   char *  kwnames
[] = { 
12693     (char *) "self",(char *) "size", NULL 
 
12696   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12697   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12698   if (!SWIG_IsOK(res1
)) { 
12699     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12701   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12704     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
12707     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12708     (arg1
)->SetDefaultSize((wxSize 
const &)*arg2
); 
12709     wxPyEndAllowThreads(__tstate
); 
12710     if (PyErr_Occurred()) SWIG_fail
; 
12712   resultobj 
= SWIG_Py_Void(); 
12719 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_SetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12720   PyObject 
*resultobj 
= 0; 
12721   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12722   wxLayoutOrientation arg2 
; 
12727   PyObject 
* obj0 
= 0 ; 
12728   PyObject 
* obj1 
= 0 ; 
12729   char *  kwnames
[] = { 
12730     (char *) "self",(char *) "orientation", NULL 
 
12733   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12734   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12735   if (!SWIG_IsOK(res1
)) { 
12736     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12738   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12739   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12740   if (!SWIG_IsOK(ecode2
)) { 
12741     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'"); 
12743   arg2 
= static_cast< wxLayoutOrientation 
>(val2
); 
12745     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12746     (arg1
)->SetOrientation(arg2
); 
12747     wxPyEndAllowThreads(__tstate
); 
12748     if (PyErr_Occurred()) SWIG_fail
; 
12750   resultobj 
= SWIG_Py_Void(); 
12757 SWIGINTERN PyObject 
*SashLayoutWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12759   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12760   SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
)); 
12761   return SWIG_Py_Void(); 
12764 SWIGINTERN PyObject 
*SashLayoutWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12765   return SWIG_Python_InitShadowInstance(args
); 
12768 SWIGINTERN PyObject 
*_wrap_new_LayoutAlgorithm(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12769   PyObject 
*resultobj 
= 0; 
12770   wxLayoutAlgorithm 
*result 
= 0 ; 
12772   if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
; 
12774     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12775     result 
= (wxLayoutAlgorithm 
*)new wxLayoutAlgorithm(); 
12776     wxPyEndAllowThreads(__tstate
); 
12777     if (PyErr_Occurred()) SWIG_fail
; 
12779   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW 
|  0 ); 
12786 SWIGINTERN PyObject 
*_wrap_delete_LayoutAlgorithm(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12787   PyObject 
*resultobj 
= 0; 
12788   wxLayoutAlgorithm 
*arg1 
= (wxLayoutAlgorithm 
*) 0 ; 
12791   PyObject 
*swig_obj
[1] ; 
12793   if (!args
) SWIG_fail
; 
12794   swig_obj
[0] = args
; 
12795   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN 
|  0 ); 
12796   if (!SWIG_IsOK(res1
)) { 
12797     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");  
12799   arg1 
= reinterpret_cast< wxLayoutAlgorithm 
* >(argp1
); 
12801     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12804     wxPyEndAllowThreads(__tstate
); 
12805     if (PyErr_Occurred()) SWIG_fail
; 
12807   resultobj 
= SWIG_Py_Void(); 
12814 SWIGINTERN PyObject 
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12815   PyObject 
*resultobj 
= 0; 
12816   wxLayoutAlgorithm 
*arg1 
= (wxLayoutAlgorithm 
*) 0 ; 
12817   wxMDIParentFrame 
*arg2 
= (wxMDIParentFrame 
*) 0 ; 
12818   wxRect 
*arg3 
= (wxRect 
*) NULL 
; 
12826   PyObject 
* obj0 
= 0 ; 
12827   PyObject 
* obj1 
= 0 ; 
12828   PyObject 
* obj2 
= 0 ; 
12829   char *  kwnames
[] = { 
12830     (char *) "self",(char *) "frame",(char *) "rect", NULL 
 
12833   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12834   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 |  0 ); 
12835   if (!SWIG_IsOK(res1
)) { 
12836     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");  
12838   arg1 
= reinterpret_cast< wxLayoutAlgorithm 
* >(argp1
); 
12839   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
12840   if (!SWIG_IsOK(res2
)) { 
12841     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");  
12843   arg2 
= reinterpret_cast< wxMDIParentFrame 
* >(argp2
); 
12845     res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 |  0 ); 
12846     if (!SWIG_IsOK(res3
)) { 
12847       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");  
12849     arg3 
= reinterpret_cast< wxRect 
* >(argp3
); 
12852     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12853     result 
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
); 
12854     wxPyEndAllowThreads(__tstate
); 
12855     if (PyErr_Occurred()) SWIG_fail
; 
12858     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12866 SWIGINTERN PyObject 
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12867   PyObject 
*resultobj 
= 0; 
12868   wxLayoutAlgorithm 
*arg1 
= (wxLayoutAlgorithm 
*) 0 ; 
12869   wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
12870   wxWindow 
*arg3 
= (wxWindow 
*) NULL 
; 
12878   PyObject 
* obj0 
= 0 ; 
12879   PyObject 
* obj1 
= 0 ; 
12880   PyObject 
* obj2 
= 0 ; 
12881   char *  kwnames
[] = { 
12882     (char *) "self",(char *) "frame",(char *) "mainWindow", NULL 
 
12885   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12886   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 |  0 ); 
12887   if (!SWIG_IsOK(res1
)) { 
12888     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");  
12890   arg1 
= reinterpret_cast< wxLayoutAlgorithm 
* >(argp1
); 
12891   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
12892   if (!SWIG_IsOK(res2
)) { 
12893     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");  
12895   arg2 
= reinterpret_cast< wxFrame 
* >(argp2
); 
12897     res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
12898     if (!SWIG_IsOK(res3
)) { 
12899       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");  
12901     arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
12904     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12905     result 
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
); 
12906     wxPyEndAllowThreads(__tstate
); 
12907     if (PyErr_Occurred()) SWIG_fail
; 
12910     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12918 SWIGINTERN PyObject 
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12919   PyObject 
*resultobj 
= 0; 
12920   wxLayoutAlgorithm 
*arg1 
= (wxLayoutAlgorithm 
*) 0 ; 
12921   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
12922   wxWindow 
*arg3 
= (wxWindow 
*) NULL 
; 
12930   PyObject 
* obj0 
= 0 ; 
12931   PyObject 
* obj1 
= 0 ; 
12932   PyObject 
* obj2 
= 0 ; 
12933   char *  kwnames
[] = { 
12934     (char *) "self",(char *) "parent",(char *) "mainWindow", NULL 
 
12937   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
12938   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 |  0 ); 
12939   if (!SWIG_IsOK(res1
)) { 
12940     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");  
12942   arg1 
= reinterpret_cast< wxLayoutAlgorithm 
* >(argp1
); 
12943   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
12944   if (!SWIG_IsOK(res2
)) { 
12945     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
12947   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
12949     res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
12950     if (!SWIG_IsOK(res3
)) { 
12951       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");  
12953     arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
12956     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12957     result 
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
); 
12958     wxPyEndAllowThreads(__tstate
); 
12959     if (PyErr_Occurred()) SWIG_fail
; 
12962     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12970 SWIGINTERN PyObject 
*LayoutAlgorithm_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12972   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12973   SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
)); 
12974   return SWIG_Py_Void(); 
12977 SWIGINTERN PyObject 
*LayoutAlgorithm_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12978   return SWIG_Python_InitShadowInstance(args
); 
12981 SWIGINTERN PyObject 
*_wrap_new_PopupWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12982   PyObject 
*resultobj 
= 0; 
12983   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
12984   int arg2 
= (int) wxBORDER_NONE 
; 
12985   wxPopupWindow 
*result 
= 0 ; 
12990   PyObject 
* obj0 
= 0 ; 
12991   PyObject 
* obj1 
= 0 ; 
12992   char *  kwnames
[] = { 
12993     (char *) "parent",(char *) "flags", NULL 
 
12996   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12997   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
12998   if (!SWIG_IsOK(res1
)) { 
12999     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
13001   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
13003     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13004     if (!SWIG_IsOK(ecode2
)) { 
13005       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'"); 
13007     arg2 
= static_cast< int >(val2
); 
13010     if (!wxPyCheckForApp()) SWIG_fail
; 
13011     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13012     result 
= (wxPopupWindow 
*)new wxPopupWindow(arg1
,arg2
); 
13013     wxPyEndAllowThreads(__tstate
); 
13014     if (PyErr_Occurred()) SWIG_fail
; 
13016   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW 
|  0 ); 
13023 SWIGINTERN PyObject 
*_wrap_new_PrePopupWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13024   PyObject 
*resultobj 
= 0; 
13025   wxPopupWindow 
*result 
= 0 ; 
13027   if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
; 
13029     if (!wxPyCheckForApp()) SWIG_fail
; 
13030     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13031     result 
= (wxPopupWindow 
*)new wxPopupWindow(); 
13032     wxPyEndAllowThreads(__tstate
); 
13033     if (PyErr_Occurred()) SWIG_fail
; 
13035   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN 
|  0 ); 
13042 SWIGINTERN PyObject 
*_wrap_PopupWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13043   PyObject 
*resultobj 
= 0; 
13044   wxPopupWindow 
*arg1 
= (wxPopupWindow 
*) 0 ; 
13045   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
13046   int arg3 
= (int) wxBORDER_NONE 
; 
13054   PyObject 
* obj0 
= 0 ; 
13055   PyObject 
* obj1 
= 0 ; 
13056   PyObject 
* obj2 
= 0 ; 
13057   char *  kwnames
[] = { 
13058     (char *) "self",(char *) "parent",(char *) "flags", NULL 
 
13061   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13062   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 |  0 ); 
13063   if (!SWIG_IsOK(res1
)) { 
13064     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");  
13066   arg1 
= reinterpret_cast< wxPopupWindow 
* >(argp1
); 
13067   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13068   if (!SWIG_IsOK(res2
)) { 
13069     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
13071   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
13073     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13074     if (!SWIG_IsOK(ecode3
)) { 
13075       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
13077     arg3 
= static_cast< int >(val3
); 
13080     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13081     result 
= (bool)(arg1
)->Create(arg2
,arg3
); 
13082     wxPyEndAllowThreads(__tstate
); 
13083     if (PyErr_Occurred()) SWIG_fail
; 
13086     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13094 SWIGINTERN PyObject 
*_wrap_PopupWindow_Position(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13095   PyObject 
*resultobj 
= 0; 
13096   wxPopupWindow 
*arg1 
= (wxPopupWindow 
*) 0 ; 
13097   wxPoint 
*arg2 
= 0 ; 
13103   PyObject 
* obj0 
= 0 ; 
13104   PyObject 
* obj1 
= 0 ; 
13105   PyObject 
* obj2 
= 0 ; 
13106   char *  kwnames
[] = { 
13107     (char *) "self",(char *) "ptOrigin",(char *) "size", NULL 
 
13110   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13111   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 |  0 ); 
13112   if (!SWIG_IsOK(res1
)) { 
13113     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");  
13115   arg1 
= reinterpret_cast< wxPopupWindow 
* >(argp1
); 
13118     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13122     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
13125     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13126     (arg1
)->Position((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
13127     wxPyEndAllowThreads(__tstate
); 
13128     if (PyErr_Occurred()) SWIG_fail
; 
13130   resultobj 
= SWIG_Py_Void(); 
13137 SWIGINTERN PyObject 
*PopupWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13139   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
13140   SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
)); 
13141   return SWIG_Py_Void(); 
13144 SWIGINTERN PyObject 
*PopupWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13145   return SWIG_Python_InitShadowInstance(args
); 
13148 SWIGINTERN PyObject 
*_wrap_new_PopupTransientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13149   PyObject 
*resultobj 
= 0; 
13150   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
13151   int arg2 
= (int) wxBORDER_NONE 
; 
13152   wxPyPopupTransientWindow 
*result 
= 0 ; 
13157   PyObject 
* obj0 
= 0 ; 
13158   PyObject 
* obj1 
= 0 ; 
13159   char *  kwnames
[] = { 
13160     (char *) "parent",(char *) "style", NULL 
 
13163   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13164   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13165   if (!SWIG_IsOK(res1
)) { 
13166     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
13168   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
13170     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13171     if (!SWIG_IsOK(ecode2
)) { 
13172       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'"); 
13174     arg2 
= static_cast< int >(val2
); 
13177     if (!wxPyCheckForApp()) SWIG_fail
; 
13178     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13179     result 
= (wxPyPopupTransientWindow 
*)new wxPyPopupTransientWindow(arg1
,arg2
); 
13180     wxPyEndAllowThreads(__tstate
); 
13181     if (PyErr_Occurred()) SWIG_fail
; 
13183   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW 
|  0 ); 
13190 SWIGINTERN PyObject 
*_wrap_new_PrePopupTransientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13191   PyObject 
*resultobj 
= 0; 
13192   wxPyPopupTransientWindow 
*result 
= 0 ; 
13194   if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
; 
13196     if (!wxPyCheckForApp()) SWIG_fail
; 
13197     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13198     result 
= (wxPyPopupTransientWindow 
*)new wxPyPopupTransientWindow(); 
13199     wxPyEndAllowThreads(__tstate
); 
13200     if (PyErr_Occurred()) SWIG_fail
; 
13202   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN 
|  0 ); 
13209 SWIGINTERN PyObject 
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13210   PyObject 
*resultobj 
= 0; 
13211   wxPyPopupTransientWindow 
*arg1 
= (wxPyPopupTransientWindow 
*) 0 ; 
13212   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
13213   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
13216   PyObject 
* obj0 
= 0 ; 
13217   PyObject 
* obj1 
= 0 ; 
13218   PyObject 
* obj2 
= 0 ; 
13219   char *  kwnames
[] = { 
13220     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
13223   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13224   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 |  0 ); 
13225   if (!SWIG_IsOK(res1
)) { 
13226     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");  
13228   arg1 
= reinterpret_cast< wxPyPopupTransientWindow 
* >(argp1
); 
13232     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13233     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
13234     wxPyEndAllowThreads(__tstate
); 
13235     if (PyErr_Occurred()) SWIG_fail
; 
13237   resultobj 
= SWIG_Py_Void(); 
13244 SWIGINTERN PyObject 
*_wrap_PopupTransientWindow_Popup(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13245   PyObject 
*resultobj 
= 0; 
13246   wxPyPopupTransientWindow 
*arg1 
= (wxPyPopupTransientWindow 
*) 0 ; 
13247   wxWindow 
*arg2 
= (wxWindow 
*) NULL 
; 
13252   PyObject 
* obj0 
= 0 ; 
13253   PyObject 
* obj1 
= 0 ; 
13254   char *  kwnames
[] = { 
13255     (char *) "self",(char *) "focus", NULL 
 
13258   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13259   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 |  0 ); 
13260   if (!SWIG_IsOK(res1
)) { 
13261     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");  
13263   arg1 
= reinterpret_cast< wxPyPopupTransientWindow 
* >(argp1
); 
13265     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13266     if (!SWIG_IsOK(res2
)) { 
13267       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");  
13269     arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
13272     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13273     (arg1
)->Popup(arg2
); 
13274     wxPyEndAllowThreads(__tstate
); 
13275     if (PyErr_Occurred()) SWIG_fail
; 
13277   resultobj 
= SWIG_Py_Void(); 
13284 SWIGINTERN PyObject 
*_wrap_PopupTransientWindow_Dismiss(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13285   PyObject 
*resultobj 
= 0; 
13286   wxPyPopupTransientWindow 
*arg1 
= (wxPyPopupTransientWindow 
*) 0 ; 
13289   PyObject 
*swig_obj
[1] ; 
13291   if (!args
) SWIG_fail
; 
13292   swig_obj
[0] = args
; 
13293   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 |  0 ); 
13294   if (!SWIG_IsOK(res1
)) { 
13295     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");  
13297   arg1 
= reinterpret_cast< wxPyPopupTransientWindow 
* >(argp1
); 
13299     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13301     wxPyEndAllowThreads(__tstate
); 
13302     if (PyErr_Occurred()) SWIG_fail
; 
13304   resultobj 
= SWIG_Py_Void(); 
13311 SWIGINTERN PyObject 
*PopupTransientWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13313   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
13314   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
)); 
13315   return SWIG_Py_Void(); 
13318 SWIGINTERN PyObject 
*PopupTransientWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13319   return SWIG_Python_InitShadowInstance(args
); 
13322 SWIGINTERN PyObject 
*_wrap_new_TipWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13323   PyObject 
*resultobj 
= 0; 
13324   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
13325   wxString 
*arg2 
= 0 ; 
13326   int arg3 
= (int) 100 ; 
13327   wxRect 
*arg4 
= (wxRect 
*) NULL 
; 
13328   wxTipWindow 
*result 
= 0 ; 
13331   bool temp2 
= false ; 
13336   PyObject 
* obj0 
= 0 ; 
13337   PyObject 
* obj1 
= 0 ; 
13338   PyObject 
* obj2 
= 0 ; 
13339   PyObject 
* obj3 
= 0 ; 
13340   char *  kwnames
[] = { 
13341     (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL 
 
13344   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
13345   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13346   if (!SWIG_IsOK(res1
)) { 
13347     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
13349   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
13351     arg2 
= wxString_in_helper(obj1
); 
13352     if (arg2 
== NULL
) SWIG_fail
; 
13356     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13357     if (!SWIG_IsOK(ecode3
)) { 
13358       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'"); 
13360     arg3 
= static_cast< int >(val3
); 
13363     res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 |  0 ); 
13364     if (!SWIG_IsOK(res4
)) { 
13365       SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");  
13367     arg4 
= reinterpret_cast< wxRect 
* >(argp4
); 
13370     if (!wxPyCheckForApp()) SWIG_fail
; 
13371     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13372     result 
= (wxTipWindow 
*)new_wxTipWindow(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
); 
13373     wxPyEndAllowThreads(__tstate
); 
13374     if (PyErr_Occurred()) SWIG_fail
; 
13376   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW 
|  0 ); 
13391 SWIGINTERN PyObject 
*_wrap_TipWindow_SetBoundingRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13392   PyObject 
*resultobj 
= 0; 
13393   wxTipWindow 
*arg1 
= (wxTipWindow 
*) 0 ; 
13398   PyObject 
* obj0 
= 0 ; 
13399   PyObject 
* obj1 
= 0 ; 
13400   char *  kwnames
[] = { 
13401     (char *) "self",(char *) "rectBound", NULL 
 
13404   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13405   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 |  0 ); 
13406   if (!SWIG_IsOK(res1
)) { 
13407     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");  
13409   arg1 
= reinterpret_cast< wxTipWindow 
* >(argp1
); 
13412     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
13415     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13416     (arg1
)->SetBoundingRect((wxRect 
const &)*arg2
); 
13417     wxPyEndAllowThreads(__tstate
); 
13418     if (PyErr_Occurred()) SWIG_fail
; 
13420   resultobj 
= SWIG_Py_Void(); 
13427 SWIGINTERN PyObject 
*_wrap_TipWindow_Close(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13428   PyObject 
*resultobj 
= 0; 
13429   wxTipWindow 
*arg1 
= (wxTipWindow 
*) 0 ; 
13432   PyObject 
*swig_obj
[1] ; 
13434   if (!args
) SWIG_fail
; 
13435   swig_obj
[0] = args
; 
13436   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 |  0 ); 
13437   if (!SWIG_IsOK(res1
)) { 
13438     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");  
13440   arg1 
= reinterpret_cast< wxTipWindow 
* >(argp1
); 
13442     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13444     wxPyEndAllowThreads(__tstate
); 
13445     if (PyErr_Occurred()) SWIG_fail
; 
13447   resultobj 
= SWIG_Py_Void(); 
13454 SWIGINTERN PyObject 
*TipWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13456   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
13457   SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
)); 
13458   return SWIG_Py_Void(); 
13461 SWIGINTERN PyObject 
*TipWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13462   return SWIG_Python_InitShadowInstance(args
); 
13465 SWIGINTERN PyObject 
*_wrap_new_VScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13466   PyObject 
*resultobj 
= 0; 
13467   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
13468   int arg2 
= (int) wxID_ANY 
; 
13469   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
13470   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
13471   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
13472   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
13473   long arg5 
= (long) 0 ; 
13474   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
13475   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
13476   wxPyVScrolledWindow 
*result 
= 0 ; 
13485   bool temp6 
= false ; 
13486   PyObject 
* obj0 
= 0 ; 
13487   PyObject 
* obj1 
= 0 ; 
13488   PyObject 
* obj2 
= 0 ; 
13489   PyObject 
* obj3 
= 0 ; 
13490   PyObject 
* obj4 
= 0 ; 
13491   PyObject 
* obj5 
= 0 ; 
13492   char *  kwnames
[] = { 
13493     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
13496   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
13497   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13498   if (!SWIG_IsOK(res1
)) { 
13499     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
13501   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
13503     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13504     if (!SWIG_IsOK(ecode2
)) { 
13505       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'"); 
13507     arg2 
= static_cast< int >(val2
); 
13512       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
13518       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
13522     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
13523     if (!SWIG_IsOK(ecode5
)) { 
13524       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'"); 
13526     arg5 
= static_cast< long >(val5
); 
13530       arg6 
= wxString_in_helper(obj5
); 
13531       if (arg6 
== NULL
) SWIG_fail
; 
13536     if (!wxPyCheckForApp()) SWIG_fail
; 
13537     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13538     result 
= (wxPyVScrolledWindow 
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
13539     wxPyEndAllowThreads(__tstate
); 
13540     if (PyErr_Occurred()) SWIG_fail
; 
13542   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW 
|  0 ); 
13557 SWIGINTERN PyObject 
*_wrap_new_PreVScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13558   PyObject 
*resultobj 
= 0; 
13559   wxPyVScrolledWindow 
*result 
= 0 ; 
13561   if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
; 
13563     if (!wxPyCheckForApp()) SWIG_fail
; 
13564     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13565     result 
= (wxPyVScrolledWindow 
*)new wxPyVScrolledWindow(); 
13566     wxPyEndAllowThreads(__tstate
); 
13567     if (PyErr_Occurred()) SWIG_fail
; 
13569   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN 
|  0 ); 
13576 SWIGINTERN PyObject 
*_wrap_VScrolledWindow__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13577   PyObject 
*resultobj 
= 0; 
13578   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13579   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
13580   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
13583   PyObject 
* obj0 
= 0 ; 
13584   PyObject 
* obj1 
= 0 ; 
13585   PyObject 
* obj2 
= 0 ; 
13586   char *  kwnames
[] = { 
13587     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
13590   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13591   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13592   if (!SWIG_IsOK(res1
)) { 
13593     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13595   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13599     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13600     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
13601     wxPyEndAllowThreads(__tstate
); 
13602     if (PyErr_Occurred()) SWIG_fail
; 
13604   resultobj 
= SWIG_Py_Void(); 
13611 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13612   PyObject 
*resultobj 
= 0; 
13613   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13614   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
13615   int arg3 
= (int) wxID_ANY 
; 
13616   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
13617   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
13618   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
13619   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
13620   long arg6 
= (long) 0 ; 
13621   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
13622   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
13634   bool temp7 
= false ; 
13635   PyObject 
* obj0 
= 0 ; 
13636   PyObject 
* obj1 
= 0 ; 
13637   PyObject 
* obj2 
= 0 ; 
13638   PyObject 
* obj3 
= 0 ; 
13639   PyObject 
* obj4 
= 0 ; 
13640   PyObject 
* obj5 
= 0 ; 
13641   PyObject 
* obj6 
= 0 ; 
13642   char *  kwnames
[] = { 
13643     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
13646   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
13647   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13648   if (!SWIG_IsOK(res1
)) { 
13649     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13651   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13652   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13653   if (!SWIG_IsOK(res2
)) { 
13654     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
13656   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
13658     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13659     if (!SWIG_IsOK(ecode3
)) { 
13660       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
13662     arg3 
= static_cast< int >(val3
); 
13667       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
13673       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
13677     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
13678     if (!SWIG_IsOK(ecode6
)) { 
13679       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
13681     arg6 
= static_cast< long >(val6
); 
13685       arg7 
= wxString_in_helper(obj6
); 
13686       if (arg7 
== NULL
) SWIG_fail
; 
13691     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13692     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
13693     wxPyEndAllowThreads(__tstate
); 
13694     if (PyErr_Occurred()) SWIG_fail
; 
13697     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13713 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_SetLineCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13714   PyObject 
*resultobj 
= 0; 
13715   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13721   PyObject 
* obj0 
= 0 ; 
13722   PyObject 
* obj1 
= 0 ; 
13723   char *  kwnames
[] = { 
13724     (char *) "self",(char *) "count", NULL 
 
13727   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13728   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13729   if (!SWIG_IsOK(res1
)) { 
13730     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13732   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13733   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
13734   if (!SWIG_IsOK(ecode2
)) { 
13735     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'"); 
13737   arg2 
= static_cast< size_t >(val2
); 
13739     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13740     (arg1
)->SetLineCount(arg2
); 
13741     wxPyEndAllowThreads(__tstate
); 
13742     if (PyErr_Occurred()) SWIG_fail
; 
13744   resultobj 
= SWIG_Py_Void(); 
13751 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_ScrollToLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13752   PyObject 
*resultobj 
= 0; 
13753   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13760   PyObject 
* obj0 
= 0 ; 
13761   PyObject 
* obj1 
= 0 ; 
13762   char *  kwnames
[] = { 
13763     (char *) "self",(char *) "line", NULL 
 
13766   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13767   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13768   if (!SWIG_IsOK(res1
)) { 
13769     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13771   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13772   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
13773   if (!SWIG_IsOK(ecode2
)) { 
13774     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'"); 
13776   arg2 
= static_cast< size_t >(val2
); 
13778     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13779     result 
= (bool)(arg1
)->ScrollToLine(arg2
); 
13780     wxPyEndAllowThreads(__tstate
); 
13781     if (PyErr_Occurred()) SWIG_fail
; 
13784     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13792 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_RefreshLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13793   PyObject 
*resultobj 
= 0; 
13794   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13800   PyObject 
* obj0 
= 0 ; 
13801   PyObject 
* obj1 
= 0 ; 
13802   char *  kwnames
[] = { 
13803     (char *) "self",(char *) "line", NULL 
 
13806   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13807   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13808   if (!SWIG_IsOK(res1
)) { 
13809     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13811   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13812   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
13813   if (!SWIG_IsOK(ecode2
)) { 
13814     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'"); 
13816   arg2 
= static_cast< size_t >(val2
); 
13818     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13819     (arg1
)->RefreshLine(arg2
); 
13820     wxPyEndAllowThreads(__tstate
); 
13821     if (PyErr_Occurred()) SWIG_fail
; 
13823   resultobj 
= SWIG_Py_Void(); 
13830 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_RefreshLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13831   PyObject 
*resultobj 
= 0; 
13832   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13841   PyObject 
* obj0 
= 0 ; 
13842   PyObject 
* obj1 
= 0 ; 
13843   PyObject 
* obj2 
= 0 ; 
13844   char *  kwnames
[] = { 
13845     (char *) "self",(char *) "from",(char *) "to", NULL 
 
13848   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13849   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13850   if (!SWIG_IsOK(res1
)) { 
13851     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13853   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13854   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
13855   if (!SWIG_IsOK(ecode2
)) { 
13856     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'"); 
13858   arg2 
= static_cast< size_t >(val2
); 
13859   ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
13860   if (!SWIG_IsOK(ecode3
)) { 
13861     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'"); 
13863   arg3 
= static_cast< size_t >(val3
); 
13865     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13866     (arg1
)->RefreshLines(arg2
,arg3
); 
13867     wxPyEndAllowThreads(__tstate
); 
13868     if (PyErr_Occurred()) SWIG_fail
; 
13870   resultobj 
= SWIG_Py_Void(); 
13877 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_HitTestXY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13878   PyObject 
*resultobj 
= 0; 
13879   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13889   PyObject 
* obj0 
= 0 ; 
13890   PyObject 
* obj1 
= 0 ; 
13891   PyObject 
* obj2 
= 0 ; 
13892   char *  kwnames
[] = { 
13893     (char *) "self",(char *) "x",(char *) "y", NULL 
 
13896   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13897   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13898   if (!SWIG_IsOK(res1
)) { 
13899     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
13901   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13902   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13903   if (!SWIG_IsOK(ecode2
)) { 
13904     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'"); 
13906   arg2 
= static_cast< int >(val2
); 
13907   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13908   if (!SWIG_IsOK(ecode3
)) { 
13909     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'"); 
13911   arg3 
= static_cast< int >(val3
); 
13913     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13914     result 
= (int)((wxPyVScrolledWindow 
const *)arg1
)->HitTest(arg2
,arg3
); 
13915     wxPyEndAllowThreads(__tstate
); 
13916     if (PyErr_Occurred()) SWIG_fail
; 
13918   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13925 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_HitTest(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13926   PyObject 
*resultobj 
= 0; 
13927   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13928   wxPoint 
*arg2 
= 0 ; 
13933   PyObject 
* obj0 
= 0 ; 
13934   PyObject 
* obj1 
= 0 ; 
13935   char *  kwnames
[] = { 
13936     (char *) "self",(char *) "pt", NULL 
 
13939   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13940   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13941   if (!SWIG_IsOK(res1
)) { 
13942     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
13944   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13947     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13950     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13951     result 
= (int)((wxPyVScrolledWindow 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
); 
13952     wxPyEndAllowThreads(__tstate
); 
13953     if (PyErr_Occurred()) SWIG_fail
; 
13955   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
13962 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_RefreshAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13963   PyObject 
*resultobj 
= 0; 
13964   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13967   PyObject 
*swig_obj
[1] ; 
13969   if (!args
) SWIG_fail
; 
13970   swig_obj
[0] = args
; 
13971   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13972   if (!SWIG_IsOK(res1
)) { 
13973     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13975   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13977     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13978     (arg1
)->RefreshAll(); 
13979     wxPyEndAllowThreads(__tstate
); 
13980     if (PyErr_Occurred()) SWIG_fail
; 
13982   resultobj 
= SWIG_Py_Void(); 
13989 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetLineCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13990   PyObject 
*resultobj 
= 0; 
13991   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13995   PyObject 
*swig_obj
[1] ; 
13997   if (!args
) SWIG_fail
; 
13998   swig_obj
[0] = args
; 
13999   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14000   if (!SWIG_IsOK(res1
)) { 
14001     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14003   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14005     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14006     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetLineCount(); 
14007     wxPyEndAllowThreads(__tstate
); 
14008     if (PyErr_Occurred()) SWIG_fail
; 
14010   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14017 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14018   PyObject 
*resultobj 
= 0; 
14019   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14023   PyObject 
*swig_obj
[1] ; 
14025   if (!args
) SWIG_fail
; 
14026   swig_obj
[0] = args
; 
14027   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14028   if (!SWIG_IsOK(res1
)) { 
14029     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14031   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14033     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14034     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetVisibleBegin(); 
14035     wxPyEndAllowThreads(__tstate
); 
14036     if (PyErr_Occurred()) SWIG_fail
; 
14038   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14045 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14046   PyObject 
*resultobj 
= 0; 
14047   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14051   PyObject 
*swig_obj
[1] ; 
14053   if (!args
) SWIG_fail
; 
14054   swig_obj
[0] = args
; 
14055   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14056   if (!SWIG_IsOK(res1
)) { 
14057     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14059   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14061     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14062     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetVisibleEnd(); 
14063     wxPyEndAllowThreads(__tstate
); 
14064     if (PyErr_Occurred()) SWIG_fail
; 
14066   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14073 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_IsVisible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14074   PyObject 
*resultobj 
= 0; 
14075   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14082   PyObject 
* obj0 
= 0 ; 
14083   PyObject 
* obj1 
= 0 ; 
14084   char *  kwnames
[] = { 
14085     (char *) "self",(char *) "line", NULL 
 
14088   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14089   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14090   if (!SWIG_IsOK(res1
)) { 
14091     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14093   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14094   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14095   if (!SWIG_IsOK(ecode2
)) { 
14096     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'"); 
14098   arg2 
= static_cast< size_t >(val2
); 
14100     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14101     result 
= (bool)((wxPyVScrolledWindow 
const *)arg1
)->IsVisible(arg2
); 
14102     wxPyEndAllowThreads(__tstate
); 
14103     if (PyErr_Occurred()) SWIG_fail
; 
14106     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14114 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14115   PyObject 
*resultobj 
= 0; 
14116   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14120   PyObject 
*swig_obj
[1] ; 
14122   if (!args
) SWIG_fail
; 
14123   swig_obj
[0] = args
; 
14124   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14125   if (!SWIG_IsOK(res1
)) { 
14126     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14128   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14130     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14131     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetFirstVisibleLine(); 
14132     wxPyEndAllowThreads(__tstate
); 
14133     if (PyErr_Occurred()) SWIG_fail
; 
14135   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14142 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14143   PyObject 
*resultobj 
= 0; 
14144   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14148   PyObject 
*swig_obj
[1] ; 
14150   if (!args
) SWIG_fail
; 
14151   swig_obj
[0] = args
; 
14152   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14153   if (!SWIG_IsOK(res1
)) { 
14154     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14156   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14158     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14159     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetLastVisibleLine(); 
14160     wxPyEndAllowThreads(__tstate
); 
14161     if (PyErr_Occurred()) SWIG_fail
; 
14163   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14170 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14171   PyObject 
*resultobj 
= 0; 
14172   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14174   bool arg3 
= (bool) false ; 
14182   PyObject 
* obj0 
= 0 ; 
14183   PyObject 
* obj1 
= 0 ; 
14184   PyObject 
* obj2 
= 0 ; 
14185   char *  kwnames
[] = { 
14186     (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL 
 
14189   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14190   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14191   if (!SWIG_IsOK(res1
)) { 
14192     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
14194   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14195   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14196   if (!SWIG_IsOK(ecode2
)) { 
14197     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'"); 
14199   arg2 
= static_cast< size_t >(val2
); 
14201     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
14202     if (!SWIG_IsOK(ecode3
)) { 
14203       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'"); 
14205     arg3 
= static_cast< bool >(val3
); 
14208     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14209     result 
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
); 
14210     wxPyEndAllowThreads(__tstate
); 
14211     if (PyErr_Occurred()) SWIG_fail
; 
14213   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14220 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetLinesHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14221   PyObject 
*resultobj 
= 0; 
14222   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14232   PyObject 
* obj0 
= 0 ; 
14233   PyObject 
* obj1 
= 0 ; 
14234   PyObject 
* obj2 
= 0 ; 
14235   char *  kwnames
[] = { 
14236     (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL 
 
14239   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14240   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14241   if (!SWIG_IsOK(res1
)) { 
14242     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14244   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14245   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14246   if (!SWIG_IsOK(ecode2
)) { 
14247     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'"); 
14249   arg2 
= static_cast< size_t >(val2
); 
14250   ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
14251   if (!SWIG_IsOK(ecode3
)) { 
14252     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'"); 
14254   arg3 
= static_cast< size_t >(val3
); 
14256     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14257     result 
= (int)((wxPyVScrolledWindow 
const *)arg1
)->GetLinesHeight(arg2
,arg3
); 
14258     wxPyEndAllowThreads(__tstate
); 
14259     if (PyErr_Occurred()) SWIG_fail
; 
14261   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14268 SWIGINTERN PyObject 
*VScrolledWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14270   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
14271   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
)); 
14272   return SWIG_Py_Void(); 
14275 SWIGINTERN PyObject 
*VScrolledWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14276   return SWIG_Python_InitShadowInstance(args
); 
14279 SWIGINTERN 
int VListBoxNameStr_set(PyObject 
*) { 
14280   SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only."); 
14285 SWIGINTERN PyObject 
*VListBoxNameStr_get(void) { 
14286   PyObject 
*pyobj 
= 0; 
14290     pyobj 
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len()); 
14292     pyobj 
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len()); 
14299 SWIGINTERN PyObject 
*_wrap_new_VListBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14300   PyObject 
*resultobj 
= 0; 
14301   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
14302   int arg2 
= (int) wxID_ANY 
; 
14303   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
14304   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
14305   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
14306   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
14307   long arg5 
= (long) 0 ; 
14308   wxString 
const &arg6_defvalue 
= wxPyVListBoxNameStr 
; 
14309   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
14310   wxPyVListBox 
*result 
= 0 ; 
14319   bool temp6 
= false ; 
14320   PyObject 
* obj0 
= 0 ; 
14321   PyObject 
* obj1 
= 0 ; 
14322   PyObject 
* obj2 
= 0 ; 
14323   PyObject 
* obj3 
= 0 ; 
14324   PyObject 
* obj4 
= 0 ; 
14325   PyObject 
* obj5 
= 0 ; 
14326   char *  kwnames
[] = { 
14327     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
14330   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
14331   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
14332   if (!SWIG_IsOK(res1
)) { 
14333     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");  
14335   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
14337     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14338     if (!SWIG_IsOK(ecode2
)) { 
14339       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'"); 
14341     arg2 
= static_cast< int >(val2
); 
14346       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
14352       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
14356     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
14357     if (!SWIG_IsOK(ecode5
)) { 
14358       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'"); 
14360     arg5 
= static_cast< long >(val5
); 
14364       arg6 
= wxString_in_helper(obj5
); 
14365       if (arg6 
== NULL
) SWIG_fail
; 
14370     if (!wxPyCheckForApp()) SWIG_fail
; 
14371     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14372     result 
= (wxPyVListBox 
*)new wxPyVListBox(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
14373     wxPyEndAllowThreads(__tstate
); 
14374     if (PyErr_Occurred()) SWIG_fail
; 
14376   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW 
|  0 ); 
14391 SWIGINTERN PyObject 
*_wrap_new_PreVListBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14392   PyObject 
*resultobj 
= 0; 
14393   wxPyVListBox 
*result 
= 0 ; 
14395   if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
; 
14397     if (!wxPyCheckForApp()) SWIG_fail
; 
14398     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14399     result 
= (wxPyVListBox 
*)new wxPyVListBox(); 
14400     wxPyEndAllowThreads(__tstate
); 
14401     if (PyErr_Occurred()) SWIG_fail
; 
14403   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN 
|  0 ); 
14410 SWIGINTERN PyObject 
*_wrap_VListBox__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14411   PyObject 
*resultobj 
= 0; 
14412   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14413   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
14414   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
14417   PyObject 
* obj0 
= 0 ; 
14418   PyObject 
* obj1 
= 0 ; 
14419   PyObject 
* obj2 
= 0 ; 
14420   char *  kwnames
[] = { 
14421     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
14424   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14425   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14426   if (!SWIG_IsOK(res1
)) { 
14427     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14429   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14433     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14434     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
14435     wxPyEndAllowThreads(__tstate
); 
14436     if (PyErr_Occurred()) SWIG_fail
; 
14438   resultobj 
= SWIG_Py_Void(); 
14445 SWIGINTERN PyObject 
*_wrap_VListBox_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14446   PyObject 
*resultobj 
= 0; 
14447   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14448   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
14449   int arg3 
= (int) wxID_ANY 
; 
14450   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
14451   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
14452   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
14453   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
14454   long arg6 
= (long) 0 ; 
14455   wxString 
const &arg7_defvalue 
= wxPyVListBoxNameStr 
; 
14456   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
14468   bool temp7 
= false ; 
14469   PyObject 
* obj0 
= 0 ; 
14470   PyObject 
* obj1 
= 0 ; 
14471   PyObject 
* obj2 
= 0 ; 
14472   PyObject 
* obj3 
= 0 ; 
14473   PyObject 
* obj4 
= 0 ; 
14474   PyObject 
* obj5 
= 0 ; 
14475   PyObject 
* obj6 
= 0 ; 
14476   char *  kwnames
[] = { 
14477     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
14480   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
14481   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14482   if (!SWIG_IsOK(res1
)) { 
14483     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14485   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14486   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
14487   if (!SWIG_IsOK(res2
)) { 
14488     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
14490   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
14492     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14493     if (!SWIG_IsOK(ecode3
)) { 
14494       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'"); 
14496     arg3 
= static_cast< int >(val3
); 
14501       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
14507       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
14511     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
14512     if (!SWIG_IsOK(ecode6
)) { 
14513       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'"); 
14515     arg6 
= static_cast< long >(val6
); 
14519       arg7 
= wxString_in_helper(obj6
); 
14520       if (arg7 
== NULL
) SWIG_fail
; 
14525     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14526     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
14527     wxPyEndAllowThreads(__tstate
); 
14528     if (PyErr_Occurred()) SWIG_fail
; 
14531     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14547 SWIGINTERN PyObject 
*_wrap_VListBox_GetItemCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14548   PyObject 
*resultobj 
= 0; 
14549   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14553   PyObject 
*swig_obj
[1] ; 
14555   if (!args
) SWIG_fail
; 
14556   swig_obj
[0] = args
; 
14557   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14558   if (!SWIG_IsOK(res1
)) { 
14559     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14561   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14563     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14564     result 
= (size_t)((wxPyVListBox 
const *)arg1
)->GetItemCount(); 
14565     wxPyEndAllowThreads(__tstate
); 
14566     if (PyErr_Occurred()) SWIG_fail
; 
14568   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14575 SWIGINTERN PyObject 
*_wrap_VListBox_HasMultipleSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14576   PyObject 
*resultobj 
= 0; 
14577   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14581   PyObject 
*swig_obj
[1] ; 
14583   if (!args
) SWIG_fail
; 
14584   swig_obj
[0] = args
; 
14585   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14586   if (!SWIG_IsOK(res1
)) { 
14587     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14589   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14591     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14592     result 
= (bool)((wxPyVListBox 
const *)arg1
)->HasMultipleSelection(); 
14593     wxPyEndAllowThreads(__tstate
); 
14594     if (PyErr_Occurred()) SWIG_fail
; 
14597     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14605 SWIGINTERN PyObject 
*_wrap_VListBox_GetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14606   PyObject 
*resultobj 
= 0; 
14607   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14611   PyObject 
*swig_obj
[1] ; 
14613   if (!args
) SWIG_fail
; 
14614   swig_obj
[0] = args
; 
14615   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14616   if (!SWIG_IsOK(res1
)) { 
14617     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14619   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14621     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14622     result 
= (int)((wxPyVListBox 
const *)arg1
)->GetSelection(); 
14623     wxPyEndAllowThreads(__tstate
); 
14624     if (PyErr_Occurred()) SWIG_fail
; 
14626   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14633 SWIGINTERN PyObject 
*_wrap_VListBox_IsCurrent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14634   PyObject 
*resultobj 
= 0; 
14635   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14642   PyObject 
* obj0 
= 0 ; 
14643   PyObject 
* obj1 
= 0 ; 
14644   char *  kwnames
[] = { 
14645     (char *) "self",(char *) "item", NULL 
 
14648   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14649   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14650   if (!SWIG_IsOK(res1
)) { 
14651     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14653   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14654   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14655   if (!SWIG_IsOK(ecode2
)) { 
14656     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'"); 
14658   arg2 
= static_cast< size_t >(val2
); 
14660     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14661     result 
= (bool)((wxPyVListBox 
const *)arg1
)->IsCurrent(arg2
); 
14662     wxPyEndAllowThreads(__tstate
); 
14663     if (PyErr_Occurred()) SWIG_fail
; 
14666     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14674 SWIGINTERN PyObject 
*_wrap_VListBox_IsSelected(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14675   PyObject 
*resultobj 
= 0; 
14676   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14683   PyObject 
* obj0 
= 0 ; 
14684   PyObject 
* obj1 
= 0 ; 
14685   char *  kwnames
[] = { 
14686     (char *) "self",(char *) "item", NULL 
 
14689   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14690   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14691   if (!SWIG_IsOK(res1
)) { 
14692     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14694   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14695   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14696   if (!SWIG_IsOK(ecode2
)) { 
14697     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'"); 
14699   arg2 
= static_cast< size_t >(val2
); 
14701     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14702     result 
= (bool)((wxPyVListBox 
const *)arg1
)->IsSelected(arg2
); 
14703     wxPyEndAllowThreads(__tstate
); 
14704     if (PyErr_Occurred()) SWIG_fail
; 
14707     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14715 SWIGINTERN PyObject 
*_wrap_VListBox_GetSelectedCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14716   PyObject 
*resultobj 
= 0; 
14717   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14721   PyObject 
*swig_obj
[1] ; 
14723   if (!args
) SWIG_fail
; 
14724   swig_obj
[0] = args
; 
14725   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14726   if (!SWIG_IsOK(res1
)) { 
14727     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14729   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14731     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14732     result 
= (size_t)((wxPyVListBox 
const *)arg1
)->GetSelectedCount(); 
14733     wxPyEndAllowThreads(__tstate
); 
14734     if (PyErr_Occurred()) SWIG_fail
; 
14736   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14743 SWIGINTERN PyObject 
*_wrap_VListBox_GetFirstSelected(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14744   PyObject 
*resultobj 
= 0; 
14745   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14746   PyObject 
*result 
= 0 ; 
14749   PyObject 
*swig_obj
[1] ; 
14751   if (!args
) SWIG_fail
; 
14752   swig_obj
[0] = args
; 
14753   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14754   if (!SWIG_IsOK(res1
)) { 
14755     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14757   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14759     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14760     result 
= (PyObject 
*)wxPyVListBox_GetFirstSelected(arg1
); 
14761     wxPyEndAllowThreads(__tstate
); 
14762     if (PyErr_Occurred()) SWIG_fail
; 
14764   resultobj 
= result
; 
14771 SWIGINTERN PyObject 
*_wrap_VListBox_GetNextSelected(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14772   PyObject 
*resultobj 
= 0; 
14773   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14774   unsigned long arg2 
; 
14775   PyObject 
*result 
= 0 ; 
14778   unsigned long val2 
; 
14780   PyObject 
* obj0 
= 0 ; 
14781   PyObject 
* obj1 
= 0 ; 
14782   char *  kwnames
[] = { 
14783     (char *) "self",(char *) "cookie", NULL 
 
14786   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14787   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14788   if (!SWIG_IsOK(res1
)) { 
14789     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14791   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14792   ecode2 
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
); 
14793   if (!SWIG_IsOK(ecode2
)) { 
14794     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'"); 
14796   arg2 
= static_cast< unsigned long >(val2
); 
14798     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14799     result 
= (PyObject 
*)wxPyVListBox_GetNextSelected(arg1
,arg2
); 
14800     wxPyEndAllowThreads(__tstate
); 
14801     if (PyErr_Occurred()) SWIG_fail
; 
14803   resultobj 
= result
; 
14810 SWIGINTERN PyObject 
*_wrap_VListBox_GetMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14811   PyObject 
*resultobj 
= 0; 
14812   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14816   PyObject 
*swig_obj
[1] ; 
14818   if (!args
) SWIG_fail
; 
14819   swig_obj
[0] = args
; 
14820   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14821   if (!SWIG_IsOK(res1
)) { 
14822     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14824   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14826     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14827     result 
= ((wxPyVListBox 
const *)arg1
)->GetMargins(); 
14828     wxPyEndAllowThreads(__tstate
); 
14829     if (PyErr_Occurred()) SWIG_fail
; 
14831   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
14838 SWIGINTERN PyObject 
*_wrap_VListBox_GetSelectionBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14839   PyObject 
*resultobj 
= 0; 
14840   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14841   wxColour 
*result 
= 0 ; 
14844   PyObject 
*swig_obj
[1] ; 
14846   if (!args
) SWIG_fail
; 
14847   swig_obj
[0] = args
; 
14848   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14849   if (!SWIG_IsOK(res1
)) { 
14850     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14852   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14854     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14856       wxColour 
const &_result_ref 
= ((wxPyVListBox 
const *)arg1
)->GetSelectionBackground(); 
14857       result 
= (wxColour 
*) &_result_ref
; 
14859     wxPyEndAllowThreads(__tstate
); 
14860     if (PyErr_Occurred()) SWIG_fail
; 
14862   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
14869 SWIGINTERN PyObject 
*_wrap_VListBox_SetItemCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14870   PyObject 
*resultobj 
= 0; 
14871   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14877   PyObject 
* obj0 
= 0 ; 
14878   PyObject 
* obj1 
= 0 ; 
14879   char *  kwnames
[] = { 
14880     (char *) "self",(char *) "count", NULL 
 
14883   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14884   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14885   if (!SWIG_IsOK(res1
)) { 
14886     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14888   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14889   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14890   if (!SWIG_IsOK(ecode2
)) { 
14891     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'"); 
14893   arg2 
= static_cast< size_t >(val2
); 
14895     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14896     (arg1
)->SetItemCount(arg2
); 
14897     wxPyEndAllowThreads(__tstate
); 
14898     if (PyErr_Occurred()) SWIG_fail
; 
14900   resultobj 
= SWIG_Py_Void(); 
14907 SWIGINTERN PyObject 
*_wrap_VListBox_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14908   PyObject 
*resultobj 
= 0; 
14909   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14912   PyObject 
*swig_obj
[1] ; 
14914   if (!args
) SWIG_fail
; 
14915   swig_obj
[0] = args
; 
14916   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14917   if (!SWIG_IsOK(res1
)) { 
14918     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14920   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14922     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14924     wxPyEndAllowThreads(__tstate
); 
14925     if (PyErr_Occurred()) SWIG_fail
; 
14927   resultobj 
= SWIG_Py_Void(); 
14934 SWIGINTERN PyObject 
*_wrap_VListBox_SetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14935   PyObject 
*resultobj 
= 0; 
14936   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14942   PyObject 
* obj0 
= 0 ; 
14943   PyObject 
* obj1 
= 0 ; 
14944   char *  kwnames
[] = { 
14945     (char *) "self",(char *) "selection", NULL 
 
14948   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14949   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14950   if (!SWIG_IsOK(res1
)) { 
14951     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14953   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14954   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14955   if (!SWIG_IsOK(ecode2
)) { 
14956     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'"); 
14958   arg2 
= static_cast< int >(val2
); 
14960     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14961     (arg1
)->SetSelection(arg2
); 
14962     wxPyEndAllowThreads(__tstate
); 
14963     if (PyErr_Occurred()) SWIG_fail
; 
14965   resultobj 
= SWIG_Py_Void(); 
14972 SWIGINTERN PyObject 
*_wrap_VListBox_Select(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14973   PyObject 
*resultobj 
= 0; 
14974   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14976   bool arg3 
= (bool) true ; 
14984   PyObject 
* obj0 
= 0 ; 
14985   PyObject 
* obj1 
= 0 ; 
14986   PyObject 
* obj2 
= 0 ; 
14987   char *  kwnames
[] = { 
14988     (char *) "self",(char *) "item",(char *) "select", NULL 
 
14991   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14992   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14993   if (!SWIG_IsOK(res1
)) { 
14994     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14996   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14997   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14998   if (!SWIG_IsOK(ecode2
)) { 
14999     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'"); 
15001   arg2 
= static_cast< size_t >(val2
); 
15003     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
15004     if (!SWIG_IsOK(ecode3
)) { 
15005       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'"); 
15007     arg3 
= static_cast< bool >(val3
); 
15010     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15011     result 
= (bool)(arg1
)->Select(arg2
,arg3
); 
15012     wxPyEndAllowThreads(__tstate
); 
15013     if (PyErr_Occurred()) SWIG_fail
; 
15016     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15024 SWIGINTERN PyObject 
*_wrap_VListBox_SelectRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15025   PyObject 
*resultobj 
= 0; 
15026   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15036   PyObject 
* obj0 
= 0 ; 
15037   PyObject 
* obj1 
= 0 ; 
15038   PyObject 
* obj2 
= 0 ; 
15039   char *  kwnames
[] = { 
15040     (char *) "self",(char *) "from",(char *) "to", NULL 
 
15043   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15044   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15045   if (!SWIG_IsOK(res1
)) { 
15046     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15048   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15049   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
15050   if (!SWIG_IsOK(ecode2
)) { 
15051     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'"); 
15053   arg2 
= static_cast< size_t >(val2
); 
15054   ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
15055   if (!SWIG_IsOK(ecode3
)) { 
15056     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'"); 
15058   arg3 
= static_cast< size_t >(val3
); 
15060     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15061     result 
= (bool)(arg1
)->SelectRange(arg2
,arg3
); 
15062     wxPyEndAllowThreads(__tstate
); 
15063     if (PyErr_Occurred()) SWIG_fail
; 
15066     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15074 SWIGINTERN PyObject 
*_wrap_VListBox_Toggle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15075   PyObject 
*resultobj 
= 0; 
15076   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15082   PyObject 
* obj0 
= 0 ; 
15083   PyObject 
* obj1 
= 0 ; 
15084   char *  kwnames
[] = { 
15085     (char *) "self",(char *) "item", NULL 
 
15088   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15089   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15090   if (!SWIG_IsOK(res1
)) { 
15091     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15093   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15094   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
15095   if (!SWIG_IsOK(ecode2
)) { 
15096     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'"); 
15098   arg2 
= static_cast< size_t >(val2
); 
15100     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15101     (arg1
)->Toggle(arg2
); 
15102     wxPyEndAllowThreads(__tstate
); 
15103     if (PyErr_Occurred()) SWIG_fail
; 
15105   resultobj 
= SWIG_Py_Void(); 
15112 SWIGINTERN PyObject 
*_wrap_VListBox_SelectAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15113   PyObject 
*resultobj 
= 0; 
15114   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15118   PyObject 
*swig_obj
[1] ; 
15120   if (!args
) SWIG_fail
; 
15121   swig_obj
[0] = args
; 
15122   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15123   if (!SWIG_IsOK(res1
)) { 
15124     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15126   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15128     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15129     result 
= (bool)(arg1
)->SelectAll(); 
15130     wxPyEndAllowThreads(__tstate
); 
15131     if (PyErr_Occurred()) SWIG_fail
; 
15134     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15142 SWIGINTERN PyObject 
*_wrap_VListBox_DeselectAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15143   PyObject 
*resultobj 
= 0; 
15144   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15148   PyObject 
*swig_obj
[1] ; 
15150   if (!args
) SWIG_fail
; 
15151   swig_obj
[0] = args
; 
15152   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15153   if (!SWIG_IsOK(res1
)) { 
15154     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15156   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15158     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15159     result 
= (bool)(arg1
)->DeselectAll(); 
15160     wxPyEndAllowThreads(__tstate
); 
15161     if (PyErr_Occurred()) SWIG_fail
; 
15164     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15172 SWIGINTERN PyObject 
*_wrap_VListBox_SetMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15173   PyObject 
*resultobj 
= 0; 
15174   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15175   wxPoint 
*arg2 
= 0 ; 
15179   PyObject 
* obj0 
= 0 ; 
15180   PyObject 
* obj1 
= 0 ; 
15181   char *  kwnames
[] = { 
15182     (char *) "self",(char *) "pt", NULL 
 
15185   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15186   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15187   if (!SWIG_IsOK(res1
)) { 
15188     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15190   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15193     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15196     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15197     (arg1
)->SetMargins((wxPoint 
const &)*arg2
); 
15198     wxPyEndAllowThreads(__tstate
); 
15199     if (PyErr_Occurred()) SWIG_fail
; 
15201   resultobj 
= SWIG_Py_Void(); 
15208 SWIGINTERN PyObject 
*_wrap_VListBox_SetMarginsXY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15209   PyObject 
*resultobj 
= 0; 
15210   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15219   PyObject 
* obj0 
= 0 ; 
15220   PyObject 
* obj1 
= 0 ; 
15221   PyObject 
* obj2 
= 0 ; 
15222   char *  kwnames
[] = { 
15223     (char *) "self",(char *) "x",(char *) "y", NULL 
 
15226   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15227   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15228   if (!SWIG_IsOK(res1
)) { 
15229     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15231   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15232   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15233   if (!SWIG_IsOK(ecode2
)) { 
15234     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'"); 
15236   arg2 
= static_cast< int >(val2
); 
15237   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15238   if (!SWIG_IsOK(ecode3
)) { 
15239     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'"); 
15241   arg3 
= static_cast< int >(val3
); 
15243     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15244     (arg1
)->SetMargins(arg2
,arg3
); 
15245     wxPyEndAllowThreads(__tstate
); 
15246     if (PyErr_Occurred()) SWIG_fail
; 
15248   resultobj 
= SWIG_Py_Void(); 
15255 SWIGINTERN PyObject 
*_wrap_VListBox_SetSelectionBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15256   PyObject 
*resultobj 
= 0; 
15257   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15258   wxColour 
*arg2 
= 0 ; 
15262   PyObject 
* obj0 
= 0 ; 
15263   PyObject 
* obj1 
= 0 ; 
15264   char *  kwnames
[] = { 
15265     (char *) "self",(char *) "col", NULL 
 
15268   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15269   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15270   if (!SWIG_IsOK(res1
)) { 
15271     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15273   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15276     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
15279     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15280     (arg1
)->SetSelectionBackground((wxColour 
const &)*arg2
); 
15281     wxPyEndAllowThreads(__tstate
); 
15282     if (PyErr_Occurred()) SWIG_fail
; 
15284   resultobj 
= SWIG_Py_Void(); 
15291 SWIGINTERN PyObject 
*_wrap_VListBox_OnDrawSeparator(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15292   PyObject 
*resultobj 
= 0; 
15293   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15304   PyObject 
* obj0 
= 0 ; 
15305   PyObject 
* obj1 
= 0 ; 
15306   PyObject 
* obj2 
= 0 ; 
15307   PyObject 
* obj3 
= 0 ; 
15308   char *  kwnames
[] = { 
15309     (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL 
 
15312   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
15313   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15314   if (!SWIG_IsOK(res1
)) { 
15315     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
15317   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15318   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
15319   if (!SWIG_IsOK(res2
)) { 
15320     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");  
15323     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");  
15325   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
15328     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
15330   ecode4 
= SWIG_AsVal_size_t(obj3
, &val4
); 
15331   if (!SWIG_IsOK(ecode4
)) { 
15332     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'"); 
15334   arg4 
= static_cast< size_t >(val4
); 
15336     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15337     ((wxPyVListBox 
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
); 
15338     wxPyEndAllowThreads(__tstate
); 
15339     if (PyErr_Occurred()) SWIG_fail
; 
15341   resultobj 
= SWIG_Py_Void(); 
15348 SWIGINTERN PyObject 
*_wrap_VListBox_OnDrawBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15349   PyObject 
*resultobj 
= 0; 
15350   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15361   PyObject 
* obj0 
= 0 ; 
15362   PyObject 
* obj1 
= 0 ; 
15363   PyObject 
* obj2 
= 0 ; 
15364   PyObject 
* obj3 
= 0 ; 
15365   char *  kwnames
[] = { 
15366     (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL 
 
15369   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
15370   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15371   if (!SWIG_IsOK(res1
)) { 
15372     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
15374   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15375   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
15376   if (!SWIG_IsOK(res2
)) { 
15377     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");  
15380     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");  
15382   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
15385     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
15387   ecode4 
= SWIG_AsVal_size_t(obj3
, &val4
); 
15388   if (!SWIG_IsOK(ecode4
)) { 
15389     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'"); 
15391   arg4 
= static_cast< size_t >(val4
); 
15393     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15394     ((wxPyVListBox 
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect 
const &)*arg3
,arg4
); 
15395     wxPyEndAllowThreads(__tstate
); 
15396     if (PyErr_Occurred()) SWIG_fail
; 
15398   resultobj 
= SWIG_Py_Void(); 
15405 SWIGINTERN PyObject 
*VListBox_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15407   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
15408   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
)); 
15409   return SWIG_Py_Void(); 
15412 SWIGINTERN PyObject 
*VListBox_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15413   return SWIG_Python_InitShadowInstance(args
); 
15416 SWIGINTERN PyObject 
*_wrap_new_HtmlListBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15417   PyObject 
*resultobj 
= 0; 
15418   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
15419   int arg2 
= (int) wxID_ANY 
; 
15420   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
15421   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
15422   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
15423   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
15424   long arg5 
= (long) 0 ; 
15425   wxString 
const &arg6_defvalue 
= wxPyVListBoxNameStr 
; 
15426   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
15427   wxPyHtmlListBox 
*result 
= 0 ; 
15436   bool temp6 
= false ; 
15437   PyObject 
* obj0 
= 0 ; 
15438   PyObject 
* obj1 
= 0 ; 
15439   PyObject 
* obj2 
= 0 ; 
15440   PyObject 
* obj3 
= 0 ; 
15441   PyObject 
* obj4 
= 0 ; 
15442   PyObject 
* obj5 
= 0 ; 
15443   char *  kwnames
[] = { 
15444     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
15447   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
15448   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
15449   if (!SWIG_IsOK(res1
)) { 
15450     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");  
15452   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
15454     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15455     if (!SWIG_IsOK(ecode2
)) { 
15456       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'"); 
15458     arg2 
= static_cast< int >(val2
); 
15463       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
15469       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
15473     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
15474     if (!SWIG_IsOK(ecode5
)) { 
15475       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'"); 
15477     arg5 
= static_cast< long >(val5
); 
15481       arg6 
= wxString_in_helper(obj5
); 
15482       if (arg6 
== NULL
) SWIG_fail
; 
15487     if (!wxPyCheckForApp()) SWIG_fail
; 
15488     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15489     result 
= (wxPyHtmlListBox 
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
15490     wxPyEndAllowThreads(__tstate
); 
15491     if (PyErr_Occurred()) SWIG_fail
; 
15493   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW 
|  0 ); 
15508 SWIGINTERN PyObject 
*_wrap_new_PreHtmlListBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15509   PyObject 
*resultobj 
= 0; 
15510   wxPyHtmlListBox 
*result 
= 0 ; 
15512   if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
; 
15514     if (!wxPyCheckForApp()) SWIG_fail
; 
15515     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15516     result 
= (wxPyHtmlListBox 
*)new wxPyHtmlListBox(); 
15517     wxPyEndAllowThreads(__tstate
); 
15518     if (PyErr_Occurred()) SWIG_fail
; 
15520   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN 
|  0 ); 
15527 SWIGINTERN PyObject 
*_wrap_HtmlListBox__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15528   PyObject 
*resultobj 
= 0; 
15529   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15530   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15531   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15534   PyObject 
* obj0 
= 0 ; 
15535   PyObject 
* obj1 
= 0 ; 
15536   PyObject 
* obj2 
= 0 ; 
15537   char *  kwnames
[] = { 
15538     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
15541   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15542   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15543   if (!SWIG_IsOK(res1
)) { 
15544     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15546   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15550     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15551     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
15552     wxPyEndAllowThreads(__tstate
); 
15553     if (PyErr_Occurred()) SWIG_fail
; 
15555   resultobj 
= SWIG_Py_Void(); 
15562 SWIGINTERN PyObject 
*_wrap_HtmlListBox_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15563   PyObject 
*resultobj 
= 0; 
15564   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15565   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
15566   int arg3 
= (int) wxID_ANY 
; 
15567   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
15568   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
15569   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
15570   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
15571   long arg6 
= (long) 0 ; 
15572   wxString 
const &arg7_defvalue 
= wxPyVListBoxNameStr 
; 
15573   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
15585   bool temp7 
= false ; 
15586   PyObject 
* obj0 
= 0 ; 
15587   PyObject 
* obj1 
= 0 ; 
15588   PyObject 
* obj2 
= 0 ; 
15589   PyObject 
* obj3 
= 0 ; 
15590   PyObject 
* obj4 
= 0 ; 
15591   PyObject 
* obj5 
= 0 ; 
15592   PyObject 
* obj6 
= 0 ; 
15593   char *  kwnames
[] = { 
15594     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
15597   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
15598   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15599   if (!SWIG_IsOK(res1
)) { 
15600     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15602   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15603   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
15604   if (!SWIG_IsOK(res2
)) { 
15605     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
15607   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
15609     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15610     if (!SWIG_IsOK(ecode3
)) { 
15611       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'"); 
15613     arg3 
= static_cast< int >(val3
); 
15618       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
15624       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
15628     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
15629     if (!SWIG_IsOK(ecode6
)) { 
15630       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'"); 
15632     arg6 
= static_cast< long >(val6
); 
15636       arg7 
= wxString_in_helper(obj6
); 
15637       if (arg7 
== NULL
) SWIG_fail
; 
15642     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15643     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
15644     wxPyEndAllowThreads(__tstate
); 
15645     if (PyErr_Occurred()) SWIG_fail
; 
15648     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15664 SWIGINTERN PyObject 
*_wrap_HtmlListBox_SetItemCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15665   PyObject 
*resultobj 
= 0; 
15666   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15672   PyObject 
* obj0 
= 0 ; 
15673   PyObject 
* obj1 
= 0 ; 
15674   char *  kwnames
[] = { 
15675     (char *) "self",(char *) "count", NULL 
 
15678   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15679   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15680   if (!SWIG_IsOK(res1
)) { 
15681     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15683   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15684   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
15685   if (!SWIG_IsOK(ecode2
)) { 
15686     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'"); 
15688   arg2 
= static_cast< size_t >(val2
); 
15690     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15691     (arg1
)->SetItemCount(arg2
); 
15692     wxPyEndAllowThreads(__tstate
); 
15693     if (PyErr_Occurred()) SWIG_fail
; 
15695   resultobj 
= SWIG_Py_Void(); 
15702 SWIGINTERN PyObject 
*_wrap_HtmlListBox_GetFileSystem(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15703   PyObject 
*resultobj 
= 0; 
15704   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15705   wxFileSystem 
*result 
= 0 ; 
15708   PyObject 
*swig_obj
[1] ; 
15710   if (!args
) SWIG_fail
; 
15711   swig_obj
[0] = args
; 
15712   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15713   if (!SWIG_IsOK(res1
)) { 
15714     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15716   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15718     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15720       wxFileSystem 
&_result_ref 
= (arg1
)->GetFileSystem(); 
15721       result 
= (wxFileSystem 
*) &_result_ref
; 
15723     wxPyEndAllowThreads(__tstate
); 
15724     if (PyErr_Occurred()) SWIG_fail
; 
15726   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 |  0 ); 
15733 SWIGINTERN PyObject 
*_wrap_HtmlListBox_OnLinkClicked(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15734   PyObject 
*resultobj 
= 0; 
15735   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15737   wxHtmlLinkInfo 
*arg3 
= 0 ; 
15744   PyObject 
* obj0 
= 0 ; 
15745   PyObject 
* obj1 
= 0 ; 
15746   PyObject 
* obj2 
= 0 ; 
15747   char *  kwnames
[] = { 
15748     (char *) "self",(char *) "n",(char *) "link", NULL 
 
15751   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15752   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15753   if (!SWIG_IsOK(res1
)) { 
15754     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15756   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15757   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
15758   if (!SWIG_IsOK(ecode2
)) { 
15759     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'"); 
15761   arg2 
= static_cast< size_t >(val2
); 
15762   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
,  0  | 0); 
15763   if (!SWIG_IsOK(res3
)) { 
15764     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");  
15767     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");  
15769   arg3 
= reinterpret_cast< wxHtmlLinkInfo 
* >(argp3
); 
15771     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15772     (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo 
const &)*arg3
); 
15773     wxPyEndAllowThreads(__tstate
); 
15774     if (PyErr_Occurred()) SWIG_fail
; 
15776   resultobj 
= SWIG_Py_Void(); 
15783 SWIGINTERN PyObject 
*HtmlListBox_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15785   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
15786   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
)); 
15787   return SWIG_Py_Void(); 
15790 SWIGINTERN PyObject 
*HtmlListBox_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15791   return SWIG_Python_InitShadowInstance(args
); 
15794 SWIGINTERN PyObject 
*_wrap_new_TaskBarIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15795   PyObject 
*resultobj 
= 0; 
15796   wxPyTaskBarIcon 
*result 
= 0 ; 
15798   if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
; 
15800     if (!wxPyCheckForApp()) SWIG_fail
; 
15801     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15802     result 
= (wxPyTaskBarIcon 
*)new wxPyTaskBarIcon(); 
15803     wxPyEndAllowThreads(__tstate
); 
15804     if (PyErr_Occurred()) SWIG_fail
; 
15806   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW 
|  0 ); 
15813 SWIGINTERN PyObject 
*_wrap_delete_TaskBarIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15814   PyObject 
*resultobj 
= 0; 
15815   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
15818   PyObject 
*swig_obj
[1] ; 
15820   if (!args
) SWIG_fail
; 
15821   swig_obj
[0] = args
; 
15822   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN 
|  0 ); 
15823   if (!SWIG_IsOK(res1
)) { 
15824     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
15826   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
15828     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15831     wxPyEndAllowThreads(__tstate
); 
15832     if (PyErr_Occurred()) SWIG_fail
; 
15834   resultobj 
= SWIG_Py_Void(); 
15841 SWIGINTERN PyObject 
*_wrap_TaskBarIcon__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15842   PyObject 
*resultobj 
= 0; 
15843   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
15844   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15845   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15851   PyObject 
* obj0 
= 0 ; 
15852   PyObject 
* obj1 
= 0 ; 
15853   PyObject 
* obj2 
= 0 ; 
15854   PyObject 
* obj3 
= 0 ; 
15855   char *  kwnames
[] = { 
15856     (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
15859   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
15860   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
15861   if (!SWIG_IsOK(res1
)) { 
15862     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
15864   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
15867   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
15868   if (!SWIG_IsOK(ecode4
)) { 
15869     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'"); 
15871   arg4 
= static_cast< int >(val4
); 
15873     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15874     (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
15875     wxPyEndAllowThreads(__tstate
); 
15876     if (PyErr_Occurred()) SWIG_fail
; 
15878   resultobj 
= SWIG_Py_Void(); 
15885 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_Destroy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15886   PyObject 
*resultobj 
= 0; 
15887   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
15890   PyObject 
*swig_obj
[1] ; 
15892   if (!args
) SWIG_fail
; 
15893   swig_obj
[0] = args
; 
15894   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
15895   if (!SWIG_IsOK(res1
)) { 
15896     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
15898   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
15900     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15901     wxPyTaskBarIcon_Destroy(arg1
); 
15902     wxPyEndAllowThreads(__tstate
); 
15903     if (PyErr_Occurred()) SWIG_fail
; 
15905   resultobj 
= SWIG_Py_Void(); 
15912 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15913   PyObject 
*resultobj 
= 0; 
15914   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
15918   PyObject 
*swig_obj
[1] ; 
15920   if (!args
) SWIG_fail
; 
15921   swig_obj
[0] = args
; 
15922   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
15923   if (!SWIG_IsOK(res1
)) { 
15924     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");  
15926   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
15928     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15929     result 
= (bool)((wxPyTaskBarIcon 
const *)arg1
)->IsOk(); 
15930     wxPyEndAllowThreads(__tstate
); 
15931     if (PyErr_Occurred()) SWIG_fail
; 
15934     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15942 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_IsIconInstalled(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15943   PyObject 
*resultobj 
= 0; 
15944   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
15948   PyObject 
*swig_obj
[1] ; 
15950   if (!args
) SWIG_fail
; 
15951   swig_obj
[0] = args
; 
15952   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
15953   if (!SWIG_IsOK(res1
)) { 
15954     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");  
15956   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
15958     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15959     result 
= (bool)((wxPyTaskBarIcon 
const *)arg1
)->IsIconInstalled(); 
15960     wxPyEndAllowThreads(__tstate
); 
15961     if (PyErr_Occurred()) SWIG_fail
; 
15964     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15972 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_SetIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15973   PyObject 
*resultobj 
= 0; 
15974   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
15976   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
15977   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
15983   bool temp3 
= false ; 
15984   PyObject 
* obj0 
= 0 ; 
15985   PyObject 
* obj1 
= 0 ; 
15986   PyObject 
* obj2 
= 0 ; 
15987   char *  kwnames
[] = { 
15988     (char *) "self",(char *) "icon",(char *) "tooltip", NULL 
 
15991   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15992   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
15993   if (!SWIG_IsOK(res1
)) { 
15994     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
15996   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
15997   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
15998   if (!SWIG_IsOK(res2
)) { 
15999     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
16002     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
16004   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
16007       arg3 
= wxString_in_helper(obj2
); 
16008       if (arg3 
== NULL
) SWIG_fail
; 
16013     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16014     result 
= (bool)(arg1
)->SetIcon((wxIcon 
const &)*arg2
,(wxString 
const &)*arg3
); 
16015     wxPyEndAllowThreads(__tstate
); 
16016     if (PyErr_Occurred()) SWIG_fail
; 
16019     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16035 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_RemoveIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16036   PyObject 
*resultobj 
= 0; 
16037   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
16041   PyObject 
*swig_obj
[1] ; 
16043   if (!args
) SWIG_fail
; 
16044   swig_obj
[0] = args
; 
16045   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
16046   if (!SWIG_IsOK(res1
)) { 
16047     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
16049   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
16051     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16052     result 
= (bool)(arg1
)->RemoveIcon(); 
16053     wxPyEndAllowThreads(__tstate
); 
16054     if (PyErr_Occurred()) SWIG_fail
; 
16057     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16065 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_PopupMenu(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16066   PyObject 
*resultobj 
= 0; 
16067   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
16068   wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
16074   PyObject 
* obj0 
= 0 ; 
16075   PyObject 
* obj1 
= 0 ; 
16076   char *  kwnames
[] = { 
16077     (char *) "self",(char *) "menu", NULL 
 
16080   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16081   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
16082   if (!SWIG_IsOK(res1
)) { 
16083     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
16085   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
16086   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 |  0 ); 
16087   if (!SWIG_IsOK(res2
)) { 
16088     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");  
16090   arg2 
= reinterpret_cast< wxMenu 
* >(argp2
); 
16092     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16093     result 
= (bool)(arg1
)->PopupMenu(arg2
); 
16094     wxPyEndAllowThreads(__tstate
); 
16095     if (PyErr_Occurred()) SWIG_fail
; 
16098     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16106 SWIGINTERN PyObject 
*TaskBarIcon_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16108   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16109   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
)); 
16110   return SWIG_Py_Void(); 
16113 SWIGINTERN PyObject 
*TaskBarIcon_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16114   return SWIG_Python_InitShadowInstance(args
); 
16117 SWIGINTERN PyObject 
*_wrap_new_TaskBarIconEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16118   PyObject 
*resultobj 
= 0; 
16120   wxTaskBarIcon 
*arg2 
= (wxTaskBarIcon 
*) 0 ; 
16121   wxTaskBarIconEvent 
*result 
= 0 ; 
16126   PyObject 
* obj0 
= 0 ; 
16127   PyObject 
* obj1 
= 0 ; 
16128   char *  kwnames
[] = { 
16129     (char *) "evtType",(char *) "tbIcon", NULL 
 
16132   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16133   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
16134   if (!SWIG_IsOK(ecode1
)) { 
16135     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'"); 
16137   arg1 
= static_cast< wxEventType 
>(val1
); 
16138   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 |  0 ); 
16139   if (!SWIG_IsOK(res2
)) { 
16140     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");  
16142   arg2 
= reinterpret_cast< wxTaskBarIcon 
* >(argp2
); 
16144     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16145     result 
= (wxTaskBarIconEvent 
*)new wxTaskBarIconEvent(arg1
,arg2
); 
16146     wxPyEndAllowThreads(__tstate
); 
16147     if (PyErr_Occurred()) SWIG_fail
; 
16149   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW 
|  0 ); 
16156 SWIGINTERN PyObject 
*TaskBarIconEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16158   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16159   SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
)); 
16160   return SWIG_Py_Void(); 
16163 SWIGINTERN PyObject 
*TaskBarIconEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16164   return SWIG_Python_InitShadowInstance(args
); 
16167 SWIGINTERN 
int FileSelectorPromptStr_set(PyObject 
*) { 
16168   SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only."); 
16173 SWIGINTERN PyObject 
*FileSelectorPromptStr_get(void) { 
16174   PyObject 
*pyobj 
= 0; 
16178     pyobj 
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len()); 
16180     pyobj 
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len()); 
16187 SWIGINTERN 
int DirSelectorPromptStr_set(PyObject 
*) { 
16188   SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only."); 
16193 SWIGINTERN PyObject 
*DirSelectorPromptStr_get(void) { 
16194   PyObject 
*pyobj 
= 0; 
16198     pyobj 
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len()); 
16200     pyobj 
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len()); 
16207 SWIGINTERN 
int DirDialogNameStr_set(PyObject 
*) { 
16208   SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only."); 
16213 SWIGINTERN PyObject 
*DirDialogNameStr_get(void) { 
16214   PyObject 
*pyobj 
= 0; 
16218     pyobj 
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len()); 
16220     pyobj 
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len()); 
16227 SWIGINTERN 
int FileSelectorDefaultWildcardStr_set(PyObject 
*) { 
16228   SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only."); 
16233 SWIGINTERN PyObject 
*FileSelectorDefaultWildcardStr_get(void) { 
16234   PyObject 
*pyobj 
= 0; 
16238     pyobj 
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len()); 
16240     pyobj 
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len()); 
16247 SWIGINTERN 
int GetTextFromUserPromptStr_set(PyObject 
*) { 
16248   SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only."); 
16253 SWIGINTERN PyObject 
*GetTextFromUserPromptStr_get(void) { 
16254   PyObject 
*pyobj 
= 0; 
16258     pyobj 
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len()); 
16260     pyobj 
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len()); 
16267 SWIGINTERN 
int MessageBoxCaptionStr_set(PyObject 
*) { 
16268   SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only."); 
16273 SWIGINTERN PyObject 
*MessageBoxCaptionStr_get(void) { 
16274   PyObject 
*pyobj 
= 0; 
16278     pyobj 
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len()); 
16280     pyobj 
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len()); 
16287 SWIGINTERN PyObject 
*_wrap_new_ColourData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16288   PyObject 
*resultobj 
= 0; 
16289   wxColourData 
*result 
= 0 ; 
16291   if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
; 
16293     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16294     result 
= (wxColourData 
*)new wxColourData(); 
16295     wxPyEndAllowThreads(__tstate
); 
16296     if (PyErr_Occurred()) SWIG_fail
; 
16298   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW 
|  0 ); 
16305 SWIGINTERN PyObject 
*_wrap_delete_ColourData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16306   PyObject 
*resultobj 
= 0; 
16307   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16310   PyObject 
*swig_obj
[1] ; 
16312   if (!args
) SWIG_fail
; 
16313   swig_obj
[0] = args
; 
16314   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN 
|  0 ); 
16315   if (!SWIG_IsOK(res1
)) { 
16316     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");  
16318   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16320     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16323     wxPyEndAllowThreads(__tstate
); 
16324     if (PyErr_Occurred()) SWIG_fail
; 
16326   resultobj 
= SWIG_Py_Void(); 
16333 SWIGINTERN PyObject 
*_wrap_ColourData_GetChooseFull(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16334   PyObject 
*resultobj 
= 0; 
16335   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16339   PyObject 
*swig_obj
[1] ; 
16341   if (!args
) SWIG_fail
; 
16342   swig_obj
[0] = args
; 
16343   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16344   if (!SWIG_IsOK(res1
)) { 
16345     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");  
16347   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16349     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16350     result 
= (bool)(arg1
)->GetChooseFull(); 
16351     wxPyEndAllowThreads(__tstate
); 
16352     if (PyErr_Occurred()) SWIG_fail
; 
16355     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16363 SWIGINTERN PyObject 
*_wrap_ColourData_GetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16364   PyObject 
*resultobj 
= 0; 
16365   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16369   PyObject 
*swig_obj
[1] ; 
16371   if (!args
) SWIG_fail
; 
16372   swig_obj
[0] = args
; 
16373   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16374   if (!SWIG_IsOK(res1
)) { 
16375     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");  
16377   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16379     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16380     result 
= (arg1
)->GetColour(); 
16381     wxPyEndAllowThreads(__tstate
); 
16382     if (PyErr_Occurred()) SWIG_fail
; 
16384   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
16391 SWIGINTERN PyObject 
*_wrap_ColourData_GetCustomColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16392   PyObject 
*resultobj 
= 0; 
16393   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16400   PyObject 
* obj0 
= 0 ; 
16401   PyObject 
* obj1 
= 0 ; 
16402   char *  kwnames
[] = { 
16403     (char *) "self",(char *) "i", NULL 
 
16406   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16407   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16408   if (!SWIG_IsOK(res1
)) { 
16409     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");  
16411   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16412   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16413   if (!SWIG_IsOK(ecode2
)) { 
16414     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'"); 
16416   arg2 
= static_cast< int >(val2
); 
16418     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16419     result 
= (arg1
)->GetCustomColour(arg2
); 
16420     wxPyEndAllowThreads(__tstate
); 
16421     if (PyErr_Occurred()) SWIG_fail
; 
16423   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
16430 SWIGINTERN PyObject 
*_wrap_ColourData_SetChooseFull(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16431   PyObject 
*resultobj 
= 0; 
16432   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16438   PyObject 
* obj0 
= 0 ; 
16439   PyObject 
* obj1 
= 0 ; 
16440   char *  kwnames
[] = { 
16441     (char *) "self",(char *) "flag", NULL 
 
16444   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16445   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16446   if (!SWIG_IsOK(res1
)) { 
16447     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");  
16449   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16450   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16451   if (!SWIG_IsOK(ecode2
)) { 
16452     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'"); 
16454   arg2 
= static_cast< int >(val2
); 
16456     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16457     (arg1
)->SetChooseFull(arg2
); 
16458     wxPyEndAllowThreads(__tstate
); 
16459     if (PyErr_Occurred()) SWIG_fail
; 
16461   resultobj 
= SWIG_Py_Void(); 
16468 SWIGINTERN PyObject 
*_wrap_ColourData_SetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16469   PyObject 
*resultobj 
= 0; 
16470   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16471   wxColour 
*arg2 
= 0 ; 
16475   PyObject 
* obj0 
= 0 ; 
16476   PyObject 
* obj1 
= 0 ; 
16477   char *  kwnames
[] = { 
16478     (char *) "self",(char *) "colour", NULL 
 
16481   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16482   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16483   if (!SWIG_IsOK(res1
)) { 
16484     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");  
16486   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16489     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
16492     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16493     (arg1
)->SetColour((wxColour 
const &)*arg2
); 
16494     wxPyEndAllowThreads(__tstate
); 
16495     if (PyErr_Occurred()) SWIG_fail
; 
16497   resultobj 
= SWIG_Py_Void(); 
16504 SWIGINTERN PyObject 
*_wrap_ColourData_SetCustomColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16505   PyObject 
*resultobj 
= 0; 
16506   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16508   wxColour 
*arg3 
= 0 ; 
16514   PyObject 
* obj0 
= 0 ; 
16515   PyObject 
* obj1 
= 0 ; 
16516   PyObject 
* obj2 
= 0 ; 
16517   char *  kwnames
[] = { 
16518     (char *) "self",(char *) "i",(char *) "colour", NULL 
 
16521   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16522   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16523   if (!SWIG_IsOK(res1
)) { 
16524     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");  
16526   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16527   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16528   if (!SWIG_IsOK(ecode2
)) { 
16529     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'"); 
16531   arg2 
= static_cast< int >(val2
); 
16534     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
16537     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16538     (arg1
)->SetCustomColour(arg2
,(wxColour 
const &)*arg3
); 
16539     wxPyEndAllowThreads(__tstate
); 
16540     if (PyErr_Occurred()) SWIG_fail
; 
16542   resultobj 
= SWIG_Py_Void(); 
16549 SWIGINTERN PyObject 
*ColourData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16551   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16552   SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
)); 
16553   return SWIG_Py_Void(); 
16556 SWIGINTERN PyObject 
*ColourData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16557   return SWIG_Python_InitShadowInstance(args
); 
16560 SWIGINTERN PyObject 
*_wrap_new_ColourDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16561   PyObject 
*resultobj 
= 0; 
16562   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16563   wxColourData 
*arg2 
= (wxColourData 
*) NULL 
; 
16564   wxColourDialog 
*result 
= 0 ; 
16569   PyObject 
* obj0 
= 0 ; 
16570   PyObject 
* obj1 
= 0 ; 
16571   char *  kwnames
[] = { 
16572     (char *) "parent",(char *) "data", NULL 
 
16575   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16576   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
16577   if (!SWIG_IsOK(res1
)) { 
16578     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
16580   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
16582     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16583     if (!SWIG_IsOK(res2
)) { 
16584       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");  
16586     arg2 
= reinterpret_cast< wxColourData 
* >(argp2
); 
16589     if (!wxPyCheckForApp()) SWIG_fail
; 
16590     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16591     result 
= (wxColourDialog 
*)new wxColourDialog(arg1
,arg2
); 
16592     wxPyEndAllowThreads(__tstate
); 
16593     if (PyErr_Occurred()) SWIG_fail
; 
16595   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW 
|  0 ); 
16602 SWIGINTERN PyObject 
*_wrap_ColourDialog_GetColourData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16603   PyObject 
*resultobj 
= 0; 
16604   wxColourDialog 
*arg1 
= (wxColourDialog 
*) 0 ; 
16605   wxColourData 
*result 
= 0 ; 
16608   PyObject 
*swig_obj
[1] ; 
16610   if (!args
) SWIG_fail
; 
16611   swig_obj
[0] = args
; 
16612   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 |  0 ); 
16613   if (!SWIG_IsOK(res1
)) { 
16614     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");  
16616   arg1 
= reinterpret_cast< wxColourDialog 
* >(argp1
); 
16618     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16620       wxColourData 
&_result_ref 
= (arg1
)->GetColourData(); 
16621       result 
= (wxColourData 
*) &_result_ref
; 
16623     wxPyEndAllowThreads(__tstate
); 
16624     if (PyErr_Occurred()) SWIG_fail
; 
16626   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16633 SWIGINTERN PyObject 
*ColourDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16635   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16636   SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
)); 
16637   return SWIG_Py_Void(); 
16640 SWIGINTERN PyObject 
*ColourDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16641   return SWIG_Python_InitShadowInstance(args
); 
16644 SWIGINTERN PyObject 
*_wrap_GetColourFromUser(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16645   PyObject 
*resultobj 
= 0; 
16646   wxWindow 
*arg1 
= (wxWindow 
*) (wxWindow 
*) NULL 
; 
16647   wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
16648   wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
16649   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16650   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16655   bool temp3 
= false ; 
16656   PyObject 
* obj0 
= 0 ; 
16657   PyObject 
* obj1 
= 0 ; 
16658   PyObject 
* obj2 
= 0 ; 
16659   char *  kwnames
[] = { 
16660     (char *) "parent",(char *) "colInit",(char *) "caption", NULL 
 
16663   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16665     res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
16666     if (!SWIG_IsOK(res1
)) { 
16667       SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");  
16669     arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
16674       if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
16679       arg3 
= wxString_in_helper(obj2
); 
16680       if (arg3 
== NULL
) SWIG_fail
; 
16685     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16686     result 
= wxGetColourFromUser(arg1
,(wxColour 
const &)*arg2
,(wxString 
const &)*arg3
); 
16687     wxPyEndAllowThreads(__tstate
); 
16688     if (PyErr_Occurred()) SWIG_fail
; 
16690   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
16705 SWIGINTERN PyObject 
*_wrap_new_DirDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16706   PyObject 
*resultobj 
= 0; 
16707   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16708   wxString 
const &arg2_defvalue 
= wxPyDirSelectorPromptStr 
; 
16709   wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
16710   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16711   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16712   long arg4 
= (long) wxDD_DEFAULT_STYLE 
; 
16713   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
16714   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
16715   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
16716   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
16717   wxString 
const &arg7_defvalue 
= wxPyDirDialogNameStr 
; 
16718   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
16719   wxDirDialog 
*result 
= 0 ; 
16722   bool temp2 
= false ; 
16723   bool temp3 
= false ; 
16728   bool temp7 
= false ; 
16729   PyObject 
* obj0 
= 0 ; 
16730   PyObject 
* obj1 
= 0 ; 
16731   PyObject 
* obj2 
= 0 ; 
16732   PyObject 
* obj3 
= 0 ; 
16733   PyObject 
* obj4 
= 0 ; 
16734   PyObject 
* obj5 
= 0 ; 
16735   PyObject 
* obj6 
= 0 ; 
16736   char *  kwnames
[] = { 
16737     (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL 
 
16740   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
16741   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
16742   if (!SWIG_IsOK(res1
)) { 
16743     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
16745   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
16748       arg2 
= wxString_in_helper(obj1
); 
16749       if (arg2 
== NULL
) SWIG_fail
; 
16755       arg3 
= wxString_in_helper(obj2
); 
16756       if (arg3 
== NULL
) SWIG_fail
; 
16761     ecode4 
= SWIG_AsVal_long(obj3
, &val4
); 
16762     if (!SWIG_IsOK(ecode4
)) { 
16763       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'"); 
16765     arg4 
= static_cast< long >(val4
); 
16770       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
16776       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
16781       arg7 
= wxString_in_helper(obj6
); 
16782       if (arg7 
== NULL
) SWIG_fail
; 
16787     if (!wxPyCheckForApp()) SWIG_fail
; 
16788     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16789     result 
= (wxDirDialog 
*)new wxDirDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,(wxString 
const &)*arg7
); 
16790     wxPyEndAllowThreads(__tstate
); 
16791     if (PyErr_Occurred()) SWIG_fail
; 
16793   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW 
|  0 ); 
16824 SWIGINTERN PyObject 
*_wrap_DirDialog_GetPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16825   PyObject 
*resultobj 
= 0; 
16826   wxDirDialog 
*arg1 
= (wxDirDialog 
*) 0 ; 
16830   PyObject 
*swig_obj
[1] ; 
16832   if (!args
) SWIG_fail
; 
16833   swig_obj
[0] = args
; 
16834   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 |  0 ); 
16835   if (!SWIG_IsOK(res1
)) { 
16836     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");  
16838   arg1 
= reinterpret_cast< wxDirDialog 
* >(argp1
); 
16840     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16841     result 
= (arg1
)->GetPath(); 
16842     wxPyEndAllowThreads(__tstate
); 
16843     if (PyErr_Occurred()) SWIG_fail
; 
16847     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16849     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16858 SWIGINTERN PyObject 
*_wrap_DirDialog_GetMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16859   PyObject 
*resultobj 
= 0; 
16860   wxDirDialog 
*arg1 
= (wxDirDialog 
*) 0 ; 
16864   PyObject 
*swig_obj
[1] ; 
16866   if (!args
) SWIG_fail
; 
16867   swig_obj
[0] = args
; 
16868   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 |  0 ); 
16869   if (!SWIG_IsOK(res1
)) { 
16870     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");  
16872   arg1 
= reinterpret_cast< wxDirDialog 
* >(argp1
); 
16874     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16875     result 
= (arg1
)->GetMessage(); 
16876     wxPyEndAllowThreads(__tstate
); 
16877     if (PyErr_Occurred()) SWIG_fail
; 
16881     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
16883     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
16892 SWIGINTERN PyObject 
*_wrap_DirDialog_SetMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16893   PyObject 
*resultobj 
= 0; 
16894   wxDirDialog 
*arg1 
= (wxDirDialog 
*) 0 ; 
16895   wxString 
*arg2 
= 0 ; 
16898   bool temp2 
= false ; 
16899   PyObject 
* obj0 
= 0 ; 
16900   PyObject 
* obj1 
= 0 ; 
16901   char *  kwnames
[] = { 
16902     (char *) "self",(char *) "message", NULL 
 
16905   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16906   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 |  0 ); 
16907   if (!SWIG_IsOK(res1
)) { 
16908     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");  
16910   arg1 
= reinterpret_cast< wxDirDialog 
* >(argp1
); 
16912     arg2 
= wxString_in_helper(obj1
); 
16913     if (arg2 
== NULL
) SWIG_fail
; 
16917     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16918     (arg1
)->SetMessage((wxString 
const &)*arg2
); 
16919     wxPyEndAllowThreads(__tstate
); 
16920     if (PyErr_Occurred()) SWIG_fail
; 
16922   resultobj 
= SWIG_Py_Void(); 
16937 SWIGINTERN PyObject 
*_wrap_DirDialog_SetPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16938   PyObject 
*resultobj 
= 0; 
16939   wxDirDialog 
*arg1 
= (wxDirDialog 
*) 0 ; 
16940   wxString 
*arg2 
= 0 ; 
16943   bool temp2 
= false ; 
16944   PyObject 
* obj0 
= 0 ; 
16945   PyObject 
* obj1 
= 0 ; 
16946   char *  kwnames
[] = { 
16947     (char *) "self",(char *) "path", NULL 
 
16950   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16951   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 |  0 ); 
16952   if (!SWIG_IsOK(res1
)) { 
16953     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");  
16955   arg1 
= reinterpret_cast< wxDirDialog 
* >(argp1
); 
16957     arg2 
= wxString_in_helper(obj1
); 
16958     if (arg2 
== NULL
) SWIG_fail
; 
16962     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16963     (arg1
)->SetPath((wxString 
const &)*arg2
); 
16964     wxPyEndAllowThreads(__tstate
); 
16965     if (PyErr_Occurred()) SWIG_fail
; 
16967   resultobj 
= SWIG_Py_Void(); 
16982 SWIGINTERN PyObject 
*DirDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16984   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16985   SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
)); 
16986   return SWIG_Py_Void(); 
16989 SWIGINTERN PyObject 
*DirDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16990   return SWIG_Python_InitShadowInstance(args
); 
16993 SWIGINTERN PyObject 
*_wrap_new_FileDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16994   PyObject 
*resultobj 
= 0; 
16995   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16996   wxString 
const &arg2_defvalue 
= wxPyFileSelectorPromptStr 
; 
16997   wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
16998   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16999   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
17000   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
17001   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
17002   wxString 
const &arg5_defvalue 
= wxPyFileSelectorDefaultWildcardStr 
; 
17003   wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
17004   long arg6 
= (long) wxFD_DEFAULT_STYLE 
; 
17005   wxPoint 
const &arg7_defvalue 
= wxDefaultPosition 
; 
17006   wxPoint 
*arg7 
= (wxPoint 
*) &arg7_defvalue 
; 
17007   wxFileDialog 
*result 
= 0 ; 
17010   bool temp2 
= false ; 
17011   bool temp3 
= false ; 
17012   bool temp4 
= false ; 
17013   bool temp5 
= false ; 
17017   PyObject 
* obj0 
= 0 ; 
17018   PyObject 
* obj1 
= 0 ; 
17019   PyObject 
* obj2 
= 0 ; 
17020   PyObject 
* obj3 
= 0 ; 
17021   PyObject 
* obj4 
= 0 ; 
17022   PyObject 
* obj5 
= 0 ; 
17023   PyObject 
* obj6 
= 0 ; 
17024   char *  kwnames
[] = { 
17025     (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL 
 
17028   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
17029   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
17030   if (!SWIG_IsOK(res1
)) { 
17031     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
17033   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
17036       arg2 
= wxString_in_helper(obj1
); 
17037       if (arg2 
== NULL
) SWIG_fail
; 
17043       arg3 
= wxString_in_helper(obj2
); 
17044       if (arg3 
== NULL
) SWIG_fail
; 
17050       arg4 
= wxString_in_helper(obj3
); 
17051       if (arg4 
== NULL
) SWIG_fail
; 
17057       arg5 
= wxString_in_helper(obj4
); 
17058       if (arg5 
== NULL
) SWIG_fail
; 
17063     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
17064     if (!SWIG_IsOK(ecode6
)) { 
17065       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'"); 
17067     arg6 
= static_cast< long >(val6
); 
17072       if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
; 
17076     if (!wxPyCheckForApp()) SWIG_fail
; 
17077     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17078     result 
= (wxFileDialog 
*)new wxFileDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,(wxString 
const &)*arg5
,arg6
,(wxPoint 
const &)*arg7
); 
17079     wxPyEndAllowThreads(__tstate
); 
17080     if (PyErr_Occurred()) SWIG_fail
; 
17082   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW 
|  0 ); 
17121 SWIGINTERN PyObject 
*_wrap_FileDialog_SetMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17122   PyObject 
*resultobj 
= 0; 
17123   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17124   wxString 
*arg2 
= 0 ; 
17127   bool temp2 
= false ; 
17128   PyObject 
* obj0 
= 0 ; 
17129   PyObject 
* obj1 
= 0 ; 
17130   char *  kwnames
[] = { 
17131     (char *) "self",(char *) "message", NULL 
 
17134   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17135   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17136   if (!SWIG_IsOK(res1
)) { 
17137     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17139   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17141     arg2 
= wxString_in_helper(obj1
); 
17142     if (arg2 
== NULL
) SWIG_fail
; 
17146     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17147     (arg1
)->SetMessage((wxString 
const &)*arg2
); 
17148     wxPyEndAllowThreads(__tstate
); 
17149     if (PyErr_Occurred()) SWIG_fail
; 
17151   resultobj 
= SWIG_Py_Void(); 
17166 SWIGINTERN PyObject 
*_wrap_FileDialog_SetPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17167   PyObject 
*resultobj 
= 0; 
17168   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17169   wxString 
*arg2 
= 0 ; 
17172   bool temp2 
= false ; 
17173   PyObject 
* obj0 
= 0 ; 
17174   PyObject 
* obj1 
= 0 ; 
17175   char *  kwnames
[] = { 
17176     (char *) "self",(char *) "path", NULL 
 
17179   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17180   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17181   if (!SWIG_IsOK(res1
)) { 
17182     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17184   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17186     arg2 
= wxString_in_helper(obj1
); 
17187     if (arg2 
== NULL
) SWIG_fail
; 
17191     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17192     (arg1
)->SetPath((wxString 
const &)*arg2
); 
17193     wxPyEndAllowThreads(__tstate
); 
17194     if (PyErr_Occurred()) SWIG_fail
; 
17196   resultobj 
= SWIG_Py_Void(); 
17211 SWIGINTERN PyObject 
*_wrap_FileDialog_SetDirectory(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17212   PyObject 
*resultobj 
= 0; 
17213   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17214   wxString 
*arg2 
= 0 ; 
17217   bool temp2 
= false ; 
17218   PyObject 
* obj0 
= 0 ; 
17219   PyObject 
* obj1 
= 0 ; 
17220   char *  kwnames
[] = { 
17221     (char *) "self",(char *) "dir", NULL 
 
17224   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17225   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17226   if (!SWIG_IsOK(res1
)) { 
17227     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17229   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17231     arg2 
= wxString_in_helper(obj1
); 
17232     if (arg2 
== NULL
) SWIG_fail
; 
17236     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17237     (arg1
)->SetDirectory((wxString 
const &)*arg2
); 
17238     wxPyEndAllowThreads(__tstate
); 
17239     if (PyErr_Occurred()) SWIG_fail
; 
17241   resultobj 
= SWIG_Py_Void(); 
17256 SWIGINTERN PyObject 
*_wrap_FileDialog_SetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17257   PyObject 
*resultobj 
= 0; 
17258   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17259   wxString 
*arg2 
= 0 ; 
17262   bool temp2 
= false ; 
17263   PyObject 
* obj0 
= 0 ; 
17264   PyObject 
* obj1 
= 0 ; 
17265   char *  kwnames
[] = { 
17266     (char *) "self",(char *) "name", NULL 
 
17269   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17270   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17271   if (!SWIG_IsOK(res1
)) { 
17272     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17274   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17276     arg2 
= wxString_in_helper(obj1
); 
17277     if (arg2 
== NULL
) SWIG_fail
; 
17281     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17282     (arg1
)->SetFilename((wxString 
const &)*arg2
); 
17283     wxPyEndAllowThreads(__tstate
); 
17284     if (PyErr_Occurred()) SWIG_fail
; 
17286   resultobj 
= SWIG_Py_Void(); 
17301 SWIGINTERN PyObject 
*_wrap_FileDialog_SetWildcard(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17302   PyObject 
*resultobj 
= 0; 
17303   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17304   wxString 
*arg2 
= 0 ; 
17307   bool temp2 
= false ; 
17308   PyObject 
* obj0 
= 0 ; 
17309   PyObject 
* obj1 
= 0 ; 
17310   char *  kwnames
[] = { 
17311     (char *) "self",(char *) "wildCard", NULL 
 
17314   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17315   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17316   if (!SWIG_IsOK(res1
)) { 
17317     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17319   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17321     arg2 
= wxString_in_helper(obj1
); 
17322     if (arg2 
== NULL
) SWIG_fail
; 
17326     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17327     (arg1
)->SetWildcard((wxString 
const &)*arg2
); 
17328     wxPyEndAllowThreads(__tstate
); 
17329     if (PyErr_Occurred()) SWIG_fail
; 
17331   resultobj 
= SWIG_Py_Void(); 
17346 SWIGINTERN PyObject 
*_wrap_FileDialog_SetFilterIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17347   PyObject 
*resultobj 
= 0; 
17348   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17354   PyObject 
* obj0 
= 0 ; 
17355   PyObject 
* obj1 
= 0 ; 
17356   char *  kwnames
[] = { 
17357     (char *) "self",(char *) "filterIndex", NULL 
 
17360   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17361   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17362   if (!SWIG_IsOK(res1
)) { 
17363     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17365   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17366   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17367   if (!SWIG_IsOK(ecode2
)) { 
17368     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'"); 
17370   arg2 
= static_cast< int >(val2
); 
17372     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17373     (arg1
)->SetFilterIndex(arg2
); 
17374     wxPyEndAllowThreads(__tstate
); 
17375     if (PyErr_Occurred()) SWIG_fail
; 
17377   resultobj 
= SWIG_Py_Void(); 
17384 SWIGINTERN PyObject 
*_wrap_FileDialog_GetMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17385   PyObject 
*resultobj 
= 0; 
17386   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17390   PyObject 
*swig_obj
[1] ; 
17392   if (!args
) SWIG_fail
; 
17393   swig_obj
[0] = args
; 
17394   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17395   if (!SWIG_IsOK(res1
)) { 
17396     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17398   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17400     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17401     result 
= ((wxFileDialog 
const *)arg1
)->GetMessage(); 
17402     wxPyEndAllowThreads(__tstate
); 
17403     if (PyErr_Occurred()) SWIG_fail
; 
17407     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17409     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17418 SWIGINTERN PyObject 
*_wrap_FileDialog_GetPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17419   PyObject 
*resultobj 
= 0; 
17420   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17424   PyObject 
*swig_obj
[1] ; 
17426   if (!args
) SWIG_fail
; 
17427   swig_obj
[0] = args
; 
17428   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17429   if (!SWIG_IsOK(res1
)) { 
17430     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17432   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17434     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17435     result 
= ((wxFileDialog 
const *)arg1
)->GetPath(); 
17436     wxPyEndAllowThreads(__tstate
); 
17437     if (PyErr_Occurred()) SWIG_fail
; 
17441     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17443     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17452 SWIGINTERN PyObject 
*_wrap_FileDialog_GetDirectory(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17453   PyObject 
*resultobj 
= 0; 
17454   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17458   PyObject 
*swig_obj
[1] ; 
17460   if (!args
) SWIG_fail
; 
17461   swig_obj
[0] = args
; 
17462   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17463   if (!SWIG_IsOK(res1
)) { 
17464     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17466   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17468     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17469     result 
= ((wxFileDialog 
const *)arg1
)->GetDirectory(); 
17470     wxPyEndAllowThreads(__tstate
); 
17471     if (PyErr_Occurred()) SWIG_fail
; 
17475     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17477     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17486 SWIGINTERN PyObject 
*_wrap_FileDialog_GetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17487   PyObject 
*resultobj 
= 0; 
17488   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17492   PyObject 
*swig_obj
[1] ; 
17494   if (!args
) SWIG_fail
; 
17495   swig_obj
[0] = args
; 
17496   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17497   if (!SWIG_IsOK(res1
)) { 
17498     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17500   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17502     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17503     result 
= ((wxFileDialog 
const *)arg1
)->GetFilename(); 
17504     wxPyEndAllowThreads(__tstate
); 
17505     if (PyErr_Occurred()) SWIG_fail
; 
17509     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17511     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17520 SWIGINTERN PyObject 
*_wrap_FileDialog_GetWildcard(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17521   PyObject 
*resultobj 
= 0; 
17522   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17526   PyObject 
*swig_obj
[1] ; 
17528   if (!args
) SWIG_fail
; 
17529   swig_obj
[0] = args
; 
17530   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17531   if (!SWIG_IsOK(res1
)) { 
17532     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17534   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17536     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17537     result 
= ((wxFileDialog 
const *)arg1
)->GetWildcard(); 
17538     wxPyEndAllowThreads(__tstate
); 
17539     if (PyErr_Occurred()) SWIG_fail
; 
17543     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17545     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17554 SWIGINTERN PyObject 
*_wrap_FileDialog_GetFilterIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17555   PyObject 
*resultobj 
= 0; 
17556   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17560   PyObject 
*swig_obj
[1] ; 
17562   if (!args
) SWIG_fail
; 
17563   swig_obj
[0] = args
; 
17564   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17565   if (!SWIG_IsOK(res1
)) { 
17566     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17568   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17570     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17571     result 
= (int)((wxFileDialog 
const *)arg1
)->GetFilterIndex(); 
17572     wxPyEndAllowThreads(__tstate
); 
17573     if (PyErr_Occurred()) SWIG_fail
; 
17575   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
17582 SWIGINTERN PyObject 
*_wrap_FileDialog_GetFilenames(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17583   PyObject 
*resultobj 
= 0; 
17584   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17585   PyObject 
*result 
= 0 ; 
17588   PyObject 
*swig_obj
[1] ; 
17590   if (!args
) SWIG_fail
; 
17591   swig_obj
[0] = args
; 
17592   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17593   if (!SWIG_IsOK(res1
)) { 
17594     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17596   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17598     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17599     result 
= (PyObject 
*)wxFileDialog_GetFilenames(arg1
); 
17600     wxPyEndAllowThreads(__tstate
); 
17601     if (PyErr_Occurred()) SWIG_fail
; 
17603   resultobj 
= result
; 
17610 SWIGINTERN PyObject 
*_wrap_FileDialog_GetPaths(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17611   PyObject 
*resultobj 
= 0; 
17612   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17613   PyObject 
*result 
= 0 ; 
17616   PyObject 
*swig_obj
[1] ; 
17618   if (!args
) SWIG_fail
; 
17619   swig_obj
[0] = args
; 
17620   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17621   if (!SWIG_IsOK(res1
)) { 
17622     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17624   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17626     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17627     result 
= (PyObject 
*)wxFileDialog_GetPaths(arg1
); 
17628     wxPyEndAllowThreads(__tstate
); 
17629     if (PyErr_Occurred()) SWIG_fail
; 
17631   resultobj 
= result
; 
17638 SWIGINTERN PyObject 
*FileDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17640   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
17641   SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
)); 
17642   return SWIG_Py_Void(); 
17645 SWIGINTERN PyObject 
*FileDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17646   return SWIG_Python_InitShadowInstance(args
); 
17649 SWIGINTERN PyObject 
*_wrap_new_MultiChoiceDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17650   PyObject 
*resultobj 
= 0; 
17651   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
17652   wxString 
*arg2 
= 0 ; 
17653   wxString 
*arg3 
= 0 ; 
17654   int arg4 
= (int) 0 ; 
17655   wxString 
*arg5 
= (wxString 
*) NULL 
; 
17656   long arg6 
= (long) wxCHOICEDLG_STYLE 
; 
17657   wxPoint 
const &arg7_defvalue 
= wxDefaultPosition 
; 
17658   wxPoint 
*arg7 
= (wxPoint 
*) &arg7_defvalue 
; 
17659   wxMultiChoiceDialog 
*result 
= 0 ; 
17662   bool temp2 
= false ; 
17663   bool temp3 
= false ; 
17667   PyObject 
* obj0 
= 0 ; 
17668   PyObject 
* obj1 
= 0 ; 
17669   PyObject 
* obj2 
= 0 ; 
17670   PyObject 
* obj3 
= 0 ; 
17671   PyObject 
* obj4 
= 0 ; 
17672   PyObject 
* obj5 
= 0 ; 
17673   char *  kwnames
[] = { 
17674     (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL 
 
17677   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
17678   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
17679   if (!SWIG_IsOK(res1
)) { 
17680     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
17682   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
17684     arg2 
= wxString_in_helper(obj1
); 
17685     if (arg2 
== NULL
) SWIG_fail
; 
17689     arg3 
= wxString_in_helper(obj2
); 
17690     if (arg3 
== NULL
) SWIG_fail
; 
17695       arg4 
= PyList_Size(obj3
); 
17696       arg5 
= wxString_LIST_helper(obj3
); 
17697       if (arg5 
== NULL
) SWIG_fail
; 
17701     ecode6 
= SWIG_AsVal_long(obj4
, &val6
); 
17702     if (!SWIG_IsOK(ecode6
)) { 
17703       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'"); 
17705     arg6 
= static_cast< long >(val6
); 
17710       if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
; 
17714     if (!wxPyCheckForApp()) SWIG_fail
; 
17715     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17716     result 
= (wxMultiChoiceDialog 
*)new wxMultiChoiceDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint 
const &)*arg7
); 
17717     wxPyEndAllowThreads(__tstate
); 
17718     if (PyErr_Occurred()) SWIG_fail
; 
17720   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW 
|  0 ); 
17730     if (arg5
) delete [] arg5
; 
17743     if (arg5
) delete [] arg5
; 
17749 SWIGINTERN PyObject 
*_wrap_MultiChoiceDialog_SetSelections(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17750   PyObject 
*resultobj 
= 0; 
17751   wxMultiChoiceDialog 
*arg1 
= (wxMultiChoiceDialog 
*) 0 ; 
17752   wxArrayInt 
*arg2 
= 0 ; 
17755   bool temp2 
= false ; 
17756   PyObject 
* obj0 
= 0 ; 
17757   PyObject 
* obj1 
= 0 ; 
17758   char *  kwnames
[] = { 
17759     (char *) "self",(char *) "selections", NULL 
 
17762   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17763   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 |  0 ); 
17764   if (!SWIG_IsOK(res1
)) { 
17765     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");  
17767   arg1 
= reinterpret_cast< wxMultiChoiceDialog 
* >(argp1
); 
17769     if (! PySequence_Check(obj1
)) { 
17770       PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected."); 
17773     arg2 
= new wxArrayInt
; 
17775     int i
, len
=PySequence_Length(obj1
); 
17776     for (i
=0; i
<len
; i
++) { 
17777       PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
17778       PyObject
* number  
= PyNumber_Int(item
); 
17779       arg2
->Add(PyInt_AS_LONG(number
)); 
17785     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17786     (arg1
)->SetSelections((wxArrayInt 
const &)*arg2
); 
17787     wxPyEndAllowThreads(__tstate
); 
17788     if (PyErr_Occurred()) SWIG_fail
; 
17790   resultobj 
= SWIG_Py_Void(); 
17792     if (temp2
) delete arg2
; 
17797     if (temp2
) delete arg2
; 
17803 SWIGINTERN PyObject 
*_wrap_MultiChoiceDialog_GetSelections(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17804   PyObject 
*resultobj 
= 0; 
17805   wxMultiChoiceDialog 
*arg1 
= (wxMultiChoiceDialog 
*) 0 ; 
17806   PyObject 
*result 
= 0 ; 
17809   PyObject 
*swig_obj
[1] ; 
17811   if (!args
) SWIG_fail
; 
17812   swig_obj
[0] = args
; 
17813   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 |  0 ); 
17814   if (!SWIG_IsOK(res1
)) { 
17815     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");  
17817   arg1 
= reinterpret_cast< wxMultiChoiceDialog 
* >(argp1
); 
17819     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17820     result 
= (PyObject 
*)wxMultiChoiceDialog_GetSelections(arg1
); 
17821     wxPyEndAllowThreads(__tstate
); 
17822     if (PyErr_Occurred()) SWIG_fail
; 
17824   resultobj 
= result
; 
17831 SWIGINTERN PyObject 
*MultiChoiceDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17833   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
17834   SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
)); 
17835   return SWIG_Py_Void(); 
17838 SWIGINTERN PyObject 
*MultiChoiceDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17839   return SWIG_Python_InitShadowInstance(args
); 
17842 SWIGINTERN PyObject 
*_wrap_new_SingleChoiceDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17843   PyObject 
*resultobj 
= 0; 
17844   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
17845   wxString 
*arg2 
= 0 ; 
17846   wxString 
*arg3 
= 0 ; 
17848   wxString 
*arg5 
= (wxString 
*) 0 ; 
17849   long arg6 
= (long) wxCHOICEDLG_STYLE 
; 
17850   wxPoint 
const &arg7_defvalue 
= wxDefaultPosition 
; 
17851   wxPoint 
*arg7 
= (wxPoint 
*) &arg7_defvalue 
; 
17852   wxSingleChoiceDialog 
*result 
= 0 ; 
17855   bool temp2 
= false ; 
17856   bool temp3 
= false ; 
17860   PyObject 
* obj0 
= 0 ; 
17861   PyObject 
* obj1 
= 0 ; 
17862   PyObject 
* obj2 
= 0 ; 
17863   PyObject 
* obj3 
= 0 ; 
17864   PyObject 
* obj4 
= 0 ; 
17865   PyObject 
* obj5 
= 0 ; 
17866   char *  kwnames
[] = { 
17867     (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL 
 
17870   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
17871   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
17872   if (!SWIG_IsOK(res1
)) { 
17873     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
17875   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
17877     arg2 
= wxString_in_helper(obj1
); 
17878     if (arg2 
== NULL
) SWIG_fail
; 
17882     arg3 
= wxString_in_helper(obj2
); 
17883     if (arg3 
== NULL
) SWIG_fail
; 
17887     arg4 
= PyList_Size(obj3
); 
17888     arg5 
= wxString_LIST_helper(obj3
); 
17889     if (arg5 
== NULL
) SWIG_fail
; 
17892     ecode6 
= SWIG_AsVal_long(obj4
, &val6
); 
17893     if (!SWIG_IsOK(ecode6
)) { 
17894       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'"); 
17896     arg6 
= static_cast< long >(val6
); 
17901       if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
; 
17905     if (!wxPyCheckForApp()) SWIG_fail
; 
17906     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17907     result 
= (wxSingleChoiceDialog 
*)new_wxSingleChoiceDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint 
const &)*arg7
); 
17908     wxPyEndAllowThreads(__tstate
); 
17909     if (PyErr_Occurred()) SWIG_fail
; 
17911   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW 
|  0 ); 
17921     if (arg5
) delete [] arg5
; 
17934     if (arg5
) delete [] arg5
; 
17940 SWIGINTERN PyObject 
*_wrap_SingleChoiceDialog_GetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17941   PyObject 
*resultobj 
= 0; 
17942   wxSingleChoiceDialog 
*arg1 
= (wxSingleChoiceDialog 
*) 0 ; 
17946   PyObject 
*swig_obj
[1] ; 
17948   if (!args
) SWIG_fail
; 
17949   swig_obj
[0] = args
; 
17950   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 |  0 ); 
17951   if (!SWIG_IsOK(res1
)) { 
17952     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");  
17954   arg1 
= reinterpret_cast< wxSingleChoiceDialog 
* >(argp1
); 
17956     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17957     result 
= (int)(arg1
)->GetSelection(); 
17958     wxPyEndAllowThreads(__tstate
); 
17959     if (PyErr_Occurred()) SWIG_fail
; 
17961   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
17968 SWIGINTERN PyObject 
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17969   PyObject 
*resultobj 
= 0; 
17970   wxSingleChoiceDialog 
*arg1 
= (wxSingleChoiceDialog 
*) 0 ; 
17974   PyObject 
*swig_obj
[1] ; 
17976   if (!args
) SWIG_fail
; 
17977   swig_obj
[0] = args
; 
17978   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 |  0 ); 
17979   if (!SWIG_IsOK(res1
)) { 
17980     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");  
17982   arg1 
= reinterpret_cast< wxSingleChoiceDialog 
* >(argp1
); 
17984     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17985     result 
= (arg1
)->GetStringSelection(); 
17986     wxPyEndAllowThreads(__tstate
); 
17987     if (PyErr_Occurred()) SWIG_fail
; 
17991     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17993     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
18002 SWIGINTERN PyObject 
*_wrap_SingleChoiceDialog_SetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18003   PyObject 
*resultobj 
= 0; 
18004   wxSingleChoiceDialog 
*arg1 
= (wxSingleChoiceDialog 
*) 0 ; 
18010   PyObject 
* obj0 
= 0 ; 
18011   PyObject 
* obj1 
= 0 ; 
18012   char *  kwnames
[] = { 
18013     (char *) "self",(char *) "sel", NULL 
 
18016   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18017   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 |  0 ); 
18018   if (!SWIG_IsOK(res1
)) { 
18019     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");  
18021   arg1 
= reinterpret_cast< wxSingleChoiceDialog 
* >(argp1
); 
18022   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18023   if (!SWIG_IsOK(ecode2
)) { 
18024     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'"); 
18026   arg2 
= static_cast< int >(val2
); 
18028     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18029     (arg1
)->SetSelection(arg2
); 
18030     wxPyEndAllowThreads(__tstate
); 
18031     if (PyErr_Occurred()) SWIG_fail
; 
18033   resultobj 
= SWIG_Py_Void(); 
18040 SWIGINTERN PyObject 
*SingleChoiceDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18042   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18043   SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
)); 
18044   return SWIG_Py_Void(); 
18047 SWIGINTERN PyObject 
*SingleChoiceDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18048   return SWIG_Python_InitShadowInstance(args
); 
18051 SWIGINTERN PyObject 
*_wrap_new_TextEntryDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18052   PyObject 
*resultobj 
= 0; 
18053   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18054   wxString 
*arg2 
= 0 ; 
18055   wxString 
const &arg3_defvalue 
= wxPyGetTextFromUserPromptStr 
; 
18056   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
18057   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
18058   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
18059   long arg5 
= (long) wxTextEntryDialogStyle 
; 
18060   wxPoint 
const &arg6_defvalue 
= wxDefaultPosition 
; 
18061   wxPoint 
*arg6 
= (wxPoint 
*) &arg6_defvalue 
; 
18062   wxTextEntryDialog 
*result 
= 0 ; 
18065   bool temp2 
= false ; 
18066   bool temp3 
= false ; 
18067   bool temp4 
= false ; 
18071   PyObject 
* obj0 
= 0 ; 
18072   PyObject 
* obj1 
= 0 ; 
18073   PyObject 
* obj2 
= 0 ; 
18074   PyObject 
* obj3 
= 0 ; 
18075   PyObject 
* obj4 
= 0 ; 
18076   PyObject 
* obj5 
= 0 ; 
18077   char *  kwnames
[] = { 
18078     (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL 
 
18081   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
18082   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
18083   if (!SWIG_IsOK(res1
)) { 
18084     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
18086   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
18088     arg2 
= wxString_in_helper(obj1
); 
18089     if (arg2 
== NULL
) SWIG_fail
; 
18094       arg3 
= wxString_in_helper(obj2
); 
18095       if (arg3 
== NULL
) SWIG_fail
; 
18101       arg4 
= wxString_in_helper(obj3
); 
18102       if (arg4 
== NULL
) SWIG_fail
; 
18107     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
18108     if (!SWIG_IsOK(ecode5
)) { 
18109       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'"); 
18111     arg5 
= static_cast< long >(val5
); 
18116       if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
; 
18120     if (!wxPyCheckForApp()) SWIG_fail
; 
18121     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18122     result 
= (wxTextEntryDialog 
*)new wxTextEntryDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,(wxPoint 
const &)*arg6
); 
18123     wxPyEndAllowThreads(__tstate
); 
18124     if (PyErr_Occurred()) SWIG_fail
; 
18126   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW 
|  0 ); 
18157 SWIGINTERN PyObject 
*_wrap_TextEntryDialog_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18158   PyObject 
*resultobj 
= 0; 
18159   wxTextEntryDialog 
*arg1 
= (wxTextEntryDialog 
*) 0 ; 
18163   PyObject 
*swig_obj
[1] ; 
18165   if (!args
) SWIG_fail
; 
18166   swig_obj
[0] = args
; 
18167   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 |  0 ); 
18168   if (!SWIG_IsOK(res1
)) { 
18169     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");  
18171   arg1 
= reinterpret_cast< wxTextEntryDialog 
* >(argp1
); 
18173     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18174     result 
= (arg1
)->GetValue(); 
18175     wxPyEndAllowThreads(__tstate
); 
18176     if (PyErr_Occurred()) SWIG_fail
; 
18180     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
18182     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
18191 SWIGINTERN PyObject 
*_wrap_TextEntryDialog_SetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18192   PyObject 
*resultobj 
= 0; 
18193   wxTextEntryDialog 
*arg1 
= (wxTextEntryDialog 
*) 0 ; 
18194   wxString 
*arg2 
= 0 ; 
18197   bool temp2 
= false ; 
18198   PyObject 
* obj0 
= 0 ; 
18199   PyObject 
* obj1 
= 0 ; 
18200   char *  kwnames
[] = { 
18201     (char *) "self",(char *) "value", NULL 
 
18204   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18205   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 |  0 ); 
18206   if (!SWIG_IsOK(res1
)) { 
18207     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");  
18209   arg1 
= reinterpret_cast< wxTextEntryDialog 
* >(argp1
); 
18211     arg2 
= wxString_in_helper(obj1
); 
18212     if (arg2 
== NULL
) SWIG_fail
; 
18216     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18217     (arg1
)->SetValue((wxString 
const &)*arg2
); 
18218     wxPyEndAllowThreads(__tstate
); 
18219     if (PyErr_Occurred()) SWIG_fail
; 
18221   resultobj 
= SWIG_Py_Void(); 
18236 SWIGINTERN PyObject 
*TextEntryDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18238   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18239   SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
)); 
18240   return SWIG_Py_Void(); 
18243 SWIGINTERN PyObject 
*TextEntryDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18244   return SWIG_Python_InitShadowInstance(args
); 
18247 SWIGINTERN 
int GetPasswordFromUserPromptStr_set(PyObject 
*) { 
18248   SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only."); 
18253 SWIGINTERN PyObject 
*GetPasswordFromUserPromptStr_get(void) { 
18254   PyObject 
*pyobj 
= 0; 
18258     pyobj 
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len()); 
18260     pyobj 
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len()); 
18267 SWIGINTERN PyObject 
*_wrap_new_PasswordEntryDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18268   PyObject 
*resultobj 
= 0; 
18269   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18270   wxString 
*arg2 
= 0 ; 
18271   wxString 
const &arg3_defvalue 
= wxPyGetPasswordFromUserPromptStr 
; 
18272   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
18273   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
18274   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
18275   long arg5 
= (long) wxTextEntryDialogStyle 
; 
18276   wxPoint 
const &arg6_defvalue 
= wxDefaultPosition 
; 
18277   wxPoint 
*arg6 
= (wxPoint 
*) &arg6_defvalue 
; 
18278   wxPasswordEntryDialog 
*result 
= 0 ; 
18281   bool temp2 
= false ; 
18282   bool temp3 
= false ; 
18283   bool temp4 
= false ; 
18287   PyObject 
* obj0 
= 0 ; 
18288   PyObject 
* obj1 
= 0 ; 
18289   PyObject 
* obj2 
= 0 ; 
18290   PyObject 
* obj3 
= 0 ; 
18291   PyObject 
* obj4 
= 0 ; 
18292   PyObject 
* obj5 
= 0 ; 
18293   char *  kwnames
[] = { 
18294     (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL 
 
18297   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
18298   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
18299   if (!SWIG_IsOK(res1
)) { 
18300     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
18302   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
18304     arg2 
= wxString_in_helper(obj1
); 
18305     if (arg2 
== NULL
) SWIG_fail
; 
18310       arg3 
= wxString_in_helper(obj2
); 
18311       if (arg3 
== NULL
) SWIG_fail
; 
18317       arg4 
= wxString_in_helper(obj3
); 
18318       if (arg4 
== NULL
) SWIG_fail
; 
18323     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
18324     if (!SWIG_IsOK(ecode5
)) { 
18325       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'"); 
18327     arg5 
= static_cast< long >(val5
); 
18332       if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
; 
18336     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18337     result 
= (wxPasswordEntryDialog 
*)new wxPasswordEntryDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,(wxPoint 
const &)*arg6
); 
18338     wxPyEndAllowThreads(__tstate
); 
18339     if (PyErr_Occurred()) SWIG_fail
; 
18341   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW 
|  0 ); 
18372 SWIGINTERN PyObject 
*PasswordEntryDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18374   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18375   SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
)); 
18376   return SWIG_Py_Void(); 
18379 SWIGINTERN PyObject 
*PasswordEntryDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18380   return SWIG_Python_InitShadowInstance(args
); 
18383 SWIGINTERN PyObject 
*_wrap_new_NumberEntryDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18384   PyObject 
*resultobj 
= 0; 
18385   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18386   wxString 
*arg2 
= 0 ; 
18387   wxString 
*arg3 
= 0 ; 
18388   wxString 
*arg4 
= 0 ; 
18392   wxPoint 
const &arg8_defvalue 
= wxDefaultPosition 
; 
18393   wxPoint 
*arg8 
= (wxPoint 
*) &arg8_defvalue 
; 
18394   wxNumberEntryDialog 
*result 
= 0 ; 
18397   bool temp2 
= false ; 
18398   bool temp3 
= false ; 
18399   bool temp4 
= false ; 
18407   PyObject 
* obj0 
= 0 ; 
18408   PyObject 
* obj1 
= 0 ; 
18409   PyObject 
* obj2 
= 0 ; 
18410   PyObject 
* obj3 
= 0 ; 
18411   PyObject 
* obj4 
= 0 ; 
18412   PyObject 
* obj5 
= 0 ; 
18413   PyObject 
* obj6 
= 0 ; 
18414   PyObject 
* obj7 
= 0 ; 
18415   char *  kwnames
[] = { 
18416     (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL 
 
18419   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
18420   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
18421   if (!SWIG_IsOK(res1
)) { 
18422     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
18424   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
18426     arg2 
= wxString_in_helper(obj1
); 
18427     if (arg2 
== NULL
) SWIG_fail
; 
18431     arg3 
= wxString_in_helper(obj2
); 
18432     if (arg3 
== NULL
) SWIG_fail
; 
18436     arg4 
= wxString_in_helper(obj3
); 
18437     if (arg4 
== NULL
) SWIG_fail
; 
18440   ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
18441   if (!SWIG_IsOK(ecode5
)) { 
18442     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'"); 
18444   arg5 
= static_cast< long >(val5
); 
18445   ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
18446   if (!SWIG_IsOK(ecode6
)) { 
18447     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'"); 
18449   arg6 
= static_cast< long >(val6
); 
18450   ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
18451   if (!SWIG_IsOK(ecode7
)) { 
18452     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'"); 
18454   arg7 
= static_cast< long >(val7
); 
18458       if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
; 
18462     if (!wxPyCheckForApp()) SWIG_fail
; 
18463     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18464     result 
= (wxNumberEntryDialog 
*)new wxNumberEntryDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint 
const &)*arg8
); 
18465     wxPyEndAllowThreads(__tstate
); 
18466     if (PyErr_Occurred()) SWIG_fail
; 
18468   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW 
|  0 ); 
18499 SWIGINTERN PyObject 
*_wrap_NumberEntryDialog_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18500   PyObject 
*resultobj 
= 0; 
18501   wxNumberEntryDialog 
*arg1 
= (wxNumberEntryDialog 
*) 0 ; 
18505   PyObject 
*swig_obj
[1] ; 
18507   if (!args
) SWIG_fail
; 
18508   swig_obj
[0] = args
; 
18509   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 |  0 ); 
18510   if (!SWIG_IsOK(res1
)) { 
18511     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");  
18513   arg1 
= reinterpret_cast< wxNumberEntryDialog 
* >(argp1
); 
18515     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18516     result 
= (long)(arg1
)->GetValue(); 
18517     wxPyEndAllowThreads(__tstate
); 
18518     if (PyErr_Occurred()) SWIG_fail
; 
18520   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
18527 SWIGINTERN PyObject 
*NumberEntryDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18529   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18530   SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
)); 
18531   return SWIG_Py_Void(); 
18534 SWIGINTERN PyObject 
*NumberEntryDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18535   return SWIG_Python_InitShadowInstance(args
); 
18538 SWIGINTERN PyObject 
*_wrap_new_FontData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18539   PyObject 
*resultobj 
= 0; 
18540   wxFontData 
*result 
= 0 ; 
18542   if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
; 
18544     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18545     result 
= (wxFontData 
*)new wxFontData(); 
18546     wxPyEndAllowThreads(__tstate
); 
18547     if (PyErr_Occurred()) SWIG_fail
; 
18549   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW 
|  0 ); 
18556 SWIGINTERN PyObject 
*_wrap_delete_FontData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18557   PyObject 
*resultobj 
= 0; 
18558   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18561   PyObject 
*swig_obj
[1] ; 
18563   if (!args
) SWIG_fail
; 
18564   swig_obj
[0] = args
; 
18565   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN 
|  0 ); 
18566   if (!SWIG_IsOK(res1
)) { 
18567     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");  
18569   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18571     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18574     wxPyEndAllowThreads(__tstate
); 
18575     if (PyErr_Occurred()) SWIG_fail
; 
18577   resultobj 
= SWIG_Py_Void(); 
18584 SWIGINTERN PyObject 
*_wrap_FontData_EnableEffects(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18585   PyObject 
*resultobj 
= 0; 
18586   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18592   PyObject 
* obj0 
= 0 ; 
18593   PyObject 
* obj1 
= 0 ; 
18594   char *  kwnames
[] = { 
18595     (char *) "self",(char *) "enable", NULL 
 
18598   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18599   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18600   if (!SWIG_IsOK(res1
)) { 
18601     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");  
18603   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18604   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
18605   if (!SWIG_IsOK(ecode2
)) { 
18606     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'"); 
18608   arg2 
= static_cast< bool >(val2
); 
18610     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18611     (arg1
)->EnableEffects(arg2
); 
18612     wxPyEndAllowThreads(__tstate
); 
18613     if (PyErr_Occurred()) SWIG_fail
; 
18615   resultobj 
= SWIG_Py_Void(); 
18622 SWIGINTERN PyObject 
*_wrap_FontData_GetAllowSymbols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18623   PyObject 
*resultobj 
= 0; 
18624   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18628   PyObject 
*swig_obj
[1] ; 
18630   if (!args
) SWIG_fail
; 
18631   swig_obj
[0] = args
; 
18632   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18633   if (!SWIG_IsOK(res1
)) { 
18634     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");  
18636   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18638     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18639     result 
= (bool)(arg1
)->GetAllowSymbols(); 
18640     wxPyEndAllowThreads(__tstate
); 
18641     if (PyErr_Occurred()) SWIG_fail
; 
18644     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18652 SWIGINTERN PyObject 
*_wrap_FontData_GetColour(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_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");  
18666   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18668     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18669     result 
= (arg1
)->GetColour(); 
18670     wxPyEndAllowThreads(__tstate
); 
18671     if (PyErr_Occurred()) SWIG_fail
; 
18673   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
18680 SWIGINTERN PyObject 
*_wrap_FontData_GetChosenFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18681   PyObject 
*resultobj 
= 0; 
18682   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18686   PyObject 
*swig_obj
[1] ; 
18688   if (!args
) SWIG_fail
; 
18689   swig_obj
[0] = args
; 
18690   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18691   if (!SWIG_IsOK(res1
)) { 
18692     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");  
18694   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18696     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18697     result 
= (arg1
)->GetChosenFont(); 
18698     wxPyEndAllowThreads(__tstate
); 
18699     if (PyErr_Occurred()) SWIG_fail
; 
18701   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
18708 SWIGINTERN PyObject 
*_wrap_FontData_GetEnableEffects(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18709   PyObject 
*resultobj 
= 0; 
18710   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18714   PyObject 
*swig_obj
[1] ; 
18716   if (!args
) SWIG_fail
; 
18717   swig_obj
[0] = args
; 
18718   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18719   if (!SWIG_IsOK(res1
)) { 
18720     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");  
18722   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18724     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18725     result 
= (bool)(arg1
)->GetEnableEffects(); 
18726     wxPyEndAllowThreads(__tstate
); 
18727     if (PyErr_Occurred()) SWIG_fail
; 
18730     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18738 SWIGINTERN PyObject 
*_wrap_FontData_GetInitialFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18739   PyObject 
*resultobj 
= 0; 
18740   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18744   PyObject 
*swig_obj
[1] ; 
18746   if (!args
) SWIG_fail
; 
18747   swig_obj
[0] = args
; 
18748   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18749   if (!SWIG_IsOK(res1
)) { 
18750     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");  
18752   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18754     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18755     result 
= (arg1
)->GetInitialFont(); 
18756     wxPyEndAllowThreads(__tstate
); 
18757     if (PyErr_Occurred()) SWIG_fail
; 
18759   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
18766 SWIGINTERN PyObject 
*_wrap_FontData_GetShowHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18767   PyObject 
*resultobj 
= 0; 
18768   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18772   PyObject 
*swig_obj
[1] ; 
18774   if (!args
) SWIG_fail
; 
18775   swig_obj
[0] = args
; 
18776   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18777   if (!SWIG_IsOK(res1
)) { 
18778     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");  
18780   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18782     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18783     result 
= (bool)(arg1
)->GetShowHelp(); 
18784     wxPyEndAllowThreads(__tstate
); 
18785     if (PyErr_Occurred()) SWIG_fail
; 
18788     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18796 SWIGINTERN PyObject 
*_wrap_FontData_SetAllowSymbols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18797   PyObject 
*resultobj 
= 0; 
18798   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18804   PyObject 
* obj0 
= 0 ; 
18805   PyObject 
* obj1 
= 0 ; 
18806   char *  kwnames
[] = { 
18807     (char *) "self",(char *) "allowSymbols", NULL 
 
18810   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18811   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18812   if (!SWIG_IsOK(res1
)) { 
18813     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");  
18815   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18816   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
18817   if (!SWIG_IsOK(ecode2
)) { 
18818     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'"); 
18820   arg2 
= static_cast< bool >(val2
); 
18822     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18823     (arg1
)->SetAllowSymbols(arg2
); 
18824     wxPyEndAllowThreads(__tstate
); 
18825     if (PyErr_Occurred()) SWIG_fail
; 
18827   resultobj 
= SWIG_Py_Void(); 
18834 SWIGINTERN PyObject 
*_wrap_FontData_SetChosenFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18835   PyObject 
*resultobj 
= 0; 
18836   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18842   PyObject 
* obj0 
= 0 ; 
18843   PyObject 
* obj1 
= 0 ; 
18844   char *  kwnames
[] = { 
18845     (char *) "self",(char *) "font", NULL 
 
18848   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18849   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18850   if (!SWIG_IsOK(res1
)) { 
18851     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");  
18853   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18854   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
18855   if (!SWIG_IsOK(res2
)) { 
18856     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
18859     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
18861   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
18863     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18864     (arg1
)->SetChosenFont((wxFont 
const &)*arg2
); 
18865     wxPyEndAllowThreads(__tstate
); 
18866     if (PyErr_Occurred()) SWIG_fail
; 
18868   resultobj 
= SWIG_Py_Void(); 
18875 SWIGINTERN PyObject 
*_wrap_FontData_SetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18876   PyObject 
*resultobj 
= 0; 
18877   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18878   wxColour 
*arg2 
= 0 ; 
18882   PyObject 
* obj0 
= 0 ; 
18883   PyObject 
* obj1 
= 0 ; 
18884   char *  kwnames
[] = { 
18885     (char *) "self",(char *) "colour", NULL 
 
18888   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18889   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18890   if (!SWIG_IsOK(res1
)) { 
18891     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");  
18893   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18896     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
18899     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18900     (arg1
)->SetColour((wxColour 
const &)*arg2
); 
18901     wxPyEndAllowThreads(__tstate
); 
18902     if (PyErr_Occurred()) SWIG_fail
; 
18904   resultobj 
= SWIG_Py_Void(); 
18911 SWIGINTERN PyObject 
*_wrap_FontData_SetInitialFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18912   PyObject 
*resultobj 
= 0; 
18913   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18919   PyObject 
* obj0 
= 0 ; 
18920   PyObject 
* obj1 
= 0 ; 
18921   char *  kwnames
[] = { 
18922     (char *) "self",(char *) "font", NULL 
 
18925   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18926   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18927   if (!SWIG_IsOK(res1
)) { 
18928     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");  
18930   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18931   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
18932   if (!SWIG_IsOK(res2
)) { 
18933     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
18936     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
18938   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
18940     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18941     (arg1
)->SetInitialFont((wxFont 
const &)*arg2
); 
18942     wxPyEndAllowThreads(__tstate
); 
18943     if (PyErr_Occurred()) SWIG_fail
; 
18945   resultobj 
= SWIG_Py_Void(); 
18952 SWIGINTERN PyObject 
*_wrap_FontData_SetRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18953   PyObject 
*resultobj 
= 0; 
18954   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18963   PyObject 
* obj0 
= 0 ; 
18964   PyObject 
* obj1 
= 0 ; 
18965   PyObject 
* obj2 
= 0 ; 
18966   char *  kwnames
[] = { 
18967     (char *) "self",(char *) "min",(char *) "max", NULL 
 
18970   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
18971   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18972   if (!SWIG_IsOK(res1
)) { 
18973     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");  
18975   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18976   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18977   if (!SWIG_IsOK(ecode2
)) { 
18978     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'"); 
18980   arg2 
= static_cast< int >(val2
); 
18981   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
18982   if (!SWIG_IsOK(ecode3
)) { 
18983     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'"); 
18985   arg3 
= static_cast< int >(val3
); 
18987     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18988     (arg1
)->SetRange(arg2
,arg3
); 
18989     wxPyEndAllowThreads(__tstate
); 
18990     if (PyErr_Occurred()) SWIG_fail
; 
18992   resultobj 
= SWIG_Py_Void(); 
18999 SWIGINTERN PyObject 
*_wrap_FontData_SetShowHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19000   PyObject 
*resultobj 
= 0; 
19001   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
19007   PyObject 
* obj0 
= 0 ; 
19008   PyObject 
* obj1 
= 0 ; 
19009   char *  kwnames
[] = { 
19010     (char *) "self",(char *) "showHelp", NULL 
 
19013   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19014   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
19015   if (!SWIG_IsOK(res1
)) { 
19016     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");  
19018   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
19019   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
19020   if (!SWIG_IsOK(ecode2
)) { 
19021     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'"); 
19023   arg2 
= static_cast< bool >(val2
); 
19025     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19026     (arg1
)->SetShowHelp(arg2
); 
19027     wxPyEndAllowThreads(__tstate
); 
19028     if (PyErr_Occurred()) SWIG_fail
; 
19030   resultobj 
= SWIG_Py_Void(); 
19037 SWIGINTERN PyObject 
*FontData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19039   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19040   SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
)); 
19041   return SWIG_Py_Void(); 
19044 SWIGINTERN PyObject 
*FontData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19045   return SWIG_Python_InitShadowInstance(args
); 
19048 SWIGINTERN PyObject 
*_wrap_new_FontDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19049   PyObject 
*resultobj 
= 0; 
19050   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
19051   wxFontData 
*arg2 
= 0 ; 
19052   wxFontDialog 
*result 
= 0 ; 
19057   PyObject 
* obj0 
= 0 ; 
19058   PyObject 
* obj1 
= 0 ; 
19059   char *  kwnames
[] = { 
19060     (char *) "parent",(char *) "data", NULL 
 
19063   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19064   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
19065   if (!SWIG_IsOK(res1
)) { 
19066     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
19068   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
19069   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
,  0  | 0); 
19070   if (!SWIG_IsOK(res2
)) { 
19071     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");  
19074     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");  
19076   arg2 
= reinterpret_cast< wxFontData 
* >(argp2
); 
19078     if (!wxPyCheckForApp()) SWIG_fail
; 
19079     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19080     result 
= (wxFontDialog 
*)new wxFontDialog(arg1
,(wxFontData 
const &)*arg2
); 
19081     wxPyEndAllowThreads(__tstate
); 
19082     if (PyErr_Occurred()) SWIG_fail
; 
19084   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW 
|  0 ); 
19091 SWIGINTERN PyObject 
*_wrap_FontDialog_GetFontData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19092   PyObject 
*resultobj 
= 0; 
19093   wxFontDialog 
*arg1 
= (wxFontDialog 
*) 0 ; 
19094   wxFontData 
*result 
= 0 ; 
19097   PyObject 
*swig_obj
[1] ; 
19099   if (!args
) SWIG_fail
; 
19100   swig_obj
[0] = args
; 
19101   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 |  0 ); 
19102   if (!SWIG_IsOK(res1
)) { 
19103     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");  
19105   arg1 
= reinterpret_cast< wxFontDialog 
* >(argp1
); 
19107     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19109       wxFontData 
&_result_ref 
= (arg1
)->GetFontData(); 
19110       result 
= (wxFontData 
*) &_result_ref
; 
19112     wxPyEndAllowThreads(__tstate
); 
19113     if (PyErr_Occurred()) SWIG_fail
; 
19115   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 |  0 ); 
19122 SWIGINTERN PyObject 
*FontDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19124   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19125   SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
)); 
19126   return SWIG_Py_Void(); 
19129 SWIGINTERN PyObject 
*FontDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19130   return SWIG_Python_InitShadowInstance(args
); 
19133 SWIGINTERN PyObject 
*_wrap_GetFontFromUser(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19134   PyObject 
*resultobj 
= 0; 
19135   wxWindow 
*arg1 
= (wxWindow 
*) NULL 
; 
19136   wxFont 
const &arg2_defvalue 
= wxNullFont 
; 
19137   wxFont 
*arg2 
= (wxFont 
*) &arg2_defvalue 
; 
19138   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
19139   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
19145   bool temp3 
= false ; 
19146   PyObject 
* obj0 
= 0 ; 
19147   PyObject 
* obj1 
= 0 ; 
19148   PyObject 
* obj2 
= 0 ; 
19149   char *  kwnames
[] = { 
19150     (char *) "parent",(char *) "fontInit",(char *) "caption", NULL 
 
19153   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19155     res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
19156     if (!SWIG_IsOK(res1
)) { 
19157       SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");  
19159     arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
19162     res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
19163     if (!SWIG_IsOK(res2
)) { 
19164       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");  
19167       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");  
19169     arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
19173       arg3 
= wxString_in_helper(obj2
); 
19174       if (arg3 
== NULL
) SWIG_fail
; 
19179     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19180     result 
= wxGetFontFromUser(arg1
,(wxFont 
const &)*arg2
,(wxString 
const &)*arg3
); 
19181     wxPyEndAllowThreads(__tstate
); 
19182     if (PyErr_Occurred()) SWIG_fail
; 
19184   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
19199 SWIGINTERN PyObject 
*_wrap_new_MessageDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19200   PyObject 
*resultobj 
= 0; 
19201   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
19202   wxString 
*arg2 
= 0 ; 
19203   wxString 
const &arg3_defvalue 
= wxPyMessageBoxCaptionStr 
; 
19204   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
19205   long arg4 
= (long) wxOK
|wxCANCEL
|wxCENTRE 
; 
19206   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
19207   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
19208   wxMessageDialog 
*result 
= 0 ; 
19211   bool temp2 
= false ; 
19212   bool temp3 
= false ; 
19216   PyObject 
* obj0 
= 0 ; 
19217   PyObject 
* obj1 
= 0 ; 
19218   PyObject 
* obj2 
= 0 ; 
19219   PyObject 
* obj3 
= 0 ; 
19220   PyObject 
* obj4 
= 0 ; 
19221   char *  kwnames
[] = { 
19222     (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL 
 
19225   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
19226   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
19227   if (!SWIG_IsOK(res1
)) { 
19228     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
19230   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
19232     arg2 
= wxString_in_helper(obj1
); 
19233     if (arg2 
== NULL
) SWIG_fail
; 
19238       arg3 
= wxString_in_helper(obj2
); 
19239       if (arg3 
== NULL
) SWIG_fail
; 
19244     ecode4 
= SWIG_AsVal_long(obj3
, &val4
); 
19245     if (!SWIG_IsOK(ecode4
)) { 
19246       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'"); 
19248     arg4 
= static_cast< long >(val4
); 
19253       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
19257     if (!wxPyCheckForApp()) SWIG_fail
; 
19258     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19259     result 
= (wxMessageDialog 
*)new wxMessageDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,(wxPoint 
const &)*arg5
); 
19260     wxPyEndAllowThreads(__tstate
); 
19261     if (PyErr_Occurred()) SWIG_fail
; 
19263   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW 
|  0 ); 
19286 SWIGINTERN PyObject 
*MessageDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19288   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19289   SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
)); 
19290   return SWIG_Py_Void(); 
19293 SWIGINTERN PyObject 
*MessageDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19294   return SWIG_Python_InitShadowInstance(args
); 
19297 SWIGINTERN PyObject 
*_wrap_new_ProgressDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19298   PyObject 
*resultobj 
= 0; 
19299   wxString 
*arg1 
= 0 ; 
19300   wxString 
*arg2 
= 0 ; 
19301   int arg3 
= (int) 100 ; 
19302   wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
19303   int arg5 
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL 
; 
19304   wxProgressDialog 
*result 
= 0 ; 
19305   bool temp1 
= false ; 
19306   bool temp2 
= false ; 
19313   PyObject 
* obj0 
= 0 ; 
19314   PyObject 
* obj1 
= 0 ; 
19315   PyObject 
* obj2 
= 0 ; 
19316   PyObject 
* obj3 
= 0 ; 
19317   PyObject 
* obj4 
= 0 ; 
19318   char *  kwnames
[] = { 
19319     (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL 
 
19322   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
19324     arg1 
= wxString_in_helper(obj0
); 
19325     if (arg1 
== NULL
) SWIG_fail
; 
19329     arg2 
= wxString_in_helper(obj1
); 
19330     if (arg2 
== NULL
) SWIG_fail
; 
19334     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
19335     if (!SWIG_IsOK(ecode3
)) { 
19336       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'"); 
19338     arg3 
= static_cast< int >(val3
); 
19341     res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
19342     if (!SWIG_IsOK(res4
)) { 
19343       SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");  
19345     arg4 
= reinterpret_cast< wxWindow 
* >(argp4
); 
19348     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
19349     if (!SWIG_IsOK(ecode5
)) { 
19350       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'"); 
19352     arg5 
= static_cast< int >(val5
); 
19355     if (!wxPyCheckForApp()) SWIG_fail
; 
19356     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19357     result 
= (wxProgressDialog 
*)new wxProgressDialog((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
19358     wxPyEndAllowThreads(__tstate
); 
19359     if (PyErr_Occurred()) SWIG_fail
; 
19361   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW 
|  0 ); 
19384 SWIGINTERN PyObject 
*_wrap_ProgressDialog_Update(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19385   PyObject 
*resultobj 
= 0; 
19386   wxProgressDialog 
*arg1 
= (wxProgressDialog 
*) 0 ; 
19388   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
19389   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
19390   bool *arg4 
= (bool *) 0 ; 
19396   bool temp3 
= false ; 
19398   int res4 
= SWIG_TMPOBJ 
; 
19399   PyObject 
* obj0 
= 0 ; 
19400   PyObject 
* obj1 
= 0 ; 
19401   PyObject 
* obj2 
= 0 ; 
19402   char *  kwnames
[] = { 
19403     (char *) "self",(char *) "value",(char *) "newmsg", NULL 
 
19407   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19408   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 |  0 ); 
19409   if (!SWIG_IsOK(res1
)) { 
19410     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");  
19412   arg1 
= reinterpret_cast< wxProgressDialog 
* >(argp1
); 
19413   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19414   if (!SWIG_IsOK(ecode2
)) { 
19415     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'"); 
19417   arg2 
= static_cast< int >(val2
); 
19420       arg3 
= wxString_in_helper(obj2
); 
19421       if (arg3 
== NULL
) SWIG_fail
; 
19426     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19427     result 
= (bool)(arg1
)->Update(arg2
,(wxString 
const &)*arg3
,arg4
); 
19428     wxPyEndAllowThreads(__tstate
); 
19429     if (PyErr_Occurred()) SWIG_fail
; 
19432     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19434   if (SWIG_IsTmpObj(res4
)) { 
19435     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
))); 
19437     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
19438     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
)); 
19454 SWIGINTERN PyObject 
*_wrap_ProgressDialog_Resume(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19455   PyObject 
*resultobj 
= 0; 
19456   wxProgressDialog 
*arg1 
= (wxProgressDialog 
*) 0 ; 
19459   PyObject 
*swig_obj
[1] ; 
19461   if (!args
) SWIG_fail
; 
19462   swig_obj
[0] = args
; 
19463   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 |  0 ); 
19464   if (!SWIG_IsOK(res1
)) { 
19465     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");  
19467   arg1 
= reinterpret_cast< wxProgressDialog 
* >(argp1
); 
19469     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19471     wxPyEndAllowThreads(__tstate
); 
19472     if (PyErr_Occurred()) SWIG_fail
; 
19474   resultobj 
= SWIG_Py_Void(); 
19481 SWIGINTERN PyObject 
*ProgressDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19483   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19484   SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
)); 
19485   return SWIG_Py_Void(); 
19488 SWIGINTERN PyObject 
*ProgressDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19489   return SWIG_Python_InitShadowInstance(args
); 
19492 SWIGINTERN PyObject 
*_wrap_new_FindDialogEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19493   PyObject 
*resultobj 
= 0; 
19494   wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
19495   int arg2 
= (int) 0 ; 
19496   wxFindDialogEvent 
*result 
= 0 ; 
19501   PyObject 
* obj0 
= 0 ; 
19502   PyObject 
* obj1 
= 0 ; 
19503   char *  kwnames
[] = { 
19504     (char *) "commandType",(char *) "id", NULL 
 
19507   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19509     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
19510     if (!SWIG_IsOK(ecode1
)) { 
19511       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'"); 
19513     arg1 
= static_cast< wxEventType 
>(val1
); 
19516     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19517     if (!SWIG_IsOK(ecode2
)) { 
19518       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'"); 
19520     arg2 
= static_cast< int >(val2
); 
19523     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19524     result 
= (wxFindDialogEvent 
*)new wxFindDialogEvent(arg1
,arg2
); 
19525     wxPyEndAllowThreads(__tstate
); 
19526     if (PyErr_Occurred()) SWIG_fail
; 
19528   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW 
|  0 ); 
19535 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19536   PyObject 
*resultobj 
= 0; 
19537   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19541   PyObject 
*swig_obj
[1] ; 
19543   if (!args
) SWIG_fail
; 
19544   swig_obj
[0] = args
; 
19545   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19546   if (!SWIG_IsOK(res1
)) { 
19547     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19549   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19551     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19552     result 
= (int)(arg1
)->GetFlags(); 
19553     wxPyEndAllowThreads(__tstate
); 
19554     if (PyErr_Occurred()) SWIG_fail
; 
19556   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19563 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_GetFindString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19564   PyObject 
*resultobj 
= 0; 
19565   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19566   wxString 
*result 
= 0 ; 
19569   PyObject 
*swig_obj
[1] ; 
19571   if (!args
) SWIG_fail
; 
19572   swig_obj
[0] = args
; 
19573   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19574   if (!SWIG_IsOK(res1
)) { 
19575     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19577   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19579     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19581       wxString 
const &_result_ref 
= (arg1
)->GetFindString(); 
19582       result 
= (wxString 
*) &_result_ref
; 
19584     wxPyEndAllowThreads(__tstate
); 
19585     if (PyErr_Occurred()) SWIG_fail
; 
19589     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
19591     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
19600 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_GetReplaceString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19601   PyObject 
*resultobj 
= 0; 
19602   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19603   wxString 
*result 
= 0 ; 
19606   PyObject 
*swig_obj
[1] ; 
19608   if (!args
) SWIG_fail
; 
19609   swig_obj
[0] = args
; 
19610   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19611   if (!SWIG_IsOK(res1
)) { 
19612     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19614   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19616     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19618       wxString 
const &_result_ref 
= (arg1
)->GetReplaceString(); 
19619       result 
= (wxString 
*) &_result_ref
; 
19621     wxPyEndAllowThreads(__tstate
); 
19622     if (PyErr_Occurred()) SWIG_fail
; 
19626     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
19628     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
19637 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_GetDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19638   PyObject 
*resultobj 
= 0; 
19639   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19640   wxFindReplaceDialog 
*result 
= 0 ; 
19643   PyObject 
*swig_obj
[1] ; 
19645   if (!args
) SWIG_fail
; 
19646   swig_obj
[0] = args
; 
19647   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19648   if (!SWIG_IsOK(res1
)) { 
19649     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19651   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19653     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19654     result 
= (wxFindReplaceDialog 
*)(arg1
)->GetDialog(); 
19655     wxPyEndAllowThreads(__tstate
); 
19656     if (PyErr_Occurred()) SWIG_fail
; 
19658   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 |  0 ); 
19665 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19666   PyObject 
*resultobj 
= 0; 
19667   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19673   PyObject 
* obj0 
= 0 ; 
19674   PyObject 
* obj1 
= 0 ; 
19675   char *  kwnames
[] = { 
19676     (char *) "self",(char *) "flags", NULL 
 
19679   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19680   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19681   if (!SWIG_IsOK(res1
)) { 
19682     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19684   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19685   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19686   if (!SWIG_IsOK(ecode2
)) { 
19687     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
19689   arg2 
= static_cast< int >(val2
); 
19691     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19692     (arg1
)->SetFlags(arg2
); 
19693     wxPyEndAllowThreads(__tstate
); 
19694     if (PyErr_Occurred()) SWIG_fail
; 
19696   resultobj 
= SWIG_Py_Void(); 
19703 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_SetFindString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19704   PyObject 
*resultobj 
= 0; 
19705   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19706   wxString 
*arg2 
= 0 ; 
19709   bool temp2 
= false ; 
19710   PyObject 
* obj0 
= 0 ; 
19711   PyObject 
* obj1 
= 0 ; 
19712   char *  kwnames
[] = { 
19713     (char *) "self",(char *) "str", NULL 
 
19716   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19717   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19718   if (!SWIG_IsOK(res1
)) { 
19719     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19721   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19723     arg2 
= wxString_in_helper(obj1
); 
19724     if (arg2 
== NULL
) SWIG_fail
; 
19728     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19729     (arg1
)->SetFindString((wxString 
const &)*arg2
); 
19730     wxPyEndAllowThreads(__tstate
); 
19731     if (PyErr_Occurred()) SWIG_fail
; 
19733   resultobj 
= SWIG_Py_Void(); 
19748 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_SetReplaceString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19749   PyObject 
*resultobj 
= 0; 
19750   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19751   wxString 
*arg2 
= 0 ; 
19754   bool temp2 
= false ; 
19755   PyObject 
* obj0 
= 0 ; 
19756   PyObject 
* obj1 
= 0 ; 
19757   char *  kwnames
[] = { 
19758     (char *) "self",(char *) "str", NULL 
 
19761   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19762   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19763   if (!SWIG_IsOK(res1
)) { 
19764     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19766   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19768     arg2 
= wxString_in_helper(obj1
); 
19769     if (arg2 
== NULL
) SWIG_fail
; 
19773     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19774     (arg1
)->SetReplaceString((wxString 
const &)*arg2
); 
19775     wxPyEndAllowThreads(__tstate
); 
19776     if (PyErr_Occurred()) SWIG_fail
; 
19778   resultobj 
= SWIG_Py_Void(); 
19793 SWIGINTERN PyObject 
*FindDialogEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19795   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19796   SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
)); 
19797   return SWIG_Py_Void(); 
19800 SWIGINTERN PyObject 
*FindDialogEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19801   return SWIG_Python_InitShadowInstance(args
); 
19804 SWIGINTERN PyObject 
*_wrap_new_FindReplaceData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19805   PyObject 
*resultobj 
= 0; 
19806   int arg1 
= (int) 0 ; 
19807   wxFindReplaceData 
*result 
= 0 ; 
19810   PyObject 
* obj0 
= 0 ; 
19811   char *  kwnames
[] = { 
19812     (char *) "flags", NULL 
 
19815   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
; 
19817     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
19818     if (!SWIG_IsOK(ecode1
)) { 
19819       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'"); 
19821     arg1 
= static_cast< int >(val1
); 
19824     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19825     result 
= (wxFindReplaceData 
*)new wxFindReplaceData(arg1
); 
19826     wxPyEndAllowThreads(__tstate
); 
19827     if (PyErr_Occurred()) SWIG_fail
; 
19829   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW 
|  0 ); 
19836 SWIGINTERN PyObject 
*_wrap_delete_FindReplaceData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19837   PyObject 
*resultobj 
= 0; 
19838   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
19841   PyObject 
*swig_obj
[1] ; 
19843   if (!args
) SWIG_fail
; 
19844   swig_obj
[0] = args
; 
19845   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN 
|  0 ); 
19846   if (!SWIG_IsOK(res1
)) { 
19847     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
19849   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
19851     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19854     wxPyEndAllowThreads(__tstate
); 
19855     if (PyErr_Occurred()) SWIG_fail
; 
19857   resultobj 
= SWIG_Py_Void(); 
19864 SWIGINTERN PyObject 
*_wrap_FindReplaceData_GetFindString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19865   PyObject 
*resultobj 
= 0; 
19866   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
19867   wxString 
*result 
= 0 ; 
19870   PyObject 
*swig_obj
[1] ; 
19872   if (!args
) SWIG_fail
; 
19873   swig_obj
[0] = args
; 
19874   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
19875   if (!SWIG_IsOK(res1
)) { 
19876     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
19878   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
19880     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19882       wxString 
const &_result_ref 
= (arg1
)->GetFindString(); 
19883       result 
= (wxString 
*) &_result_ref
; 
19885     wxPyEndAllowThreads(__tstate
); 
19886     if (PyErr_Occurred()) SWIG_fail
; 
19890     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
19892     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
19901 SWIGINTERN PyObject 
*_wrap_FindReplaceData_GetReplaceString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19902   PyObject 
*resultobj 
= 0; 
19903   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
19904   wxString 
*result 
= 0 ; 
19907   PyObject 
*swig_obj
[1] ; 
19909   if (!args
) SWIG_fail
; 
19910   swig_obj
[0] = args
; 
19911   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
19912   if (!SWIG_IsOK(res1
)) { 
19913     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
19915   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
19917     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19919       wxString 
const &_result_ref 
= (arg1
)->GetReplaceString(); 
19920       result 
= (wxString 
*) &_result_ref
; 
19922     wxPyEndAllowThreads(__tstate
); 
19923     if (PyErr_Occurred()) SWIG_fail
; 
19927     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
19929     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
19938 SWIGINTERN PyObject 
*_wrap_FindReplaceData_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19939   PyObject 
*resultobj 
= 0; 
19940   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
19944   PyObject 
*swig_obj
[1] ; 
19946   if (!args
) SWIG_fail
; 
19947   swig_obj
[0] = args
; 
19948   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
19949   if (!SWIG_IsOK(res1
)) { 
19950     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
19952   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
19954     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19955     result 
= (int)(arg1
)->GetFlags(); 
19956     wxPyEndAllowThreads(__tstate
); 
19957     if (PyErr_Occurred()) SWIG_fail
; 
19959   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19966 SWIGINTERN PyObject 
*_wrap_FindReplaceData_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19967   PyObject 
*resultobj 
= 0; 
19968   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
19974   PyObject 
* obj0 
= 0 ; 
19975   PyObject 
* obj1 
= 0 ; 
19976   char *  kwnames
[] = { 
19977     (char *) "self",(char *) "flags", NULL 
 
19980   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19981   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
19982   if (!SWIG_IsOK(res1
)) { 
19983     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
19985   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
19986   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19987   if (!SWIG_IsOK(ecode2
)) { 
19988     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
19990   arg2 
= static_cast< int >(val2
); 
19992     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19993     (arg1
)->SetFlags(arg2
); 
19994     wxPyEndAllowThreads(__tstate
); 
19995     if (PyErr_Occurred()) SWIG_fail
; 
19997   resultobj 
= SWIG_Py_Void(); 
20004 SWIGINTERN PyObject 
*_wrap_FindReplaceData_SetFindString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20005   PyObject 
*resultobj 
= 0; 
20006   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
20007   wxString 
*arg2 
= 0 ; 
20010   bool temp2 
= false ; 
20011   PyObject 
* obj0 
= 0 ; 
20012   PyObject 
* obj1 
= 0 ; 
20013   char *  kwnames
[] = { 
20014     (char *) "self",(char *) "str", NULL 
 
20017   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20018   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20019   if (!SWIG_IsOK(res1
)) { 
20020     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
20022   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
20024     arg2 
= wxString_in_helper(obj1
); 
20025     if (arg2 
== NULL
) SWIG_fail
; 
20029     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20030     (arg1
)->SetFindString((wxString 
const &)*arg2
); 
20031     wxPyEndAllowThreads(__tstate
); 
20032     if (PyErr_Occurred()) SWIG_fail
; 
20034   resultobj 
= SWIG_Py_Void(); 
20049 SWIGINTERN PyObject 
*_wrap_FindReplaceData_SetReplaceString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20050   PyObject 
*resultobj 
= 0; 
20051   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
20052   wxString 
*arg2 
= 0 ; 
20055   bool temp2 
= false ; 
20056   PyObject 
* obj0 
= 0 ; 
20057   PyObject 
* obj1 
= 0 ; 
20058   char *  kwnames
[] = { 
20059     (char *) "self",(char *) "str", NULL 
 
20062   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20063   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20064   if (!SWIG_IsOK(res1
)) { 
20065     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
20067   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
20069     arg2 
= wxString_in_helper(obj1
); 
20070     if (arg2 
== NULL
) SWIG_fail
; 
20074     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20075     (arg1
)->SetReplaceString((wxString 
const &)*arg2
); 
20076     wxPyEndAllowThreads(__tstate
); 
20077     if (PyErr_Occurred()) SWIG_fail
; 
20079   resultobj 
= SWIG_Py_Void(); 
20094 SWIGINTERN PyObject 
*FindReplaceData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20096   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20097   SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
)); 
20098   return SWIG_Py_Void(); 
20101 SWIGINTERN PyObject 
*FindReplaceData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20102   return SWIG_Python_InitShadowInstance(args
); 
20105 SWIGINTERN PyObject 
*_wrap_new_FindReplaceDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20106   PyObject 
*resultobj 
= 0; 
20107   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
20108   wxFindReplaceData 
*arg2 
= (wxFindReplaceData 
*) 0 ; 
20109   wxString 
*arg3 
= 0 ; 
20110   int arg4 
= (int) 0 ; 
20111   wxFindReplaceDialog 
*result 
= 0 ; 
20116   bool temp3 
= false ; 
20119   PyObject 
* obj0 
= 0 ; 
20120   PyObject 
* obj1 
= 0 ; 
20121   PyObject 
* obj2 
= 0 ; 
20122   PyObject 
* obj3 
= 0 ; 
20123   char *  kwnames
[] = { 
20124     (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL 
 
20127   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
20128   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20129   if (!SWIG_IsOK(res1
)) { 
20130     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
20132   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
20133   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20134   if (!SWIG_IsOK(res2
)) { 
20135     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");  
20137   arg2 
= reinterpret_cast< wxFindReplaceData 
* >(argp2
); 
20139     arg3 
= wxString_in_helper(obj2
); 
20140     if (arg3 
== NULL
) SWIG_fail
; 
20144     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
20145     if (!SWIG_IsOK(ecode4
)) { 
20146       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'"); 
20148     arg4 
= static_cast< int >(val4
); 
20151     if (!wxPyCheckForApp()) SWIG_fail
; 
20152     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20153     result 
= (wxFindReplaceDialog 
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString 
const &)*arg3
,arg4
); 
20154     wxPyEndAllowThreads(__tstate
); 
20155     if (PyErr_Occurred()) SWIG_fail
; 
20157   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW 
|  0 ); 
20172 SWIGINTERN PyObject 
*_wrap_new_PreFindReplaceDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20173   PyObject 
*resultobj 
= 0; 
20174   wxFindReplaceDialog 
*result 
= 0 ; 
20176   if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
; 
20178     if (!wxPyCheckForApp()) SWIG_fail
; 
20179     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20180     result 
= (wxFindReplaceDialog 
*)new wxFindReplaceDialog(); 
20181     wxPyEndAllowThreads(__tstate
); 
20182     if (PyErr_Occurred()) SWIG_fail
; 
20184   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN 
|  0 ); 
20191 SWIGINTERN PyObject 
*_wrap_FindReplaceDialog_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20192   PyObject 
*resultobj 
= 0; 
20193   wxFindReplaceDialog 
*arg1 
= (wxFindReplaceDialog 
*) 0 ; 
20194   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
20195   wxFindReplaceData 
*arg3 
= (wxFindReplaceData 
*) 0 ; 
20196   wxString 
*arg4 
= 0 ; 
20197   int arg5 
= (int) 0 ; 
20205   bool temp4 
= false ; 
20208   PyObject 
* obj0 
= 0 ; 
20209   PyObject 
* obj1 
= 0 ; 
20210   PyObject 
* obj2 
= 0 ; 
20211   PyObject 
* obj3 
= 0 ; 
20212   PyObject 
* obj4 
= 0 ; 
20213   char *  kwnames
[] = { 
20214     (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL 
 
20217   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
20218   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 |  0 ); 
20219   if (!SWIG_IsOK(res1
)) { 
20220     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");  
20222   arg1 
= reinterpret_cast< wxFindReplaceDialog 
* >(argp1
); 
20223   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20224   if (!SWIG_IsOK(res2
)) { 
20225     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
20227   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
20228   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20229   if (!SWIG_IsOK(res3
)) { 
20230     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");  
20232   arg3 
= reinterpret_cast< wxFindReplaceData 
* >(argp3
); 
20234     arg4 
= wxString_in_helper(obj3
); 
20235     if (arg4 
== NULL
) SWIG_fail
; 
20239     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
20240     if (!SWIG_IsOK(ecode5
)) { 
20241       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'"); 
20243     arg5 
= static_cast< int >(val5
); 
20246     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20247     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,arg5
); 
20248     wxPyEndAllowThreads(__tstate
); 
20249     if (PyErr_Occurred()) SWIG_fail
; 
20252     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20268 SWIGINTERN PyObject 
*_wrap_FindReplaceDialog_GetData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20269   PyObject 
*resultobj 
= 0; 
20270   wxFindReplaceDialog 
*arg1 
= (wxFindReplaceDialog 
*) 0 ; 
20271   wxFindReplaceData 
*result 
= 0 ; 
20274   PyObject 
*swig_obj
[1] ; 
20276   if (!args
) SWIG_fail
; 
20277   swig_obj
[0] = args
; 
20278   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 |  0 ); 
20279   if (!SWIG_IsOK(res1
)) { 
20280     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");  
20282   arg1 
= reinterpret_cast< wxFindReplaceDialog 
* >(argp1
); 
20284     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20285     result 
= (wxFindReplaceData 
*)(arg1
)->GetData(); 
20286     wxPyEndAllowThreads(__tstate
); 
20287     if (PyErr_Occurred()) SWIG_fail
; 
20289   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20296 SWIGINTERN PyObject 
*_wrap_FindReplaceDialog_SetData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20297   PyObject 
*resultobj 
= 0; 
20298   wxFindReplaceDialog 
*arg1 
= (wxFindReplaceDialog 
*) 0 ; 
20299   wxFindReplaceData 
*arg2 
= (wxFindReplaceData 
*) 0 ; 
20304   PyObject 
* obj0 
= 0 ; 
20305   PyObject 
* obj1 
= 0 ; 
20306   char *  kwnames
[] = { 
20307     (char *) "self",(char *) "data", NULL 
 
20310   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20311   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 |  0 ); 
20312   if (!SWIG_IsOK(res1
)) { 
20313     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");  
20315   arg1 
= reinterpret_cast< wxFindReplaceDialog 
* >(argp1
); 
20316   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20317   if (!SWIG_IsOK(res2
)) { 
20318     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");  
20320   arg2 
= reinterpret_cast< wxFindReplaceData 
* >(argp2
); 
20322     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20323     (arg1
)->SetData(arg2
); 
20324     wxPyEndAllowThreads(__tstate
); 
20325     if (PyErr_Occurred()) SWIG_fail
; 
20327   resultobj 
= SWIG_Py_Void(); 
20334 SWIGINTERN PyObject 
*FindReplaceDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20336   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20337   SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
)); 
20338   return SWIG_Py_Void(); 
20341 SWIGINTERN PyObject 
*FindReplaceDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20342   return SWIG_Python_InitShadowInstance(args
); 
20345 SWIGINTERN PyObject 
*_wrap_new_MDIParentFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20346   PyObject 
*resultobj 
= 0; 
20347   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
20348   int arg2 
= (int) (int)-1 ; 
20349   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
20350   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
20351   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
20352   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
20353   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
20354   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
20355   long arg6 
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL 
; 
20356   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
20357   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
20358   wxMDIParentFrame 
*result 
= 0 ; 
20363   bool temp3 
= false ; 
20368   bool temp7 
= false ; 
20369   PyObject 
* obj0 
= 0 ; 
20370   PyObject 
* obj1 
= 0 ; 
20371   PyObject 
* obj2 
= 0 ; 
20372   PyObject 
* obj3 
= 0 ; 
20373   PyObject 
* obj4 
= 0 ; 
20374   PyObject 
* obj5 
= 0 ; 
20375   PyObject 
* obj6 
= 0 ; 
20376   char *  kwnames
[] = { 
20377     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
20380   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
20381   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20382   if (!SWIG_IsOK(res1
)) { 
20383     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");  
20385   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
20387     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
20388     if (!SWIG_IsOK(ecode2
)) { 
20389       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'"); 
20391     arg2 
= static_cast< int >(val2
); 
20395       arg3 
= wxString_in_helper(obj2
); 
20396       if (arg3 
== NULL
) SWIG_fail
; 
20403       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
20409       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
20413     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
20414     if (!SWIG_IsOK(ecode6
)) { 
20415       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'"); 
20417     arg6 
= static_cast< long >(val6
); 
20421       arg7 
= wxString_in_helper(obj6
); 
20422       if (arg7 
== NULL
) SWIG_fail
; 
20427     if (!wxPyCheckForApp()) SWIG_fail
; 
20428     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20429     result 
= (wxMDIParentFrame 
*)new wxMDIParentFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
20430     wxPyEndAllowThreads(__tstate
); 
20431     if (PyErr_Occurred()) SWIG_fail
; 
20433   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW 
|  0 ); 
20456 SWIGINTERN PyObject 
*_wrap_new_PreMDIParentFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20457   PyObject 
*resultobj 
= 0; 
20458   wxMDIParentFrame 
*result 
= 0 ; 
20460   if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
; 
20462     if (!wxPyCheckForApp()) SWIG_fail
; 
20463     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20464     result 
= (wxMDIParentFrame 
*)new wxMDIParentFrame(); 
20465     wxPyEndAllowThreads(__tstate
); 
20466     if (PyErr_Occurred()) SWIG_fail
; 
20468   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN 
|  0 ); 
20475 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20476   PyObject 
*resultobj 
= 0; 
20477   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20478   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
20479   int arg3 
= (int) (int)-1 ; 
20480   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
20481   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
20482   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
20483   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
20484   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
20485   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
20486   long arg7 
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL 
; 
20487   wxString 
const &arg8_defvalue 
= wxPyFrameNameStr 
; 
20488   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
20496   bool temp4 
= false ; 
20501   bool temp8 
= false ; 
20502   PyObject 
* obj0 
= 0 ; 
20503   PyObject 
* obj1 
= 0 ; 
20504   PyObject 
* obj2 
= 0 ; 
20505   PyObject 
* obj3 
= 0 ; 
20506   PyObject 
* obj4 
= 0 ; 
20507   PyObject 
* obj5 
= 0 ; 
20508   PyObject 
* obj6 
= 0 ; 
20509   PyObject 
* obj7 
= 0 ; 
20510   char *  kwnames
[] = { 
20511     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
20514   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
20515   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20516   if (!SWIG_IsOK(res1
)) { 
20517     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20519   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20520   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20521   if (!SWIG_IsOK(res2
)) { 
20522     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
20524   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
20526     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
20527     if (!SWIG_IsOK(ecode3
)) { 
20528       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'"); 
20530     arg3 
= static_cast< int >(val3
); 
20534       arg4 
= wxString_in_helper(obj3
); 
20535       if (arg4 
== NULL
) SWIG_fail
; 
20542       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
20548       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
20552     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
20553     if (!SWIG_IsOK(ecode7
)) { 
20554       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'"); 
20556     arg7 
= static_cast< long >(val7
); 
20560       arg8 
= wxString_in_helper(obj7
); 
20561       if (arg8 
== NULL
) SWIG_fail
; 
20566     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20567     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
20568     wxPyEndAllowThreads(__tstate
); 
20569     if (PyErr_Occurred()) SWIG_fail
; 
20572     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20596 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_ActivateNext(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20597   PyObject 
*resultobj 
= 0; 
20598   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20601   PyObject 
*swig_obj
[1] ; 
20603   if (!args
) SWIG_fail
; 
20604   swig_obj
[0] = args
; 
20605   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20606   if (!SWIG_IsOK(res1
)) { 
20607     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20609   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20611     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20612     (arg1
)->ActivateNext(); 
20613     wxPyEndAllowThreads(__tstate
); 
20614     if (PyErr_Occurred()) SWIG_fail
; 
20616   resultobj 
= SWIG_Py_Void(); 
20623 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_ActivatePrevious(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20624   PyObject 
*resultobj 
= 0; 
20625   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20628   PyObject 
*swig_obj
[1] ; 
20630   if (!args
) SWIG_fail
; 
20631   swig_obj
[0] = args
; 
20632   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20633   if (!SWIG_IsOK(res1
)) { 
20634     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20636   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20638     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20639     (arg1
)->ActivatePrevious(); 
20640     wxPyEndAllowThreads(__tstate
); 
20641     if (PyErr_Occurred()) SWIG_fail
; 
20643   resultobj 
= SWIG_Py_Void(); 
20650 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_ArrangeIcons(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20651   PyObject 
*resultobj 
= 0; 
20652   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20655   PyObject 
*swig_obj
[1] ; 
20657   if (!args
) SWIG_fail
; 
20658   swig_obj
[0] = args
; 
20659   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20660   if (!SWIG_IsOK(res1
)) { 
20661     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20663   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20665     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20666     (arg1
)->ArrangeIcons(); 
20667     wxPyEndAllowThreads(__tstate
); 
20668     if (PyErr_Occurred()) SWIG_fail
; 
20670   resultobj 
= SWIG_Py_Void(); 
20677 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_Cascade(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20678   PyObject 
*resultobj 
= 0; 
20679   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20682   PyObject 
*swig_obj
[1] ; 
20684   if (!args
) SWIG_fail
; 
20685   swig_obj
[0] = args
; 
20686   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20687   if (!SWIG_IsOK(res1
)) { 
20688     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20690   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20692     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20694     wxPyEndAllowThreads(__tstate
); 
20695     if (PyErr_Occurred()) SWIG_fail
; 
20697   resultobj 
= SWIG_Py_Void(); 
20704 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_GetActiveChild(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20705   PyObject 
*resultobj 
= 0; 
20706   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20707   wxMDIChildFrame 
*result 
= 0 ; 
20710   PyObject 
*swig_obj
[1] ; 
20712   if (!args
) SWIG_fail
; 
20713   swig_obj
[0] = args
; 
20714   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20715   if (!SWIG_IsOK(res1
)) { 
20716     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20718   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20720     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20721     result 
= (wxMDIChildFrame 
*)(arg1
)->GetActiveChild(); 
20722     wxPyEndAllowThreads(__tstate
); 
20723     if (PyErr_Occurred()) SWIG_fail
; 
20726     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
20734 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_GetClientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20735   PyObject 
*resultobj 
= 0; 
20736   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20737   wxMDIClientWindow 
*result 
= 0 ; 
20740   PyObject 
*swig_obj
[1] ; 
20742   if (!args
) SWIG_fail
; 
20743   swig_obj
[0] = args
; 
20744   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20745   if (!SWIG_IsOK(res1
)) { 
20746     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20748   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20750     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20751     result 
= (wxMDIClientWindow 
*)(arg1
)->GetClientWindow(); 
20752     wxPyEndAllowThreads(__tstate
); 
20753     if (PyErr_Occurred()) SWIG_fail
; 
20756     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
20764 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_GetToolBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20765   PyObject 
*resultobj 
= 0; 
20766   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20767   wxWindow 
*result 
= 0 ; 
20770   PyObject 
*swig_obj
[1] ; 
20772   if (!args
) SWIG_fail
; 
20773   swig_obj
[0] = args
; 
20774   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20775   if (!SWIG_IsOK(res1
)) { 
20776     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20778   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20780     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20781     result 
= (wxWindow 
*)(arg1
)->GetToolBar(); 
20782     wxPyEndAllowThreads(__tstate
); 
20783     if (PyErr_Occurred()) SWIG_fail
; 
20786     resultobj 
= wxPyMake_wxObject(result
, 0);  
20794 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_GetWindowMenu(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20795   PyObject 
*resultobj 
= 0; 
20796   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20797   wxMenu 
*result 
= 0 ; 
20800   PyObject 
*swig_obj
[1] ; 
20802   if (!args
) SWIG_fail
; 
20803   swig_obj
[0] = args
; 
20804   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20805   if (!SWIG_IsOK(res1
)) { 
20806     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20808   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20810     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20811     result 
= (wxMenu 
*)(arg1
)->GetWindowMenu(); 
20812     wxPyEndAllowThreads(__tstate
); 
20813     if (PyErr_Occurred()) SWIG_fail
; 
20816     resultobj 
= wxPyMake_wxObject(result
, 0);  
20824 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_SetWindowMenu(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20825   PyObject 
*resultobj 
= 0; 
20826   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20827   wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
20832   PyObject 
* obj0 
= 0 ; 
20833   PyObject 
* obj1 
= 0 ; 
20834   char *  kwnames
[] = { 
20835     (char *) "self",(char *) "menu", NULL 
 
20838   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20839   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20840   if (!SWIG_IsOK(res1
)) { 
20841     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20843   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20844   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 |  0 ); 
20845   if (!SWIG_IsOK(res2
)) { 
20846     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");  
20848   arg2 
= reinterpret_cast< wxMenu 
* >(argp2
); 
20850     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20851     (arg1
)->SetWindowMenu(arg2
); 
20852     wxPyEndAllowThreads(__tstate
); 
20853     if (PyErr_Occurred()) SWIG_fail
; 
20855   resultobj 
= SWIG_Py_Void(); 
20862 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_Tile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20863   PyObject 
*resultobj 
= 0; 
20864   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20865   wxOrientation arg2 
= (wxOrientation
) wxHORIZONTAL 
; 
20870   PyObject 
* obj0 
= 0 ; 
20871   PyObject 
* obj1 
= 0 ; 
20872   char *  kwnames
[] = { 
20873     (char *) "self",(char *) "orient", NULL 
 
20876   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20877   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20878   if (!SWIG_IsOK(res1
)) { 
20879     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20881   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20883     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
20884     if (!SWIG_IsOK(ecode2
)) { 
20885       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'"); 
20887     arg2 
= static_cast< wxOrientation 
>(val2
); 
20890     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20891     (arg1
)->Tile(arg2
); 
20892     wxPyEndAllowThreads(__tstate
); 
20893     if (PyErr_Occurred()) SWIG_fail
; 
20895   resultobj 
= SWIG_Py_Void(); 
20902 SWIGINTERN PyObject 
*MDIParentFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20904   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20905   SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
)); 
20906   return SWIG_Py_Void(); 
20909 SWIGINTERN PyObject 
*MDIParentFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20910   return SWIG_Python_InitShadowInstance(args
); 
20913 SWIGINTERN PyObject 
*_wrap_new_MDIChildFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20914   PyObject 
*resultobj 
= 0; 
20915   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20916   int arg2 
= (int) (int)-1 ; 
20917   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
20918   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
20919   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
20920   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
20921   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
20922   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
20923   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
20924   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
20925   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
20926   wxMDIChildFrame 
*result 
= 0 ; 
20931   bool temp3 
= false ; 
20936   bool temp7 
= false ; 
20937   PyObject 
* obj0 
= 0 ; 
20938   PyObject 
* obj1 
= 0 ; 
20939   PyObject 
* obj2 
= 0 ; 
20940   PyObject 
* obj3 
= 0 ; 
20941   PyObject 
* obj4 
= 0 ; 
20942   PyObject 
* obj5 
= 0 ; 
20943   PyObject 
* obj6 
= 0 ; 
20944   char *  kwnames
[] = { 
20945     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
20948   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
20949   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20950   if (!SWIG_IsOK(res1
)) { 
20951     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20953   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20955     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
20956     if (!SWIG_IsOK(ecode2
)) { 
20957       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'"); 
20959     arg2 
= static_cast< int >(val2
); 
20963       arg3 
= wxString_in_helper(obj2
); 
20964       if (arg3 
== NULL
) SWIG_fail
; 
20971       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
20977       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
20981     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
20982     if (!SWIG_IsOK(ecode6
)) { 
20983       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'"); 
20985     arg6 
= static_cast< long >(val6
); 
20989       arg7 
= wxString_in_helper(obj6
); 
20990       if (arg7 
== NULL
) SWIG_fail
; 
20995     if (!wxPyCheckForApp()) SWIG_fail
; 
20996     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20997     result 
= (wxMDIChildFrame 
*)new wxMDIChildFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
20998     wxPyEndAllowThreads(__tstate
); 
20999     if (PyErr_Occurred()) SWIG_fail
; 
21001   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW 
|  0 ); 
21024 SWIGINTERN PyObject 
*_wrap_new_PreMDIChildFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21025   PyObject 
*resultobj 
= 0; 
21026   wxMDIChildFrame 
*result 
= 0 ; 
21028   if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
; 
21030     if (!wxPyCheckForApp()) SWIG_fail
; 
21031     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21032     result 
= (wxMDIChildFrame 
*)new wxMDIChildFrame(); 
21033     wxPyEndAllowThreads(__tstate
); 
21034     if (PyErr_Occurred()) SWIG_fail
; 
21036   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN 
|  0 ); 
21043 SWIGINTERN PyObject 
*_wrap_MDIChildFrame_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21044   PyObject 
*resultobj 
= 0; 
21045   wxMDIChildFrame 
*arg1 
= (wxMDIChildFrame 
*) 0 ; 
21046   wxMDIParentFrame 
*arg2 
= (wxMDIParentFrame 
*) 0 ; 
21047   int arg3 
= (int) (int)-1 ; 
21048   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
21049   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
21050   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
21051   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
21052   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
21053   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
21054   long arg7 
= (long) wxDEFAULT_FRAME_STYLE 
; 
21055   wxString 
const &arg8_defvalue 
= wxPyFrameNameStr 
; 
21056   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
21064   bool temp4 
= false ; 
21069   bool temp8 
= false ; 
21070   PyObject 
* obj0 
= 0 ; 
21071   PyObject 
* obj1 
= 0 ; 
21072   PyObject 
* obj2 
= 0 ; 
21073   PyObject 
* obj3 
= 0 ; 
21074   PyObject 
* obj4 
= 0 ; 
21075   PyObject 
* obj5 
= 0 ; 
21076   PyObject 
* obj6 
= 0 ; 
21077   PyObject 
* obj7 
= 0 ; 
21078   char *  kwnames
[] = { 
21079     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
21082   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
21083   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 |  0 ); 
21084   if (!SWIG_IsOK(res1
)) { 
21085     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");  
21087   arg1 
= reinterpret_cast< wxMDIChildFrame 
* >(argp1
); 
21088   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
21089   if (!SWIG_IsOK(res2
)) { 
21090     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");  
21092   arg2 
= reinterpret_cast< wxMDIParentFrame 
* >(argp2
); 
21094     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21095     if (!SWIG_IsOK(ecode3
)) { 
21096       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'"); 
21098     arg3 
= static_cast< int >(val3
); 
21102       arg4 
= wxString_in_helper(obj3
); 
21103       if (arg4 
== NULL
) SWIG_fail
; 
21110       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
21116       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
21120     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
21121     if (!SWIG_IsOK(ecode7
)) { 
21122       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'"); 
21124     arg7 
= static_cast< long >(val7
); 
21128       arg8 
= wxString_in_helper(obj7
); 
21129       if (arg8 
== NULL
) SWIG_fail
; 
21134     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21135     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
21136     wxPyEndAllowThreads(__tstate
); 
21137     if (PyErr_Occurred()) SWIG_fail
; 
21140     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21164 SWIGINTERN PyObject 
*_wrap_MDIChildFrame_Activate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21165   PyObject 
*resultobj 
= 0; 
21166   wxMDIChildFrame 
*arg1 
= (wxMDIChildFrame 
*) 0 ; 
21169   PyObject 
*swig_obj
[1] ; 
21171   if (!args
) SWIG_fail
; 
21172   swig_obj
[0] = args
; 
21173   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 |  0 ); 
21174   if (!SWIG_IsOK(res1
)) { 
21175     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");  
21177   arg1 
= reinterpret_cast< wxMDIChildFrame 
* >(argp1
); 
21179     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21180     (arg1
)->Activate(); 
21181     wxPyEndAllowThreads(__tstate
); 
21182     if (PyErr_Occurred()) SWIG_fail
; 
21184   resultobj 
= SWIG_Py_Void(); 
21191 SWIGINTERN PyObject 
*MDIChildFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21193   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
21194   SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
)); 
21195   return SWIG_Py_Void(); 
21198 SWIGINTERN PyObject 
*MDIChildFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21199   return SWIG_Python_InitShadowInstance(args
); 
21202 SWIGINTERN PyObject 
*_wrap_new_MDIClientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21203   PyObject 
*resultobj 
= 0; 
21204   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
21205   long arg2 
= (long) 0 ; 
21206   wxMDIClientWindow 
*result 
= 0 ; 
21211   PyObject 
* obj0 
= 0 ; 
21212   PyObject 
* obj1 
= 0 ; 
21213   char *  kwnames
[] = { 
21214     (char *) "parent",(char *) "style", NULL 
 
21217   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21218   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
21219   if (!SWIG_IsOK(res1
)) { 
21220     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
21222   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
21224     ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
21225     if (!SWIG_IsOK(ecode2
)) { 
21226       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'"); 
21228     arg2 
= static_cast< long >(val2
); 
21231     if (!wxPyCheckForApp()) SWIG_fail
; 
21232     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21233     result 
= (wxMDIClientWindow 
*)new wxMDIClientWindow(arg1
,arg2
); 
21234     wxPyEndAllowThreads(__tstate
); 
21235     if (PyErr_Occurred()) SWIG_fail
; 
21237   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW 
|  0 ); 
21244 SWIGINTERN PyObject 
*_wrap_new_PreMDIClientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21245   PyObject 
*resultobj 
= 0; 
21246   wxMDIClientWindow 
*result 
= 0 ; 
21248   if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
; 
21250     if (!wxPyCheckForApp()) SWIG_fail
; 
21251     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21252     result 
= (wxMDIClientWindow 
*)new wxMDIClientWindow(); 
21253     wxPyEndAllowThreads(__tstate
); 
21254     if (PyErr_Occurred()) SWIG_fail
; 
21256   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN 
|  0 ); 
21263 SWIGINTERN PyObject 
*_wrap_MDIClientWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21264   PyObject 
*resultobj 
= 0; 
21265   wxMDIClientWindow 
*arg1 
= (wxMDIClientWindow 
*) 0 ; 
21266   wxMDIParentFrame 
*arg2 
= (wxMDIParentFrame 
*) 0 ; 
21267   long arg3 
= (long) 0 ; 
21275   PyObject 
* obj0 
= 0 ; 
21276   PyObject 
* obj1 
= 0 ; 
21277   PyObject 
* obj2 
= 0 ; 
21278   char *  kwnames
[] = { 
21279     (char *) "self",(char *) "parent",(char *) "style", NULL 
 
21282   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21283   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 |  0 ); 
21284   if (!SWIG_IsOK(res1
)) { 
21285     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");  
21287   arg1 
= reinterpret_cast< wxMDIClientWindow 
* >(argp1
); 
21288   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
21289   if (!SWIG_IsOK(res2
)) { 
21290     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");  
21292   arg2 
= reinterpret_cast< wxMDIParentFrame 
* >(argp2
); 
21294     ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
21295     if (!SWIG_IsOK(ecode3
)) { 
21296       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'"); 
21298     arg3 
= static_cast< long >(val3
); 
21301     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21302     result 
= (bool)(arg1
)->Create(arg2
,arg3
); 
21303     wxPyEndAllowThreads(__tstate
); 
21304     if (PyErr_Occurred()) SWIG_fail
; 
21307     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21315 SWIGINTERN PyObject 
*MDIClientWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21317   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
21318   SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
)); 
21319   return SWIG_Py_Void(); 
21322 SWIGINTERN PyObject 
*MDIClientWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21323   return SWIG_Python_InitShadowInstance(args
); 
21326 SWIGINTERN PyObject 
*_wrap_new_PyWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21327   PyObject 
*resultobj 
= 0; 
21328   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
21329   int arg2 
= (int) (int)-1 ; 
21330   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
21331   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
21332   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
21333   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
21334   long arg5 
= (long) 0 ; 
21335   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
21336   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
21337   wxPyWindow 
*result 
= 0 ; 
21346   bool temp6 
= false ; 
21347   PyObject 
* obj0 
= 0 ; 
21348   PyObject 
* obj1 
= 0 ; 
21349   PyObject 
* obj2 
= 0 ; 
21350   PyObject 
* obj3 
= 0 ; 
21351   PyObject 
* obj4 
= 0 ; 
21352   PyObject 
* obj5 
= 0 ; 
21353   char *  kwnames
[] = { 
21354     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
21357   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
21358   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
21359   if (!SWIG_IsOK(res1
)) { 
21360     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
21362   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
21364     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21365     if (!SWIG_IsOK(ecode2
)) { 
21366       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'"); 
21368     arg2 
= static_cast< int >(val2
); 
21373       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
21379       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
21383     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
21384     if (!SWIG_IsOK(ecode5
)) { 
21385       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'"); 
21387     arg5 
= static_cast< long >(val5
); 
21391       arg6 
= wxString_in_helper(obj5
); 
21392       if (arg6 
== NULL
) SWIG_fail
; 
21397     if (!wxPyCheckForApp()) SWIG_fail
; 
21398     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21399     result 
= (wxPyWindow 
*)new wxPyWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
21400     wxPyEndAllowThreads(__tstate
); 
21401     if (PyErr_Occurred()) SWIG_fail
; 
21403   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW 
|  0 ); 
21418 SWIGINTERN PyObject 
*_wrap_new_PrePyWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21419   PyObject 
*resultobj 
= 0; 
21420   wxPyWindow 
*result 
= 0 ; 
21422   if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
; 
21424     if (!wxPyCheckForApp()) SWIG_fail
; 
21425     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21426     result 
= (wxPyWindow 
*)new wxPyWindow(); 
21427     wxPyEndAllowThreads(__tstate
); 
21428     if (PyErr_Occurred()) SWIG_fail
; 
21430   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN 
|  0 ); 
21437 SWIGINTERN PyObject 
*_wrap_PyWindow__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21438   PyObject 
*resultobj 
= 0; 
21439   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21440   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
21441   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
21444   PyObject 
* obj0 
= 0 ; 
21445   PyObject 
* obj1 
= 0 ; 
21446   PyObject 
* obj2 
= 0 ; 
21447   char *  kwnames
[] = { 
21448     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
21451   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) 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__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21456   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21460     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21461     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
21462     wxPyEndAllowThreads(__tstate
); 
21463     if (PyErr_Occurred()) SWIG_fail
; 
21465   resultobj 
= SWIG_Py_Void(); 
21472 SWIGINTERN PyObject 
*_wrap_PyWindow_SetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21473   PyObject 
*resultobj 
= 0; 
21474   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21479   PyObject 
* obj0 
= 0 ; 
21480   PyObject 
* obj1 
= 0 ; 
21481   char *  kwnames
[] = { 
21482     (char *) "self",(char *) "size", NULL 
 
21485   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21486   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21487   if (!SWIG_IsOK(res1
)) { 
21488     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21490   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21493     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
21496     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21497     (arg1
)->SetBestSize((wxSize 
const &)*arg2
); 
21498     wxPyEndAllowThreads(__tstate
); 
21499     if (PyErr_Occurred()) SWIG_fail
; 
21501   resultobj 
= SWIG_Py_Void(); 
21508 SWIGINTERN PyObject 
*_wrap_PyWindow_DoEraseBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21509   PyObject 
*resultobj 
= 0; 
21510   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21511   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
21517   PyObject 
* obj0 
= 0 ; 
21518   PyObject 
* obj1 
= 0 ; 
21519   char *  kwnames
[] = { 
21520     (char *) "self",(char *) "dc", NULL 
 
21523   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21524   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21525   if (!SWIG_IsOK(res1
)) { 
21526     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21528   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21529   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21530   if (!SWIG_IsOK(res2
)) { 
21531     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");  
21533   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
21535     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21536     result 
= (bool)(arg1
)->DoEraseBackground(arg2
); 
21537     wxPyEndAllowThreads(__tstate
); 
21538     if (PyErr_Occurred()) SWIG_fail
; 
21541     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21549 SWIGINTERN PyObject 
*_wrap_PyWindow_DoMoveWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21550   PyObject 
*resultobj 
= 0; 
21551   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21566   PyObject 
* obj0 
= 0 ; 
21567   PyObject 
* obj1 
= 0 ; 
21568   PyObject 
* obj2 
= 0 ; 
21569   PyObject 
* obj3 
= 0 ; 
21570   PyObject 
* obj4 
= 0 ; 
21571   char *  kwnames
[] = { 
21572     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
21575   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
21576   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21577   if (!SWIG_IsOK(res1
)) { 
21578     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21580   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21581   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21582   if (!SWIG_IsOK(ecode2
)) { 
21583     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'"); 
21585   arg2 
= static_cast< int >(val2
); 
21586   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21587   if (!SWIG_IsOK(ecode3
)) { 
21588     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'"); 
21590   arg3 
= static_cast< int >(val3
); 
21591   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
21592   if (!SWIG_IsOK(ecode4
)) { 
21593     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'"); 
21595   arg4 
= static_cast< int >(val4
); 
21596   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
21597   if (!SWIG_IsOK(ecode5
)) { 
21598     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'"); 
21600   arg5 
= static_cast< int >(val5
); 
21602     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21603     (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
); 
21604     wxPyEndAllowThreads(__tstate
); 
21605     if (PyErr_Occurred()) SWIG_fail
; 
21607   resultobj 
= SWIG_Py_Void(); 
21614 SWIGINTERN PyObject 
*_wrap_PyWindow_DoSetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21615   PyObject 
*resultobj 
= 0; 
21616   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21621   int arg6 
= (int) wxSIZE_AUTO 
; 
21634   PyObject 
* obj0 
= 0 ; 
21635   PyObject 
* obj1 
= 0 ; 
21636   PyObject 
* obj2 
= 0 ; 
21637   PyObject 
* obj3 
= 0 ; 
21638   PyObject 
* obj4 
= 0 ; 
21639   PyObject 
* obj5 
= 0 ; 
21640   char *  kwnames
[] = { 
21641     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL 
 
21644   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
21645   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21646   if (!SWIG_IsOK(res1
)) { 
21647     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21649   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21650   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21651   if (!SWIG_IsOK(ecode2
)) { 
21652     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'"); 
21654   arg2 
= static_cast< int >(val2
); 
21655   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21656   if (!SWIG_IsOK(ecode3
)) { 
21657     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'"); 
21659   arg3 
= static_cast< int >(val3
); 
21660   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
21661   if (!SWIG_IsOK(ecode4
)) { 
21662     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'"); 
21664   arg4 
= static_cast< int >(val4
); 
21665   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
21666   if (!SWIG_IsOK(ecode5
)) { 
21667     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'"); 
21669   arg5 
= static_cast< int >(val5
); 
21671     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
21672     if (!SWIG_IsOK(ecode6
)) { 
21673       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'"); 
21675     arg6 
= static_cast< int >(val6
); 
21678     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21679     (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
); 
21680     wxPyEndAllowThreads(__tstate
); 
21681     if (PyErr_Occurred()) SWIG_fail
; 
21683   resultobj 
= SWIG_Py_Void(); 
21690 SWIGINTERN PyObject 
*_wrap_PyWindow_DoSetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21691   PyObject 
*resultobj 
= 0; 
21692   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21701   PyObject 
* obj0 
= 0 ; 
21702   PyObject 
* obj1 
= 0 ; 
21703   PyObject 
* obj2 
= 0 ; 
21704   char *  kwnames
[] = { 
21705     (char *) "self",(char *) "width",(char *) "height", NULL 
 
21708   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21709   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21710   if (!SWIG_IsOK(res1
)) { 
21711     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21713   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21714   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21715   if (!SWIG_IsOK(ecode2
)) { 
21716     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'"); 
21718   arg2 
= static_cast< int >(val2
); 
21719   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21720   if (!SWIG_IsOK(ecode3
)) { 
21721     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'"); 
21723   arg3 
= static_cast< int >(val3
); 
21725     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21726     (arg1
)->DoSetClientSize(arg2
,arg3
); 
21727     wxPyEndAllowThreads(__tstate
); 
21728     if (PyErr_Occurred()) SWIG_fail
; 
21730   resultobj 
= SWIG_Py_Void(); 
21737 SWIGINTERN PyObject 
*_wrap_PyWindow_DoSetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21738   PyObject 
*resultobj 
= 0; 
21739   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21748   PyObject 
* obj0 
= 0 ; 
21749   PyObject 
* obj1 
= 0 ; 
21750   PyObject 
* obj2 
= 0 ; 
21751   char *  kwnames
[] = { 
21752     (char *) "self",(char *) "x",(char *) "y", NULL 
 
21755   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21756   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21757   if (!SWIG_IsOK(res1
)) { 
21758     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21760   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21761   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21762   if (!SWIG_IsOK(ecode2
)) { 
21763     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'"); 
21765   arg2 
= static_cast< int >(val2
); 
21766   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21767   if (!SWIG_IsOK(ecode3
)) { 
21768     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'"); 
21770   arg3 
= static_cast< int >(val3
); 
21772     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21773     (arg1
)->DoSetVirtualSize(arg2
,arg3
); 
21774     wxPyEndAllowThreads(__tstate
); 
21775     if (PyErr_Occurred()) SWIG_fail
; 
21777   resultobj 
= SWIG_Py_Void(); 
21784 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21785   PyObject 
*resultobj 
= 0; 
21786   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21787   int *arg2 
= (int *) 0 ; 
21788   int *arg3 
= (int *) 0 ; 
21792   int res2 
= SWIG_TMPOBJ 
; 
21794   int res3 
= SWIG_TMPOBJ 
; 
21795   PyObject 
*swig_obj
[1] ; 
21799   if (!args
) SWIG_fail
; 
21800   swig_obj
[0] = args
; 
21801   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21802   if (!SWIG_IsOK(res1
)) { 
21803     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
21805   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21807     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21808     ((wxPyWindow 
const *)arg1
)->DoGetSize(arg2
,arg3
); 
21809     wxPyEndAllowThreads(__tstate
); 
21810     if (PyErr_Occurred()) SWIG_fail
; 
21812   resultobj 
= SWIG_Py_Void(); 
21813   if (SWIG_IsTmpObj(res2
)) { 
21814     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
21816     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21817     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
21819   if (SWIG_IsTmpObj(res3
)) { 
21820     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
21822     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21823     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
21831 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21832   PyObject 
*resultobj 
= 0; 
21833   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21834   int *arg2 
= (int *) 0 ; 
21835   int *arg3 
= (int *) 0 ; 
21839   int res2 
= SWIG_TMPOBJ 
; 
21841   int res3 
= SWIG_TMPOBJ 
; 
21842   PyObject 
*swig_obj
[1] ; 
21846   if (!args
) SWIG_fail
; 
21847   swig_obj
[0] = args
; 
21848   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21849   if (!SWIG_IsOK(res1
)) { 
21850     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
21852   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21854     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21855     ((wxPyWindow 
const *)arg1
)->DoGetClientSize(arg2
,arg3
); 
21856     wxPyEndAllowThreads(__tstate
); 
21857     if (PyErr_Occurred()) SWIG_fail
; 
21859   resultobj 
= SWIG_Py_Void(); 
21860   if (SWIG_IsTmpObj(res2
)) { 
21861     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
21863     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21864     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
21866   if (SWIG_IsTmpObj(res3
)) { 
21867     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
21869     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21870     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
21878 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21879   PyObject 
*resultobj 
= 0; 
21880   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21881   int *arg2 
= (int *) 0 ; 
21882   int *arg3 
= (int *) 0 ; 
21886   int res2 
= SWIG_TMPOBJ 
; 
21888   int res3 
= SWIG_TMPOBJ 
; 
21889   PyObject 
*swig_obj
[1] ; 
21893   if (!args
) SWIG_fail
; 
21894   swig_obj
[0] = args
; 
21895   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21896   if (!SWIG_IsOK(res1
)) { 
21897     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
21899   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21901     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21902     ((wxPyWindow 
const *)arg1
)->DoGetPosition(arg2
,arg3
); 
21903     wxPyEndAllowThreads(__tstate
); 
21904     if (PyErr_Occurred()) SWIG_fail
; 
21906   resultobj 
= SWIG_Py_Void(); 
21907   if (SWIG_IsTmpObj(res2
)) { 
21908     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
21910     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21911     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
21913   if (SWIG_IsTmpObj(res3
)) { 
21914     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
21916     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21917     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
21925 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21926   PyObject 
*resultobj 
= 0; 
21927   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21931   PyObject 
*swig_obj
[1] ; 
21933   if (!args
) SWIG_fail
; 
21934   swig_obj
[0] = args
; 
21935   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21936   if (!SWIG_IsOK(res1
)) { 
21937     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
21939   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21941     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21942     result 
= ((wxPyWindow 
const *)arg1
)->DoGetVirtualSize(); 
21943     wxPyEndAllowThreads(__tstate
); 
21944     if (PyErr_Occurred()) SWIG_fail
; 
21946   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
21953 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21954   PyObject 
*resultobj 
= 0; 
21955   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21959   PyObject 
*swig_obj
[1] ; 
21961   if (!args
) SWIG_fail
; 
21962   swig_obj
[0] = args
; 
21963   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21964   if (!SWIG_IsOK(res1
)) { 
21965     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
21967   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21969     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21970     result 
= ((wxPyWindow 
const *)arg1
)->DoGetBestSize(); 
21971     wxPyEndAllowThreads(__tstate
); 
21972     if (PyErr_Occurred()) SWIG_fail
; 
21974   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
21981 SWIGINTERN PyObject 
*_wrap_PyWindow_GetDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21982   PyObject 
*resultobj 
= 0; 
21983   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21984   SwigValueWrapper
<wxVisualAttributes 
> result
; 
21987   PyObject 
*swig_obj
[1] ; 
21989   if (!args
) SWIG_fail
; 
21990   swig_obj
[0] = args
; 
21991   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21992   if (!SWIG_IsOK(res1
)) { 
21993     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21995   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21997     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21998     result 
= (arg1
)->GetDefaultAttributes(); 
21999     wxPyEndAllowThreads(__tstate
); 
22000     if (PyErr_Occurred()) SWIG_fail
; 
22002   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
22009 SWIGINTERN PyObject 
*_wrap_PyWindow_OnInternalIdle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22010   PyObject 
*resultobj 
= 0; 
22011   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
22014   PyObject 
*swig_obj
[1] ; 
22016   if (!args
) SWIG_fail
; 
22017   swig_obj
[0] = args
; 
22018   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
22019   if (!SWIG_IsOK(res1
)) { 
22020     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
22022   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
22024     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22025     (arg1
)->OnInternalIdle(); 
22026     wxPyEndAllowThreads(__tstate
); 
22027     if (PyErr_Occurred()) SWIG_fail
; 
22029   resultobj 
= SWIG_Py_Void(); 
22036 SWIGINTERN PyObject 
*PyWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22038   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
22039   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
)); 
22040   return SWIG_Py_Void(); 
22043 SWIGINTERN PyObject 
*PyWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22044   return SWIG_Python_InitShadowInstance(args
); 
22047 SWIGINTERN PyObject 
*_wrap_new_PyPanel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22048   PyObject 
*resultobj 
= 0; 
22049   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
22050   int arg2 
= (int) (int)-1 ; 
22051   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
22052   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
22053   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
22054   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
22055   long arg5 
= (long) 0 ; 
22056   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
22057   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
22058   wxPyPanel 
*result 
= 0 ; 
22067   bool temp6 
= false ; 
22068   PyObject 
* obj0 
= 0 ; 
22069   PyObject 
* obj1 
= 0 ; 
22070   PyObject 
* obj2 
= 0 ; 
22071   PyObject 
* obj3 
= 0 ; 
22072   PyObject 
* obj4 
= 0 ; 
22073   PyObject 
* obj5 
= 0 ; 
22074   char *  kwnames
[] = { 
22075     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
22078   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
22079   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
22080   if (!SWIG_IsOK(res1
)) { 
22081     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");  
22083   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
22085     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22086     if (!SWIG_IsOK(ecode2
)) { 
22087       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'"); 
22089     arg2 
= static_cast< int >(val2
); 
22094       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
22100       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
22104     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
22105     if (!SWIG_IsOK(ecode5
)) { 
22106       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'"); 
22108     arg5 
= static_cast< long >(val5
); 
22112       arg6 
= wxString_in_helper(obj5
); 
22113       if (arg6 
== NULL
) SWIG_fail
; 
22118     if (!wxPyCheckForApp()) SWIG_fail
; 
22119     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22120     result 
= (wxPyPanel 
*)new wxPyPanel(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
22121     wxPyEndAllowThreads(__tstate
); 
22122     if (PyErr_Occurred()) SWIG_fail
; 
22124   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW 
|  0 ); 
22139 SWIGINTERN PyObject 
*_wrap_new_PrePyPanel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22140   PyObject 
*resultobj 
= 0; 
22141   wxPyPanel 
*result 
= 0 ; 
22143   if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
; 
22145     if (!wxPyCheckForApp()) SWIG_fail
; 
22146     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22147     result 
= (wxPyPanel 
*)new wxPyPanel(); 
22148     wxPyEndAllowThreads(__tstate
); 
22149     if (PyErr_Occurred()) SWIG_fail
; 
22151   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN 
|  0 ); 
22158 SWIGINTERN PyObject 
*_wrap_PyPanel__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22159   PyObject 
*resultobj 
= 0; 
22160   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22161   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
22162   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
22165   PyObject 
* obj0 
= 0 ; 
22166   PyObject 
* obj1 
= 0 ; 
22167   PyObject 
* obj2 
= 0 ; 
22168   char *  kwnames
[] = { 
22169     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
22172   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) 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__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22177   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22181     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22182     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
22183     wxPyEndAllowThreads(__tstate
); 
22184     if (PyErr_Occurred()) SWIG_fail
; 
22186   resultobj 
= SWIG_Py_Void(); 
22193 SWIGINTERN PyObject 
*_wrap_PyPanel_SetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22194   PyObject 
*resultobj 
= 0; 
22195   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22200   PyObject 
* obj0 
= 0 ; 
22201   PyObject 
* obj1 
= 0 ; 
22202   char *  kwnames
[] = { 
22203     (char *) "self",(char *) "size", NULL 
 
22206   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22207   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22208   if (!SWIG_IsOK(res1
)) { 
22209     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22211   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22214     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
22217     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22218     (arg1
)->SetBestSize((wxSize 
const &)*arg2
); 
22219     wxPyEndAllowThreads(__tstate
); 
22220     if (PyErr_Occurred()) SWIG_fail
; 
22222   resultobj 
= SWIG_Py_Void(); 
22229 SWIGINTERN PyObject 
*_wrap_PyPanel_DoEraseBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22230   PyObject 
*resultobj 
= 0; 
22231   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22232   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
22238   PyObject 
* obj0 
= 0 ; 
22239   PyObject 
* obj1 
= 0 ; 
22240   char *  kwnames
[] = { 
22241     (char *) "self",(char *) "dc", NULL 
 
22244   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22245   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22246   if (!SWIG_IsOK(res1
)) { 
22247     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22249   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22250   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22251   if (!SWIG_IsOK(res2
)) { 
22252     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");  
22254   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
22256     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22257     result 
= (bool)(arg1
)->DoEraseBackground(arg2
); 
22258     wxPyEndAllowThreads(__tstate
); 
22259     if (PyErr_Occurred()) SWIG_fail
; 
22262     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22270 SWIGINTERN PyObject 
*_wrap_PyPanel_DoMoveWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22271   PyObject 
*resultobj 
= 0; 
22272   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22287   PyObject 
* obj0 
= 0 ; 
22288   PyObject 
* obj1 
= 0 ; 
22289   PyObject 
* obj2 
= 0 ; 
22290   PyObject 
* obj3 
= 0 ; 
22291   PyObject 
* obj4 
= 0 ; 
22292   char *  kwnames
[] = { 
22293     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
22296   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
22297   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22298   if (!SWIG_IsOK(res1
)) { 
22299     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22301   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22302   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22303   if (!SWIG_IsOK(ecode2
)) { 
22304     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'"); 
22306   arg2 
= static_cast< int >(val2
); 
22307   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22308   if (!SWIG_IsOK(ecode3
)) { 
22309     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'"); 
22311   arg3 
= static_cast< int >(val3
); 
22312   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
22313   if (!SWIG_IsOK(ecode4
)) { 
22314     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'"); 
22316   arg4 
= static_cast< int >(val4
); 
22317   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
22318   if (!SWIG_IsOK(ecode5
)) { 
22319     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'"); 
22321   arg5 
= static_cast< int >(val5
); 
22323     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22324     (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
); 
22325     wxPyEndAllowThreads(__tstate
); 
22326     if (PyErr_Occurred()) SWIG_fail
; 
22328   resultobj 
= SWIG_Py_Void(); 
22335 SWIGINTERN PyObject 
*_wrap_PyPanel_DoSetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22336   PyObject 
*resultobj 
= 0; 
22337   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22342   int arg6 
= (int) wxSIZE_AUTO 
; 
22355   PyObject 
* obj0 
= 0 ; 
22356   PyObject 
* obj1 
= 0 ; 
22357   PyObject 
* obj2 
= 0 ; 
22358   PyObject 
* obj3 
= 0 ; 
22359   PyObject 
* obj4 
= 0 ; 
22360   PyObject 
* obj5 
= 0 ; 
22361   char *  kwnames
[] = { 
22362     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL 
 
22365   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
22366   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22367   if (!SWIG_IsOK(res1
)) { 
22368     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22370   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22371   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22372   if (!SWIG_IsOK(ecode2
)) { 
22373     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'"); 
22375   arg2 
= static_cast< int >(val2
); 
22376   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22377   if (!SWIG_IsOK(ecode3
)) { 
22378     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'"); 
22380   arg3 
= static_cast< int >(val3
); 
22381   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
22382   if (!SWIG_IsOK(ecode4
)) { 
22383     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'"); 
22385   arg4 
= static_cast< int >(val4
); 
22386   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
22387   if (!SWIG_IsOK(ecode5
)) { 
22388     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'"); 
22390   arg5 
= static_cast< int >(val5
); 
22392     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
22393     if (!SWIG_IsOK(ecode6
)) { 
22394       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'"); 
22396     arg6 
= static_cast< int >(val6
); 
22399     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22400     (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
); 
22401     wxPyEndAllowThreads(__tstate
); 
22402     if (PyErr_Occurred()) SWIG_fail
; 
22404   resultobj 
= SWIG_Py_Void(); 
22411 SWIGINTERN PyObject 
*_wrap_PyPanel_DoSetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22412   PyObject 
*resultobj 
= 0; 
22413   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22422   PyObject 
* obj0 
= 0 ; 
22423   PyObject 
* obj1 
= 0 ; 
22424   PyObject 
* obj2 
= 0 ; 
22425   char *  kwnames
[] = { 
22426     (char *) "self",(char *) "width",(char *) "height", NULL 
 
22429   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22430   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22431   if (!SWIG_IsOK(res1
)) { 
22432     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22434   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22435   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22436   if (!SWIG_IsOK(ecode2
)) { 
22437     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'"); 
22439   arg2 
= static_cast< int >(val2
); 
22440   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22441   if (!SWIG_IsOK(ecode3
)) { 
22442     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'"); 
22444   arg3 
= static_cast< int >(val3
); 
22446     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22447     (arg1
)->DoSetClientSize(arg2
,arg3
); 
22448     wxPyEndAllowThreads(__tstate
); 
22449     if (PyErr_Occurred()) SWIG_fail
; 
22451   resultobj 
= SWIG_Py_Void(); 
22458 SWIGINTERN PyObject 
*_wrap_PyPanel_DoSetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22459   PyObject 
*resultobj 
= 0; 
22460   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22469   PyObject 
* obj0 
= 0 ; 
22470   PyObject 
* obj1 
= 0 ; 
22471   PyObject 
* obj2 
= 0 ; 
22472   char *  kwnames
[] = { 
22473     (char *) "self",(char *) "x",(char *) "y", NULL 
 
22476   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22477   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22478   if (!SWIG_IsOK(res1
)) { 
22479     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22481   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22482   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22483   if (!SWIG_IsOK(ecode2
)) { 
22484     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'"); 
22486   arg2 
= static_cast< int >(val2
); 
22487   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22488   if (!SWIG_IsOK(ecode3
)) { 
22489     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'"); 
22491   arg3 
= static_cast< int >(val3
); 
22493     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22494     (arg1
)->DoSetVirtualSize(arg2
,arg3
); 
22495     wxPyEndAllowThreads(__tstate
); 
22496     if (PyErr_Occurred()) SWIG_fail
; 
22498   resultobj 
= SWIG_Py_Void(); 
22505 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22506   PyObject 
*resultobj 
= 0; 
22507   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22508   int *arg2 
= (int *) 0 ; 
22509   int *arg3 
= (int *) 0 ; 
22513   int res2 
= SWIG_TMPOBJ 
; 
22515   int res3 
= SWIG_TMPOBJ 
; 
22516   PyObject 
*swig_obj
[1] ; 
22520   if (!args
) SWIG_fail
; 
22521   swig_obj
[0] = args
; 
22522   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22523   if (!SWIG_IsOK(res1
)) { 
22524     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22526   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22528     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22529     ((wxPyPanel 
const *)arg1
)->DoGetSize(arg2
,arg3
); 
22530     wxPyEndAllowThreads(__tstate
); 
22531     if (PyErr_Occurred()) SWIG_fail
; 
22533   resultobj 
= SWIG_Py_Void(); 
22534   if (SWIG_IsTmpObj(res2
)) { 
22535     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
22537     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22538     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
22540   if (SWIG_IsTmpObj(res3
)) { 
22541     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22543     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22544     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22552 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22553   PyObject 
*resultobj 
= 0; 
22554   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22555   int *arg2 
= (int *) 0 ; 
22556   int *arg3 
= (int *) 0 ; 
22560   int res2 
= SWIG_TMPOBJ 
; 
22562   int res3 
= SWIG_TMPOBJ 
; 
22563   PyObject 
*swig_obj
[1] ; 
22567   if (!args
) SWIG_fail
; 
22568   swig_obj
[0] = args
; 
22569   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22570   if (!SWIG_IsOK(res1
)) { 
22571     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22573   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22575     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22576     ((wxPyPanel 
const *)arg1
)->DoGetClientSize(arg2
,arg3
); 
22577     wxPyEndAllowThreads(__tstate
); 
22578     if (PyErr_Occurred()) SWIG_fail
; 
22580   resultobj 
= SWIG_Py_Void(); 
22581   if (SWIG_IsTmpObj(res2
)) { 
22582     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
22584     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22585     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
22587   if (SWIG_IsTmpObj(res3
)) { 
22588     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22590     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22591     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22599 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22600   PyObject 
*resultobj 
= 0; 
22601   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22602   int *arg2 
= (int *) 0 ; 
22603   int *arg3 
= (int *) 0 ; 
22607   int res2 
= SWIG_TMPOBJ 
; 
22609   int res3 
= SWIG_TMPOBJ 
; 
22610   PyObject 
*swig_obj
[1] ; 
22614   if (!args
) SWIG_fail
; 
22615   swig_obj
[0] = args
; 
22616   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22617   if (!SWIG_IsOK(res1
)) { 
22618     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22620   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22622     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22623     ((wxPyPanel 
const *)arg1
)->DoGetPosition(arg2
,arg3
); 
22624     wxPyEndAllowThreads(__tstate
); 
22625     if (PyErr_Occurred()) SWIG_fail
; 
22627   resultobj 
= SWIG_Py_Void(); 
22628   if (SWIG_IsTmpObj(res2
)) { 
22629     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
22631     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22632     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
22634   if (SWIG_IsTmpObj(res3
)) { 
22635     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22637     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22638     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22646 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22647   PyObject 
*resultobj 
= 0; 
22648   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22652   PyObject 
*swig_obj
[1] ; 
22654   if (!args
) SWIG_fail
; 
22655   swig_obj
[0] = args
; 
22656   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22657   if (!SWIG_IsOK(res1
)) { 
22658     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22660   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22662     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22663     result 
= ((wxPyPanel 
const *)arg1
)->DoGetVirtualSize(); 
22664     wxPyEndAllowThreads(__tstate
); 
22665     if (PyErr_Occurred()) SWIG_fail
; 
22667   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
22674 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22675   PyObject 
*resultobj 
= 0; 
22676   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22680   PyObject 
*swig_obj
[1] ; 
22682   if (!args
) SWIG_fail
; 
22683   swig_obj
[0] = args
; 
22684   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22685   if (!SWIG_IsOK(res1
)) { 
22686     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22688   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22690     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22691     result 
= ((wxPyPanel 
const *)arg1
)->DoGetBestSize(); 
22692     wxPyEndAllowThreads(__tstate
); 
22693     if (PyErr_Occurred()) SWIG_fail
; 
22695   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
22702 SWIGINTERN PyObject 
*_wrap_PyPanel_GetDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22703   PyObject 
*resultobj 
= 0; 
22704   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22705   SwigValueWrapper
<wxVisualAttributes 
> result
; 
22708   PyObject 
*swig_obj
[1] ; 
22710   if (!args
) SWIG_fail
; 
22711   swig_obj
[0] = args
; 
22712   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22713   if (!SWIG_IsOK(res1
)) { 
22714     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22716   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22718     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22719     result 
= (arg1
)->GetDefaultAttributes(); 
22720     wxPyEndAllowThreads(__tstate
); 
22721     if (PyErr_Occurred()) SWIG_fail
; 
22723   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
22730 SWIGINTERN PyObject 
*_wrap_PyPanel_OnInternalIdle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22731   PyObject 
*resultobj 
= 0; 
22732   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22735   PyObject 
*swig_obj
[1] ; 
22737   if (!args
) SWIG_fail
; 
22738   swig_obj
[0] = args
; 
22739   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22740   if (!SWIG_IsOK(res1
)) { 
22741     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22743   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22745     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22746     (arg1
)->OnInternalIdle(); 
22747     wxPyEndAllowThreads(__tstate
); 
22748     if (PyErr_Occurred()) SWIG_fail
; 
22750   resultobj 
= SWIG_Py_Void(); 
22757 SWIGINTERN PyObject 
*PyPanel_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22759   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
22760   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
)); 
22761   return SWIG_Py_Void(); 
22764 SWIGINTERN PyObject 
*PyPanel_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22765   return SWIG_Python_InitShadowInstance(args
); 
22768 SWIGINTERN PyObject 
*_wrap_new_PyScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22769   PyObject 
*resultobj 
= 0; 
22770   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
22771   int arg2 
= (int) (int)-1 ; 
22772   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
22773   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
22774   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
22775   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
22776   long arg5 
= (long) 0 ; 
22777   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
22778   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
22779   wxPyScrolledWindow 
*result 
= 0 ; 
22788   bool temp6 
= false ; 
22789   PyObject 
* obj0 
= 0 ; 
22790   PyObject 
* obj1 
= 0 ; 
22791   PyObject 
* obj2 
= 0 ; 
22792   PyObject 
* obj3 
= 0 ; 
22793   PyObject 
* obj4 
= 0 ; 
22794   PyObject 
* obj5 
= 0 ; 
22795   char *  kwnames
[] = { 
22796     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
22799   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
22800   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
22801   if (!SWIG_IsOK(res1
)) { 
22802     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
22804   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
22806     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22807     if (!SWIG_IsOK(ecode2
)) { 
22808       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'"); 
22810     arg2 
= static_cast< int >(val2
); 
22815       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
22821       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
22825     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
22826     if (!SWIG_IsOK(ecode5
)) { 
22827       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'"); 
22829     arg5 
= static_cast< long >(val5
); 
22833       arg6 
= wxString_in_helper(obj5
); 
22834       if (arg6 
== NULL
) SWIG_fail
; 
22839     if (!wxPyCheckForApp()) SWIG_fail
; 
22840     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22841     result 
= (wxPyScrolledWindow 
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
22842     wxPyEndAllowThreads(__tstate
); 
22843     if (PyErr_Occurred()) SWIG_fail
; 
22845   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW 
|  0 ); 
22860 SWIGINTERN PyObject 
*_wrap_new_PrePyScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22861   PyObject 
*resultobj 
= 0; 
22862   wxPyScrolledWindow 
*result 
= 0 ; 
22864   if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
; 
22866     if (!wxPyCheckForApp()) SWIG_fail
; 
22867     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22868     result 
= (wxPyScrolledWindow 
*)new wxPyScrolledWindow(); 
22869     wxPyEndAllowThreads(__tstate
); 
22870     if (PyErr_Occurred()) SWIG_fail
; 
22872   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN 
|  0 ); 
22879 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22880   PyObject 
*resultobj 
= 0; 
22881   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
22882   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
22883   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
22886   PyObject 
* obj0 
= 0 ; 
22887   PyObject 
* obj1 
= 0 ; 
22888   PyObject 
* obj2 
= 0 ; 
22889   char *  kwnames
[] = { 
22890     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
22893   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) 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__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
22898   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
22902     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22903     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
22904     wxPyEndAllowThreads(__tstate
); 
22905     if (PyErr_Occurred()) SWIG_fail
; 
22907   resultobj 
= SWIG_Py_Void(); 
22914 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_SetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22915   PyObject 
*resultobj 
= 0; 
22916   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
22921   PyObject 
* obj0 
= 0 ; 
22922   PyObject 
* obj1 
= 0 ; 
22923   char *  kwnames
[] = { 
22924     (char *) "self",(char *) "size", NULL 
 
22927   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22928   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
22929   if (!SWIG_IsOK(res1
)) { 
22930     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
22932   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
22935     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
22938     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22939     (arg1
)->SetBestSize((wxSize 
const &)*arg2
); 
22940     wxPyEndAllowThreads(__tstate
); 
22941     if (PyErr_Occurred()) SWIG_fail
; 
22943   resultobj 
= SWIG_Py_Void(); 
22950 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22951   PyObject 
*resultobj 
= 0; 
22952   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
22953   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
22959   PyObject 
* obj0 
= 0 ; 
22960   PyObject 
* obj1 
= 0 ; 
22961   char *  kwnames
[] = { 
22962     (char *) "self",(char *) "dc", NULL 
 
22965   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22966   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
22967   if (!SWIG_IsOK(res1
)) { 
22968     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
22970   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
22971   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22972   if (!SWIG_IsOK(res2
)) { 
22973     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");  
22975   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
22977     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22978     result 
= (bool)(arg1
)->DoEraseBackground(arg2
); 
22979     wxPyEndAllowThreads(__tstate
); 
22980     if (PyErr_Occurred()) SWIG_fail
; 
22983     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22991 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22992   PyObject 
*resultobj 
= 0; 
22993   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23008   PyObject 
* obj0 
= 0 ; 
23009   PyObject 
* obj1 
= 0 ; 
23010   PyObject 
* obj2 
= 0 ; 
23011   PyObject 
* obj3 
= 0 ; 
23012   PyObject 
* obj4 
= 0 ; 
23013   char *  kwnames
[] = { 
23014     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
23017   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
23018   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23019   if (!SWIG_IsOK(res1
)) { 
23020     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23022   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23023   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
23024   if (!SWIG_IsOK(ecode2
)) { 
23025     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'"); 
23027   arg2 
= static_cast< int >(val2
); 
23028   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
23029   if (!SWIG_IsOK(ecode3
)) { 
23030     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'"); 
23032   arg3 
= static_cast< int >(val3
); 
23033   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
23034   if (!SWIG_IsOK(ecode4
)) { 
23035     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'"); 
23037   arg4 
= static_cast< int >(val4
); 
23038   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
23039   if (!SWIG_IsOK(ecode5
)) { 
23040     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'"); 
23042   arg5 
= static_cast< int >(val5
); 
23044     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23045     (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
); 
23046     wxPyEndAllowThreads(__tstate
); 
23047     if (PyErr_Occurred()) SWIG_fail
; 
23049   resultobj 
= SWIG_Py_Void(); 
23056 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoSetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23057   PyObject 
*resultobj 
= 0; 
23058   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23063   int arg6 
= (int) wxSIZE_AUTO 
; 
23076   PyObject 
* obj0 
= 0 ; 
23077   PyObject 
* obj1 
= 0 ; 
23078   PyObject 
* obj2 
= 0 ; 
23079   PyObject 
* obj3 
= 0 ; 
23080   PyObject 
* obj4 
= 0 ; 
23081   PyObject 
* obj5 
= 0 ; 
23082   char *  kwnames
[] = { 
23083     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL 
 
23086   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
23087   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23088   if (!SWIG_IsOK(res1
)) { 
23089     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23091   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23092   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
23093   if (!SWIG_IsOK(ecode2
)) { 
23094     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'"); 
23096   arg2 
= static_cast< int >(val2
); 
23097   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
23098   if (!SWIG_IsOK(ecode3
)) { 
23099     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'"); 
23101   arg3 
= static_cast< int >(val3
); 
23102   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
23103   if (!SWIG_IsOK(ecode4
)) { 
23104     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'"); 
23106   arg4 
= static_cast< int >(val4
); 
23107   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
23108   if (!SWIG_IsOK(ecode5
)) { 
23109     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'"); 
23111   arg5 
= static_cast< int >(val5
); 
23113     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
23114     if (!SWIG_IsOK(ecode6
)) { 
23115       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'"); 
23117     arg6 
= static_cast< int >(val6
); 
23120     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23121     (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
); 
23122     wxPyEndAllowThreads(__tstate
); 
23123     if (PyErr_Occurred()) SWIG_fail
; 
23125   resultobj 
= SWIG_Py_Void(); 
23132 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23133   PyObject 
*resultobj 
= 0; 
23134   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23143   PyObject 
* obj0 
= 0 ; 
23144   PyObject 
* obj1 
= 0 ; 
23145   PyObject 
* obj2 
= 0 ; 
23146   char *  kwnames
[] = { 
23147     (char *) "self",(char *) "width",(char *) "height", NULL 
 
23150   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
23151   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23152   if (!SWIG_IsOK(res1
)) { 
23153     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23155   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23156   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
23157   if (!SWIG_IsOK(ecode2
)) { 
23158     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'"); 
23160   arg2 
= static_cast< int >(val2
); 
23161   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
23162   if (!SWIG_IsOK(ecode3
)) { 
23163     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'"); 
23165   arg3 
= static_cast< int >(val3
); 
23167     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23168     (arg1
)->DoSetClientSize(arg2
,arg3
); 
23169     wxPyEndAllowThreads(__tstate
); 
23170     if (PyErr_Occurred()) SWIG_fail
; 
23172   resultobj 
= SWIG_Py_Void(); 
23179 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23180   PyObject 
*resultobj 
= 0; 
23181   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23190   PyObject 
* obj0 
= 0 ; 
23191   PyObject 
* obj1 
= 0 ; 
23192   PyObject 
* obj2 
= 0 ; 
23193   char *  kwnames
[] = { 
23194     (char *) "self",(char *) "x",(char *) "y", NULL 
 
23197   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
23198   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23199   if (!SWIG_IsOK(res1
)) { 
23200     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23202   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23203   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
23204   if (!SWIG_IsOK(ecode2
)) { 
23205     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'"); 
23207   arg2 
= static_cast< int >(val2
); 
23208   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
23209   if (!SWIG_IsOK(ecode3
)) { 
23210     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'"); 
23212   arg3 
= static_cast< int >(val3
); 
23214     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23215     (arg1
)->DoSetVirtualSize(arg2
,arg3
); 
23216     wxPyEndAllowThreads(__tstate
); 
23217     if (PyErr_Occurred()) SWIG_fail
; 
23219   resultobj 
= SWIG_Py_Void(); 
23226 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23227   PyObject 
*resultobj 
= 0; 
23228   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23229   int *arg2 
= (int *) 0 ; 
23230   int *arg3 
= (int *) 0 ; 
23234   int res2 
= SWIG_TMPOBJ 
; 
23236   int res3 
= SWIG_TMPOBJ 
; 
23237   PyObject 
*swig_obj
[1] ; 
23241   if (!args
) SWIG_fail
; 
23242   swig_obj
[0] = args
; 
23243   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23244   if (!SWIG_IsOK(res1
)) { 
23245     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23247   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23249     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23250     ((wxPyScrolledWindow 
const *)arg1
)->DoGetSize(arg2
,arg3
); 
23251     wxPyEndAllowThreads(__tstate
); 
23252     if (PyErr_Occurred()) SWIG_fail
; 
23254   resultobj 
= SWIG_Py_Void(); 
23255   if (SWIG_IsTmpObj(res2
)) { 
23256     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
23258     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23259     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
23261   if (SWIG_IsTmpObj(res3
)) { 
23262     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
23264     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23265     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
23273 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23274   PyObject 
*resultobj 
= 0; 
23275   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23276   int *arg2 
= (int *) 0 ; 
23277   int *arg3 
= (int *) 0 ; 
23281   int res2 
= SWIG_TMPOBJ 
; 
23283   int res3 
= SWIG_TMPOBJ 
; 
23284   PyObject 
*swig_obj
[1] ; 
23288   if (!args
) SWIG_fail
; 
23289   swig_obj
[0] = args
; 
23290   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23291   if (!SWIG_IsOK(res1
)) { 
23292     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23294   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23296     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23297     ((wxPyScrolledWindow 
const *)arg1
)->DoGetClientSize(arg2
,arg3
); 
23298     wxPyEndAllowThreads(__tstate
); 
23299     if (PyErr_Occurred()) SWIG_fail
; 
23301   resultobj 
= SWIG_Py_Void(); 
23302   if (SWIG_IsTmpObj(res2
)) { 
23303     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
23305     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23306     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
23308   if (SWIG_IsTmpObj(res3
)) { 
23309     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
23311     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23312     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
23320 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23321   PyObject 
*resultobj 
= 0; 
23322   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23323   int *arg2 
= (int *) 0 ; 
23324   int *arg3 
= (int *) 0 ; 
23328   int res2 
= SWIG_TMPOBJ 
; 
23330   int res3 
= SWIG_TMPOBJ 
; 
23331   PyObject 
*swig_obj
[1] ; 
23335   if (!args
) SWIG_fail
; 
23336   swig_obj
[0] = args
; 
23337   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23338   if (!SWIG_IsOK(res1
)) { 
23339     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23341   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23343     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23344     ((wxPyScrolledWindow 
const *)arg1
)->DoGetPosition(arg2
,arg3
); 
23345     wxPyEndAllowThreads(__tstate
); 
23346     if (PyErr_Occurred()) SWIG_fail
; 
23348   resultobj 
= SWIG_Py_Void(); 
23349   if (SWIG_IsTmpObj(res2
)) { 
23350     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
23352     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23353     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
23355   if (SWIG_IsTmpObj(res3
)) { 
23356     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
23358     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23359     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
23367 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23368   PyObject 
*resultobj 
= 0; 
23369   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23373   PyObject 
*swig_obj
[1] ; 
23375   if (!args
) SWIG_fail
; 
23376   swig_obj
[0] = args
; 
23377   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23378   if (!SWIG_IsOK(res1
)) { 
23379     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23381   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23383     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23384     result 
= ((wxPyScrolledWindow 
const *)arg1
)->DoGetVirtualSize(); 
23385     wxPyEndAllowThreads(__tstate
); 
23386     if (PyErr_Occurred()) SWIG_fail
; 
23388   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
23395 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23396   PyObject 
*resultobj 
= 0; 
23397   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23401   PyObject 
*swig_obj
[1] ; 
23403   if (!args
) SWIG_fail
; 
23404   swig_obj
[0] = args
; 
23405   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23406   if (!SWIG_IsOK(res1
)) { 
23407     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23409   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23411     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23412     result 
= ((wxPyScrolledWindow 
const *)arg1
)->DoGetBestSize(); 
23413     wxPyEndAllowThreads(__tstate
); 
23414     if (PyErr_Occurred()) SWIG_fail
; 
23416   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
23423 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23424   PyObject 
*resultobj 
= 0; 
23425   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23426   SwigValueWrapper
<wxVisualAttributes 
> result
; 
23429   PyObject 
*swig_obj
[1] ; 
23431   if (!args
) SWIG_fail
; 
23432   swig_obj
[0] = args
; 
23433   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23434   if (!SWIG_IsOK(res1
)) { 
23435     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23437   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23439     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23440     result 
= (arg1
)->GetDefaultAttributes(); 
23441     wxPyEndAllowThreads(__tstate
); 
23442     if (PyErr_Occurred()) SWIG_fail
; 
23444   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
23451 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23452   PyObject 
*resultobj 
= 0; 
23453   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23456   PyObject 
*swig_obj
[1] ; 
23458   if (!args
) SWIG_fail
; 
23459   swig_obj
[0] = args
; 
23460   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23461   if (!SWIG_IsOK(res1
)) { 
23462     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23464   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23466     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23467     (arg1
)->OnInternalIdle(); 
23468     wxPyEndAllowThreads(__tstate
); 
23469     if (PyErr_Occurred()) SWIG_fail
; 
23471   resultobj 
= SWIG_Py_Void(); 
23478 SWIGINTERN PyObject 
*PyScrolledWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23480   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23481   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
)); 
23482   return SWIG_Py_Void(); 
23485 SWIGINTERN PyObject 
*PyScrolledWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23486   return SWIG_Python_InitShadowInstance(args
); 
23489 SWIGINTERN 
int PrintoutTitleStr_set(PyObject 
*) { 
23490   SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only."); 
23495 SWIGINTERN PyObject 
*PrintoutTitleStr_get(void) { 
23496   PyObject 
*pyobj 
= 0; 
23500     pyobj 
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len()); 
23502     pyobj 
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len()); 
23509 SWIGINTERN 
int PreviewCanvasNameStr_set(PyObject 
*) { 
23510   SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only."); 
23515 SWIGINTERN PyObject 
*PreviewCanvasNameStr_get(void) { 
23516   PyObject 
*pyobj 
= 0; 
23520     pyobj 
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len()); 
23522     pyobj 
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len()); 
23529 SWIGINTERN PyObject 
*_wrap_new_PrintData__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**SWIGUNUSEDPARM(swig_obj
)) { 
23530   PyObject 
*resultobj 
= 0; 
23531   wxPrintData 
*result 
= 0 ; 
23533   if ((nobjs 
< 0) || (nobjs 
> 0)) SWIG_fail
; 
23535     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23536     result 
= (wxPrintData 
*)new wxPrintData(); 
23537     wxPyEndAllowThreads(__tstate
); 
23538     if (PyErr_Occurred()) SWIG_fail
; 
23540   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW 
|  0 ); 
23547 SWIGINTERN PyObject 
*_wrap_new_PrintData__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
23548   PyObject 
*resultobj 
= 0; 
23549   wxPrintData 
*arg1 
= 0 ; 
23550   wxPrintData 
*result 
= 0 ; 
23554   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
23555   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
23556   if (!SWIG_IsOK(res1
)) { 
23557     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
23560     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
23562   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23564     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23565     result 
= (wxPrintData 
*)new wxPrintData((wxPrintData 
const &)*arg1
); 
23566     wxPyEndAllowThreads(__tstate
); 
23567     if (PyErr_Occurred()) SWIG_fail
; 
23569   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW 
|  0 ); 
23576 SWIGINTERN PyObject 
*_wrap_new_PrintData(PyObject 
*self
, PyObject 
*args
) { 
23580   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
; 
23583     return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
); 
23586     return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
); 
23590   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'"); 
23595 SWIGINTERN PyObject 
*_wrap_delete_PrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23596   PyObject 
*resultobj 
= 0; 
23597   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23600   PyObject 
*swig_obj
[1] ; 
23602   if (!args
) SWIG_fail
; 
23603   swig_obj
[0] = args
; 
23604   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN 
|  0 ); 
23605   if (!SWIG_IsOK(res1
)) { 
23606     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23608   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23610     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23613     wxPyEndAllowThreads(__tstate
); 
23614     if (PyErr_Occurred()) SWIG_fail
; 
23616   resultobj 
= SWIG_Py_Void(); 
23623 SWIGINTERN PyObject 
*_wrap_PrintData_GetNoCopies(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23624   PyObject 
*resultobj 
= 0; 
23625   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23629   PyObject 
*swig_obj
[1] ; 
23631   if (!args
) SWIG_fail
; 
23632   swig_obj
[0] = args
; 
23633   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23634   if (!SWIG_IsOK(res1
)) { 
23635     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23637   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23639     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23640     result 
= (int)(arg1
)->GetNoCopies(); 
23641     wxPyEndAllowThreads(__tstate
); 
23642     if (PyErr_Occurred()) SWIG_fail
; 
23644   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23651 SWIGINTERN PyObject 
*_wrap_PrintData_GetCollate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23652   PyObject 
*resultobj 
= 0; 
23653   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23657   PyObject 
*swig_obj
[1] ; 
23659   if (!args
) SWIG_fail
; 
23660   swig_obj
[0] = args
; 
23661   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23662   if (!SWIG_IsOK(res1
)) { 
23663     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23665   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23667     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23668     result 
= (bool)(arg1
)->GetCollate(); 
23669     wxPyEndAllowThreads(__tstate
); 
23670     if (PyErr_Occurred()) SWIG_fail
; 
23673     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23681 SWIGINTERN PyObject 
*_wrap_PrintData_GetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23682   PyObject 
*resultobj 
= 0; 
23683   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23687   PyObject 
*swig_obj
[1] ; 
23689   if (!args
) SWIG_fail
; 
23690   swig_obj
[0] = args
; 
23691   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23692   if (!SWIG_IsOK(res1
)) { 
23693     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23695   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23697     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23698     result 
= (int)(arg1
)->GetOrientation(); 
23699     wxPyEndAllowThreads(__tstate
); 
23700     if (PyErr_Occurred()) SWIG_fail
; 
23702   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23709 SWIGINTERN PyObject 
*_wrap_PrintData_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23710   PyObject 
*resultobj 
= 0; 
23711   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23715   PyObject 
*swig_obj
[1] ; 
23717   if (!args
) SWIG_fail
; 
23718   swig_obj
[0] = args
; 
23719   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23720   if (!SWIG_IsOK(res1
)) { 
23721     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23723   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23725     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23726     result 
= (bool)(arg1
)->Ok(); 
23727     wxPyEndAllowThreads(__tstate
); 
23728     if (PyErr_Occurred()) SWIG_fail
; 
23731     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23739 SWIGINTERN PyObject 
*_wrap_PrintData_GetPrinterName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23740   PyObject 
*resultobj 
= 0; 
23741   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23742   wxString 
*result 
= 0 ; 
23745   PyObject 
*swig_obj
[1] ; 
23747   if (!args
) SWIG_fail
; 
23748   swig_obj
[0] = args
; 
23749   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23750   if (!SWIG_IsOK(res1
)) { 
23751     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23753   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23755     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23757       wxString 
const &_result_ref 
= (arg1
)->GetPrinterName(); 
23758       result 
= (wxString 
*) &_result_ref
; 
23760     wxPyEndAllowThreads(__tstate
); 
23761     if (PyErr_Occurred()) SWIG_fail
; 
23765     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
23767     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
23776 SWIGINTERN PyObject 
*_wrap_PrintData_GetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23777   PyObject 
*resultobj 
= 0; 
23778   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23782   PyObject 
*swig_obj
[1] ; 
23784   if (!args
) SWIG_fail
; 
23785   swig_obj
[0] = args
; 
23786   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23787   if (!SWIG_IsOK(res1
)) { 
23788     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23790   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23792     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23793     result 
= (bool)(arg1
)->GetColour(); 
23794     wxPyEndAllowThreads(__tstate
); 
23795     if (PyErr_Occurred()) SWIG_fail
; 
23798     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23806 SWIGINTERN PyObject 
*_wrap_PrintData_GetDuplex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23807   PyObject 
*resultobj 
= 0; 
23808   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23809   wxDuplexMode result
; 
23812   PyObject 
*swig_obj
[1] ; 
23814   if (!args
) SWIG_fail
; 
23815   swig_obj
[0] = args
; 
23816   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23817   if (!SWIG_IsOK(res1
)) { 
23818     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23820   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23822     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23823     result 
= (wxDuplexMode
)(arg1
)->GetDuplex(); 
23824     wxPyEndAllowThreads(__tstate
); 
23825     if (PyErr_Occurred()) SWIG_fail
; 
23827   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23834 SWIGINTERN PyObject 
*_wrap_PrintData_GetPaperId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23835   PyObject 
*resultobj 
= 0; 
23836   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23837   wxPaperSize result
; 
23840   PyObject 
*swig_obj
[1] ; 
23842   if (!args
) SWIG_fail
; 
23843   swig_obj
[0] = args
; 
23844   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23845   if (!SWIG_IsOK(res1
)) { 
23846     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23848   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23850     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23851     result 
= (wxPaperSize
)(arg1
)->GetPaperId(); 
23852     wxPyEndAllowThreads(__tstate
); 
23853     if (PyErr_Occurred()) SWIG_fail
; 
23855   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23862 SWIGINTERN PyObject 
*_wrap_PrintData_GetPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23863   PyObject 
*resultobj 
= 0; 
23864   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23865   wxSize 
*result 
= 0 ; 
23868   PyObject 
*swig_obj
[1] ; 
23870   if (!args
) SWIG_fail
; 
23871   swig_obj
[0] = args
; 
23872   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23873   if (!SWIG_IsOK(res1
)) { 
23874     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23876   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23878     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23880       wxSize 
const &_result_ref 
= (arg1
)->GetPaperSize(); 
23881       result 
= (wxSize 
*) &_result_ref
; 
23883     wxPyEndAllowThreads(__tstate
); 
23884     if (PyErr_Occurred()) SWIG_fail
; 
23886   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 |  0 ); 
23893 SWIGINTERN PyObject 
*_wrap_PrintData_GetQuality(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23894   PyObject 
*resultobj 
= 0; 
23895   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23899   PyObject 
*swig_obj
[1] ; 
23901   if (!args
) SWIG_fail
; 
23902   swig_obj
[0] = args
; 
23903   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23904   if (!SWIG_IsOK(res1
)) { 
23905     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23907   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23909     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23910     result 
= (int)(arg1
)->GetQuality(); 
23911     wxPyEndAllowThreads(__tstate
); 
23912     if (PyErr_Occurred()) SWIG_fail
; 
23914   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23921 SWIGINTERN PyObject 
*_wrap_PrintData_GetBin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23922   PyObject 
*resultobj 
= 0; 
23923   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23927   PyObject 
*swig_obj
[1] ; 
23929   if (!args
) SWIG_fail
; 
23930   swig_obj
[0] = args
; 
23931   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23932   if (!SWIG_IsOK(res1
)) { 
23933     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23935   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23937     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23938     result 
= (wxPrintBin
)(arg1
)->GetBin(); 
23939     wxPyEndAllowThreads(__tstate
); 
23940     if (PyErr_Occurred()) SWIG_fail
; 
23942   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23949 SWIGINTERN PyObject 
*_wrap_PrintData_GetPrintMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23950   PyObject 
*resultobj 
= 0; 
23951   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23952   wxPrintMode result
; 
23955   PyObject 
*swig_obj
[1] ; 
23957   if (!args
) SWIG_fail
; 
23958   swig_obj
[0] = args
; 
23959   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23960   if (!SWIG_IsOK(res1
)) { 
23961     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");  
23963   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23965     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23966     result 
= (wxPrintMode
)((wxPrintData 
const *)arg1
)->GetPrintMode(); 
23967     wxPyEndAllowThreads(__tstate
); 
23968     if (PyErr_Occurred()) SWIG_fail
; 
23970   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23977 SWIGINTERN PyObject 
*_wrap_PrintData_SetNoCopies(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23978   PyObject 
*resultobj 
= 0; 
23979   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23985   PyObject 
* obj0 
= 0 ; 
23986   PyObject 
* obj1 
= 0 ; 
23987   char *  kwnames
[] = { 
23988     (char *) "self",(char *) "v", NULL 
 
23991   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23992   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23993   if (!SWIG_IsOK(res1
)) { 
23994     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23996   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23997   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
23998   if (!SWIG_IsOK(ecode2
)) { 
23999     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'"); 
24001   arg2 
= static_cast< int >(val2
); 
24003     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24004     (arg1
)->SetNoCopies(arg2
); 
24005     wxPyEndAllowThreads(__tstate
); 
24006     if (PyErr_Occurred()) SWIG_fail
; 
24008   resultobj 
= SWIG_Py_Void(); 
24015 SWIGINTERN PyObject 
*_wrap_PrintData_SetCollate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24016   PyObject 
*resultobj 
= 0; 
24017   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24023   PyObject 
* obj0 
= 0 ; 
24024   PyObject 
* obj1 
= 0 ; 
24025   char *  kwnames
[] = { 
24026     (char *) "self",(char *) "flag", NULL 
 
24029   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24030   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24031   if (!SWIG_IsOK(res1
)) { 
24032     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24034   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24035   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24036   if (!SWIG_IsOK(ecode2
)) { 
24037     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'"); 
24039   arg2 
= static_cast< bool >(val2
); 
24041     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24042     (arg1
)->SetCollate(arg2
); 
24043     wxPyEndAllowThreads(__tstate
); 
24044     if (PyErr_Occurred()) SWIG_fail
; 
24046   resultobj 
= SWIG_Py_Void(); 
24053 SWIGINTERN PyObject 
*_wrap_PrintData_SetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24054   PyObject 
*resultobj 
= 0; 
24055   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24061   PyObject 
* obj0 
= 0 ; 
24062   PyObject 
* obj1 
= 0 ; 
24063   char *  kwnames
[] = { 
24064     (char *) "self",(char *) "orient", NULL 
 
24067   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24068   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24069   if (!SWIG_IsOK(res1
)) { 
24070     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24072   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24073   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24074   if (!SWIG_IsOK(ecode2
)) { 
24075     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'"); 
24077   arg2 
= static_cast< int >(val2
); 
24079     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24080     (arg1
)->SetOrientation(arg2
); 
24081     wxPyEndAllowThreads(__tstate
); 
24082     if (PyErr_Occurred()) SWIG_fail
; 
24084   resultobj 
= SWIG_Py_Void(); 
24091 SWIGINTERN PyObject 
*_wrap_PrintData_SetPrinterName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24092   PyObject 
*resultobj 
= 0; 
24093   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24094   wxString 
*arg2 
= 0 ; 
24097   bool temp2 
= false ; 
24098   PyObject 
* obj0 
= 0 ; 
24099   PyObject 
* obj1 
= 0 ; 
24100   char *  kwnames
[] = { 
24101     (char *) "self",(char *) "name", NULL 
 
24104   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24105   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24106   if (!SWIG_IsOK(res1
)) { 
24107     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24109   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24111     arg2 
= wxString_in_helper(obj1
); 
24112     if (arg2 
== NULL
) SWIG_fail
; 
24116     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24117     (arg1
)->SetPrinterName((wxString 
const &)*arg2
); 
24118     wxPyEndAllowThreads(__tstate
); 
24119     if (PyErr_Occurred()) SWIG_fail
; 
24121   resultobj 
= SWIG_Py_Void(); 
24136 SWIGINTERN PyObject 
*_wrap_PrintData_SetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24137   PyObject 
*resultobj 
= 0; 
24138   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24144   PyObject 
* obj0 
= 0 ; 
24145   PyObject 
* obj1 
= 0 ; 
24146   char *  kwnames
[] = { 
24147     (char *) "self",(char *) "colour", NULL 
 
24150   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24151   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24152   if (!SWIG_IsOK(res1
)) { 
24153     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24155   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24156   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24157   if (!SWIG_IsOK(ecode2
)) { 
24158     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'"); 
24160   arg2 
= static_cast< bool >(val2
); 
24162     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24163     (arg1
)->SetColour(arg2
); 
24164     wxPyEndAllowThreads(__tstate
); 
24165     if (PyErr_Occurred()) SWIG_fail
; 
24167   resultobj 
= SWIG_Py_Void(); 
24174 SWIGINTERN PyObject 
*_wrap_PrintData_SetDuplex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24175   PyObject 
*resultobj 
= 0; 
24176   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24177   wxDuplexMode arg2 
; 
24182   PyObject 
* obj0 
= 0 ; 
24183   PyObject 
* obj1 
= 0 ; 
24184   char *  kwnames
[] = { 
24185     (char *) "self",(char *) "duplex", NULL 
 
24188   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24189   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24190   if (!SWIG_IsOK(res1
)) { 
24191     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24193   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24194   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24195   if (!SWIG_IsOK(ecode2
)) { 
24196     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'"); 
24198   arg2 
= static_cast< wxDuplexMode 
>(val2
); 
24200     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24201     (arg1
)->SetDuplex(arg2
); 
24202     wxPyEndAllowThreads(__tstate
); 
24203     if (PyErr_Occurred()) SWIG_fail
; 
24205   resultobj 
= SWIG_Py_Void(); 
24212 SWIGINTERN PyObject 
*_wrap_PrintData_SetPaperId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24213   PyObject 
*resultobj 
= 0; 
24214   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24220   PyObject 
* obj0 
= 0 ; 
24221   PyObject 
* obj1 
= 0 ; 
24222   char *  kwnames
[] = { 
24223     (char *) "self",(char *) "sizeId", NULL 
 
24226   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24227   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24228   if (!SWIG_IsOK(res1
)) { 
24229     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24231   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24232   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24233   if (!SWIG_IsOK(ecode2
)) { 
24234     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'"); 
24236   arg2 
= static_cast< wxPaperSize 
>(val2
); 
24238     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24239     (arg1
)->SetPaperId(arg2
); 
24240     wxPyEndAllowThreads(__tstate
); 
24241     if (PyErr_Occurred()) SWIG_fail
; 
24243   resultobj 
= SWIG_Py_Void(); 
24250 SWIGINTERN PyObject 
*_wrap_PrintData_SetPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24251   PyObject 
*resultobj 
= 0; 
24252   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24257   PyObject 
* obj0 
= 0 ; 
24258   PyObject 
* obj1 
= 0 ; 
24259   char *  kwnames
[] = { 
24260     (char *) "self",(char *) "sz", NULL 
 
24263   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24264   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24265   if (!SWIG_IsOK(res1
)) { 
24266     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24268   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24271     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
24274     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24275     (arg1
)->SetPaperSize((wxSize 
const &)*arg2
); 
24276     wxPyEndAllowThreads(__tstate
); 
24277     if (PyErr_Occurred()) SWIG_fail
; 
24279   resultobj 
= SWIG_Py_Void(); 
24286 SWIGINTERN PyObject 
*_wrap_PrintData_SetQuality(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24287   PyObject 
*resultobj 
= 0; 
24288   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24294   PyObject 
* obj0 
= 0 ; 
24295   PyObject 
* obj1 
= 0 ; 
24296   char *  kwnames
[] = { 
24297     (char *) "self",(char *) "quality", NULL 
 
24300   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24301   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24302   if (!SWIG_IsOK(res1
)) { 
24303     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24305   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24306   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24307   if (!SWIG_IsOK(ecode2
)) { 
24308     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'"); 
24310   arg2 
= static_cast< int >(val2
); 
24312     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24313     (arg1
)->SetQuality(arg2
); 
24314     wxPyEndAllowThreads(__tstate
); 
24315     if (PyErr_Occurred()) SWIG_fail
; 
24317   resultobj 
= SWIG_Py_Void(); 
24324 SWIGINTERN PyObject 
*_wrap_PrintData_SetBin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24325   PyObject 
*resultobj 
= 0; 
24326   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24332   PyObject 
* obj0 
= 0 ; 
24333   PyObject 
* obj1 
= 0 ; 
24334   char *  kwnames
[] = { 
24335     (char *) "self",(char *) "bin", NULL 
 
24338   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24339   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24340   if (!SWIG_IsOK(res1
)) { 
24341     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24343   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24344   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24345   if (!SWIG_IsOK(ecode2
)) { 
24346     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'"); 
24348   arg2 
= static_cast< wxPrintBin 
>(val2
); 
24350     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24351     (arg1
)->SetBin(arg2
); 
24352     wxPyEndAllowThreads(__tstate
); 
24353     if (PyErr_Occurred()) SWIG_fail
; 
24355   resultobj 
= SWIG_Py_Void(); 
24362 SWIGINTERN PyObject 
*_wrap_PrintData_SetPrintMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24363   PyObject 
*resultobj 
= 0; 
24364   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24370   PyObject 
* obj0 
= 0 ; 
24371   PyObject 
* obj1 
= 0 ; 
24372   char *  kwnames
[] = { 
24373     (char *) "self",(char *) "printMode", NULL 
 
24376   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24377   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24378   if (!SWIG_IsOK(res1
)) { 
24379     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24381   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24382   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24383   if (!SWIG_IsOK(ecode2
)) { 
24384     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'"); 
24386   arg2 
= static_cast< wxPrintMode 
>(val2
); 
24388     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24389     (arg1
)->SetPrintMode(arg2
); 
24390     wxPyEndAllowThreads(__tstate
); 
24391     if (PyErr_Occurred()) SWIG_fail
; 
24393   resultobj 
= SWIG_Py_Void(); 
24400 SWIGINTERN PyObject 
*_wrap_PrintData_GetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24401   PyObject 
*resultobj 
= 0; 
24402   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24406   PyObject 
*swig_obj
[1] ; 
24408   if (!args
) SWIG_fail
; 
24409   swig_obj
[0] = args
; 
24410   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24411   if (!SWIG_IsOK(res1
)) { 
24412     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");  
24414   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24416     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24417     result 
= ((wxPrintData 
const *)arg1
)->GetFilename(); 
24418     wxPyEndAllowThreads(__tstate
); 
24419     if (PyErr_Occurred()) SWIG_fail
; 
24423     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
24425     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
24434 SWIGINTERN PyObject 
*_wrap_PrintData_SetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24435   PyObject 
*resultobj 
= 0; 
24436   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24437   wxString 
*arg2 
= 0 ; 
24440   bool temp2 
= false ; 
24441   PyObject 
* obj0 
= 0 ; 
24442   PyObject 
* obj1 
= 0 ; 
24443   char *  kwnames
[] = { 
24444     (char *) "self",(char *) "filename", NULL 
 
24447   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24448   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24449   if (!SWIG_IsOK(res1
)) { 
24450     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24452   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24454     arg2 
= wxString_in_helper(obj1
); 
24455     if (arg2 
== NULL
) SWIG_fail
; 
24459     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24460     (arg1
)->SetFilename((wxString 
const &)*arg2
); 
24461     wxPyEndAllowThreads(__tstate
); 
24462     if (PyErr_Occurred()) SWIG_fail
; 
24464   resultobj 
= SWIG_Py_Void(); 
24479 SWIGINTERN PyObject 
*_wrap_PrintData_GetPrivData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24480   PyObject 
*resultobj 
= 0; 
24481   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24482   PyObject 
*result 
= 0 ; 
24485   PyObject 
*swig_obj
[1] ; 
24487   if (!args
) SWIG_fail
; 
24488   swig_obj
[0] = args
; 
24489   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24490   if (!SWIG_IsOK(res1
)) { 
24491     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24493   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24495     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24496     result 
= (PyObject 
*)wxPrintData_GetPrivData(arg1
); 
24497     wxPyEndAllowThreads(__tstate
); 
24498     if (PyErr_Occurred()) SWIG_fail
; 
24500   resultobj 
= result
; 
24507 SWIGINTERN PyObject 
*_wrap_PrintData_SetPrivData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24508   PyObject 
*resultobj 
= 0; 
24509   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24510   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
24513   PyObject 
* obj0 
= 0 ; 
24514   PyObject 
* obj1 
= 0 ; 
24515   char *  kwnames
[] = { 
24516     (char *) "self",(char *) "data", NULL 
 
24519   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24520   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24521   if (!SWIG_IsOK(res1
)) { 
24522     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24524   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24527     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24528     wxPrintData_SetPrivData(arg1
,arg2
); 
24529     wxPyEndAllowThreads(__tstate
); 
24530     if (PyErr_Occurred()) SWIG_fail
; 
24532   resultobj 
= SWIG_Py_Void(); 
24539 SWIGINTERN PyObject 
*PrintData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24541   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
24542   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
)); 
24543   return SWIG_Py_Void(); 
24546 SWIGINTERN PyObject 
*PrintData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24547   return SWIG_Python_InitShadowInstance(args
); 
24550 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**SWIGUNUSEDPARM(swig_obj
)) { 
24551   PyObject 
*resultobj 
= 0; 
24552   wxPageSetupDialogData 
*result 
= 0 ; 
24554   if ((nobjs 
< 0) || (nobjs 
> 0)) SWIG_fail
; 
24556     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24557     result 
= (wxPageSetupDialogData 
*)new wxPageSetupDialogData(); 
24558     wxPyEndAllowThreads(__tstate
); 
24559     if (PyErr_Occurred()) SWIG_fail
; 
24561   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW 
|  0 ); 
24568 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
24569   PyObject 
*resultobj 
= 0; 
24570   wxPageSetupDialogData 
*arg1 
= 0 ; 
24571   wxPageSetupDialogData 
*result 
= 0 ; 
24575   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
24576   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
,  0  | 0); 
24577   if (!SWIG_IsOK(res1
)) { 
24578     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");  
24581     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");  
24583   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24585     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24586     result 
= (wxPageSetupDialogData 
*)new wxPageSetupDialogData((wxPageSetupDialogData 
const &)*arg1
); 
24587     wxPyEndAllowThreads(__tstate
); 
24588     if (PyErr_Occurred()) SWIG_fail
; 
24590   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW 
|  0 ); 
24597 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
24598   PyObject 
*resultobj 
= 0; 
24599   wxPrintData 
*arg1 
= 0 ; 
24600   wxPageSetupDialogData 
*result 
= 0 ; 
24604   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
24605   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
24606   if (!SWIG_IsOK(res1
)) { 
24607     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
24610     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
24612   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24614     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24615     result 
= (wxPageSetupDialogData 
*)new wxPageSetupDialogData((wxPrintData 
const &)*arg1
); 
24616     wxPyEndAllowThreads(__tstate
); 
24617     if (PyErr_Occurred()) SWIG_fail
; 
24619   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW 
|  0 ); 
24626 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialogData(PyObject 
*self
, PyObject 
*args
) { 
24630   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
; 
24633     return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
); 
24638       int res 
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0); 
24639       _v 
= SWIG_CheckState(res
); 
24641     if (!_v
) goto check_2
; 
24642     return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
); 
24647     return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
); 
24651   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'"); 
24656 SWIGINTERN PyObject 
*_wrap_delete_PageSetupDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24657   PyObject 
*resultobj 
= 0; 
24658   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24661   PyObject 
*swig_obj
[1] ; 
24663   if (!args
) SWIG_fail
; 
24664   swig_obj
[0] = args
; 
24665   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN 
|  0 ); 
24666   if (!SWIG_IsOK(res1
)) { 
24667     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24669   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24671     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24674     wxPyEndAllowThreads(__tstate
); 
24675     if (PyErr_Occurred()) SWIG_fail
; 
24677   resultobj 
= SWIG_Py_Void(); 
24684 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnableHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24685   PyObject 
*resultobj 
= 0; 
24686   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24692   PyObject 
* obj0 
= 0 ; 
24693   PyObject 
* obj1 
= 0 ; 
24694   char *  kwnames
[] = { 
24695     (char *) "self",(char *) "flag", NULL 
 
24698   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24699   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24700   if (!SWIG_IsOK(res1
)) { 
24701     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24703   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24704   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24705   if (!SWIG_IsOK(ecode2
)) { 
24706     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'"); 
24708   arg2 
= static_cast< bool >(val2
); 
24710     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24711     (arg1
)->EnableHelp(arg2
); 
24712     wxPyEndAllowThreads(__tstate
); 
24713     if (PyErr_Occurred()) SWIG_fail
; 
24715   resultobj 
= SWIG_Py_Void(); 
24722 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnableMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24723   PyObject 
*resultobj 
= 0; 
24724   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24730   PyObject 
* obj0 
= 0 ; 
24731   PyObject 
* obj1 
= 0 ; 
24732   char *  kwnames
[] = { 
24733     (char *) "self",(char *) "flag", NULL 
 
24736   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24737   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24738   if (!SWIG_IsOK(res1
)) { 
24739     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24741   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24742   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24743   if (!SWIG_IsOK(ecode2
)) { 
24744     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'"); 
24746   arg2 
= static_cast< bool >(val2
); 
24748     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24749     (arg1
)->EnableMargins(arg2
); 
24750     wxPyEndAllowThreads(__tstate
); 
24751     if (PyErr_Occurred()) SWIG_fail
; 
24753   resultobj 
= SWIG_Py_Void(); 
24760 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnableOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24761   PyObject 
*resultobj 
= 0; 
24762   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24768   PyObject 
* obj0 
= 0 ; 
24769   PyObject 
* obj1 
= 0 ; 
24770   char *  kwnames
[] = { 
24771     (char *) "self",(char *) "flag", NULL 
 
24774   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24775   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24776   if (!SWIG_IsOK(res1
)) { 
24777     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24779   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24780   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24781   if (!SWIG_IsOK(ecode2
)) { 
24782     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'"); 
24784   arg2 
= static_cast< bool >(val2
); 
24786     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24787     (arg1
)->EnableOrientation(arg2
); 
24788     wxPyEndAllowThreads(__tstate
); 
24789     if (PyErr_Occurred()) SWIG_fail
; 
24791   resultobj 
= SWIG_Py_Void(); 
24798 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnablePaper(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24799   PyObject 
*resultobj 
= 0; 
24800   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24806   PyObject 
* obj0 
= 0 ; 
24807   PyObject 
* obj1 
= 0 ; 
24808   char *  kwnames
[] = { 
24809     (char *) "self",(char *) "flag", NULL 
 
24812   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24813   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24814   if (!SWIG_IsOK(res1
)) { 
24815     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24817   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24818   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24819   if (!SWIG_IsOK(ecode2
)) { 
24820     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'"); 
24822   arg2 
= static_cast< bool >(val2
); 
24824     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24825     (arg1
)->EnablePaper(arg2
); 
24826     wxPyEndAllowThreads(__tstate
); 
24827     if (PyErr_Occurred()) SWIG_fail
; 
24829   resultobj 
= SWIG_Py_Void(); 
24836 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnablePrinter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24837   PyObject 
*resultobj 
= 0; 
24838   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24844   PyObject 
* obj0 
= 0 ; 
24845   PyObject 
* obj1 
= 0 ; 
24846   char *  kwnames
[] = { 
24847     (char *) "self",(char *) "flag", NULL 
 
24850   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24851   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24852   if (!SWIG_IsOK(res1
)) { 
24853     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24855   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24856   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24857   if (!SWIG_IsOK(ecode2
)) { 
24858     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'"); 
24860   arg2 
= static_cast< bool >(val2
); 
24862     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24863     (arg1
)->EnablePrinter(arg2
); 
24864     wxPyEndAllowThreads(__tstate
); 
24865     if (PyErr_Occurred()) SWIG_fail
; 
24867   resultobj 
= SWIG_Py_Void(); 
24874 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24875   PyObject 
*resultobj 
= 0; 
24876   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24880   PyObject 
*swig_obj
[1] ; 
24882   if (!args
) SWIG_fail
; 
24883   swig_obj
[0] = args
; 
24884   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24885   if (!SWIG_IsOK(res1
)) { 
24886     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24888   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24890     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24891     result 
= (bool)(arg1
)->GetDefaultMinMargins(); 
24892     wxPyEndAllowThreads(__tstate
); 
24893     if (PyErr_Occurred()) SWIG_fail
; 
24896     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24904 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24905   PyObject 
*resultobj 
= 0; 
24906   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24910   PyObject 
*swig_obj
[1] ; 
24912   if (!args
) SWIG_fail
; 
24913   swig_obj
[0] = args
; 
24914   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24915   if (!SWIG_IsOK(res1
)) { 
24916     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24918   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24920     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24921     result 
= (bool)(arg1
)->GetEnableMargins(); 
24922     wxPyEndAllowThreads(__tstate
); 
24923     if (PyErr_Occurred()) SWIG_fail
; 
24926     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24934 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24935   PyObject 
*resultobj 
= 0; 
24936   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24940   PyObject 
*swig_obj
[1] ; 
24942   if (!args
) SWIG_fail
; 
24943   swig_obj
[0] = args
; 
24944   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24945   if (!SWIG_IsOK(res1
)) { 
24946     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24948   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24950     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24951     result 
= (bool)(arg1
)->GetEnableOrientation(); 
24952     wxPyEndAllowThreads(__tstate
); 
24953     if (PyErr_Occurred()) SWIG_fail
; 
24956     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24964 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24965   PyObject 
*resultobj 
= 0; 
24966   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24970   PyObject 
*swig_obj
[1] ; 
24972   if (!args
) SWIG_fail
; 
24973   swig_obj
[0] = args
; 
24974   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24975   if (!SWIG_IsOK(res1
)) { 
24976     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24978   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24980     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24981     result 
= (bool)(arg1
)->GetEnablePaper(); 
24982     wxPyEndAllowThreads(__tstate
); 
24983     if (PyErr_Occurred()) SWIG_fail
; 
24986     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
24994 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24995   PyObject 
*resultobj 
= 0; 
24996   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25000   PyObject 
*swig_obj
[1] ; 
25002   if (!args
) SWIG_fail
; 
25003   swig_obj
[0] = args
; 
25004   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25005   if (!SWIG_IsOK(res1
)) { 
25006     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25008   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25010     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25011     result 
= (bool)(arg1
)->GetEnablePrinter(); 
25012     wxPyEndAllowThreads(__tstate
); 
25013     if (PyErr_Occurred()) SWIG_fail
; 
25016     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25024 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25025   PyObject 
*resultobj 
= 0; 
25026   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25030   PyObject 
*swig_obj
[1] ; 
25032   if (!args
) SWIG_fail
; 
25033   swig_obj
[0] = args
; 
25034   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25035   if (!SWIG_IsOK(res1
)) { 
25036     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25038   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25040     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25041     result 
= (bool)(arg1
)->GetEnableHelp(); 
25042     wxPyEndAllowThreads(__tstate
); 
25043     if (PyErr_Occurred()) SWIG_fail
; 
25046     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25054 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25055   PyObject 
*resultobj 
= 0; 
25056   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25060   PyObject 
*swig_obj
[1] ; 
25062   if (!args
) SWIG_fail
; 
25063   swig_obj
[0] = args
; 
25064   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25065   if (!SWIG_IsOK(res1
)) { 
25066     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25068   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25070     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25071     result 
= (bool)(arg1
)->GetDefaultInfo(); 
25072     wxPyEndAllowThreads(__tstate
); 
25073     if (PyErr_Occurred()) SWIG_fail
; 
25076     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25084 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25085   PyObject 
*resultobj 
= 0; 
25086   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25090   PyObject 
*swig_obj
[1] ; 
25092   if (!args
) SWIG_fail
; 
25093   swig_obj
[0] = args
; 
25094   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25095   if (!SWIG_IsOK(res1
)) { 
25096     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25098   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25100     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25101     result 
= (arg1
)->GetMarginTopLeft(); 
25102     wxPyEndAllowThreads(__tstate
); 
25103     if (PyErr_Occurred()) SWIG_fail
; 
25105   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
25112 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25113   PyObject 
*resultobj 
= 0; 
25114   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25118   PyObject 
*swig_obj
[1] ; 
25120   if (!args
) SWIG_fail
; 
25121   swig_obj
[0] = args
; 
25122   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25123   if (!SWIG_IsOK(res1
)) { 
25124     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25126   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25128     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25129     result 
= (arg1
)->GetMarginBottomRight(); 
25130     wxPyEndAllowThreads(__tstate
); 
25131     if (PyErr_Occurred()) SWIG_fail
; 
25133   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
25140 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25141   PyObject 
*resultobj 
= 0; 
25142   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25146   PyObject 
*swig_obj
[1] ; 
25148   if (!args
) SWIG_fail
; 
25149   swig_obj
[0] = args
; 
25150   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25151   if (!SWIG_IsOK(res1
)) { 
25152     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25154   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25156     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25157     result 
= (arg1
)->GetMinMarginTopLeft(); 
25158     wxPyEndAllowThreads(__tstate
); 
25159     if (PyErr_Occurred()) SWIG_fail
; 
25161   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
25168 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25169   PyObject 
*resultobj 
= 0; 
25170   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25174   PyObject 
*swig_obj
[1] ; 
25176   if (!args
) SWIG_fail
; 
25177   swig_obj
[0] = args
; 
25178   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25179   if (!SWIG_IsOK(res1
)) { 
25180     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25182   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25184     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25185     result 
= (arg1
)->GetMinMarginBottomRight(); 
25186     wxPyEndAllowThreads(__tstate
); 
25187     if (PyErr_Occurred()) SWIG_fail
; 
25189   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
25196 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetPaperId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25197   PyObject 
*resultobj 
= 0; 
25198   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25199   wxPaperSize result
; 
25202   PyObject 
*swig_obj
[1] ; 
25204   if (!args
) SWIG_fail
; 
25205   swig_obj
[0] = args
; 
25206   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25207   if (!SWIG_IsOK(res1
)) { 
25208     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25210   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25212     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25213     result 
= (wxPaperSize
)(arg1
)->GetPaperId(); 
25214     wxPyEndAllowThreads(__tstate
); 
25215     if (PyErr_Occurred()) SWIG_fail
; 
25217   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
25224 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25225   PyObject 
*resultobj 
= 0; 
25226   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25230   PyObject 
*swig_obj
[1] ; 
25232   if (!args
) SWIG_fail
; 
25233   swig_obj
[0] = args
; 
25234   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25235   if (!SWIG_IsOK(res1
)) { 
25236     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25238   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25240     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25241     result 
= (arg1
)->GetPaperSize(); 
25242     wxPyEndAllowThreads(__tstate
); 
25243     if (PyErr_Occurred()) SWIG_fail
; 
25245   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
25252 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25253   PyObject 
*resultobj 
= 0; 
25254   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25255   wxPrintData 
*result 
= 0 ; 
25258   PyObject 
*swig_obj
[1] ; 
25260   if (!args
) SWIG_fail
; 
25261   swig_obj
[0] = args
; 
25262   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25263   if (!SWIG_IsOK(res1
)) { 
25264     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25266   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25268     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25270       wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
25271       result 
= (wxPrintData 
*) &_result_ref
; 
25273     wxPyEndAllowThreads(__tstate
); 
25274     if (PyErr_Occurred()) SWIG_fail
; 
25276   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
25283 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25284   PyObject 
*resultobj 
= 0; 
25285   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25289   PyObject 
*swig_obj
[1] ; 
25291   if (!args
) SWIG_fail
; 
25292   swig_obj
[0] = args
; 
25293   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25294   if (!SWIG_IsOK(res1
)) { 
25295     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25297   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25299     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25300     result 
= (bool)(arg1
)->Ok(); 
25301     wxPyEndAllowThreads(__tstate
); 
25302     if (PyErr_Occurred()) SWIG_fail
; 
25305     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25313 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25314   PyObject 
*resultobj 
= 0; 
25315   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25321   PyObject 
* obj0 
= 0 ; 
25322   PyObject 
* obj1 
= 0 ; 
25323   char *  kwnames
[] = { 
25324     (char *) "self",(char *) "flag", NULL 
 
25327   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25328   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25329   if (!SWIG_IsOK(res1
)) { 
25330     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25332   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25333   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
25334   if (!SWIG_IsOK(ecode2
)) { 
25335     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'"); 
25337   arg2 
= static_cast< bool >(val2
); 
25339     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25340     (arg1
)->SetDefaultInfo(arg2
); 
25341     wxPyEndAllowThreads(__tstate
); 
25342     if (PyErr_Occurred()) SWIG_fail
; 
25344   resultobj 
= SWIG_Py_Void(); 
25351 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25352   PyObject 
*resultobj 
= 0; 
25353   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25359   PyObject 
* obj0 
= 0 ; 
25360   PyObject 
* obj1 
= 0 ; 
25361   char *  kwnames
[] = { 
25362     (char *) "self",(char *) "flag", NULL 
 
25365   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25366   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25367   if (!SWIG_IsOK(res1
)) { 
25368     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25370   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25371   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
25372   if (!SWIG_IsOK(ecode2
)) { 
25373     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'"); 
25375   arg2 
= static_cast< bool >(val2
); 
25377     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25378     (arg1
)->SetDefaultMinMargins(arg2
); 
25379     wxPyEndAllowThreads(__tstate
); 
25380     if (PyErr_Occurred()) SWIG_fail
; 
25382   resultobj 
= SWIG_Py_Void(); 
25389 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25390   PyObject 
*resultobj 
= 0; 
25391   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25392   wxPoint 
*arg2 
= 0 ; 
25396   PyObject 
* obj0 
= 0 ; 
25397   PyObject 
* obj1 
= 0 ; 
25398   char *  kwnames
[] = { 
25399     (char *) "self",(char *) "pt", NULL 
 
25402   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25403   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25404   if (!SWIG_IsOK(res1
)) { 
25405     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25407   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25410     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25413     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25414     (arg1
)->SetMarginTopLeft((wxPoint 
const &)*arg2
); 
25415     wxPyEndAllowThreads(__tstate
); 
25416     if (PyErr_Occurred()) SWIG_fail
; 
25418   resultobj 
= SWIG_Py_Void(); 
25425 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25426   PyObject 
*resultobj 
= 0; 
25427   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25428   wxPoint 
*arg2 
= 0 ; 
25432   PyObject 
* obj0 
= 0 ; 
25433   PyObject 
* obj1 
= 0 ; 
25434   char *  kwnames
[] = { 
25435     (char *) "self",(char *) "pt", NULL 
 
25438   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25439   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25440   if (!SWIG_IsOK(res1
)) { 
25441     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25443   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25446     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25449     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25450     (arg1
)->SetMarginBottomRight((wxPoint 
const &)*arg2
); 
25451     wxPyEndAllowThreads(__tstate
); 
25452     if (PyErr_Occurred()) SWIG_fail
; 
25454   resultobj 
= SWIG_Py_Void(); 
25461 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25462   PyObject 
*resultobj 
= 0; 
25463   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25464   wxPoint 
*arg2 
= 0 ; 
25468   PyObject 
* obj0 
= 0 ; 
25469   PyObject 
* obj1 
= 0 ; 
25470   char *  kwnames
[] = { 
25471     (char *) "self",(char *) "pt", NULL 
 
25474   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25475   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25476   if (!SWIG_IsOK(res1
)) { 
25477     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25479   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25482     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25485     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25486     (arg1
)->SetMinMarginTopLeft((wxPoint 
const &)*arg2
); 
25487     wxPyEndAllowThreads(__tstate
); 
25488     if (PyErr_Occurred()) SWIG_fail
; 
25490   resultobj 
= SWIG_Py_Void(); 
25497 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25498   PyObject 
*resultobj 
= 0; 
25499   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25500   wxPoint 
*arg2 
= 0 ; 
25504   PyObject 
* obj0 
= 0 ; 
25505   PyObject 
* obj1 
= 0 ; 
25506   char *  kwnames
[] = { 
25507     (char *) "self",(char *) "pt", NULL 
 
25510   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25511   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25512   if (!SWIG_IsOK(res1
)) { 
25513     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25515   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25518     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25521     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25522     (arg1
)->SetMinMarginBottomRight((wxPoint 
const &)*arg2
); 
25523     wxPyEndAllowThreads(__tstate
); 
25524     if (PyErr_Occurred()) SWIG_fail
; 
25526   resultobj 
= SWIG_Py_Void(); 
25533 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetPaperId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25534   PyObject 
*resultobj 
= 0; 
25535   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25541   PyObject 
* obj0 
= 0 ; 
25542   PyObject 
* obj1 
= 0 ; 
25543   char *  kwnames
[] = { 
25544     (char *) "self",(char *) "id", NULL 
 
25547   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25548   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25549   if (!SWIG_IsOK(res1
)) { 
25550     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25552   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25553   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
25554   if (!SWIG_IsOK(ecode2
)) { 
25555     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'"); 
25557   arg2 
= static_cast< wxPaperSize 
>(val2
); 
25559     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25560     (arg1
)->SetPaperId(arg2
); 
25561     wxPyEndAllowThreads(__tstate
); 
25562     if (PyErr_Occurred()) SWIG_fail
; 
25564   resultobj 
= SWIG_Py_Void(); 
25571 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25572   PyObject 
*resultobj 
= 0; 
25573   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25578   PyObject 
* obj0 
= 0 ; 
25579   PyObject 
* obj1 
= 0 ; 
25580   char *  kwnames
[] = { 
25581     (char *) "self",(char *) "size", NULL 
 
25584   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25585   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25586   if (!SWIG_IsOK(res1
)) { 
25587     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25589   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25592     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
25595     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25596     (arg1
)->SetPaperSize((wxSize 
const &)*arg2
); 
25597     wxPyEndAllowThreads(__tstate
); 
25598     if (PyErr_Occurred()) SWIG_fail
; 
25600   resultobj 
= SWIG_Py_Void(); 
25607 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25608   PyObject 
*resultobj 
= 0; 
25609   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25610   wxPrintData 
*arg2 
= 0 ; 
25615   PyObject 
* obj0 
= 0 ; 
25616   PyObject 
* obj1 
= 0 ; 
25617   char *  kwnames
[] = { 
25618     (char *) "self",(char *) "printData", NULL 
 
25621   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25622   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25623   if (!SWIG_IsOK(res1
)) { 
25624     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25626   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25627   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
25628   if (!SWIG_IsOK(res2
)) { 
25629     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
25632     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
25634   arg2 
= reinterpret_cast< wxPrintData 
* >(argp2
); 
25636     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25637     (arg1
)->SetPrintData((wxPrintData 
const &)*arg2
); 
25638     wxPyEndAllowThreads(__tstate
); 
25639     if (PyErr_Occurred()) SWIG_fail
; 
25641   resultobj 
= SWIG_Py_Void(); 
25648 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25649   PyObject 
*resultobj 
= 0; 
25650   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25653   PyObject 
*swig_obj
[1] ; 
25655   if (!args
) SWIG_fail
; 
25656   swig_obj
[0] = args
; 
25657   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25658   if (!SWIG_IsOK(res1
)) { 
25659     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25661   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25663     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25664     (arg1
)->CalculateIdFromPaperSize(); 
25665     wxPyEndAllowThreads(__tstate
); 
25666     if (PyErr_Occurred()) SWIG_fail
; 
25668   resultobj 
= SWIG_Py_Void(); 
25675 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25676   PyObject 
*resultobj 
= 0; 
25677   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25680   PyObject 
*swig_obj
[1] ; 
25682   if (!args
) SWIG_fail
; 
25683   swig_obj
[0] = args
; 
25684   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25685   if (!SWIG_IsOK(res1
)) { 
25686     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25688   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25690     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25691     (arg1
)->CalculatePaperSizeFromId(); 
25692     wxPyEndAllowThreads(__tstate
); 
25693     if (PyErr_Occurred()) SWIG_fail
; 
25695   resultobj 
= SWIG_Py_Void(); 
25702 SWIGINTERN PyObject 
*PageSetupDialogData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25704   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
25705   SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
)); 
25706   return SWIG_Py_Void(); 
25709 SWIGINTERN PyObject 
*PageSetupDialogData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25710   return SWIG_Python_InitShadowInstance(args
); 
25713 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25714   PyObject 
*resultobj 
= 0; 
25715   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25716   wxPageSetupDialogData 
*arg2 
= (wxPageSetupDialogData 
*) NULL 
; 
25717   wxPageSetupDialog 
*result 
= 0 ; 
25722   PyObject 
* obj0 
= 0 ; 
25723   PyObject 
* obj1 
= 0 ; 
25724   char *  kwnames
[] = { 
25725     (char *) "parent",(char *) "data", NULL 
 
25728   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25729   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
25730   if (!SWIG_IsOK(res1
)) { 
25731     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
25733   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
25735     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25736     if (!SWIG_IsOK(res2
)) { 
25737       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");  
25739     arg2 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp2
); 
25742     if (!wxPyCheckForApp()) SWIG_fail
; 
25743     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25744     result 
= (wxPageSetupDialog 
*)new wxPageSetupDialog(arg1
,arg2
); 
25745     wxPyEndAllowThreads(__tstate
); 
25746     if (PyErr_Occurred()) SWIG_fail
; 
25748   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW 
|  0 ); 
25755 SWIGINTERN PyObject 
*_wrap_delete_PageSetupDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25756   PyObject 
*resultobj 
= 0; 
25757   wxPageSetupDialog 
*arg1 
= (wxPageSetupDialog 
*) 0 ; 
25760   PyObject 
*swig_obj
[1] ; 
25762   if (!args
) SWIG_fail
; 
25763   swig_obj
[0] = args
; 
25764   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN 
|  0 ); 
25765   if (!SWIG_IsOK(res1
)) { 
25766     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");  
25768   arg1 
= reinterpret_cast< wxPageSetupDialog 
* >(argp1
); 
25770     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25773     wxPyEndAllowThreads(__tstate
); 
25774     if (PyErr_Occurred()) SWIG_fail
; 
25776   resultobj 
= SWIG_Py_Void(); 
25783 SWIGINTERN PyObject 
*_wrap_PageSetupDialog_GetPageSetupData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25784   PyObject 
*resultobj 
= 0; 
25785   wxPageSetupDialog 
*arg1 
= (wxPageSetupDialog 
*) 0 ; 
25786   wxPageSetupDialogData 
*result 
= 0 ; 
25789   PyObject 
*swig_obj
[1] ; 
25791   if (!args
) SWIG_fail
; 
25792   swig_obj
[0] = args
; 
25793   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 |  0 ); 
25794   if (!SWIG_IsOK(res1
)) { 
25795     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");  
25797   arg1 
= reinterpret_cast< wxPageSetupDialog 
* >(argp1
); 
25799     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25801       wxPageSetupDialogData 
&_result_ref 
= (arg1
)->GetPageSetupData(); 
25802       result 
= (wxPageSetupDialogData 
*) &_result_ref
; 
25804     wxPyEndAllowThreads(__tstate
); 
25805     if (PyErr_Occurred()) SWIG_fail
; 
25807   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25814 SWIGINTERN PyObject 
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25815   PyObject 
*resultobj 
= 0; 
25816   wxPageSetupDialog 
*arg1 
= (wxPageSetupDialog 
*) 0 ; 
25817   wxPageSetupDialogData 
*result 
= 0 ; 
25820   PyObject 
*swig_obj
[1] ; 
25822   if (!args
) SWIG_fail
; 
25823   swig_obj
[0] = args
; 
25824   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 |  0 ); 
25825   if (!SWIG_IsOK(res1
)) { 
25826     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");  
25828   arg1 
= reinterpret_cast< wxPageSetupDialog 
* >(argp1
); 
25830     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25832       wxPageSetupDialogData 
&_result_ref 
= (arg1
)->GetPageSetupDialogData(); 
25833       result 
= (wxPageSetupDialogData 
*) &_result_ref
; 
25835     wxPyEndAllowThreads(__tstate
); 
25836     if (PyErr_Occurred()) SWIG_fail
; 
25838   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25845 SWIGINTERN PyObject 
*_wrap_PageSetupDialog_ShowModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25846   PyObject 
*resultobj 
= 0; 
25847   wxPageSetupDialog 
*arg1 
= (wxPageSetupDialog 
*) 0 ; 
25851   PyObject 
*swig_obj
[1] ; 
25853   if (!args
) SWIG_fail
; 
25854   swig_obj
[0] = args
; 
25855   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 |  0 ); 
25856   if (!SWIG_IsOK(res1
)) { 
25857     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");  
25859   arg1 
= reinterpret_cast< wxPageSetupDialog 
* >(argp1
); 
25861     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25862     result 
= (int)(arg1
)->ShowModal(); 
25863     wxPyEndAllowThreads(__tstate
); 
25864     if (PyErr_Occurred()) SWIG_fail
; 
25866   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
25873 SWIGINTERN PyObject 
*PageSetupDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25875   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
25876   SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
)); 
25877   return SWIG_Py_Void(); 
25880 SWIGINTERN PyObject 
*PageSetupDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25881   return SWIG_Python_InitShadowInstance(args
); 
25884 SWIGINTERN PyObject 
*_wrap_new_PrintDialogData__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**SWIGUNUSEDPARM(swig_obj
)) { 
25885   PyObject 
*resultobj 
= 0; 
25886   wxPrintDialogData 
*result 
= 0 ; 
25888   if ((nobjs 
< 0) || (nobjs 
> 0)) SWIG_fail
; 
25890     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25891     result 
= (wxPrintDialogData 
*)new wxPrintDialogData(); 
25892     wxPyEndAllowThreads(__tstate
); 
25893     if (PyErr_Occurred()) SWIG_fail
; 
25895   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW 
|  0 ); 
25902 SWIGINTERN PyObject 
*_wrap_new_PrintDialogData__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
25903   PyObject 
*resultobj 
= 0; 
25904   wxPrintData 
*arg1 
= 0 ; 
25905   wxPrintDialogData 
*result 
= 0 ; 
25909   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
25910   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
25911   if (!SWIG_IsOK(res1
)) { 
25912     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
25915     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
25917   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
25919     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25920     result 
= (wxPrintDialogData 
*)new wxPrintDialogData((wxPrintData 
const &)*arg1
); 
25921     wxPyEndAllowThreads(__tstate
); 
25922     if (PyErr_Occurred()) SWIG_fail
; 
25924   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW 
|  0 ); 
25931 SWIGINTERN PyObject 
*_wrap_new_PrintDialogData__SWIG_2(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
25932   PyObject 
*resultobj 
= 0; 
25933   wxPrintDialogData 
*arg1 
= 0 ; 
25934   wxPrintDialogData 
*result 
= 0 ; 
25938   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
25939   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
,  0  | 0); 
25940   if (!SWIG_IsOK(res1
)) { 
25941     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");  
25944     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");  
25946   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
25948     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25949     result 
= (wxPrintDialogData 
*)new wxPrintDialogData((wxPrintDialogData 
const &)*arg1
); 
25950     wxPyEndAllowThreads(__tstate
); 
25951     if (PyErr_Occurred()) SWIG_fail
; 
25953   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW 
|  0 ); 
25960 SWIGINTERN PyObject 
*_wrap_new_PrintDialogData(PyObject 
*self
, PyObject 
*args
) { 
25964   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
; 
25967     return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
); 
25972       int res 
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0); 
25973       _v 
= SWIG_CheckState(res
); 
25975     if (!_v
) goto check_2
; 
25976     return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
); 
25981     return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
); 
25985   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'"); 
25990 SWIGINTERN PyObject 
*_wrap_delete_PrintDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25991   PyObject 
*resultobj 
= 0; 
25992   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
25995   PyObject 
*swig_obj
[1] ; 
25997   if (!args
) SWIG_fail
; 
25998   swig_obj
[0] = args
; 
25999   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN 
|  0 ); 
26000   if (!SWIG_IsOK(res1
)) { 
26001     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26003   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26005     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26008     wxPyEndAllowThreads(__tstate
); 
26009     if (PyErr_Occurred()) SWIG_fail
; 
26011   resultobj 
= SWIG_Py_Void(); 
26018 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetFromPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26019   PyObject 
*resultobj 
= 0; 
26020   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26024   PyObject 
*swig_obj
[1] ; 
26026   if (!args
) SWIG_fail
; 
26027   swig_obj
[0] = args
; 
26028   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26029   if (!SWIG_IsOK(res1
)) { 
26030     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26032   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26034     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26035     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetFromPage(); 
26036     wxPyEndAllowThreads(__tstate
); 
26037     if (PyErr_Occurred()) SWIG_fail
; 
26039   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
26046 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetToPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26047   PyObject 
*resultobj 
= 0; 
26048   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26052   PyObject 
*swig_obj
[1] ; 
26054   if (!args
) SWIG_fail
; 
26055   swig_obj
[0] = args
; 
26056   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26057   if (!SWIG_IsOK(res1
)) { 
26058     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26060   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26062     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26063     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetToPage(); 
26064     wxPyEndAllowThreads(__tstate
); 
26065     if (PyErr_Occurred()) SWIG_fail
; 
26067   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
26074 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetMinPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26075   PyObject 
*resultobj 
= 0; 
26076   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26080   PyObject 
*swig_obj
[1] ; 
26082   if (!args
) SWIG_fail
; 
26083   swig_obj
[0] = args
; 
26084   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26085   if (!SWIG_IsOK(res1
)) { 
26086     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26088   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26090     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26091     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetMinPage(); 
26092     wxPyEndAllowThreads(__tstate
); 
26093     if (PyErr_Occurred()) SWIG_fail
; 
26095   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
26102 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetMaxPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26103   PyObject 
*resultobj 
= 0; 
26104   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26108   PyObject 
*swig_obj
[1] ; 
26110   if (!args
) SWIG_fail
; 
26111   swig_obj
[0] = args
; 
26112   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26113   if (!SWIG_IsOK(res1
)) { 
26114     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26116   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26118     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26119     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetMaxPage(); 
26120     wxPyEndAllowThreads(__tstate
); 
26121     if (PyErr_Occurred()) SWIG_fail
; 
26123   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
26130 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetNoCopies(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26131   PyObject 
*resultobj 
= 0; 
26132   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26136   PyObject 
*swig_obj
[1] ; 
26138   if (!args
) SWIG_fail
; 
26139   swig_obj
[0] = args
; 
26140   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26141   if (!SWIG_IsOK(res1
)) { 
26142     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26144   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26146     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26147     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetNoCopies(); 
26148     wxPyEndAllowThreads(__tstate
); 
26149     if (PyErr_Occurred()) SWIG_fail
; 
26151   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
26158 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetAllPages(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26159   PyObject 
*resultobj 
= 0; 
26160   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26164   PyObject 
*swig_obj
[1] ; 
26166   if (!args
) SWIG_fail
; 
26167   swig_obj
[0] = args
; 
26168   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26169   if (!SWIG_IsOK(res1
)) { 
26170     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26172   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26174     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26175     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetAllPages(); 
26176     wxPyEndAllowThreads(__tstate
); 
26177     if (PyErr_Occurred()) SWIG_fail
; 
26180     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26188 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26189   PyObject 
*resultobj 
= 0; 
26190   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26194   PyObject 
*swig_obj
[1] ; 
26196   if (!args
) SWIG_fail
; 
26197   swig_obj
[0] = args
; 
26198   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26199   if (!SWIG_IsOK(res1
)) { 
26200     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26202   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26204     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26205     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetSelection(); 
26206     wxPyEndAllowThreads(__tstate
); 
26207     if (PyErr_Occurred()) SWIG_fail
; 
26210     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26218 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetCollate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26219   PyObject 
*resultobj 
= 0; 
26220   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26224   PyObject 
*swig_obj
[1] ; 
26226   if (!args
) SWIG_fail
; 
26227   swig_obj
[0] = args
; 
26228   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26229   if (!SWIG_IsOK(res1
)) { 
26230     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26232   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26234     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26235     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetCollate(); 
26236     wxPyEndAllowThreads(__tstate
); 
26237     if (PyErr_Occurred()) SWIG_fail
; 
26240     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26248 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetPrintToFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26249   PyObject 
*resultobj 
= 0; 
26250   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26254   PyObject 
*swig_obj
[1] ; 
26256   if (!args
) SWIG_fail
; 
26257   swig_obj
[0] = args
; 
26258   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26259   if (!SWIG_IsOK(res1
)) { 
26260     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26262   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26264     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26265     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetPrintToFile(); 
26266     wxPyEndAllowThreads(__tstate
); 
26267     if (PyErr_Occurred()) SWIG_fail
; 
26270     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26278 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetFromPage(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_SetFromPage",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_SetFromPage" "', 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_SetFromPage" "', expected argument " "2"" of type '" "int""'"); 
26302   arg2 
= static_cast< int >(val2
); 
26304     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26305     (arg1
)->SetFromPage(arg2
); 
26306     wxPyEndAllowThreads(__tstate
); 
26307     if (PyErr_Occurred()) SWIG_fail
; 
26309   resultobj 
= SWIG_Py_Void(); 
26316 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetToPage(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 *) "v", NULL 
 
26330   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",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_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26335   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26336   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26337   if (!SWIG_IsOK(ecode2
)) { 
26338     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'"); 
26340   arg2 
= static_cast< int >(val2
); 
26342     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26343     (arg1
)->SetToPage(arg2
); 
26344     wxPyEndAllowThreads(__tstate
); 
26345     if (PyErr_Occurred()) SWIG_fail
; 
26347   resultobj 
= SWIG_Py_Void(); 
26354 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetMinPage(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 *) "v", NULL 
 
26368   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",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_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26373   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26374   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26375   if (!SWIG_IsOK(ecode2
)) { 
26376     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'"); 
26378   arg2 
= static_cast< int >(val2
); 
26380     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26381     (arg1
)->SetMinPage(arg2
); 
26382     wxPyEndAllowThreads(__tstate
); 
26383     if (PyErr_Occurred()) SWIG_fail
; 
26385   resultobj 
= SWIG_Py_Void(); 
26392 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetMaxPage(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 *) "v", NULL 
 
26406   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",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_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26411   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26412   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26413   if (!SWIG_IsOK(ecode2
)) { 
26414     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'"); 
26416   arg2 
= static_cast< int >(val2
); 
26418     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26419     (arg1
)->SetMaxPage(arg2
); 
26420     wxPyEndAllowThreads(__tstate
); 
26421     if (PyErr_Occurred()) SWIG_fail
; 
26423   resultobj 
= SWIG_Py_Void(); 
26430 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetNoCopies(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 *) "v", NULL 
 
26444   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",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_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26449   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26450   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26451   if (!SWIG_IsOK(ecode2
)) { 
26452     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'"); 
26454   arg2 
= static_cast< int >(val2
); 
26456     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26457     (arg1
)->SetNoCopies(arg2
); 
26458     wxPyEndAllowThreads(__tstate
); 
26459     if (PyErr_Occurred()) SWIG_fail
; 
26461   resultobj 
= SWIG_Py_Void(); 
26468 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetAllPages(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_SetAllPages",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_SetAllPages" "', 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_SetAllPages" "', expected argument " "2"" of type '" "bool""'"); 
26492   arg2 
= static_cast< bool >(val2
); 
26494     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26495     (arg1
)->SetAllPages(arg2
); 
26496     wxPyEndAllowThreads(__tstate
); 
26497     if (PyErr_Occurred()) SWIG_fail
; 
26499   resultobj 
= SWIG_Py_Void(); 
26506 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetSelection(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_SetSelection",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_SetSelection" "', 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_SetSelection" "', expected argument " "2"" of type '" "bool""'"); 
26530   arg2 
= static_cast< bool >(val2
); 
26532     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26533     (arg1
)->SetSelection(arg2
); 
26534     wxPyEndAllowThreads(__tstate
); 
26535     if (PyErr_Occurred()) SWIG_fail
; 
26537   resultobj 
= SWIG_Py_Void(); 
26544 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetCollate(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_SetCollate",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_SetCollate" "', 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_SetCollate" "', expected argument " "2"" of type '" "bool""'"); 
26568   arg2 
= static_cast< bool >(val2
); 
26570     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26571     (arg1
)->SetCollate(arg2
); 
26572     wxPyEndAllowThreads(__tstate
); 
26573     if (PyErr_Occurred()) SWIG_fail
; 
26575   resultobj 
= SWIG_Py_Void(); 
26582 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetPrintToFile(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_SetPrintToFile",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_SetPrintToFile" "', 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_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'"); 
26606   arg2 
= static_cast< bool >(val2
); 
26608     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26609     (arg1
)->SetPrintToFile(arg2
); 
26610     wxPyEndAllowThreads(__tstate
); 
26611     if (PyErr_Occurred()) SWIG_fail
; 
26613   resultobj 
= SWIG_Py_Void(); 
26620 SWIGINTERN PyObject 
*_wrap_PrintDialogData_EnablePrintToFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26621   PyObject 
*resultobj 
= 0; 
26622   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26628   PyObject 
* obj0 
= 0 ; 
26629   PyObject 
* obj1 
= 0 ; 
26630   char *  kwnames
[] = { 
26631     (char *) "self",(char *) "flag", NULL 
 
26634   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26635   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26636   if (!SWIG_IsOK(res1
)) { 
26637     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26639   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26640   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26641   if (!SWIG_IsOK(ecode2
)) { 
26642     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'"); 
26644   arg2 
= static_cast< bool >(val2
); 
26646     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26647     (arg1
)->EnablePrintToFile(arg2
); 
26648     wxPyEndAllowThreads(__tstate
); 
26649     if (PyErr_Occurred()) SWIG_fail
; 
26651   resultobj 
= SWIG_Py_Void(); 
26658 SWIGINTERN PyObject 
*_wrap_PrintDialogData_EnableSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26659   PyObject 
*resultobj 
= 0; 
26660   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26666   PyObject 
* obj0 
= 0 ; 
26667   PyObject 
* obj1 
= 0 ; 
26668   char *  kwnames
[] = { 
26669     (char *) "self",(char *) "flag", NULL 
 
26672   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26673   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26674   if (!SWIG_IsOK(res1
)) { 
26675     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26677   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26678   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26679   if (!SWIG_IsOK(ecode2
)) { 
26680     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'"); 
26682   arg2 
= static_cast< bool >(val2
); 
26684     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26685     (arg1
)->EnableSelection(arg2
); 
26686     wxPyEndAllowThreads(__tstate
); 
26687     if (PyErr_Occurred()) SWIG_fail
; 
26689   resultobj 
= SWIG_Py_Void(); 
26696 SWIGINTERN PyObject 
*_wrap_PrintDialogData_EnablePageNumbers(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26697   PyObject 
*resultobj 
= 0; 
26698   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26704   PyObject 
* obj0 
= 0 ; 
26705   PyObject 
* obj1 
= 0 ; 
26706   char *  kwnames
[] = { 
26707     (char *) "self",(char *) "flag", NULL 
 
26710   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26711   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26712   if (!SWIG_IsOK(res1
)) { 
26713     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26715   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26716   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26717   if (!SWIG_IsOK(ecode2
)) { 
26718     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'"); 
26720   arg2 
= static_cast< bool >(val2
); 
26722     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26723     (arg1
)->EnablePageNumbers(arg2
); 
26724     wxPyEndAllowThreads(__tstate
); 
26725     if (PyErr_Occurred()) SWIG_fail
; 
26727   resultobj 
= SWIG_Py_Void(); 
26734 SWIGINTERN PyObject 
*_wrap_PrintDialogData_EnableHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26735   PyObject 
*resultobj 
= 0; 
26736   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26742   PyObject 
* obj0 
= 0 ; 
26743   PyObject 
* obj1 
= 0 ; 
26744   char *  kwnames
[] = { 
26745     (char *) "self",(char *) "flag", NULL 
 
26748   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26749   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26750   if (!SWIG_IsOK(res1
)) { 
26751     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26753   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26754   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26755   if (!SWIG_IsOK(ecode2
)) { 
26756     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'"); 
26758   arg2 
= static_cast< bool >(val2
); 
26760     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26761     (arg1
)->EnableHelp(arg2
); 
26762     wxPyEndAllowThreads(__tstate
); 
26763     if (PyErr_Occurred()) SWIG_fail
; 
26765   resultobj 
= SWIG_Py_Void(); 
26772 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26773   PyObject 
*resultobj 
= 0; 
26774   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26778   PyObject 
*swig_obj
[1] ; 
26780   if (!args
) SWIG_fail
; 
26781   swig_obj
[0] = args
; 
26782   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26783   if (!SWIG_IsOK(res1
)) { 
26784     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26786   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26788     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26789     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetEnablePrintToFile(); 
26790     wxPyEndAllowThreads(__tstate
); 
26791     if (PyErr_Occurred()) SWIG_fail
; 
26794     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26802 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetEnableSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26803   PyObject 
*resultobj 
= 0; 
26804   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26808   PyObject 
*swig_obj
[1] ; 
26810   if (!args
) SWIG_fail
; 
26811   swig_obj
[0] = args
; 
26812   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26813   if (!SWIG_IsOK(res1
)) { 
26814     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26816   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26818     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26819     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetEnableSelection(); 
26820     wxPyEndAllowThreads(__tstate
); 
26821     if (PyErr_Occurred()) SWIG_fail
; 
26824     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26832 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26833   PyObject 
*resultobj 
= 0; 
26834   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26838   PyObject 
*swig_obj
[1] ; 
26840   if (!args
) SWIG_fail
; 
26841   swig_obj
[0] = args
; 
26842   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26843   if (!SWIG_IsOK(res1
)) { 
26844     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26846   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26848     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26849     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetEnablePageNumbers(); 
26850     wxPyEndAllowThreads(__tstate
); 
26851     if (PyErr_Occurred()) SWIG_fail
; 
26854     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26862 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetEnableHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26863   PyObject 
*resultobj 
= 0; 
26864   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26868   PyObject 
*swig_obj
[1] ; 
26870   if (!args
) SWIG_fail
; 
26871   swig_obj
[0] = args
; 
26872   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26873   if (!SWIG_IsOK(res1
)) { 
26874     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26876   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26878     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26879     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetEnableHelp(); 
26880     wxPyEndAllowThreads(__tstate
); 
26881     if (PyErr_Occurred()) SWIG_fail
; 
26884     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26892 SWIGINTERN PyObject 
*_wrap_PrintDialogData_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26893   PyObject 
*resultobj 
= 0; 
26894   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26898   PyObject 
*swig_obj
[1] ; 
26900   if (!args
) SWIG_fail
; 
26901   swig_obj
[0] = args
; 
26902   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26903   if (!SWIG_IsOK(res1
)) { 
26904     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26906   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26908     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26909     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->Ok(); 
26910     wxPyEndAllowThreads(__tstate
); 
26911     if (PyErr_Occurred()) SWIG_fail
; 
26914     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26922 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26923   PyObject 
*resultobj 
= 0; 
26924   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26925   wxPrintData 
*result 
= 0 ; 
26928   PyObject 
*swig_obj
[1] ; 
26930   if (!args
) SWIG_fail
; 
26931   swig_obj
[0] = args
; 
26932   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26933   if (!SWIG_IsOK(res1
)) { 
26934     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26936   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26938     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26940       wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
26941       result 
= (wxPrintData 
*) &_result_ref
; 
26943     wxPyEndAllowThreads(__tstate
); 
26944     if (PyErr_Occurred()) SWIG_fail
; 
26946   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
26953 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26954   PyObject 
*resultobj 
= 0; 
26955   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26956   wxPrintData 
*arg2 
= 0 ; 
26961   PyObject 
* obj0 
= 0 ; 
26962   PyObject 
* obj1 
= 0 ; 
26963   char *  kwnames
[] = { 
26964     (char *) "self",(char *) "printData", NULL 
 
26967   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26968   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26969   if (!SWIG_IsOK(res1
)) { 
26970     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26972   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26973   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
26974   if (!SWIG_IsOK(res2
)) { 
26975     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
26978     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
26980   arg2 
= reinterpret_cast< wxPrintData 
* >(argp2
); 
26982     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26983     (arg1
)->SetPrintData((wxPrintData 
const &)*arg2
); 
26984     wxPyEndAllowThreads(__tstate
); 
26985     if (PyErr_Occurred()) SWIG_fail
; 
26987   resultobj 
= SWIG_Py_Void(); 
26994 SWIGINTERN PyObject 
*PrintDialogData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26996   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
26997   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
)); 
26998   return SWIG_Py_Void(); 
27001 SWIGINTERN PyObject 
*PrintDialogData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27002   return SWIG_Python_InitShadowInstance(args
); 
27005 SWIGINTERN PyObject 
*_wrap_new_PrintDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27006   PyObject 
*resultobj 
= 0; 
27007   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27008   wxPrintDialogData 
*arg2 
= (wxPrintDialogData 
*) NULL 
; 
27009   wxPrintDialog 
*result 
= 0 ; 
27014   PyObject 
* obj0 
= 0 ; 
27015   PyObject 
* obj1 
= 0 ; 
27016   char *  kwnames
[] = { 
27017     (char *) "parent",(char *) "data", NULL 
 
27020   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27021   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27022   if (!SWIG_IsOK(res1
)) { 
27023     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
27025   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
27027     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
27028     if (!SWIG_IsOK(res2
)) { 
27029       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");  
27031     arg2 
= reinterpret_cast< wxPrintDialogData 
* >(argp2
); 
27034     if (!wxPyCheckForApp()) SWIG_fail
; 
27035     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27036     result 
= (wxPrintDialog 
*)new wxPrintDialog(arg1
,arg2
); 
27037     wxPyEndAllowThreads(__tstate
); 
27038     if (PyErr_Occurred()) SWIG_fail
; 
27040   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW 
|  0 ); 
27047 SWIGINTERN PyObject 
*_wrap_delete_PrintDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27048   PyObject 
*resultobj 
= 0; 
27049   wxPrintDialog 
*arg1 
= (wxPrintDialog 
*) 0 ; 
27052   PyObject 
*swig_obj
[1] ; 
27054   if (!args
) SWIG_fail
; 
27055   swig_obj
[0] = args
; 
27056   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN 
|  0 ); 
27057   if (!SWIG_IsOK(res1
)) { 
27058     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");  
27060   arg1 
= reinterpret_cast< wxPrintDialog 
* >(argp1
); 
27062     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27065     wxPyEndAllowThreads(__tstate
); 
27066     if (PyErr_Occurred()) SWIG_fail
; 
27068   resultobj 
= SWIG_Py_Void(); 
27075 SWIGINTERN PyObject 
*_wrap_PrintDialog_ShowModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27076   PyObject 
*resultobj 
= 0; 
27077   wxPrintDialog 
*arg1 
= (wxPrintDialog 
*) 0 ; 
27081   PyObject 
*swig_obj
[1] ; 
27083   if (!args
) SWIG_fail
; 
27084   swig_obj
[0] = args
; 
27085   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 |  0 ); 
27086   if (!SWIG_IsOK(res1
)) { 
27087     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");  
27089   arg1 
= reinterpret_cast< wxPrintDialog 
* >(argp1
); 
27091     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27092     result 
= (int)(arg1
)->ShowModal(); 
27093     wxPyEndAllowThreads(__tstate
); 
27094     if (PyErr_Occurred()) SWIG_fail
; 
27096   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
27103 SWIGINTERN PyObject 
*_wrap_PrintDialog_GetPrintDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27104   PyObject 
*resultobj 
= 0; 
27105   wxPrintDialog 
*arg1 
= (wxPrintDialog 
*) 0 ; 
27106   wxPrintDialogData 
*result 
= 0 ; 
27109   PyObject 
*swig_obj
[1] ; 
27111   if (!args
) SWIG_fail
; 
27112   swig_obj
[0] = args
; 
27113   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 |  0 ); 
27114   if (!SWIG_IsOK(res1
)) { 
27115     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");  
27117   arg1 
= reinterpret_cast< wxPrintDialog 
* >(argp1
); 
27119     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27121       wxPrintDialogData 
&_result_ref 
= (arg1
)->GetPrintDialogData(); 
27122       result 
= (wxPrintDialogData 
*) &_result_ref
; 
27124     wxPyEndAllowThreads(__tstate
); 
27125     if (PyErr_Occurred()) SWIG_fail
; 
27127   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
27134 SWIGINTERN PyObject 
*_wrap_PrintDialog_GetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27135   PyObject 
*resultobj 
= 0; 
27136   wxPrintDialog 
*arg1 
= (wxPrintDialog 
*) 0 ; 
27137   wxPrintData 
*result 
= 0 ; 
27140   PyObject 
*swig_obj
[1] ; 
27142   if (!args
) SWIG_fail
; 
27143   swig_obj
[0] = args
; 
27144   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 |  0 ); 
27145   if (!SWIG_IsOK(res1
)) { 
27146     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");  
27148   arg1 
= reinterpret_cast< wxPrintDialog 
* >(argp1
); 
27150     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27152       wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
27153       result 
= (wxPrintData 
*) &_result_ref
; 
27155     wxPyEndAllowThreads(__tstate
); 
27156     if (PyErr_Occurred()) SWIG_fail
; 
27158   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
27165 SWIGINTERN PyObject 
*_wrap_PrintDialog_GetPrintDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27166   PyObject 
*resultobj 
= 0; 
27167   wxPrintDialog 
*arg1 
= (wxPrintDialog 
*) 0 ; 
27171   PyObject 
*swig_obj
[1] ; 
27173   if (!args
) SWIG_fail
; 
27174   swig_obj
[0] = args
; 
27175   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 |  0 ); 
27176   if (!SWIG_IsOK(res1
)) { 
27177     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");  
27179   arg1 
= reinterpret_cast< wxPrintDialog 
* >(argp1
); 
27181     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27182     result 
= (wxDC 
*)(arg1
)->GetPrintDC(); 
27183     wxPyEndAllowThreads(__tstate
); 
27184     if (PyErr_Occurred()) SWIG_fail
; 
27187     resultobj 
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);  
27195 SWIGINTERN PyObject 
*PrintDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27197   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
27198   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
)); 
27199   return SWIG_Py_Void(); 
27202 SWIGINTERN PyObject 
*PrintDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27203   return SWIG_Python_InitShadowInstance(args
); 
27206 SWIGINTERN PyObject 
*_wrap_new_Printer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27207   PyObject 
*resultobj 
= 0; 
27208   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) NULL 
; 
27209   wxPrinter 
*result 
= 0 ; 
27212   PyObject 
* obj0 
= 0 ; 
27213   char *  kwnames
[] = { 
27214     (char *) "data", NULL 
 
27217   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
; 
27219     res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
27220     if (!SWIG_IsOK(res1
)) { 
27221       SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
27223     arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
27226     if (!wxPyCheckForApp()) SWIG_fail
; 
27227     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27228     result 
= (wxPrinter 
*)new wxPrinter(arg1
); 
27229     wxPyEndAllowThreads(__tstate
); 
27230     if (PyErr_Occurred()) SWIG_fail
; 
27232   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW 
|  0 ); 
27239 SWIGINTERN PyObject 
*_wrap_delete_Printer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27240   PyObject 
*resultobj 
= 0; 
27241   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27244   PyObject 
*swig_obj
[1] ; 
27246   if (!args
) SWIG_fail
; 
27247   swig_obj
[0] = args
; 
27248   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN 
|  0 ); 
27249   if (!SWIG_IsOK(res1
)) { 
27250     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27252   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27254     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27257     wxPyEndAllowThreads(__tstate
); 
27258     if (PyErr_Occurred()) SWIG_fail
; 
27260   resultobj 
= SWIG_Py_Void(); 
27267 SWIGINTERN PyObject 
*_wrap_Printer_CreateAbortWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27268   PyObject 
*resultobj 
= 0; 
27269   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27270   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27271   wxPyPrintout 
*arg3 
= (wxPyPrintout 
*) 0 ; 
27272   wxWindow 
*result 
= 0 ; 
27279   PyObject 
* obj0 
= 0 ; 
27280   PyObject 
* obj1 
= 0 ; 
27281   PyObject 
* obj2 
= 0 ; 
27282   char *  kwnames
[] = { 
27283     (char *) "self",(char *) "parent",(char *) "printout", NULL 
 
27286   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27287   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27288   if (!SWIG_IsOK(res1
)) { 
27289     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27291   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27292   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27293   if (!SWIG_IsOK(res2
)) { 
27294     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
27296   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27297   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27298   if (!SWIG_IsOK(res3
)) { 
27299     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");  
27301   arg3 
= reinterpret_cast< wxPyPrintout 
* >(argp3
); 
27303     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27304     result 
= (wxWindow 
*)(arg1
)->CreateAbortWindow(arg2
,arg3
); 
27305     wxPyEndAllowThreads(__tstate
); 
27306     if (PyErr_Occurred()) SWIG_fail
; 
27309     resultobj 
= wxPyMake_wxObject(result
, 0);  
27317 SWIGINTERN PyObject 
*_wrap_Printer_ReportError(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27318   PyObject 
*resultobj 
= 0; 
27319   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27320   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27321   wxPyPrintout 
*arg3 
= (wxPyPrintout 
*) 0 ; 
27322   wxString 
*arg4 
= 0 ; 
27329   bool temp4 
= false ; 
27330   PyObject 
* obj0 
= 0 ; 
27331   PyObject 
* obj1 
= 0 ; 
27332   PyObject 
* obj2 
= 0 ; 
27333   PyObject 
* obj3 
= 0 ; 
27334   char *  kwnames
[] = { 
27335     (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL 
 
27338   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
27339   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27340   if (!SWIG_IsOK(res1
)) { 
27341     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27343   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27344   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27345   if (!SWIG_IsOK(res2
)) { 
27346     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");  
27348   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27349   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27350   if (!SWIG_IsOK(res3
)) { 
27351     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");  
27353   arg3 
= reinterpret_cast< wxPyPrintout 
* >(argp3
); 
27355     arg4 
= wxString_in_helper(obj3
); 
27356     if (arg4 
== NULL
) SWIG_fail
; 
27360     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27361     (arg1
)->ReportError(arg2
,arg3
,(wxString 
const &)*arg4
); 
27362     wxPyEndAllowThreads(__tstate
); 
27363     if (PyErr_Occurred()) SWIG_fail
; 
27365   resultobj 
= SWIG_Py_Void(); 
27380 SWIGINTERN PyObject 
*_wrap_Printer_Setup(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27381   PyObject 
*resultobj 
= 0; 
27382   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27383   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27389   PyObject 
* obj0 
= 0 ; 
27390   PyObject 
* obj1 
= 0 ; 
27391   char *  kwnames
[] = { 
27392     (char *) "self",(char *) "parent", NULL 
 
27395   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27396   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27397   if (!SWIG_IsOK(res1
)) { 
27398     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27400   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27401   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27402   if (!SWIG_IsOK(res2
)) { 
27403     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");  
27405   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27407     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27408     result 
= (bool)(arg1
)->Setup(arg2
); 
27409     wxPyEndAllowThreads(__tstate
); 
27410     if (PyErr_Occurred()) SWIG_fail
; 
27413     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27421 SWIGINTERN PyObject 
*_wrap_Printer_Print(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27422   PyObject 
*resultobj 
= 0; 
27423   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27424   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27425   wxPyPrintout 
*arg3 
= (wxPyPrintout 
*) 0 ; 
27426   bool arg4 
= (bool) true ; 
27436   PyObject 
* obj0 
= 0 ; 
27437   PyObject 
* obj1 
= 0 ; 
27438   PyObject 
* obj2 
= 0 ; 
27439   PyObject 
* obj3 
= 0 ; 
27440   char *  kwnames
[] = { 
27441     (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL 
 
27444   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
27445   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27446   if (!SWIG_IsOK(res1
)) { 
27447     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27449   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27450   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27451   if (!SWIG_IsOK(res2
)) { 
27452     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");  
27454   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27455   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27456   if (!SWIG_IsOK(res3
)) { 
27457     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");  
27459   arg3 
= reinterpret_cast< wxPyPrintout 
* >(argp3
); 
27461     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
27462     if (!SWIG_IsOK(ecode4
)) { 
27463       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'"); 
27465     arg4 
= static_cast< bool >(val4
); 
27468     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27469     result 
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
); 
27470     wxPyEndAllowThreads(__tstate
); 
27471     if (PyErr_Occurred()) SWIG_fail
; 
27474     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27482 SWIGINTERN PyObject 
*_wrap_Printer_PrintDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27483   PyObject 
*resultobj 
= 0; 
27484   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27485   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27491   PyObject 
* obj0 
= 0 ; 
27492   PyObject 
* obj1 
= 0 ; 
27493   char *  kwnames
[] = { 
27494     (char *) "self",(char *) "parent", NULL 
 
27497   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27498   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27499   if (!SWIG_IsOK(res1
)) { 
27500     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27502   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27503   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27504   if (!SWIG_IsOK(res2
)) { 
27505     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");  
27507   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27509     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27510     result 
= (wxDC 
*)(arg1
)->PrintDialog(arg2
); 
27511     wxPyEndAllowThreads(__tstate
); 
27512     if (PyErr_Occurred()) SWIG_fail
; 
27515     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
27523 SWIGINTERN PyObject 
*_wrap_Printer_GetPrintDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27524   PyObject 
*resultobj 
= 0; 
27525   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27526   wxPrintDialogData 
*result 
= 0 ; 
27529   PyObject 
*swig_obj
[1] ; 
27531   if (!args
) SWIG_fail
; 
27532   swig_obj
[0] = args
; 
27533   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27534   if (!SWIG_IsOK(res1
)) { 
27535     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");  
27537   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27539     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27541       wxPrintDialogData 
&_result_ref 
= ((wxPrinter 
const *)arg1
)->GetPrintDialogData(); 
27542       result 
= (wxPrintDialogData 
*) &_result_ref
; 
27544     wxPyEndAllowThreads(__tstate
); 
27545     if (PyErr_Occurred()) SWIG_fail
; 
27547   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
27554 SWIGINTERN PyObject 
*_wrap_Printer_GetAbort(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27555   PyObject 
*resultobj 
= 0; 
27556   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27560   PyObject 
*swig_obj
[1] ; 
27562   if (!args
) SWIG_fail
; 
27563   swig_obj
[0] = args
; 
27564   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27565   if (!SWIG_IsOK(res1
)) { 
27566     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27568   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27570     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27571     result 
= (bool)(arg1
)->GetAbort(); 
27572     wxPyEndAllowThreads(__tstate
); 
27573     if (PyErr_Occurred()) SWIG_fail
; 
27576     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27584 SWIGINTERN PyObject 
*_wrap_Printer_GetLastError(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27585   PyObject 
*resultobj 
= 0; 
27586   wxPrinterError result
; 
27588   if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
; 
27590     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27591     result 
= (wxPrinterError
)wxPrinter::GetLastError(); 
27592     wxPyEndAllowThreads(__tstate
); 
27593     if (PyErr_Occurred()) SWIG_fail
; 
27595   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
27602 SWIGINTERN PyObject 
*Printer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27604   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
27605   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
)); 
27606   return SWIG_Py_Void(); 
27609 SWIGINTERN PyObject 
*Printer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27610   return SWIG_Python_InitShadowInstance(args
); 
27613 SWIGINTERN PyObject 
*_wrap_new_Printout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27614   PyObject 
*resultobj 
= 0; 
27615   wxString 
const &arg1_defvalue 
= wxPyPrintoutTitleStr 
; 
27616   wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
27617   wxPyPrintout 
*result 
= 0 ; 
27618   bool temp1 
= false ; 
27619   PyObject 
* obj0 
= 0 ; 
27620   char *  kwnames
[] = { 
27621     (char *) "title", NULL 
 
27624   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
; 
27627       arg1 
= wxString_in_helper(obj0
); 
27628       if (arg1 
== NULL
) SWIG_fail
; 
27633     if (!wxPyCheckForApp()) SWIG_fail
; 
27634     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27635     result 
= (wxPyPrintout 
*)new wxPyPrintout((wxString 
const &)*arg1
); 
27636     wxPyEndAllowThreads(__tstate
); 
27637     if (PyErr_Occurred()) SWIG_fail
; 
27639   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW 
|  0 ); 
27654 SWIGINTERN PyObject 
*_wrap_delete_Printout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27655   PyObject 
*resultobj 
= 0; 
27656   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27659   PyObject 
*swig_obj
[1] ; 
27661   if (!args
) SWIG_fail
; 
27662   swig_obj
[0] = args
; 
27663   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
27664   if (!SWIG_IsOK(res1
)) { 
27665     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27667   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27669     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27672     wxPyEndAllowThreads(__tstate
); 
27673     if (PyErr_Occurred()) SWIG_fail
; 
27675   resultobj 
= SWIG_Py_Void(); 
27682 SWIGINTERN PyObject 
*_wrap_Printout__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27683   PyObject 
*resultobj 
= 0; 
27684   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27685   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
27686   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
27689   PyObject 
* obj0 
= 0 ; 
27690   PyObject 
* obj1 
= 0 ; 
27691   PyObject 
* obj2 
= 0 ; 
27692   char *  kwnames
[] = { 
27693     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
27696   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27697   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27698   if (!SWIG_IsOK(res1
)) { 
27699     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27701   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27705     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27706     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
27707     wxPyEndAllowThreads(__tstate
); 
27708     if (PyErr_Occurred()) SWIG_fail
; 
27710   resultobj 
= SWIG_Py_Void(); 
27717 SWIGINTERN PyObject 
*_wrap_Printout_GetTitle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27718   PyObject 
*resultobj 
= 0; 
27719   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27723   PyObject 
*swig_obj
[1] ; 
27725   if (!args
) SWIG_fail
; 
27726   swig_obj
[0] = args
; 
27727   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27728   if (!SWIG_IsOK(res1
)) { 
27729     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");  
27731   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27733     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27734     result 
= ((wxPyPrintout 
const *)arg1
)->GetTitle(); 
27735     wxPyEndAllowThreads(__tstate
); 
27736     if (PyErr_Occurred()) SWIG_fail
; 
27740     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
27742     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
27751 SWIGINTERN PyObject 
*_wrap_Printout_GetDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27752   PyObject 
*resultobj 
= 0; 
27753   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27757   PyObject 
*swig_obj
[1] ; 
27759   if (!args
) SWIG_fail
; 
27760   swig_obj
[0] = args
; 
27761   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27762   if (!SWIG_IsOK(res1
)) { 
27763     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27765   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27767     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27768     result 
= (wxDC 
*)(arg1
)->GetDC(); 
27769     wxPyEndAllowThreads(__tstate
); 
27770     if (PyErr_Occurred()) SWIG_fail
; 
27773     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
27781 SWIGINTERN PyObject 
*_wrap_Printout_SetDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27782   PyObject 
*resultobj 
= 0; 
27783   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27784   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
27789   PyObject 
* obj0 
= 0 ; 
27790   PyObject 
* obj1 
= 0 ; 
27791   char *  kwnames
[] = { 
27792     (char *) "self",(char *) "dc", NULL 
 
27795   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27796   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27797   if (!SWIG_IsOK(res1
)) { 
27798     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27800   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27801   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
27802   if (!SWIG_IsOK(res2
)) { 
27803     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");  
27805   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
27807     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27808     (arg1
)->SetDC(arg2
); 
27809     wxPyEndAllowThreads(__tstate
); 
27810     if (PyErr_Occurred()) SWIG_fail
; 
27812   resultobj 
= SWIG_Py_Void(); 
27819 SWIGINTERN PyObject 
*_wrap_Printout_SetPageSizePixels(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27820   PyObject 
*resultobj 
= 0; 
27821   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27830   PyObject 
* obj0 
= 0 ; 
27831   PyObject 
* obj1 
= 0 ; 
27832   PyObject 
* obj2 
= 0 ; 
27833   char *  kwnames
[] = { 
27834     (char *) "self",(char *) "w",(char *) "h", NULL 
 
27837   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27838   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27839   if (!SWIG_IsOK(res1
)) { 
27840     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27842   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27843   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27844   if (!SWIG_IsOK(ecode2
)) { 
27845     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'"); 
27847   arg2 
= static_cast< int >(val2
); 
27848   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
27849   if (!SWIG_IsOK(ecode3
)) { 
27850     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'"); 
27852   arg3 
= static_cast< int >(val3
); 
27854     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27855     (arg1
)->SetPageSizePixels(arg2
,arg3
); 
27856     wxPyEndAllowThreads(__tstate
); 
27857     if (PyErr_Occurred()) SWIG_fail
; 
27859   resultobj 
= SWIG_Py_Void(); 
27866 SWIGINTERN PyObject 
*_wrap_Printout_GetPageSizePixels(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27867   PyObject 
*resultobj 
= 0; 
27868   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27869   int *arg2 
= (int *) 0 ; 
27870   int *arg3 
= (int *) 0 ; 
27874   int res2 
= SWIG_TMPOBJ 
; 
27876   int res3 
= SWIG_TMPOBJ 
; 
27877   PyObject 
*swig_obj
[1] ; 
27881   if (!args
) SWIG_fail
; 
27882   swig_obj
[0] = args
; 
27883   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27884   if (!SWIG_IsOK(res1
)) { 
27885     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27887   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27889     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27890     (arg1
)->GetPageSizePixels(arg2
,arg3
); 
27891     wxPyEndAllowThreads(__tstate
); 
27892     if (PyErr_Occurred()) SWIG_fail
; 
27894   resultobj 
= SWIG_Py_Void(); 
27895   if (SWIG_IsTmpObj(res2
)) { 
27896     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
27898     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
27899     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
27901   if (SWIG_IsTmpObj(res3
)) { 
27902     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
27904     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
27905     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
27913 SWIGINTERN PyObject 
*_wrap_Printout_SetPageSizeMM(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27914   PyObject 
*resultobj 
= 0; 
27915   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27924   PyObject 
* obj0 
= 0 ; 
27925   PyObject 
* obj1 
= 0 ; 
27926   PyObject 
* obj2 
= 0 ; 
27927   char *  kwnames
[] = { 
27928     (char *) "self",(char *) "w",(char *) "h", NULL 
 
27931   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27932   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27933   if (!SWIG_IsOK(res1
)) { 
27934     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27936   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27937   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27938   if (!SWIG_IsOK(ecode2
)) { 
27939     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'"); 
27941   arg2 
= static_cast< int >(val2
); 
27942   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
27943   if (!SWIG_IsOK(ecode3
)) { 
27944     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'"); 
27946   arg3 
= static_cast< int >(val3
); 
27948     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27949     (arg1
)->SetPageSizeMM(arg2
,arg3
); 
27950     wxPyEndAllowThreads(__tstate
); 
27951     if (PyErr_Occurred()) SWIG_fail
; 
27953   resultobj 
= SWIG_Py_Void(); 
27960 SWIGINTERN PyObject 
*_wrap_Printout_GetPageSizeMM(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27961   PyObject 
*resultobj 
= 0; 
27962   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27963   int *arg2 
= (int *) 0 ; 
27964   int *arg3 
= (int *) 0 ; 
27968   int res2 
= SWIG_TMPOBJ 
; 
27970   int res3 
= SWIG_TMPOBJ 
; 
27971   PyObject 
*swig_obj
[1] ; 
27975   if (!args
) SWIG_fail
; 
27976   swig_obj
[0] = args
; 
27977   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27978   if (!SWIG_IsOK(res1
)) { 
27979     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27981   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27983     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27984     (arg1
)->GetPageSizeMM(arg2
,arg3
); 
27985     wxPyEndAllowThreads(__tstate
); 
27986     if (PyErr_Occurred()) SWIG_fail
; 
27988   resultobj 
= SWIG_Py_Void(); 
27989   if (SWIG_IsTmpObj(res2
)) { 
27990     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
27992     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
27993     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
27995   if (SWIG_IsTmpObj(res3
)) { 
27996     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
27998     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
27999     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
28007 SWIGINTERN PyObject 
*_wrap_Printout_SetPPIScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28008   PyObject 
*resultobj 
= 0; 
28009   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28018   PyObject 
* obj0 
= 0 ; 
28019   PyObject 
* obj1 
= 0 ; 
28020   PyObject 
* obj2 
= 0 ; 
28021   char *  kwnames
[] = { 
28022     (char *) "self",(char *) "x",(char *) "y", NULL 
 
28025   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
28026   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28027   if (!SWIG_IsOK(res1
)) { 
28028     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28030   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28031   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28032   if (!SWIG_IsOK(ecode2
)) { 
28033     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'"); 
28035   arg2 
= static_cast< int >(val2
); 
28036   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
28037   if (!SWIG_IsOK(ecode3
)) { 
28038     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'"); 
28040   arg3 
= static_cast< int >(val3
); 
28042     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28043     (arg1
)->SetPPIScreen(arg2
,arg3
); 
28044     wxPyEndAllowThreads(__tstate
); 
28045     if (PyErr_Occurred()) SWIG_fail
; 
28047   resultobj 
= SWIG_Py_Void(); 
28054 SWIGINTERN PyObject 
*_wrap_Printout_GetPPIScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28055   PyObject 
*resultobj 
= 0; 
28056   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28057   int *arg2 
= (int *) 0 ; 
28058   int *arg3 
= (int *) 0 ; 
28062   int res2 
= SWIG_TMPOBJ 
; 
28064   int res3 
= SWIG_TMPOBJ 
; 
28065   PyObject 
*swig_obj
[1] ; 
28069   if (!args
) SWIG_fail
; 
28070   swig_obj
[0] = args
; 
28071   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28072   if (!SWIG_IsOK(res1
)) { 
28073     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28075   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28077     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28078     (arg1
)->GetPPIScreen(arg2
,arg3
); 
28079     wxPyEndAllowThreads(__tstate
); 
28080     if (PyErr_Occurred()) SWIG_fail
; 
28082   resultobj 
= SWIG_Py_Void(); 
28083   if (SWIG_IsTmpObj(res2
)) { 
28084     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
28086     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28087     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
28089   if (SWIG_IsTmpObj(res3
)) { 
28090     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
28092     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28093     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
28101 SWIGINTERN PyObject 
*_wrap_Printout_SetPPIPrinter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28102   PyObject 
*resultobj 
= 0; 
28103   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28112   PyObject 
* obj0 
= 0 ; 
28113   PyObject 
* obj1 
= 0 ; 
28114   PyObject 
* obj2 
= 0 ; 
28115   char *  kwnames
[] = { 
28116     (char *) "self",(char *) "x",(char *) "y", NULL 
 
28119   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
28120   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28121   if (!SWIG_IsOK(res1
)) { 
28122     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28124   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28125   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28126   if (!SWIG_IsOK(ecode2
)) { 
28127     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'"); 
28129   arg2 
= static_cast< int >(val2
); 
28130   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
28131   if (!SWIG_IsOK(ecode3
)) { 
28132     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'"); 
28134   arg3 
= static_cast< int >(val3
); 
28136     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28137     (arg1
)->SetPPIPrinter(arg2
,arg3
); 
28138     wxPyEndAllowThreads(__tstate
); 
28139     if (PyErr_Occurred()) SWIG_fail
; 
28141   resultobj 
= SWIG_Py_Void(); 
28148 SWIGINTERN PyObject 
*_wrap_Printout_GetPPIPrinter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28149   PyObject 
*resultobj 
= 0; 
28150   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28151   int *arg2 
= (int *) 0 ; 
28152   int *arg3 
= (int *) 0 ; 
28156   int res2 
= SWIG_TMPOBJ 
; 
28158   int res3 
= SWIG_TMPOBJ 
; 
28159   PyObject 
*swig_obj
[1] ; 
28163   if (!args
) SWIG_fail
; 
28164   swig_obj
[0] = args
; 
28165   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28166   if (!SWIG_IsOK(res1
)) { 
28167     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28169   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28171     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28172     (arg1
)->GetPPIPrinter(arg2
,arg3
); 
28173     wxPyEndAllowThreads(__tstate
); 
28174     if (PyErr_Occurred()) SWIG_fail
; 
28176   resultobj 
= SWIG_Py_Void(); 
28177   if (SWIG_IsTmpObj(res2
)) { 
28178     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
28180     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28181     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
28183   if (SWIG_IsTmpObj(res3
)) { 
28184     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
28186     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28187     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
28195 SWIGINTERN PyObject 
*_wrap_Printout_IsPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28196   PyObject 
*resultobj 
= 0; 
28197   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28201   PyObject 
*swig_obj
[1] ; 
28203   if (!args
) SWIG_fail
; 
28204   swig_obj
[0] = args
; 
28205   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28206   if (!SWIG_IsOK(res1
)) { 
28207     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28209   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28211     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28212     result 
= (bool)(arg1
)->IsPreview(); 
28213     wxPyEndAllowThreads(__tstate
); 
28214     if (PyErr_Occurred()) SWIG_fail
; 
28217     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28225 SWIGINTERN PyObject 
*_wrap_Printout_SetIsPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28226   PyObject 
*resultobj 
= 0; 
28227   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28233   PyObject 
* obj0 
= 0 ; 
28234   PyObject 
* obj1 
= 0 ; 
28235   char *  kwnames
[] = { 
28236     (char *) "self",(char *) "p", NULL 
 
28239   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28240   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28241   if (!SWIG_IsOK(res1
)) { 
28242     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28244   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28245   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
28246   if (!SWIG_IsOK(ecode2
)) { 
28247     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'"); 
28249   arg2 
= static_cast< bool >(val2
); 
28251     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28252     (arg1
)->SetIsPreview(arg2
); 
28253     wxPyEndAllowThreads(__tstate
); 
28254     if (PyErr_Occurred()) SWIG_fail
; 
28256   resultobj 
= SWIG_Py_Void(); 
28263 SWIGINTERN PyObject 
*_wrap_Printout_OnBeginDocument(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28264   PyObject 
*resultobj 
= 0; 
28265   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28275   PyObject 
* obj0 
= 0 ; 
28276   PyObject 
* obj1 
= 0 ; 
28277   PyObject 
* obj2 
= 0 ; 
28278   char *  kwnames
[] = { 
28279     (char *) "self",(char *) "startPage",(char *) "endPage", NULL 
 
28282   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
28283   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28284   if (!SWIG_IsOK(res1
)) { 
28285     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28287   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28288   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28289   if (!SWIG_IsOK(ecode2
)) { 
28290     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'"); 
28292   arg2 
= static_cast< int >(val2
); 
28293   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
28294   if (!SWIG_IsOK(ecode3
)) { 
28295     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'"); 
28297   arg3 
= static_cast< int >(val3
); 
28299     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28300     result 
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
); 
28301     wxPyEndAllowThreads(__tstate
); 
28302     if (PyErr_Occurred()) SWIG_fail
; 
28305     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28313 SWIGINTERN PyObject 
*_wrap_Printout_OnEndDocument(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28314   PyObject 
*resultobj 
= 0; 
28315   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28318   PyObject 
*swig_obj
[1] ; 
28320   if (!args
) SWIG_fail
; 
28321   swig_obj
[0] = args
; 
28322   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28323   if (!SWIG_IsOK(res1
)) { 
28324     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28326   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28328     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28329     (arg1
)->OnEndDocument(); 
28330     wxPyEndAllowThreads(__tstate
); 
28331     if (PyErr_Occurred()) SWIG_fail
; 
28333   resultobj 
= SWIG_Py_Void(); 
28340 SWIGINTERN PyObject 
*_wrap_Printout_OnBeginPrinting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28341   PyObject 
*resultobj 
= 0; 
28342   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28345   PyObject 
*swig_obj
[1] ; 
28347   if (!args
) SWIG_fail
; 
28348   swig_obj
[0] = args
; 
28349   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28350   if (!SWIG_IsOK(res1
)) { 
28351     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28353   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28355     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28356     (arg1
)->OnBeginPrinting(); 
28357     wxPyEndAllowThreads(__tstate
); 
28358     if (PyErr_Occurred()) SWIG_fail
; 
28360   resultobj 
= SWIG_Py_Void(); 
28367 SWIGINTERN PyObject 
*_wrap_Printout_OnEndPrinting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28368   PyObject 
*resultobj 
= 0; 
28369   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28372   PyObject 
*swig_obj
[1] ; 
28374   if (!args
) SWIG_fail
; 
28375   swig_obj
[0] = args
; 
28376   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28377   if (!SWIG_IsOK(res1
)) { 
28378     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28380   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28382     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28383     (arg1
)->OnEndPrinting(); 
28384     wxPyEndAllowThreads(__tstate
); 
28385     if (PyErr_Occurred()) SWIG_fail
; 
28387   resultobj 
= SWIG_Py_Void(); 
28394 SWIGINTERN PyObject 
*_wrap_Printout_OnPreparePrinting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28395   PyObject 
*resultobj 
= 0; 
28396   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28399   PyObject 
*swig_obj
[1] ; 
28401   if (!args
) SWIG_fail
; 
28402   swig_obj
[0] = args
; 
28403   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28404   if (!SWIG_IsOK(res1
)) { 
28405     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28407   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28409     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28410     (arg1
)->OnPreparePrinting(); 
28411     wxPyEndAllowThreads(__tstate
); 
28412     if (PyErr_Occurred()) SWIG_fail
; 
28414   resultobj 
= SWIG_Py_Void(); 
28421 SWIGINTERN PyObject 
*_wrap_Printout_HasPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28422   PyObject 
*resultobj 
= 0; 
28423   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28430   PyObject 
* obj0 
= 0 ; 
28431   PyObject 
* obj1 
= 0 ; 
28432   char *  kwnames
[] = { 
28433     (char *) "self",(char *) "page", NULL 
 
28436   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28437   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28438   if (!SWIG_IsOK(res1
)) { 
28439     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28441   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28442   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28443   if (!SWIG_IsOK(ecode2
)) { 
28444     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'"); 
28446   arg2 
= static_cast< int >(val2
); 
28448     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28449     result 
= (bool)(arg1
)->HasPage(arg2
); 
28450     wxPyEndAllowThreads(__tstate
); 
28451     if (PyErr_Occurred()) SWIG_fail
; 
28454     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28462 SWIGINTERN PyObject 
*_wrap_Printout_GetPageInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28463   PyObject 
*resultobj 
= 0; 
28464   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28465   int *arg2 
= (int *) 0 ; 
28466   int *arg3 
= (int *) 0 ; 
28467   int *arg4 
= (int *) 0 ; 
28468   int *arg5 
= (int *) 0 ; 
28472   int res2 
= SWIG_TMPOBJ 
; 
28474   int res3 
= SWIG_TMPOBJ 
; 
28476   int res4 
= SWIG_TMPOBJ 
; 
28478   int res5 
= SWIG_TMPOBJ 
; 
28479   PyObject 
*swig_obj
[1] ; 
28485   if (!args
) SWIG_fail
; 
28486   swig_obj
[0] = args
; 
28487   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28488   if (!SWIG_IsOK(res1
)) { 
28489     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28491   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28493     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28494     (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
); 
28495     wxPyEndAllowThreads(__tstate
); 
28496     if (PyErr_Occurred()) SWIG_fail
; 
28498   resultobj 
= SWIG_Py_Void(); 
28499   if (SWIG_IsTmpObj(res2
)) { 
28500     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
28502     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28503     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
28505   if (SWIG_IsTmpObj(res3
)) { 
28506     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
28508     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28509     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
28511   if (SWIG_IsTmpObj(res4
)) { 
28512     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
28514     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28515     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
28517   if (SWIG_IsTmpObj(res5
)) { 
28518     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
28520     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28521     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
28529 SWIGINTERN PyObject 
*Printout_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28531   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28532   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
)); 
28533   return SWIG_Py_Void(); 
28536 SWIGINTERN PyObject 
*Printout_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28537   return SWIG_Python_InitShadowInstance(args
); 
28540 SWIGINTERN PyObject 
*_wrap_new_PreviewCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28541   PyObject 
*resultobj 
= 0; 
28542   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
28543   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
28544   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
28545   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
28546   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
28547   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
28548   long arg5 
= (long) 0 ; 
28549   wxString 
const &arg6_defvalue 
= wxPyPreviewCanvasNameStr 
; 
28550   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
28551   wxPreviewCanvas 
*result 
= 0 ; 
28560   bool temp6 
= false ; 
28561   PyObject 
* obj0 
= 0 ; 
28562   PyObject 
* obj1 
= 0 ; 
28563   PyObject 
* obj2 
= 0 ; 
28564   PyObject 
* obj3 
= 0 ; 
28565   PyObject 
* obj4 
= 0 ; 
28566   PyObject 
* obj5 
= 0 ; 
28567   char *  kwnames
[] = { 
28568     (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
28571   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
28572   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
28573   if (!SWIG_IsOK(res1
)) { 
28574     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
28576   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
28577   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
28578   if (!SWIG_IsOK(res2
)) { 
28579     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");  
28581   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
28585       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
28591       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
28595     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
28596     if (!SWIG_IsOK(ecode5
)) { 
28597       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'"); 
28599     arg5 
= static_cast< long >(val5
); 
28603       arg6 
= wxString_in_helper(obj5
); 
28604       if (arg6 
== NULL
) SWIG_fail
; 
28609     if (!wxPyCheckForApp()) SWIG_fail
; 
28610     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28611     result 
= (wxPreviewCanvas 
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
28612     wxPyEndAllowThreads(__tstate
); 
28613     if (PyErr_Occurred()) SWIG_fail
; 
28615   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW 
|  0 ); 
28630 SWIGINTERN PyObject 
*PreviewCanvas_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28632   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28633   SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
)); 
28634   return SWIG_Py_Void(); 
28637 SWIGINTERN PyObject 
*PreviewCanvas_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28638   return SWIG_Python_InitShadowInstance(args
); 
28641 SWIGINTERN PyObject 
*_wrap_new_PreviewFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28642   PyObject 
*resultobj 
= 0; 
28643   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
28644   wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
28645   wxString 
*arg3 
= 0 ; 
28646   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
28647   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
28648   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
28649   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
28650   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
28651   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
28652   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
28653   wxPreviewFrame 
*result 
= 0 ; 
28657   bool temp3 
= false ; 
28662   bool temp7 
= false ; 
28663   PyObject 
* obj0 
= 0 ; 
28664   PyObject 
* obj1 
= 0 ; 
28665   PyObject 
* obj2 
= 0 ; 
28666   PyObject 
* obj3 
= 0 ; 
28667   PyObject 
* obj4 
= 0 ; 
28668   PyObject 
* obj5 
= 0 ; 
28669   PyObject 
* obj6 
= 0 ; 
28670   char *  kwnames
[] = { 
28671     (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
28674   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
28675   res1 
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN 
|  0 ); 
28676   if (!SWIG_IsOK(res1
)) { 
28677     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'"); 
28679   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
28680   if (!SWIG_IsOK(res2
)) { 
28681     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");  
28683   arg2 
= reinterpret_cast< wxFrame 
* >(argp2
); 
28685     arg3 
= wxString_in_helper(obj2
); 
28686     if (arg3 
== NULL
) SWIG_fail
; 
28692       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
28698       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
28702     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
28703     if (!SWIG_IsOK(ecode6
)) { 
28704       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'"); 
28706     arg6 
= static_cast< long >(val6
); 
28710       arg7 
= wxString_in_helper(obj6
); 
28711       if (arg7 
== NULL
) SWIG_fail
; 
28716     if (!wxPyCheckForApp()) SWIG_fail
; 
28717     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28718     result 
= (wxPreviewFrame 
*)new wxPreviewFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
28719     wxPyEndAllowThreads(__tstate
); 
28720     if (PyErr_Occurred()) SWIG_fail
; 
28722   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW 
|  0 ); 
28745 SWIGINTERN PyObject 
*_wrap_PreviewFrame_Initialize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28746   PyObject 
*resultobj 
= 0; 
28747   wxPreviewFrame 
*arg1 
= (wxPreviewFrame 
*) 0 ; 
28750   PyObject 
*swig_obj
[1] ; 
28752   if (!args
) SWIG_fail
; 
28753   swig_obj
[0] = args
; 
28754   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 |  0 ); 
28755   if (!SWIG_IsOK(res1
)) { 
28756     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");  
28758   arg1 
= reinterpret_cast< wxPreviewFrame 
* >(argp1
); 
28760     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28761     (arg1
)->Initialize(); 
28762     wxPyEndAllowThreads(__tstate
); 
28763     if (PyErr_Occurred()) SWIG_fail
; 
28765   resultobj 
= SWIG_Py_Void(); 
28772 SWIGINTERN PyObject 
*_wrap_PreviewFrame_CreateControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28773   PyObject 
*resultobj 
= 0; 
28774   wxPreviewFrame 
*arg1 
= (wxPreviewFrame 
*) 0 ; 
28777   PyObject 
*swig_obj
[1] ; 
28779   if (!args
) SWIG_fail
; 
28780   swig_obj
[0] = args
; 
28781   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 |  0 ); 
28782   if (!SWIG_IsOK(res1
)) { 
28783     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");  
28785   arg1 
= reinterpret_cast< wxPreviewFrame 
* >(argp1
); 
28787     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28788     (arg1
)->CreateControlBar(); 
28789     wxPyEndAllowThreads(__tstate
); 
28790     if (PyErr_Occurred()) SWIG_fail
; 
28792   resultobj 
= SWIG_Py_Void(); 
28799 SWIGINTERN PyObject 
*_wrap_PreviewFrame_CreateCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28800   PyObject 
*resultobj 
= 0; 
28801   wxPreviewFrame 
*arg1 
= (wxPreviewFrame 
*) 0 ; 
28804   PyObject 
*swig_obj
[1] ; 
28806   if (!args
) SWIG_fail
; 
28807   swig_obj
[0] = args
; 
28808   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 |  0 ); 
28809   if (!SWIG_IsOK(res1
)) { 
28810     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");  
28812   arg1 
= reinterpret_cast< wxPreviewFrame 
* >(argp1
); 
28814     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28815     (arg1
)->CreateCanvas(); 
28816     wxPyEndAllowThreads(__tstate
); 
28817     if (PyErr_Occurred()) SWIG_fail
; 
28819   resultobj 
= SWIG_Py_Void(); 
28826 SWIGINTERN PyObject 
*_wrap_PreviewFrame_GetControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28827   PyObject 
*resultobj 
= 0; 
28828   wxPreviewFrame 
*arg1 
= (wxPreviewFrame 
*) 0 ; 
28829   wxPreviewControlBar 
*result 
= 0 ; 
28832   PyObject 
*swig_obj
[1] ; 
28834   if (!args
) SWIG_fail
; 
28835   swig_obj
[0] = args
; 
28836   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 |  0 ); 
28837   if (!SWIG_IsOK(res1
)) { 
28838     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");  
28840   arg1 
= reinterpret_cast< wxPreviewFrame 
* >(argp1
); 
28842     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28843     result 
= (wxPreviewControlBar 
*)((wxPreviewFrame 
const *)arg1
)->GetControlBar(); 
28844     wxPyEndAllowThreads(__tstate
); 
28845     if (PyErr_Occurred()) SWIG_fail
; 
28847   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
28854 SWIGINTERN PyObject 
*PreviewFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28856   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28857   SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
)); 
28858   return SWIG_Py_Void(); 
28861 SWIGINTERN PyObject 
*PreviewFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28862   return SWIG_Python_InitShadowInstance(args
); 
28865 SWIGINTERN PyObject 
*_wrap_new_PreviewControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28866   PyObject 
*resultobj 
= 0; 
28867   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
28869   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
28870   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
28871   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
28872   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
28873   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
28874   long arg6 
= (long) wxTAB_TRAVERSAL 
; 
28875   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
28876   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
28877   wxPreviewControlBar 
*result 
= 0 ; 
28888   bool temp7 
= false ; 
28889   PyObject 
* obj0 
= 0 ; 
28890   PyObject 
* obj1 
= 0 ; 
28891   PyObject 
* obj2 
= 0 ; 
28892   PyObject 
* obj3 
= 0 ; 
28893   PyObject 
* obj4 
= 0 ; 
28894   PyObject 
* obj5 
= 0 ; 
28895   PyObject 
* obj6 
= 0 ; 
28896   char *  kwnames
[] = { 
28897     (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
28900   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
28901   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
28902   if (!SWIG_IsOK(res1
)) { 
28903     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
28905   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
28906   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
28907   if (!SWIG_IsOK(ecode2
)) { 
28908     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'"); 
28910   arg2 
= static_cast< long >(val2
); 
28911   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
28912   if (!SWIG_IsOK(res3
)) { 
28913     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");  
28915   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
28919       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
28925       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
28929     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
28930     if (!SWIG_IsOK(ecode6
)) { 
28931       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'"); 
28933     arg6 
= static_cast< long >(val6
); 
28937       arg7 
= wxString_in_helper(obj6
); 
28938       if (arg7 
== NULL
) SWIG_fail
; 
28943     if (!wxPyCheckForApp()) SWIG_fail
; 
28944     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28945     result 
= (wxPreviewControlBar 
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
28946     wxPyEndAllowThreads(__tstate
); 
28947     if (PyErr_Occurred()) SWIG_fail
; 
28949   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW 
|  0 ); 
28964 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_GetZoomControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28965   PyObject 
*resultobj 
= 0; 
28966   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
28970   PyObject 
*swig_obj
[1] ; 
28972   if (!args
) SWIG_fail
; 
28973   swig_obj
[0] = args
; 
28974   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
28975   if (!SWIG_IsOK(res1
)) { 
28976     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
28978   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
28980     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28981     result 
= (int)(arg1
)->GetZoomControl(); 
28982     wxPyEndAllowThreads(__tstate
); 
28983     if (PyErr_Occurred()) SWIG_fail
; 
28985   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
28992 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_SetZoomControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28993   PyObject 
*resultobj 
= 0; 
28994   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29000   PyObject 
* obj0 
= 0 ; 
29001   PyObject 
* obj1 
= 0 ; 
29002   char *  kwnames
[] = { 
29003     (char *) "self",(char *) "zoom", NULL 
 
29006   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29007   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29008   if (!SWIG_IsOK(res1
)) { 
29009     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29011   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29012   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
29013   if (!SWIG_IsOK(ecode2
)) { 
29014     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'"); 
29016   arg2 
= static_cast< int >(val2
); 
29018     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29019     (arg1
)->SetZoomControl(arg2
); 
29020     wxPyEndAllowThreads(__tstate
); 
29021     if (PyErr_Occurred()) SWIG_fail
; 
29023   resultobj 
= SWIG_Py_Void(); 
29030 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_GetPrintPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29031   PyObject 
*resultobj 
= 0; 
29032   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29033   wxPrintPreview 
*result 
= 0 ; 
29036   PyObject 
*swig_obj
[1] ; 
29038   if (!args
) SWIG_fail
; 
29039   swig_obj
[0] = args
; 
29040   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29041   if (!SWIG_IsOK(res1
)) { 
29042     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29044   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29046     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29047     result 
= (wxPrintPreview 
*)(arg1
)->GetPrintPreview(); 
29048     wxPyEndAllowThreads(__tstate
); 
29049     if (PyErr_Occurred()) SWIG_fail
; 
29051   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29058 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnNext(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29059   PyObject 
*resultobj 
= 0; 
29060   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29063   PyObject 
*swig_obj
[1] ; 
29065   if (!args
) SWIG_fail
; 
29066   swig_obj
[0] = args
; 
29067   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29068   if (!SWIG_IsOK(res1
)) { 
29069     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29071   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29073     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29075     wxPyEndAllowThreads(__tstate
); 
29076     if (PyErr_Occurred()) SWIG_fail
; 
29078   resultobj 
= SWIG_Py_Void(); 
29085 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnPrevious(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29086   PyObject 
*resultobj 
= 0; 
29087   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29090   PyObject 
*swig_obj
[1] ; 
29092   if (!args
) SWIG_fail
; 
29093   swig_obj
[0] = args
; 
29094   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29095   if (!SWIG_IsOK(res1
)) { 
29096     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29098   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29100     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29101     (arg1
)->OnPrevious(); 
29102     wxPyEndAllowThreads(__tstate
); 
29103     if (PyErr_Occurred()) SWIG_fail
; 
29105   resultobj 
= SWIG_Py_Void(); 
29112 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnFirst(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29113   PyObject 
*resultobj 
= 0; 
29114   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29117   PyObject 
*swig_obj
[1] ; 
29119   if (!args
) SWIG_fail
; 
29120   swig_obj
[0] = args
; 
29121   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29122   if (!SWIG_IsOK(res1
)) { 
29123     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29125   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29127     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29129     wxPyEndAllowThreads(__tstate
); 
29130     if (PyErr_Occurred()) SWIG_fail
; 
29132   resultobj 
= SWIG_Py_Void(); 
29139 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnLast(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29140   PyObject 
*resultobj 
= 0; 
29141   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29144   PyObject 
*swig_obj
[1] ; 
29146   if (!args
) SWIG_fail
; 
29147   swig_obj
[0] = args
; 
29148   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29149   if (!SWIG_IsOK(res1
)) { 
29150     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29152   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29154     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29156     wxPyEndAllowThreads(__tstate
); 
29157     if (PyErr_Occurred()) SWIG_fail
; 
29159   resultobj 
= SWIG_Py_Void(); 
29166 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnGoto(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29167   PyObject 
*resultobj 
= 0; 
29168   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29171   PyObject 
*swig_obj
[1] ; 
29173   if (!args
) SWIG_fail
; 
29174   swig_obj
[0] = args
; 
29175   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29176   if (!SWIG_IsOK(res1
)) { 
29177     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29179   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29181     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29183     wxPyEndAllowThreads(__tstate
); 
29184     if (PyErr_Occurred()) SWIG_fail
; 
29186   resultobj 
= SWIG_Py_Void(); 
29193 SWIGINTERN PyObject 
*PreviewControlBar_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29195   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
29196   SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
)); 
29197   return SWIG_Py_Void(); 
29200 SWIGINTERN PyObject 
*PreviewControlBar_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29201   return SWIG_Python_InitShadowInstance(args
); 
29204 SWIGINTERN PyObject 
*_wrap_new_PrintPreview__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
29205   PyObject 
*resultobj 
= 0; 
29206   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
29207   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
29208   wxPrintDialogData 
*arg3 
= (wxPrintDialogData 
*) NULL 
; 
29209   wxPrintPreview 
*result 
= 0 ; 
29215   if ((nobjs 
< 2) || (nobjs 
> 3)) SWIG_fail
; 
29216   res1 
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29217   if (!SWIG_IsOK(res1
)) { 
29218     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'"); 
29220   res2 
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29221   if (!SWIG_IsOK(res2
)) { 
29222     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
29225     res3 
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
29226     if (!SWIG_IsOK(res3
)) { 
29227       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");  
29229     arg3 
= reinterpret_cast< wxPrintDialogData 
* >(argp3
); 
29232     if (!wxPyCheckForApp()) SWIG_fail
; 
29233     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29234     result 
= (wxPrintPreview 
*)new wxPrintPreview(arg1
,arg2
,arg3
); 
29235     wxPyEndAllowThreads(__tstate
); 
29236     if (PyErr_Occurred()) SWIG_fail
; 
29238   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW 
|  0 ); 
29245 SWIGINTERN PyObject 
*_wrap_new_PrintPreview__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
29246   PyObject 
*resultobj 
= 0; 
29247   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
29248   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
29249   wxPrintData 
*arg3 
= (wxPrintData 
*) 0 ; 
29250   wxPrintPreview 
*result 
= 0 ; 
29256   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
29257   res1 
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29258   if (!SWIG_IsOK(res1
)) { 
29259     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'"); 
29261   res2 
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29262   if (!SWIG_IsOK(res2
)) { 
29263     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
29265   res3 
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
29266   if (!SWIG_IsOK(res3
)) { 
29267     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");  
29269   arg3 
= reinterpret_cast< wxPrintData 
* >(argp3
); 
29271     if (!wxPyCheckForApp()) SWIG_fail
; 
29272     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29273     result 
= (wxPrintPreview 
*)new wxPrintPreview(arg1
,arg2
,arg3
); 
29274     wxPyEndAllowThreads(__tstate
); 
29275     if (PyErr_Occurred()) SWIG_fail
; 
29277   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW 
|  0 ); 
29284 SWIGINTERN PyObject 
*_wrap_new_PrintPreview(PyObject 
*self
, PyObject 
*args
) { 
29288   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
; 
29290   if ((argc 
>= 2) && (argc 
<= 3)) { 
29295         int res 
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0); 
29296         _v 
= SWIG_CheckState(res
); 
29298       if (!_v
) goto check_1
; 
29300     return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
); 
29305     return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
); 
29309   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'"); 
29314 SWIGINTERN PyObject 
*_wrap_delete_PrintPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29315   PyObject 
*resultobj 
= 0; 
29316   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29319   PyObject 
*swig_obj
[1] ; 
29321   if (!args
) SWIG_fail
; 
29322   swig_obj
[0] = args
; 
29323   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN 
|  0 ); 
29324   if (!SWIG_IsOK(res1
)) { 
29325     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29327   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29329     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29332     wxPyEndAllowThreads(__tstate
); 
29333     if (PyErr_Occurred()) SWIG_fail
; 
29335   resultobj 
= SWIG_Py_Void(); 
29342 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetCurrentPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29343   PyObject 
*resultobj 
= 0; 
29344   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29351   PyObject 
* obj0 
= 0 ; 
29352   PyObject 
* obj1 
= 0 ; 
29353   char *  kwnames
[] = { 
29354     (char *) "self",(char *) "pageNum", NULL 
 
29357   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29358   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29359   if (!SWIG_IsOK(res1
)) { 
29360     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29362   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29363   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
29364   if (!SWIG_IsOK(ecode2
)) { 
29365     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'"); 
29367   arg2 
= static_cast< int >(val2
); 
29369     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29370     result 
= (bool)(arg1
)->SetCurrentPage(arg2
); 
29371     wxPyEndAllowThreads(__tstate
); 
29372     if (PyErr_Occurred()) SWIG_fail
; 
29375     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29383 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetCurrentPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29384   PyObject 
*resultobj 
= 0; 
29385   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29389   PyObject 
*swig_obj
[1] ; 
29391   if (!args
) SWIG_fail
; 
29392   swig_obj
[0] = args
; 
29393   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29394   if (!SWIG_IsOK(res1
)) { 
29395     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29397   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29399     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29400     result 
= (int)(arg1
)->GetCurrentPage(); 
29401     wxPyEndAllowThreads(__tstate
); 
29402     if (PyErr_Occurred()) SWIG_fail
; 
29404   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
29411 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetPrintout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29412   PyObject 
*resultobj 
= 0; 
29413   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29414   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
29418   PyObject 
* obj0 
= 0 ; 
29419   PyObject 
* obj1 
= 0 ; 
29420   char *  kwnames
[] = { 
29421     (char *) "self",(char *) "printout", NULL 
 
29424   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29425   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29426   if (!SWIG_IsOK(res1
)) { 
29427     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29429   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29430   res2 
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29431   if (!SWIG_IsOK(res2
)) { 
29432     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
29435     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29436     (arg1
)->SetPrintout(arg2
); 
29437     wxPyEndAllowThreads(__tstate
); 
29438     if (PyErr_Occurred()) SWIG_fail
; 
29440   resultobj 
= SWIG_Py_Void(); 
29447 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetPrintout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29448   PyObject 
*resultobj 
= 0; 
29449   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29450   wxPyPrintout 
*result 
= 0 ; 
29453   PyObject 
*swig_obj
[1] ; 
29455   if (!args
) SWIG_fail
; 
29456   swig_obj
[0] = args
; 
29457   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29458   if (!SWIG_IsOK(res1
)) { 
29459     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29461   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29463     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29464     result 
= (wxPyPrintout 
*)(arg1
)->GetPrintout(); 
29465     wxPyEndAllowThreads(__tstate
); 
29466     if (PyErr_Occurred()) SWIG_fail
; 
29469     resultobj 
= wxPyMake_wxObject(result
, 0);  
29477 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29478   PyObject 
*resultobj 
= 0; 
29479   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29480   wxPyPrintout 
*result 
= 0 ; 
29483   PyObject 
*swig_obj
[1] ; 
29485   if (!args
) SWIG_fail
; 
29486   swig_obj
[0] = args
; 
29487   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29488   if (!SWIG_IsOK(res1
)) { 
29489     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29491   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29493     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29494     result 
= (wxPyPrintout 
*)(arg1
)->GetPrintoutForPrinting(); 
29495     wxPyEndAllowThreads(__tstate
); 
29496     if (PyErr_Occurred()) SWIG_fail
; 
29499     resultobj 
= wxPyMake_wxObject(result
, 0);  
29507 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29508   PyObject 
*resultobj 
= 0; 
29509   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29510   wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
29515   PyObject 
* obj0 
= 0 ; 
29516   PyObject 
* obj1 
= 0 ; 
29517   char *  kwnames
[] = { 
29518     (char *) "self",(char *) "frame", NULL 
 
29521   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29522   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29523   if (!SWIG_IsOK(res1
)) { 
29524     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29526   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29527   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
29528   if (!SWIG_IsOK(res2
)) { 
29529     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");  
29531   arg2 
= reinterpret_cast< wxFrame 
* >(argp2
); 
29533     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29534     (arg1
)->SetFrame(arg2
); 
29535     wxPyEndAllowThreads(__tstate
); 
29536     if (PyErr_Occurred()) SWIG_fail
; 
29538   resultobj 
= SWIG_Py_Void(); 
29545 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29546   PyObject 
*resultobj 
= 0; 
29547   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29548   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
29553   PyObject 
* obj0 
= 0 ; 
29554   PyObject 
* obj1 
= 0 ; 
29555   char *  kwnames
[] = { 
29556     (char *) "self",(char *) "canvas", NULL 
 
29559   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29560   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29561   if (!SWIG_IsOK(res1
)) { 
29562     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29564   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29565   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29566   if (!SWIG_IsOK(res2
)) { 
29567     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
29569   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
29571     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29572     (arg1
)->SetCanvas(arg2
); 
29573     wxPyEndAllowThreads(__tstate
); 
29574     if (PyErr_Occurred()) SWIG_fail
; 
29576   resultobj 
= SWIG_Py_Void(); 
29583 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29584   PyObject 
*resultobj 
= 0; 
29585   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29586   wxFrame 
*result 
= 0 ; 
29589   PyObject 
*swig_obj
[1] ; 
29591   if (!args
) SWIG_fail
; 
29592   swig_obj
[0] = args
; 
29593   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29594   if (!SWIG_IsOK(res1
)) { 
29595     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29597   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29599     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29600     result 
= (wxFrame 
*)(arg1
)->GetFrame(); 
29601     wxPyEndAllowThreads(__tstate
); 
29602     if (PyErr_Occurred()) SWIG_fail
; 
29605     resultobj 
= wxPyMake_wxObject(result
, 0);  
29613 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29614   PyObject 
*resultobj 
= 0; 
29615   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29616   wxPreviewCanvas 
*result 
= 0 ; 
29619   PyObject 
*swig_obj
[1] ; 
29621   if (!args
) SWIG_fail
; 
29622   swig_obj
[0] = args
; 
29623   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29624   if (!SWIG_IsOK(res1
)) { 
29625     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29627   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29629     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29630     result 
= (wxPreviewCanvas 
*)(arg1
)->GetCanvas(); 
29631     wxPyEndAllowThreads(__tstate
); 
29632     if (PyErr_Occurred()) SWIG_fail
; 
29634   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29641 SWIGINTERN PyObject 
*_wrap_PrintPreview_PaintPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29642   PyObject 
*resultobj 
= 0; 
29643   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29644   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
29653   PyObject 
* obj0 
= 0 ; 
29654   PyObject 
* obj1 
= 0 ; 
29655   PyObject 
* obj2 
= 0 ; 
29656   char *  kwnames
[] = { 
29657     (char *) "self",(char *) "canvas",(char *) "dc", NULL 
 
29660   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
29661   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29662   if (!SWIG_IsOK(res1
)) { 
29663     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29665   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29666   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29667   if (!SWIG_IsOK(res2
)) { 
29668     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
29670   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
29671   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
29672   if (!SWIG_IsOK(res3
)) { 
29673     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");  
29676     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");  
29678   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
29680     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29681     result 
= (bool)(arg1
)->PaintPage(arg2
,*arg3
); 
29682     wxPyEndAllowThreads(__tstate
); 
29683     if (PyErr_Occurred()) SWIG_fail
; 
29686     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29694 SWIGINTERN PyObject 
*_wrap_PrintPreview_DrawBlankPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29695   PyObject 
*resultobj 
= 0; 
29696   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29697   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
29706   PyObject 
* obj0 
= 0 ; 
29707   PyObject 
* obj1 
= 0 ; 
29708   PyObject 
* obj2 
= 0 ; 
29709   char *  kwnames
[] = { 
29710     (char *) "self",(char *) "canvas",(char *) "dc", NULL 
 
29713   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
29714   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29715   if (!SWIG_IsOK(res1
)) { 
29716     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29718   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29719   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29720   if (!SWIG_IsOK(res2
)) { 
29721     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
29723   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
29724   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
29725   if (!SWIG_IsOK(res3
)) { 
29726     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");  
29729     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");  
29731   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
29733     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29734     result 
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
); 
29735     wxPyEndAllowThreads(__tstate
); 
29736     if (PyErr_Occurred()) SWIG_fail
; 
29739     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29747 SWIGINTERN PyObject 
*_wrap_PrintPreview_RenderPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29748   PyObject 
*resultobj 
= 0; 
29749   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29756   PyObject 
* obj0 
= 0 ; 
29757   PyObject 
* obj1 
= 0 ; 
29758   char *  kwnames
[] = { 
29759     (char *) "self",(char *) "pageNum", NULL 
 
29762   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29763   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29764   if (!SWIG_IsOK(res1
)) { 
29765     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29767   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29768   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
29769   if (!SWIG_IsOK(ecode2
)) { 
29770     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'"); 
29772   arg2 
= static_cast< int >(val2
); 
29774     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29775     result 
= (bool)(arg1
)->RenderPage(arg2
); 
29776     wxPyEndAllowThreads(__tstate
); 
29777     if (PyErr_Occurred()) SWIG_fail
; 
29780     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29788 SWIGINTERN PyObject 
*_wrap_PrintPreview_AdjustScrollbars(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29789   PyObject 
*resultobj 
= 0; 
29790   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29791   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
29796   PyObject 
* obj0 
= 0 ; 
29797   PyObject 
* obj1 
= 0 ; 
29798   char *  kwnames
[] = { 
29799     (char *) "self",(char *) "canvas", NULL 
 
29802   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29803   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29804   if (!SWIG_IsOK(res1
)) { 
29805     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29807   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29808   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29809   if (!SWIG_IsOK(res2
)) { 
29810     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
29812   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
29814     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29815     (arg1
)->AdjustScrollbars(arg2
); 
29816     wxPyEndAllowThreads(__tstate
); 
29817     if (PyErr_Occurred()) SWIG_fail
; 
29819   resultobj 
= SWIG_Py_Void(); 
29826 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetPrintDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29827   PyObject 
*resultobj 
= 0; 
29828   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29829   wxPrintDialogData 
*result 
= 0 ; 
29832   PyObject 
*swig_obj
[1] ; 
29834   if (!args
) SWIG_fail
; 
29835   swig_obj
[0] = args
; 
29836   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29837   if (!SWIG_IsOK(res1
)) { 
29838     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29840   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29842     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29844       wxPrintDialogData 
&_result_ref 
= (arg1
)->GetPrintDialogData(); 
29845       result 
= (wxPrintDialogData 
*) &_result_ref
; 
29847     wxPyEndAllowThreads(__tstate
); 
29848     if (PyErr_Occurred()) SWIG_fail
; 
29850   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
29857 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetZoom(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29858   PyObject 
*resultobj 
= 0; 
29859   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29865   PyObject 
* obj0 
= 0 ; 
29866   PyObject 
* obj1 
= 0 ; 
29867   char *  kwnames
[] = { 
29868     (char *) "self",(char *) "percent", NULL 
 
29871   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29872   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29873   if (!SWIG_IsOK(res1
)) { 
29874     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29876   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29877   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
29878   if (!SWIG_IsOK(ecode2
)) { 
29879     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'"); 
29881   arg2 
= static_cast< int >(val2
); 
29883     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29884     (arg1
)->SetZoom(arg2
); 
29885     wxPyEndAllowThreads(__tstate
); 
29886     if (PyErr_Occurred()) SWIG_fail
; 
29888   resultobj 
= SWIG_Py_Void(); 
29895 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetZoom(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29896   PyObject 
*resultobj 
= 0; 
29897   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29901   PyObject 
*swig_obj
[1] ; 
29903   if (!args
) SWIG_fail
; 
29904   swig_obj
[0] = args
; 
29905   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29906   if (!SWIG_IsOK(res1
)) { 
29907     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29909   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29911     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29912     result 
= (int)(arg1
)->GetZoom(); 
29913     wxPyEndAllowThreads(__tstate
); 
29914     if (PyErr_Occurred()) SWIG_fail
; 
29916   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
29923 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetMaxPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29924   PyObject 
*resultobj 
= 0; 
29925   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29929   PyObject 
*swig_obj
[1] ; 
29931   if (!args
) SWIG_fail
; 
29932   swig_obj
[0] = args
; 
29933   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29934   if (!SWIG_IsOK(res1
)) { 
29935     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29937   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29939     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29940     result 
= (int)(arg1
)->GetMaxPage(); 
29941     wxPyEndAllowThreads(__tstate
); 
29942     if (PyErr_Occurred()) SWIG_fail
; 
29944   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
29951 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetMinPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29952   PyObject 
*resultobj 
= 0; 
29953   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29957   PyObject 
*swig_obj
[1] ; 
29959   if (!args
) SWIG_fail
; 
29960   swig_obj
[0] = args
; 
29961   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29962   if (!SWIG_IsOK(res1
)) { 
29963     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29965   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29967     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29968     result 
= (int)(arg1
)->GetMinPage(); 
29969     wxPyEndAllowThreads(__tstate
); 
29970     if (PyErr_Occurred()) SWIG_fail
; 
29972   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
29979 SWIGINTERN PyObject 
*_wrap_PrintPreview_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29980   PyObject 
*resultobj 
= 0; 
29981   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29985   PyObject 
*swig_obj
[1] ; 
29987   if (!args
) SWIG_fail
; 
29988   swig_obj
[0] = args
; 
29989   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29990   if (!SWIG_IsOK(res1
)) { 
29991     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29993   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29995     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29996     result 
= (bool)(arg1
)->Ok(); 
29997     wxPyEndAllowThreads(__tstate
); 
29998     if (PyErr_Occurred()) SWIG_fail
; 
30001     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30009 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30010   PyObject 
*resultobj 
= 0; 
30011   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30017   PyObject 
* obj0 
= 0 ; 
30018   PyObject 
* obj1 
= 0 ; 
30019   char *  kwnames
[] = { 
30020     (char *) "self",(char *) "ok", NULL 
 
30023   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30024   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30025   if (!SWIG_IsOK(res1
)) { 
30026     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30028   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30029   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
30030   if (!SWIG_IsOK(ecode2
)) { 
30031     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'"); 
30033   arg2 
= static_cast< bool >(val2
); 
30035     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30036     (arg1
)->SetOk(arg2
); 
30037     wxPyEndAllowThreads(__tstate
); 
30038     if (PyErr_Occurred()) SWIG_fail
; 
30040   resultobj 
= SWIG_Py_Void(); 
30047 SWIGINTERN PyObject 
*_wrap_PrintPreview_Print(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30048   PyObject 
*resultobj 
= 0; 
30049   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30056   PyObject 
* obj0 
= 0 ; 
30057   PyObject 
* obj1 
= 0 ; 
30058   char *  kwnames
[] = { 
30059     (char *) "self",(char *) "interactive", NULL 
 
30062   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30063   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30064   if (!SWIG_IsOK(res1
)) { 
30065     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30067   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30068   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
30069   if (!SWIG_IsOK(ecode2
)) { 
30070     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'"); 
30072   arg2 
= static_cast< bool >(val2
); 
30074     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30075     result 
= (bool)(arg1
)->Print(arg2
); 
30076     wxPyEndAllowThreads(__tstate
); 
30077     if (PyErr_Occurred()) SWIG_fail
; 
30080     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30088 SWIGINTERN PyObject 
*_wrap_PrintPreview_DetermineScaling(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30089   PyObject 
*resultobj 
= 0; 
30090   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30093   PyObject 
*swig_obj
[1] ; 
30095   if (!args
) SWIG_fail
; 
30096   swig_obj
[0] = args
; 
30097   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30098   if (!SWIG_IsOK(res1
)) { 
30099     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30101   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30103     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30104     (arg1
)->DetermineScaling(); 
30105     wxPyEndAllowThreads(__tstate
); 
30106     if (PyErr_Occurred()) SWIG_fail
; 
30108   resultobj 
= SWIG_Py_Void(); 
30115 SWIGINTERN PyObject 
*PrintPreview_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30117   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
30118   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
)); 
30119   return SWIG_Py_Void(); 
30122 SWIGINTERN PyObject 
*PrintPreview_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30123   return SWIG_Python_InitShadowInstance(args
); 
30126 SWIGINTERN PyObject 
*_wrap_new_PyPrintPreview__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
30127   PyObject 
*resultobj 
= 0; 
30128   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
30129   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
30130   wxPrintDialogData 
*arg3 
= (wxPrintDialogData 
*) NULL 
; 
30131   wxPyPrintPreview 
*result 
= 0 ; 
30137   if ((nobjs 
< 2) || (nobjs 
> 3)) SWIG_fail
; 
30138   res1 
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
30139   if (!SWIG_IsOK(res1
)) { 
30140     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'"); 
30142   res2 
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
30143   if (!SWIG_IsOK(res2
)) { 
30144     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
30147     res3 
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
30148     if (!SWIG_IsOK(res3
)) { 
30149       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");  
30151     arg3 
= reinterpret_cast< wxPrintDialogData 
* >(argp3
); 
30154     if (!wxPyCheckForApp()) SWIG_fail
; 
30155     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30156     result 
= (wxPyPrintPreview 
*)new wxPyPrintPreview(arg1
,arg2
,arg3
); 
30157     wxPyEndAllowThreads(__tstate
); 
30158     if (PyErr_Occurred()) SWIG_fail
; 
30160   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW 
|  0 ); 
30167 SWIGINTERN PyObject 
*_wrap_new_PyPrintPreview__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
30168   PyObject 
*resultobj 
= 0; 
30169   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
30170   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
30171   wxPrintData 
*arg3 
= (wxPrintData 
*) 0 ; 
30172   wxPyPrintPreview 
*result 
= 0 ; 
30178   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
30179   res1 
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
30180   if (!SWIG_IsOK(res1
)) { 
30181     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'"); 
30183   res2 
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
30184   if (!SWIG_IsOK(res2
)) { 
30185     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
30187   res3 
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
30188   if (!SWIG_IsOK(res3
)) { 
30189     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");  
30191   arg3 
= reinterpret_cast< wxPrintData 
* >(argp3
); 
30193     if (!wxPyCheckForApp()) SWIG_fail
; 
30194     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30195     result 
= (wxPyPrintPreview 
*)new wxPyPrintPreview(arg1
,arg2
,arg3
); 
30196     wxPyEndAllowThreads(__tstate
); 
30197     if (PyErr_Occurred()) SWIG_fail
; 
30199   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW 
|  0 ); 
30206 SWIGINTERN PyObject 
*_wrap_new_PyPrintPreview(PyObject 
*self
, PyObject 
*args
) { 
30210   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
; 
30212   if ((argc 
>= 2) && (argc 
<= 3)) { 
30217         int res 
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0); 
30218         _v 
= SWIG_CheckState(res
); 
30220       if (!_v
) goto check_1
; 
30222     return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
); 
30227     return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
); 
30231   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'"); 
30236 SWIGINTERN PyObject 
*_wrap_PyPrintPreview__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30237   PyObject 
*resultobj 
= 0; 
30238   wxPyPrintPreview 
*arg1 
= (wxPyPrintPreview 
*) 0 ; 
30239   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
30240   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
30243   PyObject 
* obj0 
= 0 ; 
30244   PyObject 
* obj1 
= 0 ; 
30245   PyObject 
* obj2 
= 0 ; 
30246   char *  kwnames
[] = { 
30247     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
30250   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
30251   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 |  0 ); 
30252   if (!SWIG_IsOK(res1
)) { 
30253     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");  
30255   arg1 
= reinterpret_cast< wxPyPrintPreview 
* >(argp1
); 
30259     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30260     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
30261     wxPyEndAllowThreads(__tstate
); 
30262     if (PyErr_Occurred()) SWIG_fail
; 
30264   resultobj 
= SWIG_Py_Void(); 
30271 SWIGINTERN PyObject 
*PyPrintPreview_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30273   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
30274   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
)); 
30275   return SWIG_Py_Void(); 
30278 SWIGINTERN PyObject 
*PyPrintPreview_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30279   return SWIG_Python_InitShadowInstance(args
); 
30282 SWIGINTERN PyObject 
*_wrap_new_PyPreviewFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30283   PyObject 
*resultobj 
= 0; 
30284   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30285   wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
30286   wxString 
*arg3 
= 0 ; 
30287   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
30288   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
30289   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
30290   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
30291   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
30292   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
30293   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
30294   wxPyPreviewFrame 
*result 
= 0 ; 
30299   bool temp3 
= false ; 
30304   bool temp7 
= false ; 
30305   PyObject 
* obj0 
= 0 ; 
30306   PyObject 
* obj1 
= 0 ; 
30307   PyObject 
* obj2 
= 0 ; 
30308   PyObject 
* obj3 
= 0 ; 
30309   PyObject 
* obj4 
= 0 ; 
30310   PyObject 
* obj5 
= 0 ; 
30311   PyObject 
* obj6 
= 0 ; 
30312   char *  kwnames
[] = { 
30313     (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
30316   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
30317   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30318   if (!SWIG_IsOK(res1
)) { 
30319     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30321   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30322   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
30323   if (!SWIG_IsOK(res2
)) { 
30324     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");  
30326   arg2 
= reinterpret_cast< wxFrame 
* >(argp2
); 
30328     arg3 
= wxString_in_helper(obj2
); 
30329     if (arg3 
== NULL
) SWIG_fail
; 
30335       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
30341       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
30345     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
30346     if (!SWIG_IsOK(ecode6
)) { 
30347       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'"); 
30349     arg6 
= static_cast< long >(val6
); 
30353       arg7 
= wxString_in_helper(obj6
); 
30354       if (arg7 
== NULL
) SWIG_fail
; 
30359     if (!wxPyCheckForApp()) SWIG_fail
; 
30360     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30361     result 
= (wxPyPreviewFrame 
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
30362     wxPyEndAllowThreads(__tstate
); 
30363     if (PyErr_Occurred()) SWIG_fail
; 
30365   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW 
|  0 ); 
30388 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30389   PyObject 
*resultobj 
= 0; 
30390   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30391   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
30392   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
30395   PyObject 
* obj0 
= 0 ; 
30396   PyObject 
* obj1 
= 0 ; 
30397   PyObject 
* obj2 
= 0 ; 
30398   char *  kwnames
[] = { 
30399     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
30402   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
30403   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30404   if (!SWIG_IsOK(res1
)) { 
30405     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30407   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30411     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30412     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
30413     wxPyEndAllowThreads(__tstate
); 
30414     if (PyErr_Occurred()) SWIG_fail
; 
30416   resultobj 
= SWIG_Py_Void(); 
30423 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30424   PyObject 
*resultobj 
= 0; 
30425   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30426   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
30431   PyObject 
* obj0 
= 0 ; 
30432   PyObject 
* obj1 
= 0 ; 
30433   char *  kwnames
[] = { 
30434     (char *) "self",(char *) "canvas", NULL 
 
30437   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30438   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30439   if (!SWIG_IsOK(res1
)) { 
30440     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30442   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30443   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
30444   if (!SWIG_IsOK(res2
)) { 
30445     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
30447   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
30449     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30450     (arg1
)->SetPreviewCanvas(arg2
); 
30451     wxPyEndAllowThreads(__tstate
); 
30452     if (PyErr_Occurred()) SWIG_fail
; 
30454   resultobj 
= SWIG_Py_Void(); 
30461 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_SetControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30462   PyObject 
*resultobj 
= 0; 
30463   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30464   wxPreviewControlBar 
*arg2 
= (wxPreviewControlBar 
*) 0 ; 
30469   PyObject 
* obj0 
= 0 ; 
30470   PyObject 
* obj1 
= 0 ; 
30471   char *  kwnames
[] = { 
30472     (char *) "self",(char *) "bar", NULL 
 
30475   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30476   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30477   if (!SWIG_IsOK(res1
)) { 
30478     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30480   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30481   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
30482   if (!SWIG_IsOK(res2
)) { 
30483     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");  
30485   arg2 
= reinterpret_cast< wxPreviewControlBar 
* >(argp2
); 
30487     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30488     (arg1
)->SetControlBar(arg2
); 
30489     wxPyEndAllowThreads(__tstate
); 
30490     if (PyErr_Occurred()) SWIG_fail
; 
30492   resultobj 
= SWIG_Py_Void(); 
30499 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_Initialize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30500   PyObject 
*resultobj 
= 0; 
30501   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30504   PyObject 
*swig_obj
[1] ; 
30506   if (!args
) SWIG_fail
; 
30507   swig_obj
[0] = args
; 
30508   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30509   if (!SWIG_IsOK(res1
)) { 
30510     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30512   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30514     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30515     (arg1
)->Initialize(); 
30516     wxPyEndAllowThreads(__tstate
); 
30517     if (PyErr_Occurred()) SWIG_fail
; 
30519   resultobj 
= SWIG_Py_Void(); 
30526 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_CreateCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30527   PyObject 
*resultobj 
= 0; 
30528   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30531   PyObject 
*swig_obj
[1] ; 
30533   if (!args
) SWIG_fail
; 
30534   swig_obj
[0] = args
; 
30535   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30536   if (!SWIG_IsOK(res1
)) { 
30537     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30539   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30541     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30542     (arg1
)->CreateCanvas(); 
30543     wxPyEndAllowThreads(__tstate
); 
30544     if (PyErr_Occurred()) SWIG_fail
; 
30546   resultobj 
= SWIG_Py_Void(); 
30553 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_CreateControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30554   PyObject 
*resultobj 
= 0; 
30555   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30558   PyObject 
*swig_obj
[1] ; 
30560   if (!args
) SWIG_fail
; 
30561   swig_obj
[0] = args
; 
30562   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30563   if (!SWIG_IsOK(res1
)) { 
30564     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30566   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30568     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30569     (arg1
)->CreateControlBar(); 
30570     wxPyEndAllowThreads(__tstate
); 
30571     if (PyErr_Occurred()) SWIG_fail
; 
30573   resultobj 
= SWIG_Py_Void(); 
30580 SWIGINTERN PyObject 
*PyPreviewFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30582   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
30583   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
)); 
30584   return SWIG_Py_Void(); 
30587 SWIGINTERN PyObject 
*PyPreviewFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30588   return SWIG_Python_InitShadowInstance(args
); 
30591 SWIGINTERN PyObject 
*_wrap_new_PyPreviewControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30592   PyObject 
*resultobj 
= 0; 
30593   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30595   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
30596   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
30597   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
30598   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
30599   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
30600   long arg6 
= (long) 0 ; 
30601   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
30602   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
30603   wxPyPreviewControlBar 
*result 
= 0 ; 
30614   bool temp7 
= false ; 
30615   PyObject 
* obj0 
= 0 ; 
30616   PyObject 
* obj1 
= 0 ; 
30617   PyObject 
* obj2 
= 0 ; 
30618   PyObject 
* obj3 
= 0 ; 
30619   PyObject 
* obj4 
= 0 ; 
30620   PyObject 
* obj5 
= 0 ; 
30621   PyObject 
* obj6 
= 0 ; 
30622   char *  kwnames
[] = { 
30623     (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
30626   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
30627   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30628   if (!SWIG_IsOK(res1
)) { 
30629     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30631   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30632   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
30633   if (!SWIG_IsOK(ecode2
)) { 
30634     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'"); 
30636   arg2 
= static_cast< long >(val2
); 
30637   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30638   if (!SWIG_IsOK(res3
)) { 
30639     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");  
30641   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
30645       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
30651       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
30655     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
30656     if (!SWIG_IsOK(ecode6
)) { 
30657       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'"); 
30659     arg6 
= static_cast< long >(val6
); 
30663       arg7 
= wxString_in_helper(obj6
); 
30664       if (arg7 
== NULL
) SWIG_fail
; 
30669     if (!wxPyCheckForApp()) SWIG_fail
; 
30670     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30671     result 
= (wxPyPreviewControlBar 
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
30672     wxPyEndAllowThreads(__tstate
); 
30673     if (PyErr_Occurred()) SWIG_fail
; 
30675   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW 
|  0 ); 
30690 SWIGINTERN PyObject 
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30691   PyObject 
*resultobj 
= 0; 
30692   wxPyPreviewControlBar 
*arg1 
= (wxPyPreviewControlBar 
*) 0 ; 
30693   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
30694   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
30697   PyObject 
* obj0 
= 0 ; 
30698   PyObject 
* obj1 
= 0 ; 
30699   PyObject 
* obj2 
= 0 ; 
30700   char *  kwnames
[] = { 
30701     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
30704   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
30705   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 |  0 ); 
30706   if (!SWIG_IsOK(res1
)) { 
30707     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");  
30709   arg1 
= reinterpret_cast< wxPyPreviewControlBar 
* >(argp1
); 
30713     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30714     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
30715     wxPyEndAllowThreads(__tstate
); 
30716     if (PyErr_Occurred()) SWIG_fail
; 
30718   resultobj 
= SWIG_Py_Void(); 
30725 SWIGINTERN PyObject 
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30726   PyObject 
*resultobj 
= 0; 
30727   wxPyPreviewControlBar 
*arg1 
= (wxPyPreviewControlBar 
*) 0 ; 
30728   wxPrintPreview 
*arg2 
= (wxPrintPreview 
*) 0 ; 
30733   PyObject 
* obj0 
= 0 ; 
30734   PyObject 
* obj1 
= 0 ; 
30735   char *  kwnames
[] = { 
30736     (char *) "self",(char *) "preview", NULL 
 
30739   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30740   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 |  0 ); 
30741   if (!SWIG_IsOK(res1
)) { 
30742     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");  
30744   arg1 
= reinterpret_cast< wxPyPreviewControlBar 
* >(argp1
); 
30745   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30746   if (!SWIG_IsOK(res2
)) { 
30747     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");  
30749   arg2 
= reinterpret_cast< wxPrintPreview 
* >(argp2
); 
30751     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30752     (arg1
)->SetPrintPreview(arg2
); 
30753     wxPyEndAllowThreads(__tstate
); 
30754     if (PyErr_Occurred()) SWIG_fail
; 
30756   resultobj 
= SWIG_Py_Void(); 
30763 SWIGINTERN PyObject 
*_wrap_PyPreviewControlBar_CreateButtons(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30764   PyObject 
*resultobj 
= 0; 
30765   wxPyPreviewControlBar 
*arg1 
= (wxPyPreviewControlBar 
*) 0 ; 
30768   PyObject 
*swig_obj
[1] ; 
30770   if (!args
) SWIG_fail
; 
30771   swig_obj
[0] = args
; 
30772   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 |  0 ); 
30773   if (!SWIG_IsOK(res1
)) { 
30774     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");  
30776   arg1 
= reinterpret_cast< wxPyPreviewControlBar 
* >(argp1
); 
30778     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30779     (arg1
)->CreateButtons(); 
30780     wxPyEndAllowThreads(__tstate
); 
30781     if (PyErr_Occurred()) SWIG_fail
; 
30783   resultobj 
= SWIG_Py_Void(); 
30790 SWIGINTERN PyObject 
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30791   PyObject 
*resultobj 
= 0; 
30792   wxPyPreviewControlBar 
*arg1 
= (wxPyPreviewControlBar 
*) 0 ; 
30798   PyObject 
* obj0 
= 0 ; 
30799   PyObject 
* obj1 
= 0 ; 
30800   char *  kwnames
[] = { 
30801     (char *) "self",(char *) "zoom", NULL 
 
30804   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30805   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 |  0 ); 
30806   if (!SWIG_IsOK(res1
)) { 
30807     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");  
30809   arg1 
= reinterpret_cast< wxPyPreviewControlBar 
* >(argp1
); 
30810   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
30811   if (!SWIG_IsOK(ecode2
)) { 
30812     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'"); 
30814   arg2 
= static_cast< int >(val2
); 
30816     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30817     (arg1
)->SetZoomControl(arg2
); 
30818     wxPyEndAllowThreads(__tstate
); 
30819     if (PyErr_Occurred()) SWIG_fail
; 
30821   resultobj 
= SWIG_Py_Void(); 
30828 SWIGINTERN PyObject 
*PyPreviewControlBar_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30830   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
30831   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
)); 
30832   return SWIG_Py_Void(); 
30835 SWIGINTERN PyObject 
*PyPreviewControlBar_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30836   return SWIG_Python_InitShadowInstance(args
); 
30839 static PyMethodDef SwigMethods
[] = { 
30840          { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30841          { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
}, 
30842          { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30843          { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
}, 
30844          { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30845          { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
}, 
30846          { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
}, 
30847          { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30848          { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
}, 
30849          { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30850          { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30851          { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30852          { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30853          { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30854          { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30855          { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
}, 
30856          { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30857          { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
}, 
30858          { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30859          { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
}, 
30860          { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
}, 
30861          { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
}, 
30862          { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
}, 
30863          { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
}, 
30864          { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30865          { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30866          { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
}, 
30867          { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30868          { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
}, 
30869          { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30870          { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30871          { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
}, 
30872          { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
}, 
30873          { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30874          { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
}, 
30875          { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30876          { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
}, 
30877          { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
}, 
30878          { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
}, 
30879          { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
}, 
30880          { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30881          { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30882          { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30883          { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
}, 
30884          { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30885          { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
}, 
30886          { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30887          { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30888          { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
}, 
30889          { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30890          { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
}, 
30891          { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30892          { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
}, 
30893          { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30894          { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
}, 
30895          { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30896          { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
}, 
30897          { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30898          { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
}, 
30899          { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30900          { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30901          { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
}, 
30902          { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30903          { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30904          { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30905          { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30906          { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30907          { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30908          { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
}, 
30909          { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30910          { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
}, 
30911          { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30912          { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30913          { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30914          { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30915          { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
}, 
30916          { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
}, 
30917          { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30918          { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
}, 
30919          { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30920          { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30921          { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
}, 
30922          { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30923          { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
}, 
30924          { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30925          { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
}, 
30926          { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30927          { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30928          { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30929          { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
}, 
30930          { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
}, 
30931          { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30932          { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30933          { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
}, 
30934          { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
}, 
30935          { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30936          { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
}, 
30937          { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30938          { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
}, 
30939          { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
}, 
30940          { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30941          { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30942          { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
}, 
30943          { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
}, 
30944          { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
}, 
30945          { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30946          { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
}, 
30947          { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
}, 
30948          { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
}, 
30949          { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
}, 
30950          { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
}, 
30951          { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30952          { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
}, 
30953          { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30954          { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30955          { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
}, 
30956          { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30957          { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30958          { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30959          { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30960          { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30961          { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30962          { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30963          { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30964          { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
}, 
30965          { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
}, 
30966          { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30967          { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
}, 
30968          { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
}, 
30969          { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30970          { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
}, 
30971          { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30972          { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
}, 
30973          { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
}, 
30974          { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30975          { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
}, 
30976          { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30977          { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30978          { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30979          { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30980          { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30981          { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
}, 
30982          { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
}, 
30983          { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30984          { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30985          { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
}, 
30986          { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
}, 
30987          { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30988          { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
}, 
30989          { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30990          { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
}, 
30991          { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30992          { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
}, 
30993          { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30994          { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
}, 
30995          { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30996          { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
}, 
30997          { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30998          { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
}, 
30999          { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
}, 
31000          { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31001          { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31002          { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
}, 
31003          { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
}, 
31004          { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
}, 
31005          { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
}, 
31006          { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
}, 
31007          { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
}, 
31008          { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31009          { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
}, 
31010          { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31011          { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31012          { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31013          { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31014          { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31015          { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31016          { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31017          { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
}, 
31018          { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31019          { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
}, 
31020          { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31021          { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31022          { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
}, 
31023          { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
}, 
31024          { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31025          { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31026          { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
}, 
31027          { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
}, 
31028          { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31029          { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
}, 
31030          { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
}, 
31031          { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
}, 
31032          { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31033          { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31034          { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
}, 
31035          { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31036          { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
}, 
31037          { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31038          { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
}, 
31039          { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
}, 
31040          { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
}, 
31041          { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31042          { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31043          { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
}, 
31044          { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31045          { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
}, 
31046          { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31047          { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
}, 
31048          { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31049          { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
}, 
31050          { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31051          { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
}, 
31052          { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
}, 
31053          { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
}, 
31054          { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31055          { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31056          { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
}, 
31057          { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31058          { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
}, 
31059          { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
}, 
31060          { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
}, 
31061          { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31062          { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
}, 
31063          { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31064          { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
}, 
31065          { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
}, 
31066          { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31067          { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31068          { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31069          { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
}, 
31070          { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
}, 
31071          { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
}, 
31072          { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
}, 
31073          { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31074          { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31075          { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31076          { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
}, 
31077          { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
}, 
31078          { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31079          { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
}, 
31080          { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31081          { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31082          { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
}, 
31083          { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
}, 
31084          { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31085          { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
}, 
31086          { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31087          { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31088          { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
}, 
31089          { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
}, 
31090          { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
}, 
31091          { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31092          { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31093          { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
}, 
31094          { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
}, 
31095          { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
}, 
31096          { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31097          { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
}, 
31098          { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31099          { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31100          { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31101          { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31102          { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31103          { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31104          { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31105          { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31106          { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
}, 
31107          { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
}, 
31108          { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
}, 
31109          { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
}, 
31110          { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31111          { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
}, 
31112          { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
}, 
31113          { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31114          { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31115          { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
}, 
31116          { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
}, 
31117          { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31118          { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
}, 
31119          { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31120          { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31121          { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
}, 
31122          { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
}, 
31123          { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
}, 
31124          { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31125          { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31126          { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
}, 
31127          { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
}, 
31128          { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31129          { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
}, 
31130          { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
}, 
31131          { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31132          { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
}, 
31133          { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31134          { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31135          { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31136          { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31137          { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
}, 
31138          { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
}, 
31139          { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31140          { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31141          { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31142          { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31143          { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31144          { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
}, 
31145          { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
}, 
31146          { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31147          { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
}, 
31148          { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31149          { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31150          { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31151          { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
}, 
31152          { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31153          { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
}, 
31154          { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
}, 
31155          { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
}, 
31156          { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
}, 
31157          { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31158          { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
}, 
31159          { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
}, 
31160          { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
}, 
31161          { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31162          { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
}, 
31163          { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31164          { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
}, 
31165          { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
}, 
31166          { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31167          { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
}, 
31168          { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
}, 
31169          { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
}, 
31170          { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
}, 
31171          { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
}, 
31172          { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
}, 
31173          { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31174          { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31175          { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31176          { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31177          { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
}, 
31178          { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
}, 
31179          { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31180          { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
}, 
31181          { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
}, 
31182          { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
}, 
31183          { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31184          { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31185          { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
}, 
31186          { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
}, 
31187          { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31188          { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31189          { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
}, 
31190          { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
}, 
31191          { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31192          { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31193          { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31194          { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31195          { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31196          { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31197          { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31198          { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
}, 
31199          { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
}, 
31200          { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
}, 
31201          { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
}, 
31202          { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
}, 
31203          { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
}, 
31204          { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
}, 
31205          { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
}, 
31206          { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
}, 
31207          { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
}, 
31208          { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31209          { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31210          { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
}, 
31211          { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
}, 
31212          { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
}, 
31213          { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31214          { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
}, 
31215          { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
}, 
31216          { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31217          { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
}, 
31218          { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
}, 
31219          { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31220          { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
}, 
31221          { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31222          { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
}, 
31223          { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
}, 
31224          { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31225          { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
}, 
31226          { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
}, 
31227          { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31228          { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
}, 
31229          { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
}, 
31230          { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
}, 
31231          { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
}, 
31232          { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
}, 
31233          { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31234          { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
}, 
31235          { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
}, 
31236          { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
}, 
31237          { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
}, 
31238          { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
}, 
31239          { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
}, 
31240          { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31241          { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31242          { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31243          { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31244          { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31245          { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31246          { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
}, 
31247          { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
}, 
31248          { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31249          { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
}, 
31250          { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
}, 
31251          { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
}, 
31252          { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31253          { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31254          { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
}, 
31255          { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
}, 
31256          { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31257          { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31258          { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
}, 
31259          { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
}, 
31260          { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
}, 
31261          { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31262          { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
}, 
31263          { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
}, 
31264          { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
}, 
31265          { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
}, 
31266          { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31267          { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31268          { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31269          { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
}, 
31270          { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
}, 
31271          { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31272          { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
}, 
31273          { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
}, 
31274          { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
}, 
31275          { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
}, 
31276          { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31277          { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31278          { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31279          { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
}, 
31280          { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
}, 
31281          { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31282          { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
}, 
31283          { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31284          { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
}, 
31285          { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31286          { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
}, 
31287          { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
}, 
31288          { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31289          { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
}, 
31290          { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31291          { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
}, 
31292          { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
}, 
31293          { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
}, 
31294          { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
}, 
31295          { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
}, 
31296          { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
}, 
31297          { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
}, 
31298          { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
}, 
31299          { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31300          { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31301          { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
}, 
31302          { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
}, 
31303          { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31304          { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
}, 
31305          { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31306          { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
}, 
31307          { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
}, 
31308          { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
}, 
31309          { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31310          { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
}, 
31311          { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31312          { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
}, 
31313          { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
}, 
31314          { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31315          { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
}, 
31316          { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31317          { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31318          { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31319          { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31320          { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31321          { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31322          { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31323          { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
}, 
31324          { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
}, 
31325          { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
}, 
31326          { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
}, 
31327          { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
}, 
31328          { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
}, 
31329          { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
}, 
31330          { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
}, 
31331          { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
}, 
31332          { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31333          { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
}, 
31334          { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31335          { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31336          { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31337          { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31338          { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31339          { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31340          { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31341          { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
}, 
31342          { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
}, 
31343          { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
}, 
31344          { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
}, 
31345          { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
}, 
31346          { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
}, 
31347          { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
}, 
31348          { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
}, 
31349          { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
}, 
31350          { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31351          { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
}, 
31352          { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31353          { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31354          { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31355          { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31356          { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31357          { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31358          { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31359          { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
}, 
31360          { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
}, 
31361          { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
}, 
31362          { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
}, 
31363          { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
}, 
31364          { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
}, 
31365          { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
}, 
31366          { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
}, 
31367          { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
}, 
31368          { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
}, 
31369          { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
}, 
31370          { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
}, 
31371          { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
}, 
31372          { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
}, 
31373          { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
}, 
31374          { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
}, 
31375          { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
}, 
31376          { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
}, 
31377          { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
}, 
31378          { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
}, 
31379          { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
}, 
31380          { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
}, 
31381          { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
}, 
31382          { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31383          { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31384          { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31385          { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31386          { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31387          { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31388          { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31389          { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31390          { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31391          { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31392          { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31393          { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
}, 
31394          { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31395          { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
}, 
31396          { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31397          { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
}, 
31398          { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
}, 
31399          { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
}, 
31400          { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
}, 
31401          { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31402          { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31403          { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31404          { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31405          { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31406          { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
}, 
31407          { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
}, 
31408          { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
}, 
31409          { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
}, 
31410          { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
}, 
31411          { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
}, 
31412          { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
}, 
31413          { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
}, 
31414          { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
}, 
31415          { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
}, 
31416          { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
}, 
31417          { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
}, 
31418          { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
}, 
31419          { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
}, 
31420          { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
}, 
31421          { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31422          { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31423          { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31424          { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31425          { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31426          { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31427          { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31428          { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31429          { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31430          { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
}, 
31431          { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
}, 
31432          { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
}, 
31433          { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
}, 
31434          { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31435          { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
}, 
31436          { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
}, 
31437          { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
}, 
31438          { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
}, 
31439          { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
}, 
31440          { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
}, 
31441          { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
}, 
31442          { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
}, 
31443          { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
}, 
31444          { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
}, 
31445          { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
}, 
31446          { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
}, 
31447          { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
}, 
31448          { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
}, 
31449          { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
}, 
31450          { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
}, 
31451          { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
}, 
31452          { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31453          { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31454          { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31455          { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31456          { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31457          { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31458          { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31459          { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31460          { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31461          { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31462          { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31463          { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31464          { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31465          { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
}, 
31466          { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
}, 
31467          { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
}, 
31468          { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
}, 
31469          { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
}, 
31470          { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
}, 
31471          { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31472          { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
}, 
31473          { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
}, 
31474          { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31475          { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
}, 
31476          { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
}, 
31477          { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
}, 
31478          { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
}, 
31479          { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
}, 
31480          { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
}, 
31481          { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
}, 
31482          { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31483          { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
}, 
31484          { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31485          { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31486          { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31487          { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31488          { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31489          { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
}, 
31490          { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
}, 
31491          { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
}, 
31492          { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
}, 
31493          { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
}, 
31494          { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31495          { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
}, 
31496          { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31497          { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
}, 
31498          { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
}, 
31499          { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31500          { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31501          { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
}, 
31502          { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31503          { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
}, 
31504          { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31505          { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
}, 
31506          { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31507          { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
}, 
31508          { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
}, 
31509          { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31510          { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31511          { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
}, 
31512          { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
}, 
31513          { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
}, 
31514          { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
}, 
31515          { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31516          { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
}, 
31517          { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
}, 
31518          { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
}, 
31519          { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31520          { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
}, 
31521          { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
}, 
31522          { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31523          { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
}, 
31524          { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
}, 
31525          { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
}, 
31526          { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
}, 
31527          { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
}, 
31528          { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
}, 
31529          { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31530          { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
}, 
31531          { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31532          { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
}, 
31533          { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
}, 
31534          { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
}, 
31535          { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
}, 
31536          { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
}, 
31537          { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
}, 
31538          { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
}, 
31539          { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
}, 
31540          { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
}, 
31541          { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
}, 
31542          { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31543          { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
}, 
31544          { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31545          { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
}, 
31546          { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
}, 
31547          { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31548          { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31549          { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
}, 
31550          { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
}, 
31551          { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31552          { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31553          { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31554          { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31555          { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
}, 
31556          { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31557          { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
}, 
31558          { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
}, 
31559          { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
}, 
31560          { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
}, 
31561          { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31562          { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31563          { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
}, 
31564          { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
}, 
31565          { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
}, 
31566          { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
}, 
31567          { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31568          { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
}, 
31569          { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
}, 
31570          { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31571          { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31572          { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31573          { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31574          { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
}, 
31575          { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
}, 
31576          { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
}, 
31577          { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
}, 
31578          { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
}, 
31579          { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31580          { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31581          { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31582          { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
}, 
31583          { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31584          { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
}, 
31585          { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
}, 
31586          { NULL
, NULL
, 0, NULL 
} 
31590 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
31592 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) { 
31593     return (void *)((wxPreviewFrame 
*)  ((wxPyPreviewFrame 
*) x
)); 
31595 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
31596     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
31598 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
31599     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
31601 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
31602     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
31604 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
31605     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
31607 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
31608     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
31610 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
31611     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
31613 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) { 
31614     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
31616 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
31617     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
31619 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
31620     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
31622 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) { 
31623     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
31625 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
31626     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
31628 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
31629     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
31631 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) { 
31632     return (void *)((wxEvent 
*)  ((wxCalculateLayoutEvent 
*) x
)); 
31634 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
31635     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
31637 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
31638     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
31640 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
31641     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
31643 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
31644     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
31646 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
31647     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
31649 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
31650     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
31652 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
31653     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
31655 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
31656     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
31658 static void *_p_wxDateEventTo_p_wxEvent(void *x
) { 
31659     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
31661 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) { 
31662     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
31664 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
31665     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
31667 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
31668     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
31670 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
31671     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
31673 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
31674     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
31676 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
31677     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
31679 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
31680     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
31682 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
31683     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
31685 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
31686     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
31688 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
31689     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
31691 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
31692     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
31694 static void *_p_wxSashEventTo_p_wxEvent(void *x
) { 
31695     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
31697 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) { 
31698     return (void *)((wxEvent 
*)  ((wxQueryLayoutInfoEvent 
*) x
)); 
31700 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
31701     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
31703 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
31704     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
31706 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
31707     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
31709 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
31710     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
31712 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
31713     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
31715 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
31716     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
31718 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
31719     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
31721 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) { 
31722     return (void *)((wxEvent 
*)  ((wxTaskBarIconEvent 
*) x
)); 
31724 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) { 
31725     return (void *)((wxNotifyEvent 
*)  ((wxSplitterEvent 
*) x
)); 
31727 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) { 
31728     return (void *)((wxTextEntryDialog 
*)  ((wxPasswordEntryDialog 
*) x
)); 
31730 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) { 
31731     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
31733 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) { 
31734     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
31736 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) { 
31737     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
31739 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
31740     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
31742 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
31743     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
31745 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
31746     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
31748 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
31749     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
31751 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) { 
31752     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
31754 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) { 
31755     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
31757 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) { 
31758     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
31760 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) { 
31761     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
31763 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) { 
31764     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
31766 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) { 
31767     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
31769 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) { 
31770     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
31772 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) { 
31773     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
31775 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) { 
31776     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
31778 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) { 
31779     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPanel 
*) x
)); 
31781 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) { 
31782     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxStatusBar 
*) x
)); 
31784 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) { 
31785     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
31787 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) { 
31788     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
31790 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) { 
31791     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
31793 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) { 
31794     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPopupWindow 
*) x
)); 
31796 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) { 
31797     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
31799 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) { 
31800     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSashWindow 
*) x
)); 
31802 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) { 
31803     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
31805 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) { 
31806     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
31808 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
31809     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
31811 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) { 
31812     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
31814 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) { 
31815     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
31817 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) { 
31818     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
31820 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) { 
31821     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
31823 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
31824     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
31826 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) { 
31827     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
31829 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) { 
31830     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
31832 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) { 
31833     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
31835 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
31836     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
31838 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
31839     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
31841 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) { 
31842     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPyWindow 
*) x
)); 
31844 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) { 
31845     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
31847 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) { 
31848     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
31850 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) { 
31851     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
31853 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
31854     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
31856 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
31857     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
31859 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) { 
31860     return (void *)((wxEvtHandler 
*)  ((wxPyTaskBarIcon 
*) x
)); 
31862 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) { 
31863     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
31865 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) { 
31866     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
31868 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) { 
31869     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
31871 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) { 
31872     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
31874 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) { 
31875     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
31877 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) { 
31878     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
31880 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) { 
31881     return (void *)((wxPyVListBox 
*)  ((wxPyHtmlListBox 
*) x
)); 
31883 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) { 
31884     return (void *)((wxFrame 
*)  ((wxMDIChildFrame 
*) x
)); 
31886 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) { 
31887     return (void *)((wxFrame 
*)  ((wxProgressDialog 
*) x
)); 
31889 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) { 
31890     return (void *)((wxFrame 
*)  ((wxPreviewFrame 
*) x
)); 
31892 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) { 
31893     return (void *)((wxFrame 
*) (wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
31895 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) { 
31896     return (void *)((wxFrame 
*)  ((wxMiniFrame 
*) x
)); 
31898 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) { 
31899     return (void *)((wxFrame 
*)  ((wxSplashScreen 
*) x
)); 
31901 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) { 
31902     return (void *)((wxFrame 
*)  ((wxMDIParentFrame 
*) x
)); 
31904 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
31905     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
31907 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) { 
31908     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryLayoutInfoEvent 
*) x
)); 
31910 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) { 
31911     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
31913 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) { 
31914     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
31916 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
31917     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
31919 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
31920     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
31922 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
31923     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
31925 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
31926     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
31928 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
31929     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
31931 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
31932     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
31934 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
31935     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
31937 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
31938     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
31940 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
31941     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
31943 static void *_p_wxPyPanelTo_p_wxObject(void *x
) { 
31944     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
31946 static void *_p_wxEventTo_p_wxObject(void *x
) { 
31947     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
31949 static void *_p_wxFontDataTo_p_wxObject(void *x
) { 
31950     return (void *)((wxObject 
*)  ((wxFontData 
*) x
)); 
31952 static void *_p_wxPrintDataTo_p_wxObject(void *x
) { 
31953     return (void *)((wxObject 
*)  ((wxPrintData 
*) x
)); 
31955 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
31956     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
31958 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
31959     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
31961 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
31962     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
31964 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) { 
31965     return (void *)((wxObject 
*)  ((wxLayoutAlgorithm 
*) x
)); 
31967 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) { 
31968     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyTaskBarIcon 
*) x
)); 
31970 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) { 
31971     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
31973 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) { 
31974     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
31976 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
31977     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
31979 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
31980     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
31982 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
31983     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
31985 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
31986     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
31988 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
31989     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
31991 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
31992     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
31994 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) { 
31995     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
31997 static void *_p_wxControlTo_p_wxObject(void *x
) { 
31998     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
32000 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
32001     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
32003 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) { 
32004     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
32006 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
32007     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
32009 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) { 
32010     return (void *)((wxObject 
*)  ((wxFindReplaceData 
*) x
)); 
32012 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
32013     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
32015 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) { 
32016     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
32018 static void *_p_wxColourDataTo_p_wxObject(void *x
) { 
32019     return (void *)((wxObject 
*)  ((wxColourData 
*) x
)); 
32021 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
32022     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
32024 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
32025     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
32027 static void *_p_wxPyWindowTo_p_wxObject(void *x
) { 
32028     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPyWindow 
*) x
)); 
32030 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) { 
32031     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
32033 static void *_p_wxFileDialogTo_p_wxObject(void *x
) { 
32034     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
32036 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) { 
32037     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
32039 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) { 
32040     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
32042 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) { 
32043     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
32045 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) { 
32046     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
32048 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) { 
32049     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
32051 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) { 
32052     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
32054 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) { 
32055     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
32057 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) { 
32058     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
32060 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
32061     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
32063 static void *_p_wxPrinterTo_p_wxObject(void *x
) { 
32064     return (void *)((wxObject 
*)  ((wxPrinter 
*) x
)); 
32066 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
32067     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
32069 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
32070     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
32072 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
32073     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
32075 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
32076     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
32078 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
32079     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
32081 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
32082     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
32084 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
32085     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
32087 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
32088     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
32090 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
32091     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
32093 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
32094     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
32096 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
32097     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
32099 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
32100     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
32102 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
32103     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
32105 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
32106     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
32108 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
32109     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
32111 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
32112     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
32114 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
32115     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
32117 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
32118     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
32120 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
32121     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
32123 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) { 
32124     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPyImageHandler 
*) x
)); 
32126 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
32127     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
32129 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
32130     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
32132 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
32133     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
32135 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
32136     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
32138 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) { 
32139     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCalculateLayoutEvent 
*) x
)); 
32141 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) { 
32142     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
32144 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) { 
32145     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
32147 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
32148     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
32150 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
32151     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
32153 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) { 
32154     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
32156 static void *_p_wxImageTo_p_wxObject(void *x
) { 
32157     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
32159 static void *_p_wxFrameTo_p_wxObject(void *x
) { 
32160     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
32162 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) { 
32163     return (void *)((wxObject 
*)  ((wxPyPrintout 
*) x
)); 
32165 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
32166     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
32168 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) { 
32169     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTaskBarIconEvent 
*) x
)); 
32171 static void *_p_wxStatusBarTo_p_wxObject(void *x
) { 
32172     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxStatusBar 
*) x
)); 
32174 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) { 
32175     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
32177 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
32178     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
32180 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
32181     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
32183 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
32184     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
32186 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
32187     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
32189 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
32190     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
32192 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
32193     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
32195 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) { 
32196     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
32198 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) { 
32199     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
32201 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) { 
32202     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
32204 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) { 
32205     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
32207 static void *_p_wxSashWindowTo_p_wxObject(void *x
) { 
32208     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSashWindow 
*) x
)); 
32210 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) { 
32211     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
32213 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) { 
32214     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPopupWindow 
*) x
)); 
32216 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) { 
32217     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
32219 static void *_p_wxTipWindowTo_p_wxObject(void *x
) { 
32220     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
32222 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) { 
32223     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
32225 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) { 
32226     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
32228 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) { 
32229     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
32231 static void *_p_wxSashEventTo_p_wxObject(void *x
) { 
32232     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
32234 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) { 
32235     return (void *)((wxObject 
*)  ((wxPrintPreview 
*) x
)); 
32237 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) { 
32238     return (void *)((wxObject 
*) (wxPrintPreview 
*) ((wxPyPrintPreview 
*) x
)); 
32240 static void *_p_wxPanelTo_p_wxObject(void *x
) { 
32241     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPanel 
*) x
)); 
32243 static void *_p_wxDialogTo_p_wxObject(void *x
) { 
32244     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
32246 static void *_p_wxColourDialogTo_p_wxObject(void *x
) { 
32247     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
32249 static void *_p_wxDirDialogTo_p_wxObject(void *x
) { 
32250     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
32252 static void *_p_wxFontDialogTo_p_wxObject(void *x
) { 
32253     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
32255 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) { 
32256     return (void *)((wxObject 
*)  ((wxPageSetupDialog 
*) x
)); 
32258 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) { 
32259     return (void *)((wxObject 
*)  ((wxPrintDialog 
*) x
)); 
32261 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
32262     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
32264 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
32265     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
32267 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
32268     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
32270 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
32271     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
32273 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
32274     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
32276 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
32277     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
32279 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
32280     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
32282 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
32283     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
32285 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
32286     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
32288 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) { 
32289     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
32291 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) { 
32292     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
32294 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
32295     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
32297 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
32298     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
32300 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
32301     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
32303 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
32304     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
32306 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) { 
32307     return (void *)((wxObject 
*)  ((wxPageSetupDialogData 
*) x
)); 
32309 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) { 
32310     return (void *)((wxObject 
*)  ((wxPrintDialogData 
*) x
)); 
32312 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
32313     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
32315 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
32316     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
32318 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) { 
32319     return (void *)((wxPyVScrolledWindow 
*)  ((wxPyVListBox 
*) x
)); 
32321 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) { 
32322     return (void *)((wxPyVScrolledWindow 
*) (wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
32324 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) { 
32325     return (void *)((wxPyPopupTransientWindow 
*)  ((wxTipWindow 
*) x
)); 
32327 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) { 
32328     return (void *)((wxPopupWindow 
*)  ((wxPyPopupTransientWindow 
*) x
)); 
32330 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) { 
32331     return (void *)((wxPopupWindow 
*) (wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
32333 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) { 
32334     return (void *)((wxSashWindow 
*)  ((wxSashLayoutWindow 
*) x
)); 
32336 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) { 
32337     return (void *)((wxTopLevelWindow 
*)  ((wxFrame 
*) x
)); 
32339 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) { 
32340     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxMiniFrame 
*) x
)); 
32342 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) { 
32343     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxFontDialog 
*) x
)); 
32345 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) { 
32346     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxDirDialog 
*) x
)); 
32348 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) { 
32349     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxColourDialog 
*) x
)); 
32351 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) { 
32352     return (void *)((wxTopLevelWindow 
*)  ((wxDialog 
*) x
)); 
32354 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) { 
32355     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxSplashScreen 
*) x
)); 
32357 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) { 
32358     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
32360 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) { 
32361     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
32363 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) { 
32364     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxMessageDialog 
*) x
)); 
32366 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) { 
32367     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
32369 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) { 
32370     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
32372 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) { 
32373     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
32375 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) { 
32376     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
32378 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) { 
32379     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
32381 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) { 
32382     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxFileDialog 
*) x
)); 
32384 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) { 
32385     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxProgressDialog 
*) x
)); 
32387 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) { 
32388     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
32390 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) { 
32391     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
32393 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) { 
32394     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
32396 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) { 
32397     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
32399 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) { 
32400     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
32402 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) { 
32403     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyPanel 
*) x
)); 
32405 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
32406     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
32408 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) { 
32409     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
32411 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) { 
32412     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
32414 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) { 
32415     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
32417 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) { 
32418     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
32420 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) { 
32421     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
32423 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) { 
32424     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
32426 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) { 
32427     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
32429 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) { 
32430     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
32432 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) { 
32433     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
32435 static void *_p_wxPanelTo_p_wxWindow(void *x
) { 
32436     return (void *)((wxWindow 
*)  ((wxPanel 
*) x
)); 
32438 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) { 
32439     return (void *)((wxWindow 
*)  ((wxStatusBar 
*) x
)); 
32441 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) { 
32442     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
32444 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) { 
32445     return (void *)((wxWindow 
*) (wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
32447 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) { 
32448     return (void *)((wxWindow 
*) (wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
32450 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) { 
32451     return (void *)((wxWindow 
*)  ((wxPopupWindow 
*) x
)); 
32453 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) { 
32454     return (void *)((wxWindow 
*) (wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
32456 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) { 
32457     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
32459 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) { 
32460     return (void *)((wxWindow 
*)  ((wxTopLevelWindow 
*) x
)); 
32462 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) { 
32463     return (void *)((wxWindow 
*)  ((wxSplashScreenWindow 
*) x
)); 
32465 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) { 
32466     return (void *)((wxWindow 
*)  ((wxSplitterWindow 
*) x
)); 
32468 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) { 
32469     return (void *)((wxWindow 
*)  ((wxSashWindow 
*) x
)); 
32471 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) { 
32472     return (void *)((wxWindow 
*)  ((wxMDIClientWindow 
*) x
)); 
32474 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) { 
32475     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
32477 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
32478     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
32480 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) { 
32481     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
32483 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) { 
32484     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
32486 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) { 
32487     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
32489 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
32490     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
32492 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) { 
32493     return (void *)((wxWindow 
*)  ((wxPyWindow 
*) x
)); 
32495 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) { 
32496     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
32498 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) { 
32499     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
32501 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) { 
32502     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
32504 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) { 
32505     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
32507 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) { 
32508     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
32510 static void *_p_wxFrameTo_p_wxWindow(void *x
) { 
32511     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
32513 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) { 
32514     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
32516 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) { 
32517     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
32519 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) { 
32520     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
32522 static void *_p_wxDialogTo_p_wxWindow(void *x
) { 
32523     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
32525 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) { 
32526     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
32528 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) { 
32529     return (void *)((wxScrolledWindow 
*)  ((wxPyScrolledWindow 
*) x
)); 
32531 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) { 
32532     return (void *)((wxScrolledWindow 
*)  ((wxPreviewCanvas 
*) x
)); 
32534 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) { 
32535     return (void *)((wxPrintPreview 
*)  ((wxPyPrintPreview 
*) x
)); 
32537 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) { 
32538     return (void *)((wxDialog 
*)  ((wxColourDialog 
*) x
)); 
32540 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) { 
32541     return (void *)((wxDialog 
*)  ((wxDirDialog 
*) x
)); 
32543 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) { 
32544     return (void *)((wxDialog 
*)  ((wxFontDialog 
*) x
)); 
32546 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) { 
32547     return (void *)((wxDialog 
*)  ((wxFileDialog 
*) x
)); 
32549 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) { 
32550     return (void *)((wxDialog 
*)  ((wxMultiChoiceDialog 
*) x
)); 
32552 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) { 
32553     return (void *)((wxDialog 
*)  ((wxSingleChoiceDialog 
*) x
)); 
32555 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) { 
32556     return (void *)((wxDialog 
*)  ((wxTextEntryDialog 
*) x
)); 
32558 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) { 
32559     return (void *)((wxDialog 
*) (wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
32561 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) { 
32562     return (void *)((wxDialog 
*)  ((wxNumberEntryDialog 
*) x
)); 
32564 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) { 
32565     return (void *)((wxDialog 
*)  ((wxMessageDialog 
*) x
)); 
32567 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) { 
32568     return (void *)((wxDialog 
*)  ((wxFindReplaceDialog 
*) x
)); 
32570 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) { 
32571     return (void *)((wxPanel 
*)  ((wxScrolledWindow 
*) x
)); 
32573 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) { 
32574     return (void *)((wxPanel 
*)  ((wxPyVScrolledWindow 
*) x
)); 
32576 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) { 
32577     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
32579 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) { 
32580     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
32582 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) { 
32583     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
32585 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) { 
32586     return (void *)((wxPanel 
*)  ((wxPyPanel 
*) x
)); 
32588 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) { 
32589     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
32591 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) { 
32592     return (void *)((wxPanel 
*)  ((wxPreviewControlBar 
*) x
)); 
32594 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) { 
32595     return (void *)((wxPanel 
*) (wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
32597 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
32598     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
32600 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
32601     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
32603 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
32604     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
32606 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) { 
32607     return (void *)((wxCommandEvent 
*)  ((wxDateEvent 
*) x
)); 
32609 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
32610     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
32612 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) { 
32613     return (void *)((wxCommandEvent 
*)  ((wxClipboardTextEvent 
*) x
)); 
32615 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) { 
32616     return (void *)((wxCommandEvent 
*)  ((wxFindDialogEvent 
*) x
)); 
32618 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
32619     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
32621 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
32622     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
32624 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) { 
32625     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
32627 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
32628     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
32630 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
32631     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
32633 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) { 
32634     return (void *)((wxCommandEvent 
*)  ((wxSashEvent 
*) x
)); 
32636 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) { 
32637     return (void *)((wxPreviewControlBar 
*)  ((wxPyPreviewControlBar 
*) x
)); 
32639 static swig_type_info _swigt__p_bool 
= {"_p_bool", "bool *", 0, 0, (void*)0, 0}; 
32640 static swig_type_info _swigt__p_char 
= {"_p_char", "char *", 0, 0, (void*)0, 0}; 
32641 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}; 
32642 static swig_type_info _swigt__p_int 
= {"_p_int", "int *", 0, 0, (void*)0, 0}; 
32643 static swig_type_info _swigt__p_unsigned_char 
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; 
32644 static swig_type_info _swigt__p_unsigned_int 
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; 
32645 static swig_type_info _swigt__p_unsigned_long 
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; 
32646 static swig_type_info _swigt__p_wxArrayInt 
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0}; 
32647 static swig_type_info _swigt__p_wxBitmap 
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; 
32648 static swig_type_info _swigt__p_wxCalculateLayoutEvent 
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0}; 
32649 static swig_type_info _swigt__p_wxColour 
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; 
32650 static swig_type_info _swigt__p_wxColourData 
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0}; 
32651 static swig_type_info _swigt__p_wxColourDialog 
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0}; 
32652 static swig_type_info _swigt__p_wxCommandEvent 
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; 
32653 static swig_type_info _swigt__p_wxWindowDestroyEvent 
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; 
32654 static swig_type_info _swigt__p_wxClipboardTextEvent 
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; 
32655 static swig_type_info _swigt__p_wxScrollEvent 
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; 
32656 static swig_type_info _swigt__p_wxPyCommandEvent 
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; 
32657 static swig_type_info _swigt__p_wxContextMenuEvent 
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; 
32658 static swig_type_info _swigt__p_wxChildFocusEvent 
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; 
32659 static swig_type_info _swigt__p_wxWindowCreateEvent 
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; 
32660 static swig_type_info _swigt__p_wxDateEvent 
= {"_p_wxDateEvent", 0, 0, 0, 0, 0}; 
32661 static swig_type_info _swigt__p_wxUpdateUIEvent 
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; 
32662 static swig_type_info _swigt__p_wxDC 
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; 
32663 static swig_type_info _swigt__p_wxDialog 
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0}; 
32664 static swig_type_info _swigt__p_wxDirDialog 
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0}; 
32665 static swig_type_info _swigt__p_wxDuplexMode 
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; 
32666 static swig_type_info _swigt__p_wxEvent 
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; 
32667 static swig_type_info _swigt__p_wxMenuEvent 
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; 
32668 static swig_type_info _swigt__p_wxCloseEvent 
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; 
32669 static swig_type_info _swigt__p_wxMouseEvent 
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; 
32670 static swig_type_info _swigt__p_wxEraseEvent 
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; 
32671 static swig_type_info _swigt__p_wxSetCursorEvent 
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; 
32672 static swig_type_info _swigt__p_wxInitDialogEvent 
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; 
32673 static swig_type_info _swigt__p_wxPyEvent 
= {"_p_wxPyEvent", 0, 0, 0, 0, 0}; 
32674 static swig_type_info _swigt__p_wxIdleEvent 
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; 
32675 static swig_type_info _swigt__p_wxQueryNewPaletteEvent 
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; 
32676 static swig_type_info _swigt__p_wxMaximizeEvent 
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; 
32677 static swig_type_info _swigt__p_wxIconizeEvent 
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; 
32678 static swig_type_info _swigt__p_wxActivateEvent 
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; 
32679 static swig_type_info _swigt__p_wxSizeEvent 
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; 
32680 static swig_type_info _swigt__p_wxMoveEvent 
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; 
32681 static swig_type_info _swigt__p_wxPaintEvent 
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; 
32682 static swig_type_info _swigt__p_wxNcPaintEvent 
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; 
32683 static swig_type_info _swigt__p_wxPaletteChangedEvent 
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; 
32684 static swig_type_info _swigt__p_wxDisplayChangedEvent 
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; 
32685 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent 
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; 
32686 static swig_type_info _swigt__p_wxSysColourChangedEvent 
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; 
32687 static swig_type_info _swigt__p_wxDropFilesEvent 
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; 
32688 static swig_type_info _swigt__p_wxFocusEvent 
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; 
32689 static swig_type_info _swigt__p_wxShowEvent 
= {"_p_wxShowEvent", 0, 0, 0, 0, 0}; 
32690 static swig_type_info _swigt__p_wxNavigationKeyEvent 
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; 
32691 static swig_type_info _swigt__p_wxKeyEvent 
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; 
32692 static swig_type_info _swigt__p_wxEvtHandler 
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; 
32693 static swig_type_info _swigt__p_wxValidator 
= {"_p_wxValidator", 0, 0, 0, 0, 0}; 
32694 static swig_type_info _swigt__p_wxPyValidator 
= {"_p_wxPyValidator", 0, 0, 0, 0, 0}; 
32695 static swig_type_info _swigt__p_wxControl 
= {"_p_wxControl", 0, 0, 0, 0, 0}; 
32696 static swig_type_info _swigt__p_wxPyApp 
= {"_p_wxPyApp", 0, 0, 0, 0, 0}; 
32697 static swig_type_info _swigt__p_wxControlWithItems 
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; 
32698 static swig_type_info _swigt__p_wxFileDialog 
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0}; 
32699 static swig_type_info _swigt__p_wxFileSystem 
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0}; 
32700 static swig_type_info _swigt__p_wxFindDialogEvent 
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0}; 
32701 static swig_type_info _swigt__p_wxFindReplaceData 
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0}; 
32702 static swig_type_info _swigt__p_wxFindReplaceDialog 
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0}; 
32703 static swig_type_info _swigt__p_wxFont 
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; 
32704 static swig_type_info _swigt__p_wxFontData 
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0}; 
32705 static swig_type_info _swigt__p_wxFontDialog 
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0}; 
32706 static swig_type_info _swigt__p_wxFrame 
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; 
32707 static swig_type_info _swigt__p_wxHtmlLinkInfo 
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0}; 
32708 static swig_type_info _swigt__p_wxIcon 
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0}; 
32709 static swig_type_info _swigt__p_wxIconBundle 
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0}; 
32710 static swig_type_info _swigt__p_wxLayoutAlgorithm 
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0}; 
32711 static swig_type_info _swigt__p_wxMDIChildFrame 
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0}; 
32712 static swig_type_info _swigt__p_wxMDIClientWindow 
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0}; 
32713 static swig_type_info _swigt__p_wxMDIParentFrame 
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0}; 
32714 static swig_type_info _swigt__p_wxMenu 
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0}; 
32715 static swig_type_info _swigt__p_wxMenuBar 
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0}; 
32716 static swig_type_info _swigt__p_wxMessageDialog 
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0}; 
32717 static swig_type_info _swigt__p_wxMiniFrame 
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; 
32718 static swig_type_info _swigt__p_wxMultiChoiceDialog 
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0}; 
32719 static swig_type_info _swigt__p_wxNotifyEvent 
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; 
32720 static swig_type_info _swigt__p_wxNumberEntryDialog 
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0}; 
32721 static swig_type_info _swigt__p_wxObject 
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; 
32722 static swig_type_info _swigt__p_wxLayoutConstraints 
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; 
32723 static swig_type_info _swigt__p_wxGBSizerItem 
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; 
32724 static swig_type_info _swigt__p_wxSizerItem 
= {"_p_wxSizerItem", 0, 0, 0, 0, 0}; 
32725 static swig_type_info _swigt__p_wxIndividualLayoutConstraint 
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; 
32726 static swig_type_info _swigt__p_wxStaticBoxSizer 
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; 
32727 static swig_type_info _swigt__p_wxBoxSizer 
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; 
32728 static swig_type_info _swigt__p_wxSizer 
= {"_p_wxSizer", 0, 0, 0, 0, 0}; 
32729 static swig_type_info _swigt__p_wxGridBagSizer 
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; 
32730 static swig_type_info _swigt__p_wxGridSizer 
= {"_p_wxGridSizer", 0, 0, 0, 0, 0}; 
32731 static swig_type_info _swigt__p_wxFlexGridSizer 
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; 
32732 static swig_type_info _swigt__p_wxFSFile 
= {"_p_wxFSFile", 0, 0, 0, 0, 0}; 
32733 static swig_type_info _swigt__p_wxPySizer 
= {"_p_wxPySizer", 0, 0, 0, 0, 0}; 
32734 static swig_type_info _swigt__p_wxMenuItem 
= {"_p_wxMenuItem", 0, 0, 0, 0, 0}; 
32735 static swig_type_info _swigt__p_wxBMPHandler 
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; 
32736 static swig_type_info _swigt__p_wxICOHandler 
= {"_p_wxICOHandler", 0, 0, 0, 0, 0}; 
32737 static swig_type_info _swigt__p_wxCURHandler 
= {"_p_wxCURHandler", 0, 0, 0, 0, 0}; 
32738 static swig_type_info _swigt__p_wxANIHandler 
= {"_p_wxANIHandler", 0, 0, 0, 0, 0}; 
32739 static swig_type_info _swigt__p_wxPNGHandler 
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; 
32740 static swig_type_info _swigt__p_wxGIFHandler 
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; 
32741 static swig_type_info _swigt__p_wxPCXHandler 
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; 
32742 static swig_type_info _swigt__p_wxJPEGHandler 
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; 
32743 static swig_type_info _swigt__p_wxPNMHandler 
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; 
32744 static swig_type_info _swigt__p_wxPyImageHandler 
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; 
32745 static swig_type_info _swigt__p_wxImageHandler 
= {"_p_wxImageHandler", 0, 0, 0, 0, 0}; 
32746 static swig_type_info _swigt__p_wxXPMHandler 
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; 
32747 static swig_type_info _swigt__p_wxTIFFHandler 
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; 
32748 static swig_type_info _swigt__p_wxAcceleratorTable 
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; 
32749 static swig_type_info _swigt__p_wxImage 
= {"_p_wxImage", 0, 0, 0, 0, 0}; 
32750 static swig_type_info _swigt__p_wxPageSetupDialog 
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0}; 
32751 static swig_type_info _swigt__p_wxPageSetupDialogData 
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0}; 
32752 static swig_type_info _swigt__p_wxPanel 
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; 
32753 static swig_type_info _swigt__p_wxPaperSize 
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; 
32754 static swig_type_info _swigt__p_wxPasswordEntryDialog 
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0}; 
32755 static swig_type_info _swigt__p_wxPoint 
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; 
32756 static swig_type_info _swigt__p_wxPopupWindow 
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0}; 
32757 static swig_type_info _swigt__p_wxPreviewCanvas 
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0}; 
32758 static swig_type_info _swigt__p_wxPreviewControlBar 
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0}; 
32759 static swig_type_info _swigt__p_wxPreviewFrame 
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0}; 
32760 static swig_type_info _swigt__p_wxPrintData 
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0}; 
32761 static swig_type_info _swigt__p_wxPrintDialog 
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0}; 
32762 static swig_type_info _swigt__p_wxPrintDialogData 
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0}; 
32763 static swig_type_info _swigt__p_wxPrintPreview 
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0}; 
32764 static swig_type_info _swigt__p_wxPrinter 
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0}; 
32765 static swig_type_info _swigt__p_wxProgressDialog 
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0}; 
32766 static swig_type_info _swigt__p_wxPyHtmlListBox 
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0}; 
32767 static swig_type_info _swigt__p_wxPyPanel 
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0}; 
32768 static swig_type_info _swigt__p_wxPyPopupTransientWindow 
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0}; 
32769 static swig_type_info _swigt__p_wxPyPreviewControlBar 
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0}; 
32770 static swig_type_info _swigt__p_wxPyPreviewFrame 
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0}; 
32771 static swig_type_info _swigt__p_wxPyPrintPreview 
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0}; 
32772 static swig_type_info _swigt__p_wxPyPrintout 
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0}; 
32773 static swig_type_info _swigt__p_wxPyScrolledWindow 
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0}; 
32774 static swig_type_info _swigt__p_wxPyTaskBarIcon 
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0}; 
32775 static swig_type_info _swigt__p_wxPyVListBox 
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0}; 
32776 static swig_type_info _swigt__p_wxPyVScrolledWindow 
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0}; 
32777 static swig_type_info _swigt__p_wxPyWindow 
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0}; 
32778 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent 
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0}; 
32779 static swig_type_info _swigt__p_wxRect 
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; 
32780 static swig_type_info _swigt__p_wxRegion 
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0}; 
32781 static swig_type_info _swigt__p_wxSashEvent 
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0}; 
32782 static swig_type_info _swigt__p_wxSashLayoutWindow 
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0}; 
32783 static swig_type_info _swigt__p_wxSashWindow 
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0}; 
32784 static swig_type_info _swigt__p_wxScrollWinEvent 
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0}; 
32785 static swig_type_info _swigt__p_wxScrolledWindow 
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; 
32786 static swig_type_info _swigt__p_wxSingleChoiceDialog 
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0}; 
32787 static swig_type_info _swigt__p_wxSize 
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; 
32788 static swig_type_info _swigt__p_wxSplashScreen 
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0}; 
32789 static swig_type_info _swigt__p_wxSplashScreenWindow 
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0}; 
32790 static swig_type_info _swigt__p_wxSplitterEvent 
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0}; 
32791 static swig_type_info _swigt__p_wxSplitterWindow 
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0}; 
32792 static swig_type_info _swigt__p_wxStatusBar 
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0}; 
32793 static swig_type_info _swigt__p_wxStdDialogButtonSizer 
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0}; 
32794 static swig_type_info _swigt__p_wxString 
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; 
32795 static swig_type_info _swigt__p_wxTaskBarIcon 
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0}; 
32796 static swig_type_info _swigt__p_wxTaskBarIconEvent 
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0}; 
32797 static swig_type_info _swigt__p_wxTextEntryDialog 
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0}; 
32798 static swig_type_info _swigt__p_wxTipWindow 
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0}; 
32799 static swig_type_info _swigt__p_wxToolBar 
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0}; 
32800 static swig_type_info _swigt__p_wxTopLevelWindow 
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; 
32801 static swig_type_info _swigt__p_wxVisualAttributes 
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; 
32802 static swig_type_info _swigt__p_wxWindow 
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; 
32804 static swig_type_info 
*swig_type_initial
[] = { 
32807   &_swigt__p_form_ops_t
, 
32809   &_swigt__p_unsigned_char
, 
32810   &_swigt__p_unsigned_int
, 
32811   &_swigt__p_unsigned_long
, 
32812   &_swigt__p_wxANIHandler
, 
32813   &_swigt__p_wxAcceleratorTable
, 
32814   &_swigt__p_wxActivateEvent
, 
32815   &_swigt__p_wxArrayInt
, 
32816   &_swigt__p_wxBMPHandler
, 
32817   &_swigt__p_wxBitmap
, 
32818   &_swigt__p_wxBoxSizer
, 
32819   &_swigt__p_wxCURHandler
, 
32820   &_swigt__p_wxCalculateLayoutEvent
, 
32821   &_swigt__p_wxChildFocusEvent
, 
32822   &_swigt__p_wxClipboardTextEvent
, 
32823   &_swigt__p_wxCloseEvent
, 
32824   &_swigt__p_wxColour
, 
32825   &_swigt__p_wxColourData
, 
32826   &_swigt__p_wxColourDialog
, 
32827   &_swigt__p_wxCommandEvent
, 
32828   &_swigt__p_wxContextMenuEvent
, 
32829   &_swigt__p_wxControl
, 
32830   &_swigt__p_wxControlWithItems
, 
32832   &_swigt__p_wxDateEvent
, 
32833   &_swigt__p_wxDialog
, 
32834   &_swigt__p_wxDirDialog
, 
32835   &_swigt__p_wxDisplayChangedEvent
, 
32836   &_swigt__p_wxDropFilesEvent
, 
32837   &_swigt__p_wxDuplexMode
, 
32838   &_swigt__p_wxEraseEvent
, 
32839   &_swigt__p_wxEvent
, 
32840   &_swigt__p_wxEvtHandler
, 
32841   &_swigt__p_wxFSFile
, 
32842   &_swigt__p_wxFileDialog
, 
32843   &_swigt__p_wxFileSystem
, 
32844   &_swigt__p_wxFindDialogEvent
, 
32845   &_swigt__p_wxFindReplaceData
, 
32846   &_swigt__p_wxFindReplaceDialog
, 
32847   &_swigt__p_wxFlexGridSizer
, 
32848   &_swigt__p_wxFocusEvent
, 
32850   &_swigt__p_wxFontData
, 
32851   &_swigt__p_wxFontDialog
, 
32852   &_swigt__p_wxFrame
, 
32853   &_swigt__p_wxGBSizerItem
, 
32854   &_swigt__p_wxGIFHandler
, 
32855   &_swigt__p_wxGridBagSizer
, 
32856   &_swigt__p_wxGridSizer
, 
32857   &_swigt__p_wxHtmlLinkInfo
, 
32858   &_swigt__p_wxICOHandler
, 
32860   &_swigt__p_wxIconBundle
, 
32861   &_swigt__p_wxIconizeEvent
, 
32862   &_swigt__p_wxIdleEvent
, 
32863   &_swigt__p_wxImage
, 
32864   &_swigt__p_wxImageHandler
, 
32865   &_swigt__p_wxIndividualLayoutConstraint
, 
32866   &_swigt__p_wxInitDialogEvent
, 
32867   &_swigt__p_wxJPEGHandler
, 
32868   &_swigt__p_wxKeyEvent
, 
32869   &_swigt__p_wxLayoutAlgorithm
, 
32870   &_swigt__p_wxLayoutConstraints
, 
32871   &_swigt__p_wxMDIChildFrame
, 
32872   &_swigt__p_wxMDIClientWindow
, 
32873   &_swigt__p_wxMDIParentFrame
, 
32874   &_swigt__p_wxMaximizeEvent
, 
32876   &_swigt__p_wxMenuBar
, 
32877   &_swigt__p_wxMenuEvent
, 
32878   &_swigt__p_wxMenuItem
, 
32879   &_swigt__p_wxMessageDialog
, 
32880   &_swigt__p_wxMiniFrame
, 
32881   &_swigt__p_wxMouseCaptureChangedEvent
, 
32882   &_swigt__p_wxMouseEvent
, 
32883   &_swigt__p_wxMoveEvent
, 
32884   &_swigt__p_wxMultiChoiceDialog
, 
32885   &_swigt__p_wxNavigationKeyEvent
, 
32886   &_swigt__p_wxNcPaintEvent
, 
32887   &_swigt__p_wxNotifyEvent
, 
32888   &_swigt__p_wxNumberEntryDialog
, 
32889   &_swigt__p_wxObject
, 
32890   &_swigt__p_wxPCXHandler
, 
32891   &_swigt__p_wxPNGHandler
, 
32892   &_swigt__p_wxPNMHandler
, 
32893   &_swigt__p_wxPageSetupDialog
, 
32894   &_swigt__p_wxPageSetupDialogData
, 
32895   &_swigt__p_wxPaintEvent
, 
32896   &_swigt__p_wxPaletteChangedEvent
, 
32897   &_swigt__p_wxPanel
, 
32898   &_swigt__p_wxPaperSize
, 
32899   &_swigt__p_wxPasswordEntryDialog
, 
32900   &_swigt__p_wxPoint
, 
32901   &_swigt__p_wxPopupWindow
, 
32902   &_swigt__p_wxPreviewCanvas
, 
32903   &_swigt__p_wxPreviewControlBar
, 
32904   &_swigt__p_wxPreviewFrame
, 
32905   &_swigt__p_wxPrintData
, 
32906   &_swigt__p_wxPrintDialog
, 
32907   &_swigt__p_wxPrintDialogData
, 
32908   &_swigt__p_wxPrintPreview
, 
32909   &_swigt__p_wxPrinter
, 
32910   &_swigt__p_wxProgressDialog
, 
32911   &_swigt__p_wxPyApp
, 
32912   &_swigt__p_wxPyCommandEvent
, 
32913   &_swigt__p_wxPyEvent
, 
32914   &_swigt__p_wxPyHtmlListBox
, 
32915   &_swigt__p_wxPyImageHandler
, 
32916   &_swigt__p_wxPyPanel
, 
32917   &_swigt__p_wxPyPopupTransientWindow
, 
32918   &_swigt__p_wxPyPreviewControlBar
, 
32919   &_swigt__p_wxPyPreviewFrame
, 
32920   &_swigt__p_wxPyPrintPreview
, 
32921   &_swigt__p_wxPyPrintout
, 
32922   &_swigt__p_wxPyScrolledWindow
, 
32923   &_swigt__p_wxPySizer
, 
32924   &_swigt__p_wxPyTaskBarIcon
, 
32925   &_swigt__p_wxPyVListBox
, 
32926   &_swigt__p_wxPyVScrolledWindow
, 
32927   &_swigt__p_wxPyValidator
, 
32928   &_swigt__p_wxPyWindow
, 
32929   &_swigt__p_wxQueryLayoutInfoEvent
, 
32930   &_swigt__p_wxQueryNewPaletteEvent
, 
32932   &_swigt__p_wxRegion
, 
32933   &_swigt__p_wxSashEvent
, 
32934   &_swigt__p_wxSashLayoutWindow
, 
32935   &_swigt__p_wxSashWindow
, 
32936   &_swigt__p_wxScrollEvent
, 
32937   &_swigt__p_wxScrollWinEvent
, 
32938   &_swigt__p_wxScrolledWindow
, 
32939   &_swigt__p_wxSetCursorEvent
, 
32940   &_swigt__p_wxShowEvent
, 
32941   &_swigt__p_wxSingleChoiceDialog
, 
32943   &_swigt__p_wxSizeEvent
, 
32944   &_swigt__p_wxSizer
, 
32945   &_swigt__p_wxSizerItem
, 
32946   &_swigt__p_wxSplashScreen
, 
32947   &_swigt__p_wxSplashScreenWindow
, 
32948   &_swigt__p_wxSplitterEvent
, 
32949   &_swigt__p_wxSplitterWindow
, 
32950   &_swigt__p_wxStaticBoxSizer
, 
32951   &_swigt__p_wxStatusBar
, 
32952   &_swigt__p_wxStdDialogButtonSizer
, 
32953   &_swigt__p_wxString
, 
32954   &_swigt__p_wxSysColourChangedEvent
, 
32955   &_swigt__p_wxTIFFHandler
, 
32956   &_swigt__p_wxTaskBarIcon
, 
32957   &_swigt__p_wxTaskBarIconEvent
, 
32958   &_swigt__p_wxTextEntryDialog
, 
32959   &_swigt__p_wxTipWindow
, 
32960   &_swigt__p_wxToolBar
, 
32961   &_swigt__p_wxTopLevelWindow
, 
32962   &_swigt__p_wxUpdateUIEvent
, 
32963   &_swigt__p_wxValidator
, 
32964   &_swigt__p_wxVisualAttributes
, 
32965   &_swigt__p_wxWindow
, 
32966   &_swigt__p_wxWindowCreateEvent
, 
32967   &_swigt__p_wxWindowDestroyEvent
, 
32968   &_swigt__p_wxXPMHandler
, 
32971 static swig_cast_info _swigc__p_bool
[] = {  {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}}; 
32972 static swig_cast_info _swigc__p_char
[] = {  {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}}; 
32973 static swig_cast_info _swigc__p_form_ops_t
[] = {  {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}}; 
32974 static swig_cast_info _swigc__p_int
[] = {  {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}}; 
32975 static swig_cast_info _swigc__p_unsigned_char
[] = {  {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}}; 
32976 static swig_cast_info _swigc__p_unsigned_int
[] = {  {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
32977 static swig_cast_info _swigc__p_unsigned_long
[] = {  {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}}; 
32978 static swig_cast_info _swigc__p_wxArrayInt
[] = {  {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}}; 
32979 static swig_cast_info _swigc__p_wxBitmap
[] = {  {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}}; 
32980 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {  {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32981 static swig_cast_info _swigc__p_wxColour
[] = {  {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}}; 
32982 static swig_cast_info _swigc__p_wxColourData
[] = {  {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}}; 
32983 static swig_cast_info _swigc__p_wxColourDialog
[] = {  {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
32984 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32985 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32986 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32987 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32988 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32989 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32990 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32991 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32992 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32993 static swig_cast_info _swigc__p_wxCommandEvent
[] = {  {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxCommandEvent
, 0, 0, 0},  {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}}; 
32994 static swig_cast_info _swigc__p_wxDC
[] = {  {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}}; 
32995 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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}}; 
32996 static swig_cast_info _swigc__p_wxDirDialog
[] = {  {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
32997 static swig_cast_info _swigc__p_wxDuplexMode
[] = {  {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}}; 
32998 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
32999 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33000 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33001 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33002 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33003 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33004 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33005 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33006 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33007 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33008 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33009 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33010 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33011 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33012 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33013 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33014 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33015 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33016 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33017 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33018 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33019 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33020 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33021 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33022 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33023 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_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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}}; 
33024 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
33025 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
33026 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}}; 
33027 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}}; 
33028 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}}; 
33029 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_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_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_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0},  {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_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}}; 
33030 static swig_cast_info _swigc__p_wxFileDialog
[] = {  {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33031 static swig_cast_info _swigc__p_wxFileSystem
[] = {  {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}}; 
33032 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {  {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33033 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {  {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}}; 
33034 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {  {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33035 static swig_cast_info _swigc__p_wxFont
[] = {  {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}}; 
33036 static swig_cast_info _swigc__p_wxFontData
[] = {  {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}}; 
33037 static swig_cast_info _swigc__p_wxFontDialog
[] = {  {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33038 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}}; 
33039 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = {  {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}}; 
33040 static swig_cast_info _swigc__p_wxIcon
[] = {  {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
33041 static swig_cast_info _swigc__p_wxIconBundle
[] = {  {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}}; 
33042 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {  {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}}; 
33043 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {  {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
33044 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {  {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
33045 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {  {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
33046 static swig_cast_info _swigc__p_wxMenu
[] = {  {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}}; 
33047 static swig_cast_info _swigc__p_wxMenuBar
[] = {  {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}}; 
33048 static swig_cast_info _swigc__p_wxMessageDialog
[] = {  {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33049 static swig_cast_info _swigc__p_wxMiniFrame
[] = {  {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
33050 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {  {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33051 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}}; 
33052 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {  {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33053 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}}; 
33054 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
33055 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
33056 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}}; 
33057 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33058 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33059 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33060 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33061 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33062 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33063 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}}; 
33064 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33065 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}}; 
33066 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33067 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33068 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33069 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33070 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33071 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33072 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33073 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33074 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33075 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33076 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33077 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33078 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33079 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}}; 
33080 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}}; 
33081 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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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_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_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_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}}; 
33082 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {  {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33083 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {  {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
33084 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}}; 
33085 static swig_cast_info _swigc__p_wxPaperSize
[] = {  {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}}; 
33086 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {  {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33087 static swig_cast_info _swigc__p_wxPoint
[] = {  {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}}; 
33088 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}}; 
33089 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {  {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}}; 
33090 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}}; 
33091 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}}; 
33092 static swig_cast_info _swigc__p_wxPrintData
[] = {  {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}}; 
33093 static swig_cast_info _swigc__p_wxPrintDialog
[] = {  {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33094 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {  {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
33095 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}}; 
33096 static swig_cast_info _swigc__p_wxPrinter
[] = {  {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}}; 
33097 static swig_cast_info _swigc__p_wxProgressDialog
[] = {  {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33098 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {  {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
33099 static swig_cast_info _swigc__p_wxPyPanel
[] = {  {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}}; 
33100 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}}; 
33101 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {  {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
33102 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {  {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
33103 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {  {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
33104 static swig_cast_info _swigc__p_wxPyPrintout
[] = {  {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}}; 
33105 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {  {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
33106 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {  {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
33107 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}}; 
33108 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}}; 
33109 static swig_cast_info _swigc__p_wxPyWindow
[] = {  {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
33110 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {  {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33111 static swig_cast_info _swigc__p_wxRect
[] = {  {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}}; 
33112 static swig_cast_info _swigc__p_wxRegion
[] = {  {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}}; 
33113 static swig_cast_info _swigc__p_wxSashEvent
[] = {  {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33114 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {  {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
33115 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}}; 
33116 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {  {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33117 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}}; 
33118 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {  {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33119 static swig_cast_info _swigc__p_wxSize
[] = {  {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}}; 
33120 static swig_cast_info _swigc__p_wxSplashScreen
[] = {  {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}}; 
33121 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {  {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
33122 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {  {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33123 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {  {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
33124 static swig_cast_info _swigc__p_wxStatusBar
[] = {  {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}}; 
33125 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {  {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33126 static swig_cast_info _swigc__p_wxString
[] = {  {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}}; 
33127 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = {  {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
33128 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {  {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33129 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}}; 
33130 static swig_cast_info _swigc__p_wxTipWindow
[] = {  {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
33131 static swig_cast_info _swigc__p_wxToolBar
[] = {  {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}}; 
33132 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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}}; 
33133 static swig_cast_info _swigc__p_wxVisualAttributes
[] = {  {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}}; 
33134 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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}}; 
33136 static swig_cast_info 
*swig_cast_initial
[] = { 
33139   _swigc__p_form_ops_t
, 
33141   _swigc__p_unsigned_char
, 
33142   _swigc__p_unsigned_int
, 
33143   _swigc__p_unsigned_long
, 
33144   _swigc__p_wxANIHandler
, 
33145   _swigc__p_wxAcceleratorTable
, 
33146   _swigc__p_wxActivateEvent
, 
33147   _swigc__p_wxArrayInt
, 
33148   _swigc__p_wxBMPHandler
, 
33149   _swigc__p_wxBitmap
, 
33150   _swigc__p_wxBoxSizer
, 
33151   _swigc__p_wxCURHandler
, 
33152   _swigc__p_wxCalculateLayoutEvent
, 
33153   _swigc__p_wxChildFocusEvent
, 
33154   _swigc__p_wxClipboardTextEvent
, 
33155   _swigc__p_wxCloseEvent
, 
33156   _swigc__p_wxColour
, 
33157   _swigc__p_wxColourData
, 
33158   _swigc__p_wxColourDialog
, 
33159   _swigc__p_wxCommandEvent
, 
33160   _swigc__p_wxContextMenuEvent
, 
33161   _swigc__p_wxControl
, 
33162   _swigc__p_wxControlWithItems
, 
33164   _swigc__p_wxDateEvent
, 
33165   _swigc__p_wxDialog
, 
33166   _swigc__p_wxDirDialog
, 
33167   _swigc__p_wxDisplayChangedEvent
, 
33168   _swigc__p_wxDropFilesEvent
, 
33169   _swigc__p_wxDuplexMode
, 
33170   _swigc__p_wxEraseEvent
, 
33172   _swigc__p_wxEvtHandler
, 
33173   _swigc__p_wxFSFile
, 
33174   _swigc__p_wxFileDialog
, 
33175   _swigc__p_wxFileSystem
, 
33176   _swigc__p_wxFindDialogEvent
, 
33177   _swigc__p_wxFindReplaceData
, 
33178   _swigc__p_wxFindReplaceDialog
, 
33179   _swigc__p_wxFlexGridSizer
, 
33180   _swigc__p_wxFocusEvent
, 
33182   _swigc__p_wxFontData
, 
33183   _swigc__p_wxFontDialog
, 
33185   _swigc__p_wxGBSizerItem
, 
33186   _swigc__p_wxGIFHandler
, 
33187   _swigc__p_wxGridBagSizer
, 
33188   _swigc__p_wxGridSizer
, 
33189   _swigc__p_wxHtmlLinkInfo
, 
33190   _swigc__p_wxICOHandler
, 
33192   _swigc__p_wxIconBundle
, 
33193   _swigc__p_wxIconizeEvent
, 
33194   _swigc__p_wxIdleEvent
, 
33196   _swigc__p_wxImageHandler
, 
33197   _swigc__p_wxIndividualLayoutConstraint
, 
33198   _swigc__p_wxInitDialogEvent
, 
33199   _swigc__p_wxJPEGHandler
, 
33200   _swigc__p_wxKeyEvent
, 
33201   _swigc__p_wxLayoutAlgorithm
, 
33202   _swigc__p_wxLayoutConstraints
, 
33203   _swigc__p_wxMDIChildFrame
, 
33204   _swigc__p_wxMDIClientWindow
, 
33205   _swigc__p_wxMDIParentFrame
, 
33206   _swigc__p_wxMaximizeEvent
, 
33208   _swigc__p_wxMenuBar
, 
33209   _swigc__p_wxMenuEvent
, 
33210   _swigc__p_wxMenuItem
, 
33211   _swigc__p_wxMessageDialog
, 
33212   _swigc__p_wxMiniFrame
, 
33213   _swigc__p_wxMouseCaptureChangedEvent
, 
33214   _swigc__p_wxMouseEvent
, 
33215   _swigc__p_wxMoveEvent
, 
33216   _swigc__p_wxMultiChoiceDialog
, 
33217   _swigc__p_wxNavigationKeyEvent
, 
33218   _swigc__p_wxNcPaintEvent
, 
33219   _swigc__p_wxNotifyEvent
, 
33220   _swigc__p_wxNumberEntryDialog
, 
33221   _swigc__p_wxObject
, 
33222   _swigc__p_wxPCXHandler
, 
33223   _swigc__p_wxPNGHandler
, 
33224   _swigc__p_wxPNMHandler
, 
33225   _swigc__p_wxPageSetupDialog
, 
33226   _swigc__p_wxPageSetupDialogData
, 
33227   _swigc__p_wxPaintEvent
, 
33228   _swigc__p_wxPaletteChangedEvent
, 
33230   _swigc__p_wxPaperSize
, 
33231   _swigc__p_wxPasswordEntryDialog
, 
33233   _swigc__p_wxPopupWindow
, 
33234   _swigc__p_wxPreviewCanvas
, 
33235   _swigc__p_wxPreviewControlBar
, 
33236   _swigc__p_wxPreviewFrame
, 
33237   _swigc__p_wxPrintData
, 
33238   _swigc__p_wxPrintDialog
, 
33239   _swigc__p_wxPrintDialogData
, 
33240   _swigc__p_wxPrintPreview
, 
33241   _swigc__p_wxPrinter
, 
33242   _swigc__p_wxProgressDialog
, 
33244   _swigc__p_wxPyCommandEvent
, 
33245   _swigc__p_wxPyEvent
, 
33246   _swigc__p_wxPyHtmlListBox
, 
33247   _swigc__p_wxPyImageHandler
, 
33248   _swigc__p_wxPyPanel
, 
33249   _swigc__p_wxPyPopupTransientWindow
, 
33250   _swigc__p_wxPyPreviewControlBar
, 
33251   _swigc__p_wxPyPreviewFrame
, 
33252   _swigc__p_wxPyPrintPreview
, 
33253   _swigc__p_wxPyPrintout
, 
33254   _swigc__p_wxPyScrolledWindow
, 
33255   _swigc__p_wxPySizer
, 
33256   _swigc__p_wxPyTaskBarIcon
, 
33257   _swigc__p_wxPyVListBox
, 
33258   _swigc__p_wxPyVScrolledWindow
, 
33259   _swigc__p_wxPyValidator
, 
33260   _swigc__p_wxPyWindow
, 
33261   _swigc__p_wxQueryLayoutInfoEvent
, 
33262   _swigc__p_wxQueryNewPaletteEvent
, 
33264   _swigc__p_wxRegion
, 
33265   _swigc__p_wxSashEvent
, 
33266   _swigc__p_wxSashLayoutWindow
, 
33267   _swigc__p_wxSashWindow
, 
33268   _swigc__p_wxScrollEvent
, 
33269   _swigc__p_wxScrollWinEvent
, 
33270   _swigc__p_wxScrolledWindow
, 
33271   _swigc__p_wxSetCursorEvent
, 
33272   _swigc__p_wxShowEvent
, 
33273   _swigc__p_wxSingleChoiceDialog
, 
33275   _swigc__p_wxSizeEvent
, 
33277   _swigc__p_wxSizerItem
, 
33278   _swigc__p_wxSplashScreen
, 
33279   _swigc__p_wxSplashScreenWindow
, 
33280   _swigc__p_wxSplitterEvent
, 
33281   _swigc__p_wxSplitterWindow
, 
33282   _swigc__p_wxStaticBoxSizer
, 
33283   _swigc__p_wxStatusBar
, 
33284   _swigc__p_wxStdDialogButtonSizer
, 
33285   _swigc__p_wxString
, 
33286   _swigc__p_wxSysColourChangedEvent
, 
33287   _swigc__p_wxTIFFHandler
, 
33288   _swigc__p_wxTaskBarIcon
, 
33289   _swigc__p_wxTaskBarIconEvent
, 
33290   _swigc__p_wxTextEntryDialog
, 
33291   _swigc__p_wxTipWindow
, 
33292   _swigc__p_wxToolBar
, 
33293   _swigc__p_wxTopLevelWindow
, 
33294   _swigc__p_wxUpdateUIEvent
, 
33295   _swigc__p_wxValidator
, 
33296   _swigc__p_wxVisualAttributes
, 
33297   _swigc__p_wxWindow
, 
33298   _swigc__p_wxWindowCreateEvent
, 
33299   _swigc__p_wxWindowDestroyEvent
, 
33300   _swigc__p_wxXPMHandler
, 
33304 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
33306 static swig_const_info swig_const_table
[] = { 
33307 {0, 0, 0, 0.0, 0, 0}}; 
33312 /* ----------------------------------------------------------------------------- 
33313  * Type initialization: 
33314  * This problem is tough by the requirement that no dynamic  
33315  * memory is used. Also, since swig_type_info structures store pointers to  
33316  * swig_cast_info structures and swig_cast_info structures store pointers back 
33317  * to swig_type_info structures, we need some lookup code at initialization.  
33318  * The idea is that swig generates all the structures that are needed.  
33319  * The runtime then collects these partially filled structures.  
33320  * The SWIG_InitializeModule function takes these initial arrays out of  
33321  * swig_module, and does all the lookup, filling in the swig_module.types 
33322  * array with the correct data and linking the correct swig_cast_info 
33323  * structures together. 
33325  * The generated swig_type_info structures are assigned staticly to an initial  
33326  * array. We just loop though that array, and handle each type individually. 
33327  * First we lookup if this type has been already loaded, and if so, use the 
33328  * loaded structure instead of the generated one. Then we have to fill in the 
33329  * cast linked list. The cast data is initially stored in something like a 
33330  * two-dimensional array. Each row corresponds to a type (there are the same 
33331  * number of rows as there are in the swig_type_initial array). Each entry in 
33332  * a column is one of the swig_cast_info structures for that type. 
33333  * The cast_initial array is actually an array of arrays, because each row has 
33334  * a variable number of columns. So to actually build the cast linked list, 
33335  * we find the array of casts associated with the type, and loop through it  
33336  * adding the casts to the list. The one last trick we need to do is making 
33337  * sure the type pointer in the swig_cast_info struct is correct. 
33339  * First off, we lookup the cast->type name to see if it is already loaded.  
33340  * There are three cases to handle: 
33341  *  1) If the cast->type has already been loaded AND the type we are adding 
33342  *     casting info to has not been loaded (it is in this module), THEN we 
33343  *     replace the cast->type pointer with the type pointer that has already 
33345  *  2) If BOTH types (the one we are adding casting info to, and the  
33346  *     cast->type) are loaded, THEN the cast info has already been loaded by 
33347  *     the previous module so we just ignore it. 
33348  *  3) Finally, if cast->type has not already been loaded, then we add that 
33349  *     swig_cast_info to the linked list (because the cast->type) pointer will 
33351  * ----------------------------------------------------------------------------- */ 
33361 #define SWIGRUNTIME_DEBUG 
33365 SWIG_InitializeModule(void *clientdata
) { 
33367   swig_module_info 
*module_head
; 
33368   static int init_run 
= 0; 
33370   clientdata 
= clientdata
; 
33372   if (init_run
) return; 
33375   /* Initialize the swig_module */ 
33376   swig_module
.type_initial 
= swig_type_initial
; 
33377   swig_module
.cast_initial 
= swig_cast_initial
; 
33379   /* Try and load any already created modules */ 
33380   module_head 
= SWIG_GetModule(clientdata
); 
33382     swig_module
.next 
= module_head
->next
; 
33383     module_head
->next 
= &swig_module
; 
33385     /* This is the first module loaded */ 
33386     swig_module
.next 
= &swig_module
; 
33387     SWIG_SetModule(clientdata
, &swig_module
); 
33390   /* Now work on filling in swig_module.types */ 
33391 #ifdef SWIGRUNTIME_DEBUG 
33392   printf("SWIG_InitializeModule: size %d\n", swig_module
.size
); 
33394   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
33395     swig_type_info 
*type 
= 0; 
33396     swig_type_info 
*ret
; 
33397     swig_cast_info 
*cast
; 
33399 #ifdef SWIGRUNTIME_DEBUG 
33400     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
33403     /* if there is another module already loaded */ 
33404     if (swig_module
.next 
!= &swig_module
) { 
33405       type 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
); 
33408       /* Overwrite clientdata field */ 
33409 #ifdef SWIGRUNTIME_DEBUG 
33410       printf("SWIG_InitializeModule: found type %s\n", type
->name
); 
33412       if (swig_module
.type_initial
[i
]->clientdata
) { 
33413         type
->clientdata 
= swig_module
.type_initial
[i
]->clientdata
; 
33414 #ifdef SWIGRUNTIME_DEBUG 
33415         printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
); 
33419       type 
= swig_module
.type_initial
[i
]; 
33422     /* Insert casting types */ 
33423     cast 
= swig_module
.cast_initial
[i
]; 
33424     while (cast
->type
) { 
33425       /* Don't need to add information already in the list */ 
33427 #ifdef SWIGRUNTIME_DEBUG 
33428       printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
); 
33430       if (swig_module
.next 
!= &swig_module
) { 
33431         ret 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
); 
33432 #ifdef SWIGRUNTIME_DEBUG 
33433         if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
); 
33437         if (type 
== swig_module
.type_initial
[i
]) { 
33438 #ifdef SWIGRUNTIME_DEBUG 
33439           printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
); 
33444           /* Check for casting already in the list */ 
33445           swig_cast_info 
*ocast 
= SWIG_TypeCheck(ret
->name
, type
); 
33446 #ifdef SWIGRUNTIME_DEBUG 
33447           if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
); 
33449           if (!ocast
) ret 
= 0; 
33454 #ifdef SWIGRUNTIME_DEBUG 
33455         printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
); 
33458           type
->cast
->prev 
= cast
; 
33459           cast
->next 
= type
->cast
; 
33465     /* Set entry in modules->types array equal to the type */ 
33466     swig_module
.types
[i
] = type
; 
33468   swig_module
.types
[i
] = 0; 
33470 #ifdef SWIGRUNTIME_DEBUG 
33471   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
33472   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
33474     swig_cast_info 
*cast 
= swig_module
.cast_initial
[i
]; 
33475     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
33476     while (cast
->type
) { 
33477       printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
); 
33481     printf("---- Total casts: %d\n",j
); 
33483   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
33487 /* This function will propagate the clientdata field of type to 
33488 * any new swig_type_info structures that have been added into the list 
33489 * of equivalent types.  It is like calling 
33490 * SWIG_TypeClientData(type, clientdata) a second time. 
33493 SWIG_PropagateClientData(void) { 
33495   swig_cast_info 
*equiv
; 
33496   static int init_run 
= 0; 
33498   if (init_run
) return; 
33501   for (i 
= 0; i 
< swig_module
.size
; i
++) { 
33502     if (swig_module
.types
[i
]->clientdata
) { 
33503       equiv 
= swig_module
.types
[i
]->cast
; 
33505         if (!equiv
->converter
) { 
33506           if (equiv
->type 
&& !equiv
->type
->clientdata
) 
33507           SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
); 
33509         equiv 
= equiv
->next
; 
33529   /* Python-specific SWIG API */ 
33530 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
33531 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
33532 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
33534   /* ----------------------------------------------------------------------------- 
33535    * global variable support code. 
33536    * ----------------------------------------------------------------------------- */ 
33538   typedef struct swig_globalvar 
{ 
33539     char       *name
;                  /* Name of global variable */ 
33540     PyObject 
*(*get_attr
)(void);       /* Return the current value */ 
33541     int       (*set_attr
)(PyObject 
*); /* Set the value */ 
33542     struct swig_globalvar 
*next
; 
33545   typedef struct swig_varlinkobject 
{ 
33547     swig_globalvar 
*vars
; 
33548   } swig_varlinkobject
; 
33550   SWIGINTERN PyObject 
* 
33551   swig_varlink_repr(swig_varlinkobject 
*SWIGUNUSEDPARM(v
)) { 
33552     return PyString_FromString("<Swig global variables>"); 
33555   SWIGINTERN PyObject 
* 
33556   swig_varlink_str(swig_varlinkobject 
*v
) { 
33557     PyObject 
*str 
= PyString_FromString("("); 
33558     swig_globalvar  
*var
; 
33559     for (var 
= v
->vars
; var
; var
=var
->next
) { 
33560       PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
)); 
33561       if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", ")); 
33563     PyString_ConcatAndDel(&str
,PyString_FromString(")")); 
33568   swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) { 
33569     PyObject 
*str 
= swig_varlink_str(v
); 
33570     fprintf(fp
,"Swig global variables "); 
33571     fprintf(fp
,"%s\n", PyString_AsString(str
)); 
33577   swig_varlink_dealloc(swig_varlinkobject 
*v
) { 
33578     swig_globalvar 
*var 
= v
->vars
; 
33580       swig_globalvar 
*n 
= var
->next
; 
33587   SWIGINTERN PyObject 
* 
33588   swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
33589     PyObject 
*res 
= NULL
; 
33590     swig_globalvar 
*var 
= v
->vars
; 
33592       if (strcmp(var
->name
,n
) == 0) { 
33593         res 
= (*var
->get_attr
)(); 
33598     if (res 
== NULL 
&& !PyErr_Occurred()) { 
33599       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
33605   swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
33607     swig_globalvar 
*var 
= v
->vars
; 
33609       if (strcmp(var
->name
,n
) == 0) { 
33610         res 
= (*var
->set_attr
)(p
); 
33615     if (res 
== 1 && !PyErr_Occurred()) { 
33616       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
33621   SWIGINTERN PyTypeObject
* 
33622   swig_varlink_type(void) { 
33623     static char varlink__doc__
[] = "Swig var link object"; 
33624     static PyTypeObject varlink_type
; 
33625     static int type_init 
= 0;   
33627       const PyTypeObject tmp
 
33629         PyObject_HEAD_INIT(NULL
) 
33630         0,                                  /* Number of items in variable part (ob_size) */ 
33631         (char *)"swigvarlink",              /* Type name (tp_name) */ 
33632         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
33633         0,                                  /* Itemsize (tp_itemsize) */ 
33634         (destructor
) swig_varlink_dealloc
,   /* Deallocator (tp_dealloc) */  
33635         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
33636         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
33637         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
33638         0,                                  /* tp_compare */ 
33639         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
33640         0,                                  /* tp_as_number */ 
33641         0,                                  /* tp_as_sequence */ 
33642         0,                                  /* tp_as_mapping */ 
33645         (reprfunc
)swig_varlink_str
,        /* tp_str */ 
33646         0,                                  /* tp_getattro */ 
33647         0,                                  /* tp_setattro */ 
33648         0,                                  /* tp_as_buffer */ 
33650         varlink__doc__
,                     /* tp_doc */ 
33651         0,                                  /* tp_traverse */ 
33653         0,                                  /* tp_richcompare */ 
33654         0,                                  /* tp_weaklistoffset */ 
33655 #if PY_VERSION_HEX >= 0x02020000 
33656         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
33658 #if PY_VERSION_HEX >= 0x02030000 
33661 #ifdef COUNT_ALLOCS 
33662         0,0,0,0                             /* tp_alloc -> tp_next */ 
33665       varlink_type 
= tmp
; 
33666       varlink_type
.ob_type 
= &PyType_Type
; 
33669     return &varlink_type
; 
33672   /* Create a variable linking object for use later */ 
33673   SWIGINTERN PyObject 
* 
33674   SWIG_Python_newvarlink(void) { 
33675     swig_varlinkobject 
*result 
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type()); 
33679     return ((PyObject
*) result
); 
33683   SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
33684     swig_varlinkobject 
*v 
= (swig_varlinkobject 
*) p
; 
33685     swig_globalvar 
*gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
33687       size_t size 
= strlen(name
)+1; 
33688       gv
->name 
= (char *)malloc(size
); 
33690         strncpy(gv
->name
,name
,size
); 
33691         gv
->get_attr 
= get_attr
; 
33692         gv
->set_attr 
= set_attr
; 
33693         gv
->next 
= v
->vars
; 
33699   SWIGINTERN PyObject 
* 
33701     static PyObject 
*_SWIG_globals 
= 0;  
33702     if (!_SWIG_globals
) _SWIG_globals 
= SWIG_newvarlink();   
33703     return _SWIG_globals
; 
33706   /* ----------------------------------------------------------------------------- 
33707    * constants/methods manipulation 
33708    * ----------------------------------------------------------------------------- */ 
33710   /* Install Constants */ 
33712   SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
33715     for (i 
= 0; constants
[i
].type
; ++i
) { 
33716       switch(constants
[i
].type
) { 
33717       case SWIG_PY_POINTER
: 
33718         obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
33720       case SWIG_PY_BINARY
: 
33721         obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
33728         PyDict_SetItemString(d
, constants
[i
].name
, obj
); 
33734   /* -----------------------------------------------------------------------------*/ 
33735   /* Fix SwigMethods to carry the callback ptrs when needed */ 
33736   /* -----------------------------------------------------------------------------*/ 
33739   SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
33740     swig_const_info 
*const_table
, 
33741     swig_type_info 
**types
, 
33742     swig_type_info 
**types_initial
) { 
33744     for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
33745       const char *c 
= methods
[i
].ml_doc
; 
33746       if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
33748         swig_const_info 
*ci 
= 0; 
33749         const char *name 
= c 
+ 10; 
33750         for (j 
= 0; const_table
[j
].type
; ++j
) { 
33751           if (strncmp(const_table
[j
].name
, name
,  
33752               strlen(const_table
[j
].name
)) == 0) { 
33753             ci 
= &(const_table
[j
]); 
33758           size_t shift 
= (ci
->ptype
) - types
; 
33759           swig_type_info 
*ty 
= types_initial
[shift
]; 
33760           size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
33761           size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
33762           char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
33765             void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue 
: 0; 
33767               strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
33769               strncpy(buff
, "swig_ptr: ", 10); 
33771               SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
33772               methods
[i
].ml_doc 
= ndoc
; 
33784 /* -----------------------------------------------------------------------------* 
33785  *  Partial Init method 
33786  * -----------------------------------------------------------------------------*/ 
33791 SWIGEXPORT 
void SWIG_init(void) { 
33794   /* Fix SwigMethods to carry the callback ptrs when needed */ 
33795   SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
); 
33797   m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
33798   d 
= PyModule_GetDict(m
); 
33800   SWIG_InitializeModule(0); 
33801   SWIG_InstallConstants(d
,swig_const_table
); 
33804   PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals()); 
33805   SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
); 
33806   SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
); 
33807   SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
); 
33808   SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
); 
33809   SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
))); 
33810   SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
))); 
33811   SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
))); 
33812   SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
))); 
33813   SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
))); 
33814   SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
))); 
33815   SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
))); 
33816   SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
))); 
33817   SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
))); 
33818   SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
))); 
33819   SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
))); 
33820   SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
))); 
33821   SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
))); 
33822   SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
))); 
33823   SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
))); 
33824   SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
))); 
33825   SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
))); 
33826   SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
))); 
33827   SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
))); 
33828   SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
))); 
33829   SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
))); 
33830   SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
))); 
33831   SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
))); 
33832   SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
))); 
33833   SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
))); 
33834   SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
))); 
33835   SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
))); 
33836   SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
))); 
33837   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
))); 
33838   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
))); 
33839   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
))); 
33840   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
))); 
33841   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
))); 
33842   SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
))); 
33843   SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
))); 
33844   SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
))); 
33845   SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
))); 
33846   SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
))); 
33847   SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
))); 
33848   SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
))); 
33849   SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
))); 
33850   SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
))); 
33851   SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
))); 
33852   SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
))); 
33853   SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
))); 
33854   SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
))); 
33855   SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
); 
33856   SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
))); 
33857   SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
))); 
33858   SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
))); 
33859   SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
))); 
33860   SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
))); 
33861   SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
))); 
33862   SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
))); 
33863   SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
))); 
33864   SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
))); 
33865   SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
))); 
33866   SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
))); 
33867   SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
))); 
33868   SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
))); 
33869   SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
))); 
33870   PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
)); 
33871   PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
)); 
33872   PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
)); 
33873   PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
)); 
33874   SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
); 
33875   SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
); 
33876   SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
))); 
33877   SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
))); 
33878   SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
))); 
33879   SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
))); 
33880   SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
))); 
33881   SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
))); 
33882   SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
))); 
33883   SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
))); 
33884   SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
))); 
33885   SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
))); 
33886   SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
))); 
33887   SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
))); 
33888   SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
))); 
33889   SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
))); 
33890   SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
))); 
33891   PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
)); 
33892   SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
))); 
33893   SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
))); 
33894   SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
))); 
33895   SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
))); 
33896   SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
))); 
33897   SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
))); 
33898   SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
))); 
33899   SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
))); 
33900   SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
))); 
33901   SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
))); 
33902   SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
))); 
33903   PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
)); 
33904   PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
)); 
33905   SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
); 
33907   // Map renamed classes back to their common name for OOR 
33908   wxPyPtrTypeMap_Add("wxHtmlListBox",     "wxPyHtmlListBox"); 
33909   wxPyPtrTypeMap_Add("wxVListBox",        "wxPyVListBox"); 
33910   wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); 
33912   PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
)); 
33913   PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
)); 
33914   PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
)); 
33915   PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
)); 
33916   PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
)); 
33917   PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
)); 
33918   PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
)); 
33919   SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
); 
33920   SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
); 
33921   SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
); 
33922   SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
); 
33923   SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
); 
33924   SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
); 
33925   SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
))); 
33926   SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
))); 
33927   SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
))); 
33928   SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
))); 
33929   SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
))); 
33930   SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
))); 
33931   SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
))); 
33932   SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
))); 
33933   SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
))); 
33934   SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
))); 
33935   SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
))); 
33936   SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
))); 
33937   SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
))); 
33938   SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
))); 
33939   SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
))); 
33940   SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
))); 
33941   SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
))); 
33942   SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
))); 
33943   SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
))); 
33944   SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
); 
33945   SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
))); 
33946   SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
))); 
33947   SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
))); 
33948   SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
))); 
33949   SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
))); 
33950   SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
))); 
33951   SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
))); 
33952   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
)); 
33953   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
)); 
33954   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
)); 
33955   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
)); 
33956   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
)); 
33957   SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001))); 
33958   SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001))); 
33959   SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002))); 
33960   SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003))); 
33961   SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004))); 
33962   SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005))); 
33963   SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006))); 
33964   SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100))); 
33965   SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600))); 
33966   SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
); 
33967   SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
); 
33968   SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
))); 
33969   SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
))); 
33970   SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
))); 
33971   SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
))); 
33972   SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
))); 
33973   SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
))); 
33974   SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
))); 
33975   SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
))); 
33976   SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
))); 
33977   SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
))); 
33978   SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
))); 
33979   SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
))); 
33980   SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
))); 
33981   SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
))); 
33982   SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
))); 
33983   SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
))); 
33984   SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
))); 
33985   SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
))); 
33986   SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
))); 
33987   SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
))); 
33988   SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
))); 
33989   SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
))); 
33990   SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
))); 
33991   SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
))); 
33992   SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
))); 
33993   SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
))); 
33994   SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
))); 
33995   SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
))); 
33996   SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
))); 
33997   SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
))); 
33998   SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
))); 
33999   SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
))); 
34000   SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
))); 
34001   SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
))); 
34002   SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
))); 
34003   SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
))); 
34004   SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
))); 
34005   SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
))); 
34006   SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
))); 
34008   wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");