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_wxMouseCaptureLostEvent swig_types[77] 
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78] 
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79] 
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80] 
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81] 
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82] 
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83] 
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84] 
2551 #define SWIGTYPE_p_wxObject swig_types[85] 
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86] 
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87] 
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88] 
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89] 
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90] 
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91] 
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92] 
2559 #define SWIGTYPE_p_wxPanel swig_types[93] 
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94] 
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95] 
2562 #define SWIGTYPE_p_wxPoint swig_types[96] 
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97] 
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98] 
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99] 
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100] 
2567 #define SWIGTYPE_p_wxPrintData swig_types[101] 
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102] 
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103] 
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104] 
2571 #define SWIGTYPE_p_wxPrinter swig_types[105] 
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106] 
2573 #define SWIGTYPE_p_wxPyApp swig_types[107] 
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108] 
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109] 
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110] 
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111] 
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112] 
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113] 
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114] 
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115] 
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116] 
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117] 
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118] 
2585 #define SWIGTYPE_p_wxPySizer swig_types[119] 
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120] 
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121] 
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122] 
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123] 
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124] 
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125] 
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126] 
2593 #define SWIGTYPE_p_wxRect swig_types[127] 
2594 #define SWIGTYPE_p_wxRegion swig_types[128] 
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129] 
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130] 
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131] 
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132] 
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133] 
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134] 
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135] 
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136] 
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137] 
2604 #define SWIGTYPE_p_wxSize swig_types[138] 
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139] 
2606 #define SWIGTYPE_p_wxSizer swig_types[140] 
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141] 
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142] 
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143] 
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144] 
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145] 
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146] 
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147] 
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148] 
2615 #define SWIGTYPE_p_wxString swig_types[149] 
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150] 
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151] 
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152] 
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153] 
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154] 
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155] 
2622 #define SWIGTYPE_p_wxToolBar swig_types[156] 
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157] 
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158] 
2625 #define SWIGTYPE_p_wxValidator swig_types[159] 
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160] 
2627 #define SWIGTYPE_p_wxWindow swig_types[161] 
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162] 
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163] 
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164] 
2631 static swig_type_info 
*swig_types
[166]; 
2632 static swig_module_info swig_module 
= {swig_types
, 165, 0, 0, 0, 0}; 
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) 
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) 
2636 /* -------- TYPES TABLE (END) -------- */ 
2638 #if (PY_VERSION_HEX <= 0x02000000) 
2639 # if !defined(SWIG_PYTHON_CLASSIC) 
2640 #  error "This python version requires to use swig with the '-classic' option" 
2643 #if (PY_VERSION_HEX <= 0x02020000) 
2644 # error "This python version requires to use swig with the '-nomodern' option" 
2646 #if (PY_VERSION_HEX <= 0x02020000) 
2647 # error "This python version requires to use swig with the '-nomodernargs' option" 
2650 # error "This python version requires to use swig with the '-nofastunpack' option" 
2653 /*----------------------------------------------- 
2654               @(target):= _windows_.so 
2655   ------------------------------------------------*/ 
2656 #define SWIG_init    init_windows_ 
2658 #define SWIG_name    "_windows_" 
2660 #define SWIGVERSION 0x010329  
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))  
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))  
2667 #include <stdexcept> 
2671   class PyObject_ptr 
{ 
2676     PyObject_ptr() :_obj(0) 
2680     PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
) 
2685     PyObject_ptr(PyObject 
*obj
, bool initial_ref 
= true) :_obj(obj
) 
2687       if (initial_ref
) Py_XINCREF(_obj
); 
2690     PyObject_ptr 
& operator=(const PyObject_ptr
& item
)  
2692       Py_XINCREF(item
._obj
); 
2703     operator PyObject 
*() const 
2708     PyObject 
*operator->() const 
2717   struct PyObject_var 
: PyObject_ptr 
{ 
2718     PyObject_var(PyObject
* obj 
= 0) : PyObject_ptr(obj
, false) { } 
2720     PyObject_var 
& operator = (PyObject
* obj
) 
2730 #include "wx/wxPython/wxPython.h" 
2731 #include "wx/wxPython/pyclasses.h" 
2734  static const wxString 
wxPyEmptyString(wxEmptyString
);  
2735  static const wxString 
wxPyPanelNameStr(wxPanelNameStr
);  
2741 # define LLONG_MIN      LONG_LONG_MIN 
2744 # define LLONG_MAX      LONG_LONG_MAX 
2747 # define ULLONG_MAX     ULONG_LONG_MAX 
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
) 
2754     if (PyNumber_Check(obj
)) { 
2755         if (val
) *val 
= PyInt_AsLong(obj
); 
2758     return SWIG_TypeError
; 
2763 SWIG_AsVal_int (PyObject 
* obj
, int *val
) 
2766   int res 
= SWIG_AsVal_long (obj
, &v
); 
2767   if (SWIG_IsOK(res
)) { 
2768     if ((v 
< INT_MIN 
|| v 
> INT_MAX
)) { 
2769       return SWIG_OverflowError
; 
2771       if (val
) *val 
= static_cast< int >(v
); 
2779 SWIG_AsVal_bool (PyObject 
*obj
, bool *val
) 
2781   if (obj 
== Py_True
) { 
2782     if (val
) *val 
= true; 
2784   } else if (obj 
== Py_False
) { 
2785     if (val
) *val 
= false; 
2789     int res 
= SWIG_AddCast(SWIG_AsVal_long (obj
, val 
? &v 
: 0)); 
2790     if (SWIG_IsOK(res
) && val
) *val 
= v 
? true : false; 
2796   #define SWIG_From_long   PyInt_FromLong  
2799 SWIGINTERNINLINE PyObject 
* 
2800 SWIG_From_int  (int value
) 
2802   return SWIG_From_long  (value
); 
2807 SWIG_AsVal_double (PyObject 
*obj
, double* val
) 
2809     if (PyNumber_Check(obj
)) { 
2810         if (val
) *val 
= PyFloat_AsDouble(obj
); 
2813     return SWIG_TypeError
; 
2817   #define SWIG_From_double   PyFloat_FromDouble  
2819  static const wxString 
wxPyFrameNameStr(wxFrameNameStr
);  
2820  static const wxString 
wxPyDialogNameStr(wxDialogNameStr
);  
2821  static const wxString 
wxPyStatusLineNameStr(wxStatusLineNameStr
);  
2822  static const wxString 
wxPyToolBarNameStr(wxToolBarNameStr
);  
2823 SWIGINTERN 
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow 
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ } 
2824 SWIGINTERN 
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow 
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; } 
2825 SWIGINTERN 
bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow 
*self
,bool enable
=true){ return false; } 
2828 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
) 
2831     if (SWIG_AsVal_long(obj
, &v
) && v 
< 0) { 
2832         return SWIG_TypeError
; 
2835         *val 
= (unsigned long)v
; 
2841 SWIG_AsVal_unsigned_SS_char (PyObject 
* obj
, unsigned char *val
) 
2844   int res 
= SWIG_AsVal_unsigned_SS_long (obj
, &v
); 
2845   if (SWIG_IsOK(res
)) { 
2846     if ((v 
> UCHAR_MAX
)) { 
2847       return SWIG_OverflowError
; 
2849       if (val
) *val 
= static_cast< unsigned char >(v
); 
2857 SWIGINTERN wxRect 
wxStatusBar_GetFieldRect(wxStatusBar 
*self
,int i
){ 
2859             self
->GetFieldRect(i
, r
); 
2862  static const wxString 
wxPySplitterNameStr(wxT("splitter"));  
2863  static const wxString 
wxPySashNameStr(wxT("sashWindow"));  
2864  static const wxString 
wxPySashLayoutNameStr(wxT("layoutWindow"));  
2866 #include <wx/popupwin.h> 
2869 class wxPyPopupTransientWindow 
: public wxPopupTransientWindow
 
2872     wxPyPopupTransientWindow() : wxPopupTransientWindow() {} 
2873     wxPyPopupTransientWindow(wxWindow
* parent
, int style 
= wxBORDER_NONE
) 
2874         : wxPopupTransientWindow(parent
, style
) {} 
2876     DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
); 
2877     DEC_PYCALLBACK__(OnDismiss
); 
2878     DEC_PYCALLBACK_BOOL_(CanDismiss
); 
2883 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
); 
2884 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
); 
2885 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
); 
2888 #include <wx/tipwin.h> 
2890 SWIGINTERN wxTipWindow 
*new_wxTipWindow(wxWindow 
*parent
,wxString 
const &text
,int maxLength
=100,wxRect 
*rectBound
=NULL
){ 
2891             return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
); 
2894 #include <wx/tipwin.h> 
2897 #include <wx/vscroll.h> 
2900 class wxPyVScrolledWindow  
: public wxVScrolledWindow
 
2902     DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
) 
2904     wxPyVScrolledWindow() : wxVScrolledWindow() {} 
2906     wxPyVScrolledWindow(wxWindow 
*parent
, 
2907                         wxWindowID id 
= wxID_ANY
, 
2908                         const wxPoint
& pos 
= wxDefaultPosition
, 
2909                         const wxSize
& size 
= wxDefaultSize
, 
2911                         const wxString
& name 
= wxPyPanelNameStr
) 
2912         : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
) 
2915     // Overridable virtuals 
2917     // this function must be overridden in the derived class and it should 
2918     // return the height of the given line in pixels 
2919     DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
); 
2922     // this function doesn't have to be overridden but it may be useful to do 
2923     // it if calculating the lines heights is a relatively expensive operation 
2924     // as it gives the user code a possibility to calculate several of them at 
2927     // OnGetLinesHint() is normally called just before OnGetLineHeight() but you 
2928     // shouldn't rely on the latter being called for all lines in the interval 
2929     // specified here. It is also possible that OnGetLineHeight() will be 
2930     // called for the lines outside of this interval, so this is really just a 
2931     // hint, not a promise. 
2933     // finally note that lineMin is inclusive, while lineMax is exclusive, as 
2935     DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
); 
2938     // when the number of lines changes, we try to estimate the total height 
2939     // of all lines which is a rather expensive operation in terms of lines 
2940     // access, so if the user code may estimate the average height 
2941     // better/faster than we do, it should override this function to implement 
2944     // this function should return the best guess for the total height it may 
2946     DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
); 
2949     // Also expose some other interesting protected methods 
2952     // find the index of the line we need to show at the top of the window such 
2953     // that the last (fully or partially) visible line is the given one 
2954     size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible 
= false) 
2955     { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); } 
2957     // get the total height of the lines between lineMin (inclusive) and 
2958     // lineMax (exclusive) 
2959     wxCoord 
GetLinesHeight(size_t lineMin
, size_t lineMax
) const 
2960     { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); } 
2962     // update the thumb size shown by the scrollbar 
2963     void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); } 
2965     // remove the scrollbar completely because we don't need it 
2966     void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); } 
2971 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
); 
2973 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
); 
2974 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
); 
2975 IMP_PYCALLBACK_COORD_const          (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
); 
2978 SWIGINTERNINLINE 
int 
2979 SWIG_AsVal_size_t (PyObject 
* obj
, size_t *val
) 
2982   int res 
= SWIG_AsVal_unsigned_SS_long (obj
, val 
? &v 
: 0); 
2983   if (SWIG_IsOK(res
) && val
) *val 
= static_cast< size_t >(v
); 
2988 SWIGINTERNINLINE PyObject
*  
2989 SWIG_From_unsigned_SS_long  (unsigned long value
) 
2991   return (value 
> LONG_MAX
) ? 
2992     PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));  
2996 SWIGINTERNINLINE PyObject 
* 
2997 SWIG_From_size_t  (size_t value
) 
2999   return SWIG_From_unsigned_SS_long  (static_cast< unsigned long >(value
)); 
3003 #include <wx/vlbox.h> 
3005  static const wxString 
wxPyVListBoxNameStr(wxVListBoxNameStr
);  
3007 class wxPyVListBox  
: public wxVListBox
 
3009     DECLARE_ABSTRACT_CLASS(wxPyVListBox
) 
3011     wxPyVListBox() : wxVListBox() {} 
3013     wxPyVListBox(wxWindow 
*parent
, 
3014                  wxWindowID id 
= wxID_ANY
, 
3015                  const wxPoint
& pos 
= wxDefaultPosition
, 
3016                  const wxSize
& size 
= wxDefaultSize
, 
3018                  const wxString
& name 
= wxPyVListBoxNameStr
) 
3019         : wxVListBox(parent
, id
, pos
, size
, style
, name
) 
3022     // Overridable virtuals 
3024     // the derived class must implement this function to actually draw the item 
3025     // with the given index on the provided DC 
3026     // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; 
3027     DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
); 
3030     // the derived class must implement this method to return the height of the 
3032     // virtual wxCoord OnMeasureItem(size_t n) const = 0; 
3033     DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
); 
3036     // this method may be used to draw separators between the lines; note that 
3037     // the rectangle may be modified, typically to deflate it a bit before 
3038     // passing to OnDrawItem() 
3040     // the base class version doesn't do anything 
3041     //    virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; 
3042     DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
); 
3045     // this method is used to draw the items background and, maybe, a border 
3048     // the base class version implements a reasonable default behaviour which 
3049     // consists in drawing the selected item with the standard background 
3050     // colour and drawing a border around the item if it is either selected or 
3052     //     virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; 
3053     DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
); 
3059 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
); 
3061 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
); 
3062 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
); 
3063 IMP_PYCALLBACK__DCRECTSIZET2_const   (wxPyVListBox
, wxVListBox
, OnDrawSeparator
); 
3064 IMP_PYCALLBACK__DCRECTSIZET_const    (wxPyVListBox
, wxVListBox
, OnDrawBackground
); 
3067 SWIGINTERN PyObject 
*wxPyVListBox_GetFirstSelected(wxPyVListBox 
*self
){ 
3068             unsigned long cookie 
= 0; 
3069             int selected 
= self
->GetFirstSelected(cookie
); 
3070             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3071             PyObject
* tup 
= PyTuple_New(2); 
3072             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
)); 
3073             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
)); 
3074             wxPyEndBlockThreads(blocked
); 
3077 SWIGINTERN PyObject 
*wxPyVListBox_GetNextSelected(wxPyVListBox 
*self
,unsigned long cookie
){ 
3078             int selected 
= self
->GetNextSelected(cookie
); 
3079             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3080             PyObject
* tup 
= PyTuple_New(2); 
3081             PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
)); 
3082             PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
)); 
3083             wxPyEndBlockThreads(blocked
); 
3087 #include <wx/htmllbox.h> 
3090 class wxPyHtmlListBox  
: public wxHtmlListBox
 
3092     DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
) 
3094     wxPyHtmlListBox() : wxHtmlListBox() {} 
3096     wxPyHtmlListBox(wxWindow 
*parent
, 
3097                     wxWindowID id 
= wxID_ANY
, 
3098                     const wxPoint
& pos 
= wxDefaultPosition
, 
3099                     const wxSize
& size 
= wxDefaultSize
, 
3101                     const wxString
& name 
= wxPyVListBoxNameStr
) 
3102         : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
) 
3105     // Overridable virtuals 
3107     // this method must be implemented in the derived class and should return 
3108     // the body (i.e. without <html>) of the HTML for the given item 
3109     DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
); 
3111     // this function may be overridden to decorate HTML returned by OnGetItem() 
3112     DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
); 
3114     // These are from wxVListBox 
3115     DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
); 
3116     DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
); 
3119 //     // this method allows to customize the selection appearance: it may be used 
3120 //     // to specify the colour of the text which normally has the given colour 
3121 //     // colFg when it is inside the selection 
3123 //     // by default, the original colour is not used at all and all text has the 
3124 //     // same (default for this system) colour inside selection 
3125 //     virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; 
3127 //     // this is the same as GetSelectedTextColour() but allows to customize the 
3128 //     // background colour -- this is even more rarely used as you can change it 
3129 //     // globally using SetSelectionBackground() 
3130 //     virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; 
3133     // This method may be overriden to handle clicking on a link in 
3134     // the listbox. By default, clicking links is ignored. 
3135     virtual void OnLinkClicked(size_t n
, 
3136                                const wxHtmlLinkInfo
& link
);         
3142 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
) 
3144 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
); 
3145 IMP_PYCALLBACK_STRING_SIZET     (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
); 
3146 IMP_PYCALLBACK__DCRECTSIZET2_const   (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
); 
3147 IMP_PYCALLBACK__DCRECTSIZET_const    (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
); 
3150 void wxPyHtmlListBox::OnLinkClicked(size_t n
, 
3151                                     const wxHtmlLinkInfo
& link
) { 
3153     wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3154     if ((found 
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) { 
3155         PyObject
* obj 
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0); 
3156         wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
)); 
3159     wxPyEndBlockThreads(blocked
); 
3161         wxPyHtmlListBox::OnLinkClicked(n
, link
); 
3168 #ifndef wxHAS_TASK_BAR_ICON 
3169 // implement dummy classes for platforms that don't have it 
3171 class wxTaskBarIcon 
: public wxEvtHandler
 
3174     wxTaskBarIcon()  { wxPyRaiseNotImplemented(); } 
3178 class wxTaskBarIconEvent 
: public wxEvent
 
3181     wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon 
*) 
3182         { wxPyRaiseNotImplemented(); } 
3183     virtual wxEvent
* Clone() const { return NULL
; } 
3184     bool IsOk() const { return false; } 
3185     bool IsIconInstalled() const { return false; } 
3186     bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip 
= wxPyEmptyString
) { return false; } 
3187     bool RemoveIcon() { return false; } 
3188     bool PopupMenu(wxMenu 
*menu
) { return false; } 
3192     wxEVT_TASKBAR_MOVE 
= 0, 
3193     wxEVT_TASKBAR_LEFT_DOWN 
= 0, 
3194     wxEVT_TASKBAR_LEFT_UP 
= 0, 
3195     wxEVT_TASKBAR_RIGHT_DOWN 
= 0, 
3196     wxEVT_TASKBAR_RIGHT_UP 
= 0, 
3197     wxEVT_TASKBAR_LEFT_DCLICK 
= 0, 
3198     wxEVT_TASKBAR_RIGHT_DCLICK 
= 0, 
3203 // Otherwise make a class that can virtualize CreatePopupMenu 
3204 class wxPyTaskBarIcon 
: public wxTaskBarIcon
 
3206     DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
) 
3208     wxPyTaskBarIcon() : wxTaskBarIcon() 
3211     wxMenu
* CreatePopupMenu() { 
3212         wxMenu 
*rval 
= NULL
; 
3214         wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3215         if ((found 
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) { 
3218             ro 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
3220                 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu"))) 
3225         wxPyEndBlockThreads(blocked
); 
3227             rval 
= wxTaskBarIcon::CreatePopupMenu(); 
3234 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
); 
3238 SWIGINTERN 
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon 
*self
){ 
3242  static const wxString 
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);  
3243  static const wxString 
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);  
3244  static const wxString 
wxPyDirDialogNameStr(wxDirDialogNameStr
);  
3245  static const wxString 
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);  
3246  static const wxString 
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);  
3247  static const wxString 
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);  
3249 // for compatibility only     
3250 #define wxHIDE_READONLY 0 
3252 SWIGINTERN PyObject 
*wxFileDialog_GetFilenames(wxFileDialog 
*self
){ 
3254             self
->GetFilenames(arr
); 
3255             return wxArrayString2PyList_helper(arr
); 
3257 SWIGINTERN PyObject 
*wxFileDialog_GetPaths(wxFileDialog 
*self
){ 
3259             self
->GetPaths(arr
); 
3260             return wxArrayString2PyList_helper(arr
); 
3262 SWIGINTERN PyObject 
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog 
*self
){ 
3263             return wxArrayInt2PyList_helper(self
->GetSelections()); 
3265 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
){ 
3266             return new wxSingleChoiceDialog(parent
, message
, caption
, 
3267                                             choices
, choices_array
, NULL
, style
, pos
); 
3269  static const wxString 
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);  
3271 SWIGINTERNINLINE PyObject
* 
3272   SWIG_From_bool  (bool value
) 
3274   return PyBool_FromLong(value 
? 1 : 0); 
3280  // C++ version of Python aware wxWindow 
3281 class wxPyWindow 
: public wxWindow
 
3283     DECLARE_DYNAMIC_CLASS(wxPyWindow
) 
3285     wxPyWindow() : wxWindow() {} 
3286     wxPyWindow(wxWindow
* parent
, const wxWindowID id
, 
3287                const wxPoint
& pos 
= wxDefaultPosition
, 
3288                const wxSize
& size 
= wxDefaultSize
, 
3290                const wxString
& name 
= wxPyPanelNameStr
) 
3291         : wxWindow(parent
, id
, pos
, size
, style
, name
) {} 
3293     void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); } 
3295     bool DoEraseBackground(wxDC
* dc
) { 
3297         return wxWindow::DoEraseBackground(dc
->GetHDC()); 
3299         dc
->SetBackground(wxBrush(GetBackgroundColour())); 
3305     DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
); 
3306     DEC_PYCALLBACK_VOID_INT5(DoSetSize
); 
3307     DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
); 
3308     DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
); 
3310     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
); 
3311     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
); 
3312     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
); 
3314     DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
); 
3315     DEC_PYCALLBACK_SIZE_const(DoGetBestSize
); 
3317     DEC_PYCALLBACK__(InitDialog
); 
3318     DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
); 
3319     DEC_PYCALLBACK_BOOL_(TransferDataToWindow
); 
3320     DEC_PYCALLBACK_BOOL_(Validate
); 
3322     DEC_PYCALLBACK_BOOL_const(AcceptsFocus
); 
3323     DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
); 
3324     DEC_PYCALLBACK_SIZE_const(GetMaxSize
); 
3326     DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
); 
3327     DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
); 
3329     DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
); 
3330     DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
); 
3332     DEC_PYCALLBACK_BOOL_(HasTransparentBackground
); 
3334     DEC_PYCALLBACK_VOID_(OnInternalIdle
); 
3339 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
); 
3341 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
); 
3342 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
); 
3343 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
); 
3344 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
); 
3346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
); 
3347 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
); 
3348 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
); 
3350 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
); 
3351 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
); 
3353 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
); 
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
); 
3355 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
); 
3356 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
); 
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
); 
3359 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
); 
3360 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
); 
3362 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
); 
3363 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
); 
3365 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
); 
3366 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
); 
3368 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
); 
3370 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
); 
3372  // C++ version of Python aware wxPanel 
3373 class wxPyPanel 
: public wxPanel
 
3375     DECLARE_DYNAMIC_CLASS(wxPyPanel
) 
3377     wxPyPanel() : wxPanel() {} 
3378     wxPyPanel(wxWindow
* parent
, const wxWindowID id
, 
3379                const wxPoint
& pos 
= wxDefaultPosition
, 
3380                const wxSize
& size 
= wxDefaultSize
, 
3382                const wxString
& name 
= wxPyPanelNameStr
) 
3383         : wxPanel(parent
, id
, pos
, size
, style
, name
) {} 
3385     void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); } 
3386     bool DoEraseBackground(wxDC
* dc
) { 
3388         return wxWindow::DoEraseBackground(dc
->GetHDC()); 
3390         dc
->SetBackground(wxBrush(GetBackgroundColour())); 
3397     DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
); 
3398     DEC_PYCALLBACK_VOID_INT5(DoSetSize
); 
3399     DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
); 
3400     DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
); 
3402     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
); 
3403     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
); 
3404     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
); 
3406     DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
); 
3407     DEC_PYCALLBACK_SIZE_const(DoGetBestSize
); 
3409     DEC_PYCALLBACK__(InitDialog
); 
3410     DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
); 
3411     DEC_PYCALLBACK_BOOL_(TransferDataToWindow
); 
3412     DEC_PYCALLBACK_BOOL_(Validate
); 
3414     DEC_PYCALLBACK_BOOL_const(AcceptsFocus
); 
3415     DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
); 
3416     DEC_PYCALLBACK_SIZE_const(GetMaxSize
); 
3418     DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
); 
3419     DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
); 
3421     DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
); 
3422     DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
); 
3424     DEC_PYCALLBACK_BOOL_(HasTransparentBackground
); 
3426     DEC_PYCALLBACK_VOID_(OnInternalIdle
); 
3431 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
); 
3433 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
); 
3434 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
); 
3435 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
); 
3436 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
); 
3438 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
); 
3439 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
); 
3440 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
); 
3442 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
); 
3443 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
); 
3445 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
); 
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
); 
3447 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
); 
3448 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
); 
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
); 
3451 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
); 
3452 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
); 
3454 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
); 
3455 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
); 
3457 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
); 
3458 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
); 
3460 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
); 
3462 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
); 
3464  // C++ version of Python aware wxScrolledWindow 
3465 class wxPyScrolledWindow 
: public wxScrolledWindow
 
3467     DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
) 
3469     wxPyScrolledWindow() : wxScrolledWindow() {} 
3470     wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
, 
3471                const wxPoint
& pos 
= wxDefaultPosition
, 
3472                const wxSize
& size 
= wxDefaultSize
, 
3474                const wxString
& name 
= wxPyPanelNameStr
) 
3475         : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {} 
3477     void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); } 
3478     bool DoEraseBackground(wxDC
* dc
) { 
3480         return wxWindow::DoEraseBackground(dc
->GetHDC()); 
3482         dc
->SetBackground(wxBrush(GetBackgroundColour())); 
3488     DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
); 
3489     DEC_PYCALLBACK_VOID_INT5(DoSetSize
); 
3490     DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
); 
3491     DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
); 
3493     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
); 
3494     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
); 
3495     DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
); 
3497     DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
); 
3498     DEC_PYCALLBACK_SIZE_const(DoGetBestSize
); 
3500     DEC_PYCALLBACK__(InitDialog
); 
3501     DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
); 
3502     DEC_PYCALLBACK_BOOL_(TransferDataToWindow
); 
3503     DEC_PYCALLBACK_BOOL_(Validate
); 
3505     DEC_PYCALLBACK_BOOL_const(AcceptsFocus
); 
3506     DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
); 
3507     DEC_PYCALLBACK_SIZE_const(GetMaxSize
); 
3509     DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
); 
3510     DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
); 
3512     DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
); 
3513     DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
); 
3515     DEC_PYCALLBACK_BOOL_(HasTransparentBackground
); 
3517     DEC_PYCALLBACK_VOID_(OnInternalIdle
); 
3522 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
); 
3524 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
); 
3525 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
); 
3526 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
); 
3527 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
); 
3529 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
); 
3530 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
); 
3531 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
); 
3533 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
); 
3534 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
); 
3536 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
); 
3537 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
); 
3538 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
); 
3539 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
); 
3541 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
); 
3542 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
); 
3543 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
); 
3545 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
); 
3546 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
); 
3548 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
); 
3549 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
); 
3551 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
); 
3553 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
); 
3556 #include "wx/wxPython/printfw.h" 
3559  static const wxString 
wxPyPrintoutTitleStr(wxT("Printout"));  
3560  static const wxString 
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));  
3561 SWIGINTERN PyObject 
*wxPrintData_GetPrivData(wxPrintData 
*self
){ 
3563             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3564             data 
= PyString_FromStringAndSize(self
->GetPrivData(), 
3565                                               self
->GetPrivDataLen()); 
3566             wxPyEndBlockThreads(blocked
); 
3569 SWIGINTERN 
void wxPrintData_SetPrivData(wxPrintData 
*self
,PyObject 
*data
){ 
3570             if (! PyString_Check(data
)) { 
3571                 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
, 
3572                                                   "Expected string object")); 
3576             wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3577             self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
)); 
3578             wxPyEndBlockThreads(blocked
); 
3582 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
); 
3584 // Since this one would be tough and ugly to do with the Macros... 
3585 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) { 
3586     bool hadErr 
= false; 
3589     wxPyBlock_t blocked 
= wxPyBeginBlockThreads(); 
3590     if ((found 
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) { 
3591         PyObject
* result 
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()")); 
3592         if (result 
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) { 
3595             val 
= PyTuple_GetItem(result
, 0); 
3596             if (PyInt_Check(val
))    *minPage 
= PyInt_AsLong(val
); 
3599             val 
= PyTuple_GetItem(result
, 1); 
3600             if (PyInt_Check(val
))    *maxPage 
= PyInt_AsLong(val
); 
3603             val 
= PyTuple_GetItem(result
, 2); 
3604             if (PyInt_Check(val
))    *pageFrom 
= PyInt_AsLong(val
); 
3607             val 
= PyTuple_GetItem(result
, 3); 
3608             if (PyInt_Check(val
))    *pageTo 
= PyInt_AsLong(val
); 
3615             PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers."); 
3620     wxPyEndBlockThreads(blocked
); 
3622         wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
); 
3627 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
); 
3628 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
); 
3629 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
); 
3630 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
); 
3631 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
); 
3632 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
); 
3633 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
); 
3639 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME)                                            \ 
3640     bool CBNAME(wxPreviewCanvas* a, wxDC& b) 
3643 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME)                             \ 
3644     bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) {                                   \ 
3647         wxPyBlock_t blocked = wxPyBeginBlockThreads();                                  \ 
3648         if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) {                        \ 
3649             PyObject* win = wxPyMake_wxObject(a,false);                                 \ 
3650             PyObject* dc  = wxPyMake_wxObject(&b,false);                                \ 
3651             rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));      \ 
3655         wxPyEndBlockThreads(blocked);                                                   \ 
3657             rval = PCLASS::CBNAME(a, b);                                                \ 
3664 class wxPyPrintPreview 
: public wxPrintPreview
 
3666     DECLARE_CLASS(wxPyPrintPreview
) 
3668     wxPyPrintPreview(wxPyPrintout
* printout
, 
3669                      wxPyPrintout
* printoutForPrinting
, 
3670                      wxPrintDialogData
* data
=NULL
) 
3671         : wxPrintPreview(printout
, printoutForPrinting
, data
) 
3673     wxPyPrintPreview(wxPyPrintout
* printout
, 
3674                      wxPyPrintout
* printoutForPrinting
, 
3676         : wxPrintPreview(printout
, printoutForPrinting
, data
) 
3679     DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
); 
3680     DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
); 
3681     DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
); 
3682     DEC_PYCALLBACK_BOOL_INT(RenderPage
); 
3683     DEC_PYCALLBACK_VOID_INT(SetZoom
); 
3684     DEC_PYCALLBACK_BOOL_BOOL(Print
); 
3685     DEC_PYCALLBACK_VOID_(DetermineScaling
); 
3690 // Stupid renamed classes...  Fix this in 2.5... 
3691 #if defined(__WXMSW__) 
3692 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview 
); 
3693 #elif defined(__WXMAC__) 
3694 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview 
); 
3696 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview 
); 
3699 IMP_PYCALLBACK_BOOL_INT     (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
); 
3700 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
); 
3701 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
); 
3702 IMP_PYCALLBACK_BOOL_INT     (wxPyPrintPreview
, wxPrintPreview
, RenderPage
); 
3703 IMP_PYCALLBACK_VOID_INT     (wxPyPrintPreview
, wxPrintPreview
, SetZoom
); 
3704 IMP_PYCALLBACK_BOOL_BOOL    (wxPyPrintPreview
, wxPrintPreview
, Print
); 
3705 IMP_PYCALLBACK_VOID_        (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
); 
3708 class wxPyPreviewFrame 
: public wxPreviewFrame
 
3710     DECLARE_CLASS(wxPyPreviewFrame
) 
3712     wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
, 
3713                      const wxString
& title
, 
3714                      const wxPoint
& pos 
= wxDefaultPosition
, 
3715                      const wxSize
&  size 
= wxDefaultSize
, 
3716                      long style 
= wxDEFAULT_FRAME_STYLE
, 
3717                      const wxString
& name 
= wxPyFrameNameStr
) 
3718         : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
) 
3721     void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas 
= canvas
; } 
3722     void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar 
= bar
; } 
3724     DEC_PYCALLBACK_VOID_(Initialize
); 
3725     DEC_PYCALLBACK_VOID_(CreateCanvas
); 
3726     DEC_PYCALLBACK_VOID_(CreateControlBar
); 
3731 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
); 
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
); 
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
); 
3735 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
); 
3738 class wxPyPreviewControlBar 
: public wxPreviewControlBar
 
3740     DECLARE_CLASS(wxPyPreviewControlBar
) 
3742     wxPyPreviewControlBar(wxPrintPreview 
*preview
, 
3745                           const wxPoint
& pos 
= wxDefaultPosition
, 
3746                           const wxSize
& size 
= wxDefaultSize
, 
3748                           const wxString
& name 
= wxPyPanelNameStr
) 
3749         : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
) 
3752     void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview 
= preview
; } 
3754     DEC_PYCALLBACK_VOID_(CreateButtons
); 
3755     DEC_PYCALLBACK_VOID_INT(SetZoomControl
); 
3760 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
); 
3761 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
); 
3762 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
); 
3767 SWIGINTERN PyObject 
*_wrap_new_Panel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3768   PyObject 
*resultobj 
= 0; 
3769   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
3770   int arg2 
= (int) (int)-1 ; 
3771   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
3772   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
3773   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
3774   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
3775   long arg5 
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER 
; 
3776   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
3777   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
3778   wxPanel 
*result 
= 0 ; 
3787   bool temp6 
= false ; 
3788   PyObject 
* obj0 
= 0 ; 
3789   PyObject 
* obj1 
= 0 ; 
3790   PyObject 
* obj2 
= 0 ; 
3791   PyObject 
* obj3 
= 0 ; 
3792   PyObject 
* obj4 
= 0 ; 
3793   PyObject 
* obj5 
= 0 ; 
3794   char *  kwnames
[] = { 
3795     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
3798   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
3799   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
3800   if (!SWIG_IsOK(res1
)) { 
3801     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");  
3803   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
3805     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
3806     if (!SWIG_IsOK(ecode2
)) { 
3807       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'"); 
3809     arg2 
= static_cast< int >(val2
); 
3814       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
3820       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
3824     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
3825     if (!SWIG_IsOK(ecode5
)) { 
3826       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'"); 
3828     arg5 
= static_cast< long >(val5
); 
3832       arg6 
= wxString_in_helper(obj5
); 
3833       if (arg6 
== NULL
) SWIG_fail
; 
3838     if (!wxPyCheckForApp()) SWIG_fail
; 
3839     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3840     result 
= (wxPanel 
*)new wxPanel(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
3841     wxPyEndAllowThreads(__tstate
); 
3842     if (PyErr_Occurred()) SWIG_fail
; 
3844   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW 
|  0 ); 
3859 SWIGINTERN PyObject 
*_wrap_new_PrePanel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3860   PyObject 
*resultobj 
= 0; 
3861   wxPanel 
*result 
= 0 ; 
3863   if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
; 
3865     if (!wxPyCheckForApp()) SWIG_fail
; 
3866     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3867     result 
= (wxPanel 
*)new wxPanel(); 
3868     wxPyEndAllowThreads(__tstate
); 
3869     if (PyErr_Occurred()) SWIG_fail
; 
3871   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN 
|  0 ); 
3878 SWIGINTERN PyObject 
*_wrap_Panel_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
3879   PyObject 
*resultobj 
= 0; 
3880   wxPanel 
*arg1 
= (wxPanel 
*) 0 ; 
3881   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
3882   int arg3 
= (int) (int)-1 ; 
3883   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
3884   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
3885   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
3886   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
3887   long arg6 
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER 
; 
3888   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
3889   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
3901   bool temp7 
= false ; 
3902   PyObject 
* obj0 
= 0 ; 
3903   PyObject 
* obj1 
= 0 ; 
3904   PyObject 
* obj2 
= 0 ; 
3905   PyObject 
* obj3 
= 0 ; 
3906   PyObject 
* obj4 
= 0 ; 
3907   PyObject 
* obj5 
= 0 ; 
3908   PyObject 
* obj6 
= 0 ; 
3909   char *  kwnames
[] = { 
3910     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
3913   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
3914   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 |  0 ); 
3915   if (!SWIG_IsOK(res1
)) { 
3916     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");  
3918   arg1 
= reinterpret_cast< wxPanel 
* >(argp1
); 
3919   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
3920   if (!SWIG_IsOK(res2
)) { 
3921     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
3923   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
3925     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
3926     if (!SWIG_IsOK(ecode3
)) { 
3927       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'"); 
3929     arg3 
= static_cast< int >(val3
); 
3934       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
3940       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
3944     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
3945     if (!SWIG_IsOK(ecode6
)) { 
3946       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'"); 
3948     arg6 
= static_cast< long >(val6
); 
3952       arg7 
= wxString_in_helper(obj6
); 
3953       if (arg7 
== NULL
) SWIG_fail
; 
3958     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3959     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
3960     wxPyEndAllowThreads(__tstate
); 
3961     if (PyErr_Occurred()) SWIG_fail
; 
3964     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
3980 SWIGINTERN PyObject 
*_wrap_Panel_SetFocusIgnoringChildren(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
3981   PyObject 
*resultobj 
= 0; 
3982   wxPanel 
*arg1 
= (wxPanel 
*) 0 ; 
3985   PyObject 
*swig_obj
[1] ; 
3987   if (!args
) SWIG_fail
; 
3989   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 |  0 ); 
3990   if (!SWIG_IsOK(res1
)) { 
3991     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");  
3993   arg1 
= reinterpret_cast< wxPanel 
* >(argp1
); 
3995     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
3996     (arg1
)->SetFocusIgnoringChildren(); 
3997     wxPyEndAllowThreads(__tstate
); 
3998     if (PyErr_Occurred()) SWIG_fail
; 
4000   resultobj 
= SWIG_Py_Void(); 
4007 SWIGINTERN PyObject 
*_wrap_Panel_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4008   PyObject 
*resultobj 
= 0; 
4009   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
4010   SwigValueWrapper
<wxVisualAttributes 
> result
; 
4013   PyObject 
* obj0 
= 0 ; 
4014   char *  kwnames
[] = { 
4015     (char *) "variant", NULL 
 
4018   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
4020     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
4021     if (!SWIG_IsOK(ecode1
)) { 
4022       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
4024     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
4027     if (!wxPyCheckForApp()) SWIG_fail
; 
4028     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4029     result 
= wxPanel::GetClassDefaultAttributes(arg1
); 
4030     wxPyEndAllowThreads(__tstate
); 
4031     if (PyErr_Occurred()) SWIG_fail
; 
4033   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
4040 SWIGINTERN PyObject 
*Panel_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4042   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
4043   SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
)); 
4044   return SWIG_Py_Void(); 
4047 SWIGINTERN PyObject 
*Panel_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4048   return SWIG_Python_InitShadowInstance(args
); 
4051 SWIGINTERN PyObject 
*_wrap_new_ScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4052   PyObject 
*resultobj 
= 0; 
4053   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
4054   int arg2 
= (int) (int)-1 ; 
4055   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
4056   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
4057   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
4058   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
4059   long arg5 
= (long) wxHSCROLL
|wxVSCROLL 
; 
4060   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
4061   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
4062   wxScrolledWindow 
*result 
= 0 ; 
4071   bool temp6 
= false ; 
4072   PyObject 
* obj0 
= 0 ; 
4073   PyObject 
* obj1 
= 0 ; 
4074   PyObject 
* obj2 
= 0 ; 
4075   PyObject 
* obj3 
= 0 ; 
4076   PyObject 
* obj4 
= 0 ; 
4077   PyObject 
* obj5 
= 0 ; 
4078   char *  kwnames
[] = { 
4079     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4082   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
4083   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
4084   if (!SWIG_IsOK(res1
)) { 
4085     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
4087   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
4089     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4090     if (!SWIG_IsOK(ecode2
)) { 
4091       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'"); 
4093     arg2 
= static_cast< int >(val2
); 
4098       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
4104       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
4108     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
4109     if (!SWIG_IsOK(ecode5
)) { 
4110       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'"); 
4112     arg5 
= static_cast< long >(val5
); 
4116       arg6 
= wxString_in_helper(obj5
); 
4117       if (arg6 
== NULL
) SWIG_fail
; 
4122     if (!wxPyCheckForApp()) SWIG_fail
; 
4123     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4124     result 
= (wxScrolledWindow 
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
4125     wxPyEndAllowThreads(__tstate
); 
4126     if (PyErr_Occurred()) SWIG_fail
; 
4128   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW 
|  0 ); 
4143 SWIGINTERN PyObject 
*_wrap_new_PreScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4144   PyObject 
*resultobj 
= 0; 
4145   wxScrolledWindow 
*result 
= 0 ; 
4147   if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
; 
4149     if (!wxPyCheckForApp()) SWIG_fail
; 
4150     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4151     result 
= (wxScrolledWindow 
*)new wxScrolledWindow(); 
4152     wxPyEndAllowThreads(__tstate
); 
4153     if (PyErr_Occurred()) SWIG_fail
; 
4155   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN 
|  0 ); 
4162 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4163   PyObject 
*resultobj 
= 0; 
4164   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4165   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
4166   int arg3 
= (int) (int)-1 ; 
4167   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
4168   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
4169   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
4170   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
4171   long arg6 
= (long) wxHSCROLL
|wxVSCROLL 
; 
4172   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
4173   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
4185   bool temp7 
= false ; 
4186   PyObject 
* obj0 
= 0 ; 
4187   PyObject 
* obj1 
= 0 ; 
4188   PyObject 
* obj2 
= 0 ; 
4189   PyObject 
* obj3 
= 0 ; 
4190   PyObject 
* obj4 
= 0 ; 
4191   PyObject 
* obj5 
= 0 ; 
4192   PyObject 
* obj6 
= 0 ; 
4193   char *  kwnames
[] = { 
4194     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
4197   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
4198   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4199   if (!SWIG_IsOK(res1
)) { 
4200     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4202   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4203   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
4204   if (!SWIG_IsOK(res2
)) { 
4205     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
4207   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
4209     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4210     if (!SWIG_IsOK(ecode3
)) { 
4211       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
4213     arg3 
= static_cast< int >(val3
); 
4218       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
4224       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
4228     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
4229     if (!SWIG_IsOK(ecode6
)) { 
4230       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
4232     arg6 
= static_cast< long >(val6
); 
4236       arg7 
= wxString_in_helper(obj6
); 
4237       if (arg7 
== NULL
) SWIG_fail
; 
4242     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4243     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
4244     wxPyEndAllowThreads(__tstate
); 
4245     if (PyErr_Occurred()) SWIG_fail
; 
4248     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
4264 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetScrollbars(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4265   PyObject 
*resultobj 
= 0; 
4266   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4271   int arg6 
= (int) 0 ; 
4272   int arg7 
= (int) 0 ; 
4273   bool arg8 
= (bool) false ; 
4290   PyObject 
* obj0 
= 0 ; 
4291   PyObject 
* obj1 
= 0 ; 
4292   PyObject 
* obj2 
= 0 ; 
4293   PyObject 
* obj3 
= 0 ; 
4294   PyObject 
* obj4 
= 0 ; 
4295   PyObject 
* obj5 
= 0 ; 
4296   PyObject 
* obj6 
= 0 ; 
4297   PyObject 
* obj7 
= 0 ; 
4298   char *  kwnames
[] = { 
4299     (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL 
 
4302   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
4303   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4304   if (!SWIG_IsOK(res1
)) { 
4305     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4307   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4308   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4309   if (!SWIG_IsOK(ecode2
)) { 
4310     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'"); 
4312   arg2 
= static_cast< int >(val2
); 
4313   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4314   if (!SWIG_IsOK(ecode3
)) { 
4315     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'"); 
4317   arg3 
= static_cast< int >(val3
); 
4318   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
4319   if (!SWIG_IsOK(ecode4
)) { 
4320     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'"); 
4322   arg4 
= static_cast< int >(val4
); 
4323   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
4324   if (!SWIG_IsOK(ecode5
)) { 
4325     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'"); 
4327   arg5 
= static_cast< int >(val5
); 
4329     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
4330     if (!SWIG_IsOK(ecode6
)) { 
4331       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'"); 
4333     arg6 
= static_cast< int >(val6
); 
4336     ecode7 
= SWIG_AsVal_int(obj6
, &val7
); 
4337     if (!SWIG_IsOK(ecode7
)) { 
4338       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'"); 
4340     arg7 
= static_cast< int >(val7
); 
4343     ecode8 
= SWIG_AsVal_bool(obj7
, &val8
); 
4344     if (!SWIG_IsOK(ecode8
)) { 
4345       SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'"); 
4347     arg8 
= static_cast< bool >(val8
); 
4350     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4351     (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
); 
4352     wxPyEndAllowThreads(__tstate
); 
4353     if (PyErr_Occurred()) SWIG_fail
; 
4355   resultobj 
= SWIG_Py_Void(); 
4362 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_Scroll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4363   PyObject 
*resultobj 
= 0; 
4364   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4373   PyObject 
* obj0 
= 0 ; 
4374   PyObject 
* obj1 
= 0 ; 
4375   PyObject 
* obj2 
= 0 ; 
4376   char *  kwnames
[] = { 
4377     (char *) "self",(char *) "x",(char *) "y", NULL 
 
4380   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4381   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4382   if (!SWIG_IsOK(res1
)) { 
4383     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4385   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4386   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4387   if (!SWIG_IsOK(ecode2
)) { 
4388     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'"); 
4390   arg2 
= static_cast< int >(val2
); 
4391   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4392   if (!SWIG_IsOK(ecode3
)) { 
4393     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'"); 
4395   arg3 
= static_cast< int >(val3
); 
4397     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4398     (arg1
)->Scroll(arg2
,arg3
); 
4399     wxPyEndAllowThreads(__tstate
); 
4400     if (PyErr_Occurred()) SWIG_fail
; 
4402   resultobj 
= SWIG_Py_Void(); 
4409 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4410   PyObject 
*resultobj 
= 0; 
4411   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4418   PyObject 
* obj0 
= 0 ; 
4419   PyObject 
* obj1 
= 0 ; 
4420   char *  kwnames
[] = { 
4421     (char *) "self",(char *) "orient", NULL 
 
4424   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
4425   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4426   if (!SWIG_IsOK(res1
)) { 
4427     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4429   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4430   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4431   if (!SWIG_IsOK(ecode2
)) { 
4432     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'"); 
4434   arg2 
= static_cast< int >(val2
); 
4436     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4437     result 
= (int)((wxScrolledWindow 
const *)arg1
)->GetScrollPageSize(arg2
); 
4438     wxPyEndAllowThreads(__tstate
); 
4439     if (PyErr_Occurred()) SWIG_fail
; 
4441   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
4448 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4449   PyObject 
*resultobj 
= 0; 
4450   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4459   PyObject 
* obj0 
= 0 ; 
4460   PyObject 
* obj1 
= 0 ; 
4461   PyObject 
* obj2 
= 0 ; 
4462   char *  kwnames
[] = { 
4463     (char *) "self",(char *) "orient",(char *) "pageSize", NULL 
 
4466   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4467   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4468   if (!SWIG_IsOK(res1
)) { 
4469     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4471   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4472   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4473   if (!SWIG_IsOK(ecode2
)) { 
4474     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'"); 
4476   arg2 
= static_cast< int >(val2
); 
4477   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4478   if (!SWIG_IsOK(ecode3
)) { 
4479     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'"); 
4481   arg3 
= static_cast< int >(val3
); 
4483     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4484     (arg1
)->SetScrollPageSize(arg2
,arg3
); 
4485     wxPyEndAllowThreads(__tstate
); 
4486     if (PyErr_Occurred()) SWIG_fail
; 
4488   resultobj 
= SWIG_Py_Void(); 
4495 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetScrollRate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4496   PyObject 
*resultobj 
= 0; 
4497   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4506   PyObject 
* obj0 
= 0 ; 
4507   PyObject 
* obj1 
= 0 ; 
4508   PyObject 
* obj2 
= 0 ; 
4509   char *  kwnames
[] = { 
4510     (char *) "self",(char *) "xstep",(char *) "ystep", NULL 
 
4513   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4514   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4515   if (!SWIG_IsOK(res1
)) { 
4516     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4518   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4519   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
4520   if (!SWIG_IsOK(ecode2
)) { 
4521     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'"); 
4523   arg2 
= static_cast< int >(val2
); 
4524   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
4525   if (!SWIG_IsOK(ecode3
)) { 
4526     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'"); 
4528   arg3 
= static_cast< int >(val3
); 
4530     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4531     (arg1
)->SetScrollRate(arg2
,arg3
); 
4532     wxPyEndAllowThreads(__tstate
); 
4533     if (PyErr_Occurred()) SWIG_fail
; 
4535   resultobj 
= SWIG_Py_Void(); 
4542 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4543   PyObject 
*resultobj 
= 0; 
4544   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4545   int *arg2 
= (int *) 0 ; 
4546   int *arg3 
= (int *) 0 ; 
4550   int res2 
= SWIG_TMPOBJ 
; 
4552   int res3 
= SWIG_TMPOBJ 
; 
4553   PyObject 
*swig_obj
[1] ; 
4557   if (!args
) SWIG_fail
; 
4559   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4560   if (!SWIG_IsOK(res1
)) { 
4561     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4563   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4565     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4566     ((wxScrolledWindow 
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
); 
4567     wxPyEndAllowThreads(__tstate
); 
4568     if (PyErr_Occurred()) SWIG_fail
; 
4570   resultobj 
= SWIG_Py_Void(); 
4571   if (SWIG_IsTmpObj(res2
)) { 
4572     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
4574     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4575     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
4577   if (SWIG_IsTmpObj(res3
)) { 
4578     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
4580     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4581     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
4589 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_EnableScrolling(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4590   PyObject 
*resultobj 
= 0; 
4591   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4600   PyObject 
* obj0 
= 0 ; 
4601   PyObject 
* obj1 
= 0 ; 
4602   PyObject 
* obj2 
= 0 ; 
4603   char *  kwnames
[] = { 
4604     (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL 
 
4607   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4608   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4609   if (!SWIG_IsOK(res1
)) { 
4610     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4612   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4613   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
4614   if (!SWIG_IsOK(ecode2
)) { 
4615     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'"); 
4617   arg2 
= static_cast< bool >(val2
); 
4618   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
4619   if (!SWIG_IsOK(ecode3
)) { 
4620     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'"); 
4622   arg3 
= static_cast< bool >(val3
); 
4624     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4625     (arg1
)->EnableScrolling(arg2
,arg3
); 
4626     wxPyEndAllowThreads(__tstate
); 
4627     if (PyErr_Occurred()) SWIG_fail
; 
4629   resultobj 
= SWIG_Py_Void(); 
4636 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetViewStart(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4637   PyObject 
*resultobj 
= 0; 
4638   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4639   int *arg2 
= (int *) 0 ; 
4640   int *arg3 
= (int *) 0 ; 
4644   int res2 
= SWIG_TMPOBJ 
; 
4646   int res3 
= SWIG_TMPOBJ 
; 
4647   PyObject 
*swig_obj
[1] ; 
4651   if (!args
) SWIG_fail
; 
4653   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4654   if (!SWIG_IsOK(res1
)) { 
4655     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4657   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4659     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4660     ((wxScrolledWindow 
const *)arg1
)->GetViewStart(arg2
,arg3
); 
4661     wxPyEndAllowThreads(__tstate
); 
4662     if (PyErr_Occurred()) SWIG_fail
; 
4664   resultobj 
= SWIG_Py_Void(); 
4665   if (SWIG_IsTmpObj(res2
)) { 
4666     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
4668     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4669     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
4671   if (SWIG_IsTmpObj(res3
)) { 
4672     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
4674     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4675     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
4683 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetScale(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
4684   PyObject 
*resultobj 
= 0; 
4685   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4694   PyObject 
* obj0 
= 0 ; 
4695   PyObject 
* obj1 
= 0 ; 
4696   PyObject 
* obj2 
= 0 ; 
4697   char *  kwnames
[] = { 
4698     (char *) "self",(char *) "xs",(char *) "ys", NULL 
 
4701   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
4702   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4703   if (!SWIG_IsOK(res1
)) { 
4704     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
4706   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4707   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
4708   if (!SWIG_IsOK(ecode2
)) { 
4709     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'"); 
4711   arg2 
= static_cast< double >(val2
); 
4712   ecode3 
= SWIG_AsVal_double(obj2
, &val3
); 
4713   if (!SWIG_IsOK(ecode3
)) { 
4714     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'"); 
4716   arg3 
= static_cast< double >(val3
); 
4718     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4719     (arg1
)->SetScale(arg2
,arg3
); 
4720     wxPyEndAllowThreads(__tstate
); 
4721     if (PyErr_Occurred()) SWIG_fail
; 
4723   resultobj 
= SWIG_Py_Void(); 
4730 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetScaleX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4731   PyObject 
*resultobj 
= 0; 
4732   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4736   PyObject 
*swig_obj
[1] ; 
4738   if (!args
) SWIG_fail
; 
4740   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4741   if (!SWIG_IsOK(res1
)) { 
4742     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4744   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4746     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4747     result 
= (double)((wxScrolledWindow 
const *)arg1
)->GetScaleX(); 
4748     wxPyEndAllowThreads(__tstate
); 
4749     if (PyErr_Occurred()) SWIG_fail
; 
4751   resultobj 
= SWIG_From_double(static_cast< double >(result
)); 
4758 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetScaleY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
4759   PyObject 
*resultobj 
= 0; 
4760   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4764   PyObject 
*swig_obj
[1] ; 
4766   if (!args
) SWIG_fail
; 
4768   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4769   if (!SWIG_IsOK(res1
)) { 
4770     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4772   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4774     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4775     result 
= (double)((wxScrolledWindow 
const *)arg1
)->GetScaleY(); 
4776     wxPyEndAllowThreads(__tstate
); 
4777     if (PyErr_Occurred()) SWIG_fail
; 
4779   resultobj 
= SWIG_From_double(static_cast< double >(result
)); 
4786 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
4787   PyObject 
*resultobj 
= 0; 
4788   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4795   if ((nobjs 
< 2) || (nobjs 
> 2)) SWIG_fail
; 
4796   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4797   if (!SWIG_IsOK(res1
)) { 
4798     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4800   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4803     if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
4806     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4807     result 
= ((wxScrolledWindow 
const *)arg1
)->CalcScrolledPosition((wxPoint 
const &)*arg2
); 
4808     wxPyEndAllowThreads(__tstate
); 
4809     if (PyErr_Occurred()) SWIG_fail
; 
4811   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
4818 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
4819   PyObject 
*resultobj 
= 0; 
4820   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4823   int *arg4 
= (int *) 0 ; 
4824   int *arg5 
= (int *) 0 ; 
4832   int res4 
= SWIG_TMPOBJ 
; 
4834   int res5 
= SWIG_TMPOBJ 
; 
4838   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
4839   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4840   if (!SWIG_IsOK(res1
)) { 
4841     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4843   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4844   ecode2 
= SWIG_AsVal_int(swig_obj
[1], &val2
); 
4845   if (!SWIG_IsOK(ecode2
)) { 
4846     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'"); 
4848   arg2 
= static_cast< int >(val2
); 
4849   ecode3 
= SWIG_AsVal_int(swig_obj
[2], &val3
); 
4850   if (!SWIG_IsOK(ecode3
)) { 
4851     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'"); 
4853   arg3 
= static_cast< int >(val3
); 
4855     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4856     ((wxScrolledWindow 
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
); 
4857     wxPyEndAllowThreads(__tstate
); 
4858     if (PyErr_Occurred()) SWIG_fail
; 
4860   resultobj 
= SWIG_Py_Void(); 
4861   if (SWIG_IsTmpObj(res4
)) { 
4862     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
4864     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4865     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
4867   if (SWIG_IsTmpObj(res5
)) { 
4868     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
4870     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4871     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
4879 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject 
*self
, PyObject 
*args
) { 
4883   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
; 
4886     return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
); 
4889     return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
); 
4893   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); 
4898 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
4899   PyObject 
*resultobj 
= 0; 
4900   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4907   if ((nobjs 
< 2) || (nobjs 
> 2)) SWIG_fail
; 
4908   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4909   if (!SWIG_IsOK(res1
)) { 
4910     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4912   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4915     if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
; 
4918     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4919     result 
= ((wxScrolledWindow 
const *)arg1
)->CalcUnscrolledPosition((wxPoint 
const &)*arg2
); 
4920     wxPyEndAllowThreads(__tstate
); 
4921     if (PyErr_Occurred()) SWIG_fail
; 
4923   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
4930 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
4931   PyObject 
*resultobj 
= 0; 
4932   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
4935   int *arg4 
= (int *) 0 ; 
4936   int *arg5 
= (int *) 0 ; 
4944   int res4 
= SWIG_TMPOBJ 
; 
4946   int res5 
= SWIG_TMPOBJ 
; 
4950   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
4951   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
4952   if (!SWIG_IsOK(res1
)) { 
4953     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
4955   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
4956   ecode2 
= SWIG_AsVal_int(swig_obj
[1], &val2
); 
4957   if (!SWIG_IsOK(ecode2
)) { 
4958     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'"); 
4960   arg2 
= static_cast< int >(val2
); 
4961   ecode3 
= SWIG_AsVal_int(swig_obj
[2], &val3
); 
4962   if (!SWIG_IsOK(ecode3
)) { 
4963     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'"); 
4965   arg3 
= static_cast< int >(val3
); 
4967     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
4968     ((wxScrolledWindow 
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
); 
4969     wxPyEndAllowThreads(__tstate
); 
4970     if (PyErr_Occurred()) SWIG_fail
; 
4972   resultobj 
= SWIG_Py_Void(); 
4973   if (SWIG_IsTmpObj(res4
)) { 
4974     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
4976     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4977     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
4979   if (SWIG_IsTmpObj(res5
)) { 
4980     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
4982     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
4983     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
4991 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject 
*self
, PyObject 
*args
) { 
4995   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
; 
4998     return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
); 
5001     return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
); 
5005   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); 
5010 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5011   PyObject 
*resultobj 
= 0; 
5012   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5015   PyObject 
*swig_obj
[1] ; 
5017   if (!args
) SWIG_fail
; 
5019   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5020   if (!SWIG_IsOK(res1
)) { 
5021     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
5023   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5025     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5026     (arg1
)->AdjustScrollbars(); 
5027     wxPyEndAllowThreads(__tstate
); 
5028     if (PyErr_Occurred()) SWIG_fail
; 
5030   resultobj 
= SWIG_Py_Void(); 
5037 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_CalcScrollInc(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5038   PyObject 
*resultobj 
= 0; 
5039   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5040   wxScrollWinEvent 
*arg2 
= 0 ; 
5046   PyObject 
* obj0 
= 0 ; 
5047   PyObject 
* obj1 
= 0 ; 
5048   char *  kwnames
[] = { 
5049     (char *) "self",(char *) "event", NULL 
 
5052   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5053   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5054   if (!SWIG_IsOK(res1
)) { 
5055     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
5057   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5058   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
,  0 ); 
5059   if (!SWIG_IsOK(res2
)) { 
5060     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");  
5063     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");  
5065   arg2 
= reinterpret_cast< wxScrollWinEvent 
* >(argp2
); 
5067     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5068     result 
= (int)(arg1
)->CalcScrollInc(*arg2
); 
5069     wxPyEndAllowThreads(__tstate
); 
5070     if (PyErr_Occurred()) SWIG_fail
; 
5072   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
5079 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_SetTargetWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5080   PyObject 
*resultobj 
= 0; 
5081   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5082   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
5087   PyObject 
* obj0 
= 0 ; 
5088   PyObject 
* obj1 
= 0 ; 
5089   char *  kwnames
[] = { 
5090     (char *) "self",(char *) "target", NULL 
 
5093   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5094   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5095   if (!SWIG_IsOK(res1
)) { 
5096     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
5098   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5099   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
5100   if (!SWIG_IsOK(res2
)) { 
5101     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
5103   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
5105     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5106     (arg1
)->SetTargetWindow(arg2
); 
5107     wxPyEndAllowThreads(__tstate
); 
5108     if (PyErr_Occurred()) SWIG_fail
; 
5110   resultobj 
= SWIG_Py_Void(); 
5117 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetTargetWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5118   PyObject 
*resultobj 
= 0; 
5119   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5120   wxWindow 
*result 
= 0 ; 
5123   PyObject 
*swig_obj
[1] ; 
5125   if (!args
) SWIG_fail
; 
5127   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5128   if (!SWIG_IsOK(res1
)) { 
5129     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");  
5131   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5133     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5134     result 
= (wxWindow 
*)((wxScrolledWindow 
const *)arg1
)->GetTargetWindow(); 
5135     wxPyEndAllowThreads(__tstate
); 
5136     if (PyErr_Occurred()) SWIG_fail
; 
5139     resultobj 
= wxPyMake_wxObject(result
, 0);  
5147 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_DoPrepareDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5148   PyObject 
*resultobj 
= 0; 
5149   wxScrolledWindow 
*arg1 
= (wxScrolledWindow 
*) 0 ; 
5155   PyObject 
* obj0 
= 0 ; 
5156   PyObject 
* obj1 
= 0 ; 
5157   char *  kwnames
[] = { 
5158     (char *) "self",(char *) "dc", NULL 
 
5161   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5162   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 |  0 ); 
5163   if (!SWIG_IsOK(res1
)) { 
5164     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");  
5166   arg1 
= reinterpret_cast< wxScrolledWindow 
* >(argp1
); 
5167   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
5168   if (!SWIG_IsOK(res2
)) { 
5169     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");  
5172     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");  
5174   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
5176     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5177     (arg1
)->DoPrepareDC(*arg2
); 
5178     wxPyEndAllowThreads(__tstate
); 
5179     if (PyErr_Occurred()) SWIG_fail
; 
5181   resultobj 
= SWIG_Py_Void(); 
5188 SWIGINTERN PyObject 
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5189   PyObject 
*resultobj 
= 0; 
5190   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
5191   SwigValueWrapper
<wxVisualAttributes 
> result
; 
5194   PyObject 
* obj0 
= 0 ; 
5195   char *  kwnames
[] = { 
5196     (char *) "variant", NULL 
 
5199   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
5201     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
5202     if (!SWIG_IsOK(ecode1
)) { 
5203       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
5205     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
5208     if (!wxPyCheckForApp()) SWIG_fail
; 
5209     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5210     result 
= wxScrolledWindow::GetClassDefaultAttributes(arg1
); 
5211     wxPyEndAllowThreads(__tstate
); 
5212     if (PyErr_Occurred()) SWIG_fail
; 
5214   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
5221 SWIGINTERN PyObject 
*ScrolledWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5223   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
5224   SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
)); 
5225   return SWIG_Py_Void(); 
5228 SWIGINTERN PyObject 
*ScrolledWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5229   return SWIG_Python_InitShadowInstance(args
); 
5232 SWIGINTERN 
int FrameNameStr_set(PyObject 
*) { 
5233   SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only."); 
5238 SWIGINTERN PyObject 
*FrameNameStr_get(void) { 
5239   PyObject 
*pyobj 
= 0; 
5243     pyobj 
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len()); 
5245     pyobj 
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len()); 
5252 SWIGINTERN 
int DialogNameStr_set(PyObject 
*) { 
5253   SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only."); 
5258 SWIGINTERN PyObject 
*DialogNameStr_get(void) { 
5259   PyObject 
*pyobj 
= 0; 
5263     pyobj 
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len()); 
5265     pyobj 
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len()); 
5272 SWIGINTERN 
int StatusLineNameStr_set(PyObject 
*) { 
5273   SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only."); 
5278 SWIGINTERN PyObject 
*StatusLineNameStr_get(void) { 
5279   PyObject 
*pyobj 
= 0; 
5283     pyobj 
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len()); 
5285     pyobj 
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len()); 
5292 SWIGINTERN 
int ToolBarNameStr_set(PyObject 
*) { 
5293   SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only."); 
5298 SWIGINTERN PyObject 
*ToolBarNameStr_get(void) { 
5299   PyObject 
*pyobj 
= 0; 
5303     pyobj 
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len()); 
5305     pyobj 
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len()); 
5312 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_Maximize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5313   PyObject 
*resultobj 
= 0; 
5314   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5315   bool arg2 
= (bool) true ; 
5320   PyObject 
* obj0 
= 0 ; 
5321   PyObject 
* obj1 
= 0 ; 
5322   char *  kwnames
[] = { 
5323     (char *) "self",(char *) "maximize", NULL 
 
5326   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5327   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5328   if (!SWIG_IsOK(res1
)) { 
5329     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5331   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5333     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
5334     if (!SWIG_IsOK(ecode2
)) { 
5335       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'"); 
5337     arg2 
= static_cast< bool >(val2
); 
5340     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5341     (arg1
)->Maximize(arg2
); 
5342     wxPyEndAllowThreads(__tstate
); 
5343     if (PyErr_Occurred()) SWIG_fail
; 
5345   resultobj 
= SWIG_Py_Void(); 
5352 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_Restore(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5353   PyObject 
*resultobj 
= 0; 
5354   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5357   PyObject 
*swig_obj
[1] ; 
5359   if (!args
) SWIG_fail
; 
5361   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5362   if (!SWIG_IsOK(res1
)) { 
5363     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5365   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5367     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5369     wxPyEndAllowThreads(__tstate
); 
5370     if (PyErr_Occurred()) SWIG_fail
; 
5372   resultobj 
= SWIG_Py_Void(); 
5379 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_Iconize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5380   PyObject 
*resultobj 
= 0; 
5381   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5382   bool arg2 
= (bool) true ; 
5387   PyObject 
* obj0 
= 0 ; 
5388   PyObject 
* obj1 
= 0 ; 
5389   char *  kwnames
[] = { 
5390     (char *) "self",(char *) "iconize", NULL 
 
5393   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5394   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5395   if (!SWIG_IsOK(res1
)) { 
5396     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5398   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5400     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
5401     if (!SWIG_IsOK(ecode2
)) { 
5402       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'"); 
5404     arg2 
= static_cast< bool >(val2
); 
5407     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5408     (arg1
)->Iconize(arg2
); 
5409     wxPyEndAllowThreads(__tstate
); 
5410     if (PyErr_Occurred()) SWIG_fail
; 
5412   resultobj 
= SWIG_Py_Void(); 
5419 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_IsMaximized(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5420   PyObject 
*resultobj 
= 0; 
5421   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5425   PyObject 
*swig_obj
[1] ; 
5427   if (!args
) SWIG_fail
; 
5429   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5430   if (!SWIG_IsOK(res1
)) { 
5431     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5433   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5435     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5436     result 
= (bool)((wxTopLevelWindow 
const *)arg1
)->IsMaximized(); 
5437     wxPyEndAllowThreads(__tstate
); 
5438     if (PyErr_Occurred()) SWIG_fail
; 
5441     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5449 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5450   PyObject 
*resultobj 
= 0; 
5451   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5455   PyObject 
*swig_obj
[1] ; 
5457   if (!args
) SWIG_fail
; 
5459   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5460   if (!SWIG_IsOK(res1
)) { 
5461     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5463   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5465     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5466     result 
= (bool)((wxTopLevelWindow 
const *)arg1
)->IsAlwaysMaximized(); 
5467     wxPyEndAllowThreads(__tstate
); 
5468     if (PyErr_Occurred()) SWIG_fail
; 
5471     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5479 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_IsIconized(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5480   PyObject 
*resultobj 
= 0; 
5481   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5485   PyObject 
*swig_obj
[1] ; 
5487   if (!args
) SWIG_fail
; 
5489   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5490   if (!SWIG_IsOK(res1
)) { 
5491     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5493   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5495     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5496     result 
= (bool)((wxTopLevelWindow 
const *)arg1
)->IsIconized(); 
5497     wxPyEndAllowThreads(__tstate
); 
5498     if (PyErr_Occurred()) SWIG_fail
; 
5501     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5509 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_GetIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5510   PyObject 
*resultobj 
= 0; 
5511   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5515   PyObject 
*swig_obj
[1] ; 
5517   if (!args
) SWIG_fail
; 
5519   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5520   if (!SWIG_IsOK(res1
)) { 
5521     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5523   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5525     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5526     result 
= ((wxTopLevelWindow 
const *)arg1
)->GetIcon(); 
5527     wxPyEndAllowThreads(__tstate
); 
5528     if (PyErr_Occurred()) SWIG_fail
; 
5530   resultobj 
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN 
|  0 ); 
5537 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5538   PyObject 
*resultobj 
= 0; 
5539   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5545   PyObject 
* obj0 
= 0 ; 
5546   PyObject 
* obj1 
= 0 ; 
5547   char *  kwnames
[] = { 
5548     (char *) "self",(char *) "icon", NULL 
 
5551   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5552   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5553   if (!SWIG_IsOK(res1
)) { 
5554     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5556   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5557   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
5558   if (!SWIG_IsOK(res2
)) { 
5559     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
5562     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
5564   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
5566     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5567     (arg1
)->SetIcon((wxIcon 
const &)*arg2
); 
5568     wxPyEndAllowThreads(__tstate
); 
5569     if (PyErr_Occurred()) SWIG_fail
; 
5571   resultobj 
= SWIG_Py_Void(); 
5578 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetIcons(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5579   PyObject 
*resultobj 
= 0; 
5580   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5581   wxIconBundle 
*arg2 
= 0 ; 
5586   PyObject 
* obj0 
= 0 ; 
5587   PyObject 
* obj1 
= 0 ; 
5588   char *  kwnames
[] = { 
5589     (char *) "self",(char *) "icons", NULL 
 
5592   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5593   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5594   if (!SWIG_IsOK(res1
)) { 
5595     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5597   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5598   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
,  0  | 0); 
5599   if (!SWIG_IsOK(res2
)) { 
5600     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");  
5603     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");  
5605   arg2 
= reinterpret_cast< wxIconBundle 
* >(argp2
); 
5607     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5608     (arg1
)->SetIcons((wxIconBundle 
const &)*arg2
); 
5609     wxPyEndAllowThreads(__tstate
); 
5610     if (PyErr_Occurred()) SWIG_fail
; 
5612   resultobj 
= SWIG_Py_Void(); 
5619 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_ShowFullScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5620   PyObject 
*resultobj 
= 0; 
5621   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5623   long arg3 
= (long) wxFULLSCREEN_ALL 
; 
5631   PyObject 
* obj0 
= 0 ; 
5632   PyObject 
* obj1 
= 0 ; 
5633   PyObject 
* obj2 
= 0 ; 
5634   char *  kwnames
[] = { 
5635     (char *) "self",(char *) "show",(char *) "style", NULL 
 
5638   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) 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_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5643   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5644   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
5645   if (!SWIG_IsOK(ecode2
)) { 
5646     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'"); 
5648   arg2 
= static_cast< bool >(val2
); 
5650     ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
5651     if (!SWIG_IsOK(ecode3
)) { 
5652       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'"); 
5654     arg3 
= static_cast< long >(val3
); 
5657     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5658     result 
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
); 
5659     wxPyEndAllowThreads(__tstate
); 
5660     if (PyErr_Occurred()) SWIG_fail
; 
5663     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5671 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_IsFullScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5672   PyObject 
*resultobj 
= 0; 
5673   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5677   PyObject 
*swig_obj
[1] ; 
5679   if (!args
) SWIG_fail
; 
5681   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5682   if (!SWIG_IsOK(res1
)) { 
5683     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5685   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5687     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5688     result 
= (bool)((wxTopLevelWindow 
const *)arg1
)->IsFullScreen(); 
5689     wxPyEndAllowThreads(__tstate
); 
5690     if (PyErr_Occurred()) SWIG_fail
; 
5693     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5701 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetTitle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5702   PyObject 
*resultobj 
= 0; 
5703   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5704   wxString 
*arg2 
= 0 ; 
5707   bool temp2 
= false ; 
5708   PyObject 
* obj0 
= 0 ; 
5709   PyObject 
* obj1 
= 0 ; 
5710   char *  kwnames
[] = { 
5711     (char *) "self",(char *) "title", NULL 
 
5714   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5715   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5716   if (!SWIG_IsOK(res1
)) { 
5717     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5719   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5721     arg2 
= wxString_in_helper(obj1
); 
5722     if (arg2 
== NULL
) SWIG_fail
; 
5726     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5727     (arg1
)->SetTitle((wxString 
const &)*arg2
); 
5728     wxPyEndAllowThreads(__tstate
); 
5729     if (PyErr_Occurred()) SWIG_fail
; 
5731   resultobj 
= SWIG_Py_Void(); 
5746 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_GetTitle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5747   PyObject 
*resultobj 
= 0; 
5748   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5752   PyObject 
*swig_obj
[1] ; 
5754   if (!args
) SWIG_fail
; 
5756   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5757   if (!SWIG_IsOK(res1
)) { 
5758     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5760   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5762     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5763     result 
= ((wxTopLevelWindow 
const *)arg1
)->GetTitle(); 
5764     wxPyEndAllowThreads(__tstate
); 
5765     if (PyErr_Occurred()) SWIG_fail
; 
5769     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
5771     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
5780 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetShape(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5781   PyObject 
*resultobj 
= 0; 
5782   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5783   wxRegion 
*arg2 
= 0 ; 
5789   PyObject 
* obj0 
= 0 ; 
5790   PyObject 
* obj1 
= 0 ; 
5791   char *  kwnames
[] = { 
5792     (char *) "self",(char *) "region", NULL 
 
5795   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5796   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5797   if (!SWIG_IsOK(res1
)) { 
5798     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5800   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5801   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
,  0  | 0); 
5802   if (!SWIG_IsOK(res2
)) { 
5803     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");  
5806     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");  
5808   arg2 
= reinterpret_cast< wxRegion 
* >(argp2
); 
5810     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5811     result 
= (bool)(arg1
)->SetShape((wxRegion 
const &)*arg2
); 
5812     wxPyEndAllowThreads(__tstate
); 
5813     if (PyErr_Occurred()) SWIG_fail
; 
5816     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5824 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_RequestUserAttention(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5825   PyObject 
*resultobj 
= 0; 
5826   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5827   int arg2 
= (int) wxUSER_ATTENTION_INFO 
; 
5832   PyObject 
* obj0 
= 0 ; 
5833   PyObject 
* obj1 
= 0 ; 
5834   char *  kwnames
[] = { 
5835     (char *) "self",(char *) "flags", NULL 
 
5838   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5839   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5840   if (!SWIG_IsOK(res1
)) { 
5841     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5843   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5845     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5846     if (!SWIG_IsOK(ecode2
)) { 
5847       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'"); 
5849     arg2 
= static_cast< int >(val2
); 
5852     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5853     (arg1
)->RequestUserAttention(arg2
); 
5854     wxPyEndAllowThreads(__tstate
); 
5855     if (PyErr_Occurred()) SWIG_fail
; 
5857   resultobj 
= SWIG_Py_Void(); 
5864 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_IsActive(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5865   PyObject 
*resultobj 
= 0; 
5866   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5870   PyObject 
*swig_obj
[1] ; 
5872   if (!args
) SWIG_fail
; 
5874   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5875   if (!SWIG_IsOK(res1
)) { 
5876     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5878   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5880     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5881     result 
= (bool)(arg1
)->IsActive(); 
5882     wxPyEndAllowThreads(__tstate
); 
5883     if (PyErr_Occurred()) SWIG_fail
; 
5886     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5894 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5895   PyObject 
*resultobj 
= 0; 
5896   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5902   PyObject 
* obj0 
= 0 ; 
5903   PyObject 
* obj1 
= 0 ; 
5904   char *  kwnames
[] = { 
5905     (char *) "self",(char *) "on", NULL 
 
5908   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5909   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5910   if (!SWIG_IsOK(res1
)) { 
5911     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5913   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5914   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
5915   if (!SWIG_IsOK(ecode2
)) { 
5916     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'"); 
5918   arg2 
= static_cast< bool >(val2
); 
5920     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5921     wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
); 
5922     wxPyEndAllowThreads(__tstate
); 
5923     if (PyErr_Occurred()) SWIG_fail
; 
5925   resultobj 
= SWIG_Py_Void(); 
5932 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
5933   PyObject 
*resultobj 
= 0; 
5934   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5938   PyObject 
*swig_obj
[1] ; 
5940   if (!args
) SWIG_fail
; 
5942   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5943   if (!SWIG_IsOK(res1
)) { 
5944     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
5946   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5948     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5949     result 
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow 
const *)arg1
); 
5950     wxPyEndAllowThreads(__tstate
); 
5951     if (PyErr_Occurred()) SWIG_fail
; 
5954     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
5962 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_CenterOnScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
5963   PyObject 
*resultobj 
= 0; 
5964   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
5965   int arg2 
= (int) wxBOTH 
; 
5970   PyObject 
* obj0 
= 0 ; 
5971   PyObject 
* obj1 
= 0 ; 
5972   char *  kwnames
[] = { 
5973     (char *) "self",(char *) "dir", NULL 
 
5976   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
5977   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
5978   if (!SWIG_IsOK(res1
)) { 
5979     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
5981   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
5983     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
5984     if (!SWIG_IsOK(ecode2
)) { 
5985       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'"); 
5987     arg2 
= static_cast< int >(val2
); 
5990     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
5991     (arg1
)->CenterOnScreen(arg2
); 
5992     wxPyEndAllowThreads(__tstate
); 
5993     if (PyErr_Occurred()) SWIG_fail
; 
5995   resultobj 
= SWIG_Py_Void(); 
6002 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_EnableCloseButton(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6003   PyObject 
*resultobj 
= 0; 
6004   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
6005   bool arg2 
= (bool) true ; 
6011   PyObject 
* obj0 
= 0 ; 
6012   PyObject 
* obj1 
= 0 ; 
6013   char *  kwnames
[] = { 
6014     (char *) "self",(char *) "enable", NULL 
 
6017   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6018   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
6019   if (!SWIG_IsOK(res1
)) { 
6020     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
6022   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
6024     ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
6025     if (!SWIG_IsOK(ecode2
)) { 
6026       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'"); 
6028     arg2 
= static_cast< bool >(val2
); 
6031     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6032     result 
= (bool)wxTopLevelWindow_EnableCloseButton(arg1
,arg2
); 
6033     wxPyEndAllowThreads(__tstate
); 
6034     if (PyErr_Occurred()) SWIG_fail
; 
6037     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6045 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetTransparent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6046   PyObject 
*resultobj 
= 0; 
6047   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
6052   unsigned char val2 
; 
6054   PyObject 
* obj0 
= 0 ; 
6055   PyObject 
* obj1 
= 0 ; 
6056   char *  kwnames
[] = { 
6057     (char *) "self",(char *) "alpha", NULL 
 
6060   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTransparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6061   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
6062   if (!SWIG_IsOK(res1
)) { 
6063     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
6065   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
6066   ecode2 
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
); 
6067   if (!SWIG_IsOK(ecode2
)) { 
6068     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'"); 
6070   arg2 
= static_cast< byte 
>(val2
); 
6072     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6073     result 
= (bool)(arg1
)->SetTransparent(arg2
); 
6074     wxPyEndAllowThreads(__tstate
); 
6075     if (PyErr_Occurred()) SWIG_fail
; 
6078     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6086 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_CanSetTransparent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6087   PyObject 
*resultobj 
= 0; 
6088   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
6092   PyObject 
*swig_obj
[1] ; 
6094   if (!args
) SWIG_fail
; 
6096   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
6097   if (!SWIG_IsOK(res1
)) { 
6098     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
6100   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
6102     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6103     result 
= (bool)(arg1
)->CanSetTransparent(); 
6104     wxPyEndAllowThreads(__tstate
); 
6105     if (PyErr_Occurred()) SWIG_fail
; 
6108     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6116 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_GetDefaultItem(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6117   PyObject 
*resultobj 
= 0; 
6118   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
6119   wxWindow 
*result 
= 0 ; 
6122   PyObject 
*swig_obj
[1] ; 
6124   if (!args
) SWIG_fail
; 
6126   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
6127   if (!SWIG_IsOK(res1
)) { 
6128     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
6130   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
6132     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6133     result 
= (wxWindow 
*)((wxTopLevelWindow 
const *)arg1
)->GetDefaultItem(); 
6134     wxPyEndAllowThreads(__tstate
); 
6135     if (PyErr_Occurred()) SWIG_fail
; 
6138     resultobj 
= wxPyMake_wxObject(result
, 0);  
6146 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetDefaultItem(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6147   PyObject 
*resultobj 
= 0; 
6148   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
6149   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6150   wxWindow 
*result 
= 0 ; 
6155   PyObject 
* obj0 
= 0 ; 
6156   PyObject 
* obj1 
= 0 ; 
6157   char *  kwnames
[] = { 
6158     (char *) "self",(char *) "child", NULL 
 
6161   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6162   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
6163   if (!SWIG_IsOK(res1
)) { 
6164     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
6166   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
6167   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
6168   if (!SWIG_IsOK(res2
)) { 
6169     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");  
6171   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
6173     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6174     result 
= (wxWindow 
*)(arg1
)->SetDefaultItem(arg2
); 
6175     wxPyEndAllowThreads(__tstate
); 
6176     if (PyErr_Occurred()) SWIG_fail
; 
6179     resultobj 
= wxPyMake_wxObject(result
, 0);  
6187 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6188   PyObject 
*resultobj 
= 0; 
6189   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
6190   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6195   PyObject 
* obj0 
= 0 ; 
6196   PyObject 
* obj1 
= 0 ; 
6197   char *  kwnames
[] = { 
6198     (char *) "self",(char *) "win", NULL 
 
6201   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6202   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
6203   if (!SWIG_IsOK(res1
)) { 
6204     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");  
6206   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
6207   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
6208   if (!SWIG_IsOK(res2
)) { 
6209     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");  
6211   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
6213     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6214     (arg1
)->SetTmpDefaultItem(arg2
); 
6215     wxPyEndAllowThreads(__tstate
); 
6216     if (PyErr_Occurred()) SWIG_fail
; 
6218   resultobj 
= SWIG_Py_Void(); 
6225 SWIGINTERN PyObject 
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6226   PyObject 
*resultobj 
= 0; 
6227   wxTopLevelWindow 
*arg1 
= (wxTopLevelWindow 
*) 0 ; 
6228   wxWindow 
*result 
= 0 ; 
6231   PyObject 
*swig_obj
[1] ; 
6233   if (!args
) SWIG_fail
; 
6235   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 |  0 ); 
6236   if (!SWIG_IsOK(res1
)) { 
6237     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");  
6239   arg1 
= reinterpret_cast< wxTopLevelWindow 
* >(argp1
); 
6241     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6242     result 
= (wxWindow 
*)((wxTopLevelWindow 
const *)arg1
)->GetTmpDefaultItem(); 
6243     wxPyEndAllowThreads(__tstate
); 
6244     if (PyErr_Occurred()) SWIG_fail
; 
6247     resultobj 
= wxPyMake_wxObject(result
, 0);  
6255 SWIGINTERN PyObject 
*TopLevelWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6257   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
6258   SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
)); 
6259   return SWIG_Py_Void(); 
6262 SWIGINTERN PyObject 
*_wrap_new_Frame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6263   PyObject 
*resultobj 
= 0; 
6264   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
6265   int arg2 
= (int) (int)-1 ; 
6266   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
6267   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
6268   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
6269   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
6270   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
6271   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
6272   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
6273   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
6274   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
6275   wxFrame 
*result 
= 0 ; 
6280   bool temp3 
= false ; 
6285   bool temp7 
= false ; 
6286   PyObject 
* obj0 
= 0 ; 
6287   PyObject 
* obj1 
= 0 ; 
6288   PyObject 
* obj2 
= 0 ; 
6289   PyObject 
* obj3 
= 0 ; 
6290   PyObject 
* obj4 
= 0 ; 
6291   PyObject 
* obj5 
= 0 ; 
6292   PyObject 
* obj6 
= 0 ; 
6293   char *  kwnames
[] = { 
6294     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
6297   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
6298   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
6299   if (!SWIG_IsOK(res1
)) { 
6300     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");  
6302   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
6304     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6305     if (!SWIG_IsOK(ecode2
)) { 
6306       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'"); 
6308     arg2 
= static_cast< int >(val2
); 
6312       arg3 
= wxString_in_helper(obj2
); 
6313       if (arg3 
== NULL
) SWIG_fail
; 
6320       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
6326       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
6330     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
6331     if (!SWIG_IsOK(ecode6
)) { 
6332       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'"); 
6334     arg6 
= static_cast< long >(val6
); 
6338       arg7 
= wxString_in_helper(obj6
); 
6339       if (arg7 
== NULL
) SWIG_fail
; 
6344     if (!wxPyCheckForApp()) SWIG_fail
; 
6345     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6346     result 
= (wxFrame 
*)new wxFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
6347     wxPyEndAllowThreads(__tstate
); 
6348     if (PyErr_Occurred()) SWIG_fail
; 
6350   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW 
|  0 ); 
6373 SWIGINTERN PyObject 
*_wrap_new_PreFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6374   PyObject 
*resultobj 
= 0; 
6375   wxFrame 
*result 
= 0 ; 
6377   if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
; 
6379     if (!wxPyCheckForApp()) SWIG_fail
; 
6380     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6381     result 
= (wxFrame 
*)new wxFrame(); 
6382     wxPyEndAllowThreads(__tstate
); 
6383     if (PyErr_Occurred()) SWIG_fail
; 
6385   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN 
|  0 ); 
6392 SWIGINTERN PyObject 
*_wrap_Frame_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6393   PyObject 
*resultobj 
= 0; 
6394   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6395   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
6396   int arg3 
= (int) (int)-1 ; 
6397   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
6398   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
6399   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
6400   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
6401   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
6402   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
6403   long arg7 
= (long) wxDEFAULT_FRAME_STYLE 
; 
6404   wxString 
const &arg8_defvalue 
= wxPyFrameNameStr 
; 
6405   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
6413   bool temp4 
= false ; 
6418   bool temp8 
= false ; 
6419   PyObject 
* obj0 
= 0 ; 
6420   PyObject 
* obj1 
= 0 ; 
6421   PyObject 
* obj2 
= 0 ; 
6422   PyObject 
* obj3 
= 0 ; 
6423   PyObject 
* obj4 
= 0 ; 
6424   PyObject 
* obj5 
= 0 ; 
6425   PyObject 
* obj6 
= 0 ; 
6426   PyObject 
* obj7 
= 0 ; 
6427   char *  kwnames
[] = { 
6428     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
6431   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
6432   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6433   if (!SWIG_IsOK(res1
)) { 
6434     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");  
6436   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6437   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
6438   if (!SWIG_IsOK(res2
)) { 
6439     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
6441   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
6443     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6444     if (!SWIG_IsOK(ecode3
)) { 
6445       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'"); 
6447     arg3 
= static_cast< int >(val3
); 
6451       arg4 
= wxString_in_helper(obj3
); 
6452       if (arg4 
== NULL
) SWIG_fail
; 
6459       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
6465       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
6469     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
6470     if (!SWIG_IsOK(ecode7
)) { 
6471       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'"); 
6473     arg7 
= static_cast< long >(val7
); 
6477       arg8 
= wxString_in_helper(obj7
); 
6478       if (arg8 
== NULL
) SWIG_fail
; 
6483     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6484     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
6485     wxPyEndAllowThreads(__tstate
); 
6486     if (PyErr_Occurred()) SWIG_fail
; 
6489     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6513 SWIGINTERN PyObject 
*_wrap_Frame_SendSizeEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6514   PyObject 
*resultobj 
= 0; 
6515   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6518   PyObject 
*swig_obj
[1] ; 
6520   if (!args
) SWIG_fail
; 
6522   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6523   if (!SWIG_IsOK(res1
)) { 
6524     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");  
6526   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6528     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6529     (arg1
)->SendSizeEvent(); 
6530     wxPyEndAllowThreads(__tstate
); 
6531     if (PyErr_Occurred()) SWIG_fail
; 
6533   resultobj 
= SWIG_Py_Void(); 
6540 SWIGINTERN PyObject 
*_wrap_Frame_SetMenuBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6541   PyObject 
*resultobj 
= 0; 
6542   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6543   wxMenuBar 
*arg2 
= (wxMenuBar 
*) 0 ; 
6548   PyObject 
* obj0 
= 0 ; 
6549   PyObject 
* obj1 
= 0 ; 
6550   char *  kwnames
[] = { 
6551     (char *) "self",(char *) "menubar", NULL 
 
6554   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6555   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6556   if (!SWIG_IsOK(res1
)) { 
6557     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
6559   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6560   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 |  0 ); 
6561   if (!SWIG_IsOK(res2
)) { 
6562     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");  
6564   arg2 
= reinterpret_cast< wxMenuBar 
* >(argp2
); 
6566     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6567     (arg1
)->SetMenuBar(arg2
); 
6568     wxPyEndAllowThreads(__tstate
); 
6569     if (PyErr_Occurred()) SWIG_fail
; 
6571   resultobj 
= SWIG_Py_Void(); 
6578 SWIGINTERN PyObject 
*_wrap_Frame_GetMenuBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6579   PyObject 
*resultobj 
= 0; 
6580   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6581   wxMenuBar 
*result 
= 0 ; 
6584   PyObject 
*swig_obj
[1] ; 
6586   if (!args
) SWIG_fail
; 
6588   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6589   if (!SWIG_IsOK(res1
)) { 
6590     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");  
6592   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6594     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6595     result 
= (wxMenuBar 
*)((wxFrame 
const *)arg1
)->GetMenuBar(); 
6596     wxPyEndAllowThreads(__tstate
); 
6597     if (PyErr_Occurred()) SWIG_fail
; 
6600     resultobj 
= wxPyMake_wxObject(result
, 0);  
6608 SWIGINTERN PyObject 
*_wrap_Frame_ProcessCommand(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6609   PyObject 
*resultobj 
= 0; 
6610   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6617   PyObject 
* obj0 
= 0 ; 
6618   PyObject 
* obj1 
= 0 ; 
6619   char *  kwnames
[] = { 
6620     (char *) "self",(char *) "winid", NULL 
 
6623   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6624   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6625   if (!SWIG_IsOK(res1
)) { 
6626     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");  
6628   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6629   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6630   if (!SWIG_IsOK(ecode2
)) { 
6631     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'"); 
6633   arg2 
= static_cast< int >(val2
); 
6635     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6636     result 
= (bool)(arg1
)->ProcessCommand(arg2
); 
6637     wxPyEndAllowThreads(__tstate
); 
6638     if (PyErr_Occurred()) SWIG_fail
; 
6641     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
6649 SWIGINTERN PyObject 
*_wrap_Frame_CreateStatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6650   PyObject 
*resultobj 
= 0; 
6651   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6652   int arg2 
= (int) 1 ; 
6653   long arg3 
= (long) wxDEFAULT_STATUSBAR_STYLE 
; 
6654   int arg4 
= (int) 0 ; 
6655   wxString 
const &arg5_defvalue 
= wxPyStatusLineNameStr 
; 
6656   wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
6657   wxStatusBar 
*result 
= 0 ; 
6666   bool temp5 
= false ; 
6667   PyObject 
* obj0 
= 0 ; 
6668   PyObject 
* obj1 
= 0 ; 
6669   PyObject 
* obj2 
= 0 ; 
6670   PyObject 
* obj3 
= 0 ; 
6671   PyObject 
* obj4 
= 0 ; 
6672   char *  kwnames
[] = { 
6673     (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL 
 
6676   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
6677   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6678   if (!SWIG_IsOK(res1
)) { 
6679     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
6681   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6683     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6684     if (!SWIG_IsOK(ecode2
)) { 
6685       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'"); 
6687     arg2 
= static_cast< int >(val2
); 
6690     ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
6691     if (!SWIG_IsOK(ecode3
)) { 
6692       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'"); 
6694     arg3 
= static_cast< long >(val3
); 
6697     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
6698     if (!SWIG_IsOK(ecode4
)) { 
6699       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'"); 
6701     arg4 
= static_cast< int >(val4
); 
6705       arg5 
= wxString_in_helper(obj4
); 
6706       if (arg5 
== NULL
) SWIG_fail
; 
6711     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6712     result 
= (wxStatusBar 
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString 
const &)*arg5
); 
6713     wxPyEndAllowThreads(__tstate
); 
6714     if (PyErr_Occurred()) SWIG_fail
; 
6717     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
6733 SWIGINTERN PyObject 
*_wrap_Frame_GetStatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
6734   PyObject 
*resultobj 
= 0; 
6735   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6736   wxStatusBar 
*result 
= 0 ; 
6739   PyObject 
*swig_obj
[1] ; 
6741   if (!args
) SWIG_fail
; 
6743   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6744   if (!SWIG_IsOK(res1
)) { 
6745     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");  
6747   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6749     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6750     result 
= (wxStatusBar 
*)((wxFrame 
const *)arg1
)->GetStatusBar(); 
6751     wxPyEndAllowThreads(__tstate
); 
6752     if (PyErr_Occurred()) SWIG_fail
; 
6755     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
6763 SWIGINTERN PyObject 
*_wrap_Frame_SetStatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6764   PyObject 
*resultobj 
= 0; 
6765   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6766   wxStatusBar 
*arg2 
= (wxStatusBar 
*) 0 ; 
6771   PyObject 
* obj0 
= 0 ; 
6772   PyObject 
* obj1 
= 0 ; 
6773   char *  kwnames
[] = { 
6774     (char *) "self",(char *) "statBar", NULL 
 
6777   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6778   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6779   if (!SWIG_IsOK(res1
)) { 
6780     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
6782   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6783   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
6784   if (!SWIG_IsOK(res2
)) { 
6785     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");  
6787   arg2 
= reinterpret_cast< wxStatusBar 
* >(argp2
); 
6789     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6790     (arg1
)->SetStatusBar(arg2
); 
6791     wxPyEndAllowThreads(__tstate
); 
6792     if (PyErr_Occurred()) SWIG_fail
; 
6794   resultobj 
= SWIG_Py_Void(); 
6801 SWIGINTERN PyObject 
*_wrap_Frame_SetStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6802   PyObject 
*resultobj 
= 0; 
6803   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6804   wxString 
*arg2 
= 0 ; 
6805   int arg3 
= (int) 0 ; 
6808   bool temp2 
= false ; 
6811   PyObject 
* obj0 
= 0 ; 
6812   PyObject 
* obj1 
= 0 ; 
6813   PyObject 
* obj2 
= 0 ; 
6814   char *  kwnames
[] = { 
6815     (char *) "self",(char *) "text",(char *) "number", NULL 
 
6818   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6819   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6820   if (!SWIG_IsOK(res1
)) { 
6821     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");  
6823   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6825     arg2 
= wxString_in_helper(obj1
); 
6826     if (arg2 
== NULL
) SWIG_fail
; 
6830     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6831     if (!SWIG_IsOK(ecode3
)) { 
6832       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'"); 
6834     arg3 
= static_cast< int >(val3
); 
6837     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6838     (arg1
)->SetStatusText((wxString 
const &)*arg2
,arg3
); 
6839     wxPyEndAllowThreads(__tstate
); 
6840     if (PyErr_Occurred()) SWIG_fail
; 
6842   resultobj 
= SWIG_Py_Void(); 
6857 SWIGINTERN PyObject 
*_wrap_Frame_SetStatusWidths(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6858   PyObject 
*resultobj 
= 0; 
6859   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6861   int *arg3 
= (int *) 0 ; 
6864   PyObject 
* obj0 
= 0 ; 
6865   PyObject 
* obj1 
= 0 ; 
6866   char *  kwnames
[] = { 
6867     (char *) "self",(char *) "widths", NULL 
 
6870   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6871   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6872   if (!SWIG_IsOK(res1
)) { 
6873     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");  
6875   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6877     arg2 
= PyList_Size(obj1
); 
6878     arg3 
=  int_LIST_helper(obj1
); 
6879     if (arg3 
== NULL
) SWIG_fail
; 
6882     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6883     (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
); 
6884     wxPyEndAllowThreads(__tstate
); 
6885     if (PyErr_Occurred()) SWIG_fail
; 
6887   resultobj 
= SWIG_Py_Void(); 
6889     if (arg3
) delete [] arg3
; 
6894     if (arg3
) delete [] arg3
; 
6900 SWIGINTERN PyObject 
*_wrap_Frame_PushStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6901   PyObject 
*resultobj 
= 0; 
6902   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6903   wxString 
*arg2 
= 0 ; 
6904   int arg3 
= (int) 0 ; 
6907   bool temp2 
= false ; 
6910   PyObject 
* obj0 
= 0 ; 
6911   PyObject 
* obj1 
= 0 ; 
6912   PyObject 
* obj2 
= 0 ; 
6913   char *  kwnames
[] = { 
6914     (char *) "self",(char *) "text",(char *) "number", NULL 
 
6917   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
6918   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6919   if (!SWIG_IsOK(res1
)) { 
6920     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");  
6922   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6924     arg2 
= wxString_in_helper(obj1
); 
6925     if (arg2 
== NULL
) SWIG_fail
; 
6929     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
6930     if (!SWIG_IsOK(ecode3
)) { 
6931       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'"); 
6933     arg3 
= static_cast< int >(val3
); 
6936     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6937     (arg1
)->PushStatusText((wxString 
const &)*arg2
,arg3
); 
6938     wxPyEndAllowThreads(__tstate
); 
6939     if (PyErr_Occurred()) SWIG_fail
; 
6941   resultobj 
= SWIG_Py_Void(); 
6956 SWIGINTERN PyObject 
*_wrap_Frame_PopStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6957   PyObject 
*resultobj 
= 0; 
6958   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
6959   int arg2 
= (int) 0 ; 
6964   PyObject 
* obj0 
= 0 ; 
6965   PyObject 
* obj1 
= 0 ; 
6966   char *  kwnames
[] = { 
6967     (char *) "self",(char *) "number", NULL 
 
6970   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
6971   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
6972   if (!SWIG_IsOK(res1
)) { 
6973     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");  
6975   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
6977     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
6978     if (!SWIG_IsOK(ecode2
)) { 
6979       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'"); 
6981     arg2 
= static_cast< int >(val2
); 
6984     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
6985     (arg1
)->PopStatusText(arg2
); 
6986     wxPyEndAllowThreads(__tstate
); 
6987     if (PyErr_Occurred()) SWIG_fail
; 
6989   resultobj 
= SWIG_Py_Void(); 
6996 SWIGINTERN PyObject 
*_wrap_Frame_SetStatusBarPane(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
6997   PyObject 
*resultobj 
= 0; 
6998   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
7004   PyObject 
* obj0 
= 0 ; 
7005   PyObject 
* obj1 
= 0 ; 
7006   char *  kwnames
[] = { 
7007     (char *) "self",(char *) "n", NULL 
 
7010   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7011   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
7012   if (!SWIG_IsOK(res1
)) { 
7013     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");  
7015   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
7016   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7017   if (!SWIG_IsOK(ecode2
)) { 
7018     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'"); 
7020   arg2 
= static_cast< int >(val2
); 
7022     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7023     (arg1
)->SetStatusBarPane(arg2
); 
7024     wxPyEndAllowThreads(__tstate
); 
7025     if (PyErr_Occurred()) SWIG_fail
; 
7027   resultobj 
= SWIG_Py_Void(); 
7034 SWIGINTERN PyObject 
*_wrap_Frame_GetStatusBarPane(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7035   PyObject 
*resultobj 
= 0; 
7036   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
7040   PyObject 
*swig_obj
[1] ; 
7042   if (!args
) SWIG_fail
; 
7044   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
7045   if (!SWIG_IsOK(res1
)) { 
7046     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");  
7048   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
7050     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7051     result 
= (int)((wxFrame 
const *)arg1
)->GetStatusBarPane(); 
7052     wxPyEndAllowThreads(__tstate
); 
7053     if (PyErr_Occurred()) SWIG_fail
; 
7055   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7062 SWIGINTERN PyObject 
*_wrap_Frame_CreateToolBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7063   PyObject 
*resultobj 
= 0; 
7064   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
7065   long arg2 
= (long) -1 ; 
7066   int arg3 
= (int) -1 ; 
7067   wxString 
const &arg4_defvalue 
= wxPyToolBarNameStr 
; 
7068   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
7069   wxToolBar 
*result 
= 0 ; 
7076   bool temp4 
= false ; 
7077   PyObject 
* obj0 
= 0 ; 
7078   PyObject 
* obj1 
= 0 ; 
7079   PyObject 
* obj2 
= 0 ; 
7080   PyObject 
* obj3 
= 0 ; 
7081   char *  kwnames
[] = { 
7082     (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL 
 
7085   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7086   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
7087   if (!SWIG_IsOK(res1
)) { 
7088     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
7090   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
7092     ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7093     if (!SWIG_IsOK(ecode2
)) { 
7094       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'"); 
7096     arg2 
= static_cast< long >(val2
); 
7099     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7100     if (!SWIG_IsOK(ecode3
)) { 
7101       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'"); 
7103     arg3 
= static_cast< int >(val3
); 
7107       arg4 
= wxString_in_helper(obj3
); 
7108       if (arg4 
== NULL
) SWIG_fail
; 
7113     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7114     result 
= (wxToolBar 
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString 
const &)*arg4
); 
7115     wxPyEndAllowThreads(__tstate
); 
7116     if (PyErr_Occurred()) SWIG_fail
; 
7119     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
7135 SWIGINTERN PyObject 
*_wrap_Frame_GetToolBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7136   PyObject 
*resultobj 
= 0; 
7137   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
7138   wxToolBar 
*result 
= 0 ; 
7141   PyObject 
*swig_obj
[1] ; 
7143   if (!args
) SWIG_fail
; 
7145   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
7146   if (!SWIG_IsOK(res1
)) { 
7147     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");  
7149   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
7151     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7152     result 
= (wxToolBar 
*)((wxFrame 
const *)arg1
)->GetToolBar(); 
7153     wxPyEndAllowThreads(__tstate
); 
7154     if (PyErr_Occurred()) SWIG_fail
; 
7157     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
7165 SWIGINTERN PyObject 
*_wrap_Frame_SetToolBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7166   PyObject 
*resultobj 
= 0; 
7167   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
7168   wxToolBar 
*arg2 
= (wxToolBar 
*) 0 ; 
7173   PyObject 
* obj0 
= 0 ; 
7174   PyObject 
* obj1 
= 0 ; 
7175   char *  kwnames
[] = { 
7176     (char *) "self",(char *) "toolbar", NULL 
 
7179   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7180   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
7181   if (!SWIG_IsOK(res1
)) { 
7182     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");  
7184   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
7185   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 |  0 ); 
7186   if (!SWIG_IsOK(res2
)) { 
7187     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");  
7189   arg2 
= reinterpret_cast< wxToolBar 
* >(argp2
); 
7191     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7192     (arg1
)->SetToolBar(arg2
); 
7193     wxPyEndAllowThreads(__tstate
); 
7194     if (PyErr_Occurred()) SWIG_fail
; 
7196   resultobj 
= SWIG_Py_Void(); 
7203 SWIGINTERN PyObject 
*_wrap_Frame_DoGiveHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7204   PyObject 
*resultobj 
= 0; 
7205   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
7206   wxString 
*arg2 
= 0 ; 
7210   bool temp2 
= false ; 
7213   PyObject 
* obj0 
= 0 ; 
7214   PyObject 
* obj1 
= 0 ; 
7215   PyObject 
* obj2 
= 0 ; 
7216   char *  kwnames
[] = { 
7217     (char *) "self",(char *) "text",(char *) "show", NULL 
 
7220   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
7221   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
7222   if (!SWIG_IsOK(res1
)) { 
7223     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");  
7225   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
7227     arg2 
= wxString_in_helper(obj1
); 
7228     if (arg2 
== NULL
) SWIG_fail
; 
7231   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
7232   if (!SWIG_IsOK(ecode3
)) { 
7233     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'"); 
7235   arg3 
= static_cast< bool >(val3
); 
7237     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7238     (arg1
)->DoGiveHelp((wxString 
const &)*arg2
,arg3
); 
7239     wxPyEndAllowThreads(__tstate
); 
7240     if (PyErr_Occurred()) SWIG_fail
; 
7242   resultobj 
= SWIG_Py_Void(); 
7257 SWIGINTERN PyObject 
*_wrap_Frame_DoMenuUpdates(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7258   PyObject 
*resultobj 
= 0; 
7259   wxFrame 
*arg1 
= (wxFrame 
*) 0 ; 
7260   wxMenu 
*arg2 
= (wxMenu 
*) NULL 
; 
7265   PyObject 
* obj0 
= 0 ; 
7266   PyObject 
* obj1 
= 0 ; 
7267   char *  kwnames
[] = { 
7268     (char *) "self",(char *) "menu", NULL 
 
7271   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7272   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
7273   if (!SWIG_IsOK(res1
)) { 
7274     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");  
7276   arg1 
= reinterpret_cast< wxFrame 
* >(argp1
); 
7278     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 |  0 ); 
7279     if (!SWIG_IsOK(res2
)) { 
7280       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");  
7282     arg2 
= reinterpret_cast< wxMenu 
* >(argp2
); 
7285     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7286     (arg1
)->DoMenuUpdates(arg2
); 
7287     wxPyEndAllowThreads(__tstate
); 
7288     if (PyErr_Occurred()) SWIG_fail
; 
7290   resultobj 
= SWIG_Py_Void(); 
7297 SWIGINTERN PyObject 
*_wrap_Frame_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7298   PyObject 
*resultobj 
= 0; 
7299   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
7300   SwigValueWrapper
<wxVisualAttributes 
> result
; 
7303   PyObject 
* obj0 
= 0 ; 
7304   char *  kwnames
[] = { 
7305     (char *) "variant", NULL 
 
7308   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
7310     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
7311     if (!SWIG_IsOK(ecode1
)) { 
7312       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
7314     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
7317     if (!wxPyCheckForApp()) SWIG_fail
; 
7318     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7319     result 
= wxFrame::GetClassDefaultAttributes(arg1
); 
7320     wxPyEndAllowThreads(__tstate
); 
7321     if (PyErr_Occurred()) SWIG_fail
; 
7323   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
7330 SWIGINTERN PyObject 
*Frame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7332   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
7333   SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
)); 
7334   return SWIG_Py_Void(); 
7337 SWIGINTERN PyObject 
*Frame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7338   return SWIG_Python_InitShadowInstance(args
); 
7341 SWIGINTERN PyObject 
*_wrap_new_Dialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7342   PyObject 
*resultobj 
= 0; 
7343   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
7344   int arg2 
= (int) (int)-1 ; 
7345   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
7346   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
7347   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
7348   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
7349   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
7350   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
7351   long arg6 
= (long) wxDEFAULT_DIALOG_STYLE 
; 
7352   wxString 
const &arg7_defvalue 
= wxPyDialogNameStr 
; 
7353   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
7354   wxDialog 
*result 
= 0 ; 
7359   bool temp3 
= false ; 
7364   bool temp7 
= false ; 
7365   PyObject 
* obj0 
= 0 ; 
7366   PyObject 
* obj1 
= 0 ; 
7367   PyObject 
* obj2 
= 0 ; 
7368   PyObject 
* obj3 
= 0 ; 
7369   PyObject 
* obj4 
= 0 ; 
7370   PyObject 
* obj5 
= 0 ; 
7371   PyObject 
* obj6 
= 0 ; 
7372   char *  kwnames
[] = { 
7373     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
7376   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
7377   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
7378   if (!SWIG_IsOK(res1
)) { 
7379     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
7381   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
7383     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7384     if (!SWIG_IsOK(ecode2
)) { 
7385       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'"); 
7387     arg2 
= static_cast< int >(val2
); 
7391       arg3 
= wxString_in_helper(obj2
); 
7392       if (arg3 
== NULL
) SWIG_fail
; 
7399       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
7405       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
7409     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
7410     if (!SWIG_IsOK(ecode6
)) { 
7411       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'"); 
7413     arg6 
= static_cast< long >(val6
); 
7417       arg7 
= wxString_in_helper(obj6
); 
7418       if (arg7 
== NULL
) SWIG_fail
; 
7423     if (!wxPyCheckForApp()) SWIG_fail
; 
7424     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7425     result 
= (wxDialog 
*)new wxDialog(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
7426     wxPyEndAllowThreads(__tstate
); 
7427     if (PyErr_Occurred()) SWIG_fail
; 
7429   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW 
|  0 ); 
7452 SWIGINTERN PyObject 
*_wrap_new_PreDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7453   PyObject 
*resultobj 
= 0; 
7454   wxDialog 
*result 
= 0 ; 
7456   if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
; 
7458     if (!wxPyCheckForApp()) SWIG_fail
; 
7459     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7460     result 
= (wxDialog 
*)new wxDialog(); 
7461     wxPyEndAllowThreads(__tstate
); 
7462     if (PyErr_Occurred()) SWIG_fail
; 
7464   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN 
|  0 ); 
7471 SWIGINTERN PyObject 
*_wrap_Dialog_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7472   PyObject 
*resultobj 
= 0; 
7473   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7474   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
7475   int arg3 
= (int) (int)-1 ; 
7476   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
7477   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
7478   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
7479   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
7480   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
7481   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
7482   long arg7 
= (long) wxDEFAULT_DIALOG_STYLE 
; 
7483   wxString 
const &arg8_defvalue 
= wxPyDialogNameStr 
; 
7484   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
7492   bool temp4 
= false ; 
7497   bool temp8 
= false ; 
7498   PyObject 
* obj0 
= 0 ; 
7499   PyObject 
* obj1 
= 0 ; 
7500   PyObject 
* obj2 
= 0 ; 
7501   PyObject 
* obj3 
= 0 ; 
7502   PyObject 
* obj4 
= 0 ; 
7503   PyObject 
* obj5 
= 0 ; 
7504   PyObject 
* obj6 
= 0 ; 
7505   PyObject 
* obj7 
= 0 ; 
7506   char *  kwnames
[] = { 
7507     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
7510   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
7511   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7512   if (!SWIG_IsOK(res1
)) { 
7513     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");  
7515   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7516   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
7517   if (!SWIG_IsOK(res2
)) { 
7518     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
7520   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
7522     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
7523     if (!SWIG_IsOK(ecode3
)) { 
7524       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'"); 
7526     arg3 
= static_cast< int >(val3
); 
7530       arg4 
= wxString_in_helper(obj3
); 
7531       if (arg4 
== NULL
) SWIG_fail
; 
7538       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
7544       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
7548     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
7549     if (!SWIG_IsOK(ecode7
)) { 
7550       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'"); 
7552     arg7 
= static_cast< long >(val7
); 
7556       arg8 
= wxString_in_helper(obj7
); 
7557       if (arg8 
== NULL
) SWIG_fail
; 
7562     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7563     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
7564     wxPyEndAllowThreads(__tstate
); 
7565     if (PyErr_Occurred()) SWIG_fail
; 
7568     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7592 SWIGINTERN PyObject 
*_wrap_Dialog_SetReturnCode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7593   PyObject 
*resultobj 
= 0; 
7594   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7600   PyObject 
* obj0 
= 0 ; 
7601   PyObject 
* obj1 
= 0 ; 
7602   char *  kwnames
[] = { 
7603     (char *) "self",(char *) "returnCode", NULL 
 
7606   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7607   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7608   if (!SWIG_IsOK(res1
)) { 
7609     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");  
7611   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7612   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7613   if (!SWIG_IsOK(ecode2
)) { 
7614     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'"); 
7616   arg2 
= static_cast< int >(val2
); 
7618     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7619     (arg1
)->SetReturnCode(arg2
); 
7620     wxPyEndAllowThreads(__tstate
); 
7621     if (PyErr_Occurred()) SWIG_fail
; 
7623   resultobj 
= SWIG_Py_Void(); 
7630 SWIGINTERN PyObject 
*_wrap_Dialog_GetReturnCode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7631   PyObject 
*resultobj 
= 0; 
7632   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7636   PyObject 
*swig_obj
[1] ; 
7638   if (!args
) SWIG_fail
; 
7640   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7641   if (!SWIG_IsOK(res1
)) { 
7642     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");  
7644   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7646     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7647     result 
= (int)((wxDialog 
const *)arg1
)->GetReturnCode(); 
7648     wxPyEndAllowThreads(__tstate
); 
7649     if (PyErr_Occurred()) SWIG_fail
; 
7651   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7658 SWIGINTERN PyObject 
*_wrap_Dialog_SetAffirmativeId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7659   PyObject 
*resultobj 
= 0; 
7660   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7666   PyObject 
* obj0 
= 0 ; 
7667   PyObject 
* obj1 
= 0 ; 
7668   char *  kwnames
[] = { 
7669     (char *) "self",(char *) "affirmativeId", NULL 
 
7672   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7673   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7674   if (!SWIG_IsOK(res1
)) { 
7675     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");  
7677   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7678   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7679   if (!SWIG_IsOK(ecode2
)) { 
7680     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'"); 
7682   arg2 
= static_cast< int >(val2
); 
7684     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7685     (arg1
)->SetAffirmativeId(arg2
); 
7686     wxPyEndAllowThreads(__tstate
); 
7687     if (PyErr_Occurred()) SWIG_fail
; 
7689   resultobj 
= SWIG_Py_Void(); 
7696 SWIGINTERN PyObject 
*_wrap_Dialog_GetAffirmativeId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7697   PyObject 
*resultobj 
= 0; 
7698   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7702   PyObject 
*swig_obj
[1] ; 
7704   if (!args
) SWIG_fail
; 
7706   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7707   if (!SWIG_IsOK(res1
)) { 
7708     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");  
7710   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7712     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7713     result 
= (int)((wxDialog 
const *)arg1
)->GetAffirmativeId(); 
7714     wxPyEndAllowThreads(__tstate
); 
7715     if (PyErr_Occurred()) SWIG_fail
; 
7717   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7724 SWIGINTERN PyObject 
*_wrap_Dialog_SetEscapeId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7725   PyObject 
*resultobj 
= 0; 
7726   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7732   PyObject 
* obj0 
= 0 ; 
7733   PyObject 
* obj1 
= 0 ; 
7734   char *  kwnames
[] = { 
7735     (char *) "self",(char *) "escapeId", NULL 
 
7738   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7739   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7740   if (!SWIG_IsOK(res1
)) { 
7741     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");  
7743   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7744   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
7745   if (!SWIG_IsOK(ecode2
)) { 
7746     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'"); 
7748   arg2 
= static_cast< int >(val2
); 
7750     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7751     (arg1
)->SetEscapeId(arg2
); 
7752     wxPyEndAllowThreads(__tstate
); 
7753     if (PyErr_Occurred()) SWIG_fail
; 
7755   resultobj 
= SWIG_Py_Void(); 
7762 SWIGINTERN PyObject 
*_wrap_Dialog_GetEscapeId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7763   PyObject 
*resultobj 
= 0; 
7764   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7768   PyObject 
*swig_obj
[1] ; 
7770   if (!args
) SWIG_fail
; 
7772   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7773   if (!SWIG_IsOK(res1
)) { 
7774     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");  
7776   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7778     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7779     result 
= (int)((wxDialog 
const *)arg1
)->GetEscapeId(); 
7780     wxPyEndAllowThreads(__tstate
); 
7781     if (PyErr_Occurred()) SWIG_fail
; 
7783   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7790 SWIGINTERN PyObject 
*_wrap_Dialog_CreateTextSizer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7791   PyObject 
*resultobj 
= 0; 
7792   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7793   wxString 
*arg2 
= 0 ; 
7794   wxSizer 
*result 
= 0 ; 
7797   bool temp2 
= false ; 
7798   PyObject 
* obj0 
= 0 ; 
7799   PyObject 
* obj1 
= 0 ; 
7800   char *  kwnames
[] = { 
7801     (char *) "self",(char *) "message", NULL 
 
7804   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7805   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7806   if (!SWIG_IsOK(res1
)) { 
7807     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");  
7809   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7811     arg2 
= wxString_in_helper(obj1
); 
7812     if (arg2 
== NULL
) SWIG_fail
; 
7816     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7817     result 
= (wxSizer 
*)(arg1
)->CreateTextSizer((wxString 
const &)*arg2
); 
7818     wxPyEndAllowThreads(__tstate
); 
7819     if (PyErr_Occurred()) SWIG_fail
; 
7822     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
7838 SWIGINTERN PyObject 
*_wrap_Dialog_CreateButtonSizer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7839   PyObject 
*resultobj 
= 0; 
7840   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7842   bool arg3 
= (bool) false ; 
7843   int arg4 
= (int) 0 ; 
7844   wxSizer 
*result 
= 0 ; 
7853   PyObject 
* obj0 
= 0 ; 
7854   PyObject 
* obj1 
= 0 ; 
7855   PyObject 
* obj2 
= 0 ; 
7856   PyObject 
* obj3 
= 0 ; 
7857   char *  kwnames
[] = { 
7858     (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL 
 
7861   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
7862   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7863   if (!SWIG_IsOK(res1
)) { 
7864     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");  
7866   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7867   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7868   if (!SWIG_IsOK(ecode2
)) { 
7869     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'"); 
7871   arg2 
= static_cast< long >(val2
); 
7873     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
7874     if (!SWIG_IsOK(ecode3
)) { 
7875       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'"); 
7877     arg3 
= static_cast< bool >(val3
); 
7880     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
7881     if (!SWIG_IsOK(ecode4
)) { 
7882       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'"); 
7884     arg4 
= static_cast< int >(val4
); 
7887     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7888     result 
= (wxSizer 
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
); 
7889     wxPyEndAllowThreads(__tstate
); 
7890     if (PyErr_Occurred()) SWIG_fail
; 
7893     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
7901 SWIGINTERN PyObject 
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7902   PyObject 
*resultobj 
= 0; 
7903   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7905   wxStdDialogButtonSizer 
*result 
= 0 ; 
7910   PyObject 
* obj0 
= 0 ; 
7911   PyObject 
* obj1 
= 0 ; 
7912   char *  kwnames
[] = { 
7913     (char *) "self",(char *) "flags", NULL 
 
7916   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
7917   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7918   if (!SWIG_IsOK(res1
)) { 
7919     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");  
7921   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7922   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
7923   if (!SWIG_IsOK(ecode2
)) { 
7924     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'"); 
7926   arg2 
= static_cast< long >(val2
); 
7928     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7929     result 
= (wxStdDialogButtonSizer 
*)(arg1
)->CreateStdDialogButtonSizer(arg2
); 
7930     wxPyEndAllowThreads(__tstate
); 
7931     if (PyErr_Occurred()) SWIG_fail
; 
7933   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 |  0 ); 
7940 SWIGINTERN PyObject 
*_wrap_Dialog_IsModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7941   PyObject 
*resultobj 
= 0; 
7942   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7946   PyObject 
*swig_obj
[1] ; 
7948   if (!args
) SWIG_fail
; 
7950   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7951   if (!SWIG_IsOK(res1
)) { 
7952     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");  
7954   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7956     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7957     result 
= (bool)((wxDialog 
const *)arg1
)->IsModal(); 
7958     wxPyEndAllowThreads(__tstate
); 
7959     if (PyErr_Occurred()) SWIG_fail
; 
7962     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
7970 SWIGINTERN PyObject 
*_wrap_Dialog_ShowModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
7971   PyObject 
*resultobj 
= 0; 
7972   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
7976   PyObject 
*swig_obj
[1] ; 
7978   if (!args
) SWIG_fail
; 
7980   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
7981   if (!SWIG_IsOK(res1
)) { 
7982     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");  
7984   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
7986     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
7987     result 
= (int)(arg1
)->ShowModal(); 
7988     wxPyEndAllowThreads(__tstate
); 
7989     if (PyErr_Occurred()) SWIG_fail
; 
7991   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
7998 SWIGINTERN PyObject 
*_wrap_Dialog_EndModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
7999   PyObject 
*resultobj 
= 0; 
8000   wxDialog 
*arg1 
= (wxDialog 
*) 0 ; 
8006   PyObject 
* obj0 
= 0 ; 
8007   PyObject 
* obj1 
= 0 ; 
8008   char *  kwnames
[] = { 
8009     (char *) "self",(char *) "retCode", NULL 
 
8012   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8013   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 |  0 ); 
8014   if (!SWIG_IsOK(res1
)) { 
8015     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");  
8017   arg1 
= reinterpret_cast< wxDialog 
* >(argp1
); 
8018   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8019   if (!SWIG_IsOK(ecode2
)) { 
8020     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'"); 
8022   arg2 
= static_cast< int >(val2
); 
8024     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8025     (arg1
)->EndModal(arg2
); 
8026     wxPyEndAllowThreads(__tstate
); 
8027     if (PyErr_Occurred()) SWIG_fail
; 
8029   resultobj 
= SWIG_Py_Void(); 
8036 SWIGINTERN PyObject 
*_wrap_Dialog_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8037   PyObject 
*resultobj 
= 0; 
8038   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
8039   SwigValueWrapper
<wxVisualAttributes 
> result
; 
8042   PyObject 
* obj0 
= 0 ; 
8043   char *  kwnames
[] = { 
8044     (char *) "variant", NULL 
 
8047   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
8049     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
8050     if (!SWIG_IsOK(ecode1
)) { 
8051       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
8053     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
8056     if (!wxPyCheckForApp()) SWIG_fail
; 
8057     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8058     result 
= wxDialog::GetClassDefaultAttributes(arg1
); 
8059     wxPyEndAllowThreads(__tstate
); 
8060     if (PyErr_Occurred()) SWIG_fail
; 
8062   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
8069 SWIGINTERN PyObject 
*Dialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8071   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
8072   SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
)); 
8073   return SWIG_Py_Void(); 
8076 SWIGINTERN PyObject 
*Dialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8077   return SWIG_Python_InitShadowInstance(args
); 
8080 SWIGINTERN PyObject 
*_wrap_new_MiniFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8081   PyObject 
*resultobj 
= 0; 
8082   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
8083   int arg2 
= (int) (int)-1 ; 
8084   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
8085   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
8086   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
8087   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
8088   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
8089   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
8090   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
8091   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
8092   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
8093   wxMiniFrame 
*result 
= 0 ; 
8098   bool temp3 
= false ; 
8103   bool temp7 
= false ; 
8104   PyObject 
* obj0 
= 0 ; 
8105   PyObject 
* obj1 
= 0 ; 
8106   PyObject 
* obj2 
= 0 ; 
8107   PyObject 
* obj3 
= 0 ; 
8108   PyObject 
* obj4 
= 0 ; 
8109   PyObject 
* obj5 
= 0 ; 
8110   PyObject 
* obj6 
= 0 ; 
8111   char *  kwnames
[] = { 
8112     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
8115   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
8116   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8117   if (!SWIG_IsOK(res1
)) { 
8118     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");  
8120   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
8122     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8123     if (!SWIG_IsOK(ecode2
)) { 
8124       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'"); 
8126     arg2 
= static_cast< int >(val2
); 
8130       arg3 
= wxString_in_helper(obj2
); 
8131       if (arg3 
== NULL
) SWIG_fail
; 
8138       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
8144       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
8148     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
8149     if (!SWIG_IsOK(ecode6
)) { 
8150       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'"); 
8152     arg6 
= static_cast< long >(val6
); 
8156       arg7 
= wxString_in_helper(obj6
); 
8157       if (arg7 
== NULL
) SWIG_fail
; 
8162     if (!wxPyCheckForApp()) SWIG_fail
; 
8163     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8164     result 
= (wxMiniFrame 
*)new wxMiniFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
8165     wxPyEndAllowThreads(__tstate
); 
8166     if (PyErr_Occurred()) SWIG_fail
; 
8168   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW 
|  0 ); 
8191 SWIGINTERN PyObject 
*_wrap_new_PreMiniFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8192   PyObject 
*resultobj 
= 0; 
8193   wxMiniFrame 
*result 
= 0 ; 
8195   if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
; 
8197     if (!wxPyCheckForApp()) SWIG_fail
; 
8198     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8199     result 
= (wxMiniFrame 
*)new wxMiniFrame(); 
8200     wxPyEndAllowThreads(__tstate
); 
8201     if (PyErr_Occurred()) SWIG_fail
; 
8203   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN 
|  0 ); 
8210 SWIGINTERN PyObject 
*_wrap_MiniFrame_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8211   PyObject 
*resultobj 
= 0; 
8212   wxMiniFrame 
*arg1 
= (wxMiniFrame 
*) 0 ; 
8213   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
8214   int arg3 
= (int) (int)-1 ; 
8215   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
8216   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
8217   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
8218   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
8219   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
8220   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
8221   long arg7 
= (long) wxDEFAULT_FRAME_STYLE 
; 
8222   wxString 
const &arg8_defvalue 
= wxPyFrameNameStr 
; 
8223   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
8231   bool temp4 
= false ; 
8236   bool temp8 
= false ; 
8237   PyObject 
* obj0 
= 0 ; 
8238   PyObject 
* obj1 
= 0 ; 
8239   PyObject 
* obj2 
= 0 ; 
8240   PyObject 
* obj3 
= 0 ; 
8241   PyObject 
* obj4 
= 0 ; 
8242   PyObject 
* obj5 
= 0 ; 
8243   PyObject 
* obj6 
= 0 ; 
8244   PyObject 
* obj7 
= 0 ; 
8245   char *  kwnames
[] = { 
8246     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
8249   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
8250   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 |  0 ); 
8251   if (!SWIG_IsOK(res1
)) { 
8252     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");  
8254   arg1 
= reinterpret_cast< wxMiniFrame 
* >(argp1
); 
8255   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8256   if (!SWIG_IsOK(res2
)) { 
8257     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
8259   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
8261     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8262     if (!SWIG_IsOK(ecode3
)) { 
8263       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'"); 
8265     arg3 
= static_cast< int >(val3
); 
8269       arg4 
= wxString_in_helper(obj3
); 
8270       if (arg4 
== NULL
) SWIG_fail
; 
8277       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
8283       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
8287     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
8288     if (!SWIG_IsOK(ecode7
)) { 
8289       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'"); 
8291     arg7 
= static_cast< long >(val7
); 
8295       arg8 
= wxString_in_helper(obj7
); 
8296       if (arg8 
== NULL
) SWIG_fail
; 
8301     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8302     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
8303     wxPyEndAllowThreads(__tstate
); 
8304     if (PyErr_Occurred()) SWIG_fail
; 
8307     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8331 SWIGINTERN PyObject 
*MiniFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8333   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
8334   SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
)); 
8335   return SWIG_Py_Void(); 
8338 SWIGINTERN PyObject 
*MiniFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8339   return SWIG_Python_InitShadowInstance(args
); 
8342 SWIGINTERN PyObject 
*_wrap_new_SplashScreenWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8343   PyObject 
*resultobj 
= 0; 
8344   wxBitmap 
*arg1 
= 0 ; 
8345   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
8347   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
8348   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
8349   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
8350   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
8351   long arg6 
= (long) wxNO_BORDER 
; 
8352   wxSplashScreenWindow 
*result 
= 0 ; 
8363   PyObject 
* obj0 
= 0 ; 
8364   PyObject 
* obj1 
= 0 ; 
8365   PyObject 
* obj2 
= 0 ; 
8366   PyObject 
* obj3 
= 0 ; 
8367   PyObject 
* obj4 
= 0 ; 
8368   PyObject 
* obj5 
= 0 ; 
8369   char *  kwnames
[] = { 
8370     (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
8373   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
8374   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8375   if (!SWIG_IsOK(res1
)) { 
8376     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8379     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8381   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
8382   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8383   if (!SWIG_IsOK(res2
)) { 
8384     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
8386   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
8387   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8388   if (!SWIG_IsOK(ecode3
)) { 
8389     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'"); 
8391   arg3 
= static_cast< int >(val3
); 
8395       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
8401       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
8405     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
8406     if (!SWIG_IsOK(ecode6
)) { 
8407       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'"); 
8409     arg6 
= static_cast< long >(val6
); 
8412     if (!wxPyCheckForApp()) SWIG_fail
; 
8413     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8414     result 
= (wxSplashScreenWindow 
*)new wxSplashScreenWindow((wxBitmap 
const &)*arg1
,arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
); 
8415     wxPyEndAllowThreads(__tstate
); 
8416     if (PyErr_Occurred()) SWIG_fail
; 
8418   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW 
|  0 ); 
8425 SWIGINTERN PyObject 
*_wrap_SplashScreenWindow_SetBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8426   PyObject 
*resultobj 
= 0; 
8427   wxSplashScreenWindow 
*arg1 
= (wxSplashScreenWindow 
*) 0 ; 
8428   wxBitmap 
*arg2 
= 0 ; 
8433   PyObject 
* obj0 
= 0 ; 
8434   PyObject 
* obj1 
= 0 ; 
8435   char *  kwnames
[] = { 
8436     (char *) "self",(char *) "bitmap", NULL 
 
8439   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8440   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 |  0 ); 
8441   if (!SWIG_IsOK(res1
)) { 
8442     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");  
8444   arg1 
= reinterpret_cast< wxSplashScreenWindow 
* >(argp1
); 
8445   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8446   if (!SWIG_IsOK(res2
)) { 
8447     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8450     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");  
8452   arg2 
= reinterpret_cast< wxBitmap 
* >(argp2
); 
8454     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8455     (arg1
)->SetBitmap((wxBitmap 
const &)*arg2
); 
8456     wxPyEndAllowThreads(__tstate
); 
8457     if (PyErr_Occurred()) SWIG_fail
; 
8459   resultobj 
= SWIG_Py_Void(); 
8466 SWIGINTERN PyObject 
*_wrap_SplashScreenWindow_GetBitmap(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8467   PyObject 
*resultobj 
= 0; 
8468   wxSplashScreenWindow 
*arg1 
= (wxSplashScreenWindow 
*) 0 ; 
8469   wxBitmap 
*result 
= 0 ; 
8472   PyObject 
*swig_obj
[1] ; 
8474   if (!args
) SWIG_fail
; 
8476   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 |  0 ); 
8477   if (!SWIG_IsOK(res1
)) { 
8478     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");  
8480   arg1 
= reinterpret_cast< wxSplashScreenWindow 
* >(argp1
); 
8482     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8484       wxBitmap 
&_result_ref 
= (arg1
)->GetBitmap(); 
8485       result 
= (wxBitmap 
*) &_result_ref
; 
8487     wxPyEndAllowThreads(__tstate
); 
8488     if (PyErr_Occurred()) SWIG_fail
; 
8491     wxBitmap
* resultptr 
= new wxBitmap(*result
); 
8492     resultobj 
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1); 
8500 SWIGINTERN PyObject 
*SplashScreenWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8502   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
8503   SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
)); 
8504   return SWIG_Py_Void(); 
8507 SWIGINTERN PyObject 
*SplashScreenWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8508   return SWIG_Python_InitShadowInstance(args
); 
8511 SWIGINTERN PyObject 
*_wrap_new_SplashScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8512   PyObject 
*resultobj 
= 0; 
8513   wxBitmap 
*arg1 
= 0 ; 
8516   wxWindow 
*arg4 
= (wxWindow 
*) 0 ; 
8517   int arg5 
= (int) -1 ; 
8518   wxPoint 
const &arg6_defvalue 
= wxDefaultPosition 
; 
8519   wxPoint 
*arg6 
= (wxPoint 
*) &arg6_defvalue 
; 
8520   wxSize 
const &arg7_defvalue 
= wxDefaultSize 
; 
8521   wxSize 
*arg7 
= (wxSize 
*) &arg7_defvalue 
; 
8522   long arg8 
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP 
; 
8523   wxSplashScreen 
*result 
= 0 ; 
8538   PyObject 
* obj0 
= 0 ; 
8539   PyObject 
* obj1 
= 0 ; 
8540   PyObject 
* obj2 
= 0 ; 
8541   PyObject 
* obj3 
= 0 ; 
8542   PyObject 
* obj4 
= 0 ; 
8543   PyObject 
* obj5 
= 0 ; 
8544   PyObject 
* obj6 
= 0 ; 
8545   PyObject 
* obj7 
= 0 ; 
8546   char *  kwnames
[] = { 
8547     (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
8550   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
8551   res1 
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
,  0  | 0); 
8552   if (!SWIG_IsOK(res1
)) { 
8553     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8556     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");  
8558   arg1 
= reinterpret_cast< wxBitmap 
* >(argp1
); 
8559   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
8560   if (!SWIG_IsOK(ecode2
)) { 
8561     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'"); 
8563   arg2 
= static_cast< long >(val2
); 
8564   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8565   if (!SWIG_IsOK(ecode3
)) { 
8566     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'"); 
8568   arg3 
= static_cast< int >(val3
); 
8569   res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8570   if (!SWIG_IsOK(res4
)) { 
8571     SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");  
8573   arg4 
= reinterpret_cast< wxWindow 
* >(argp4
); 
8575     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
8576     if (!SWIG_IsOK(ecode5
)) { 
8577       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'"); 
8579     arg5 
= static_cast< int >(val5
); 
8584       if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
; 
8590       if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
; 
8594     ecode8 
= SWIG_AsVal_long(obj7
, &val8
); 
8595     if (!SWIG_IsOK(ecode8
)) { 
8596       SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'"); 
8598     arg8 
= static_cast< long >(val8
); 
8601     if (!wxPyCheckForApp()) SWIG_fail
; 
8602     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8603     result 
= (wxSplashScreen 
*)new wxSplashScreen((wxBitmap 
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint 
const &)*arg6
,(wxSize 
const &)*arg7
,arg8
); 
8604     wxPyEndAllowThreads(__tstate
); 
8605     if (PyErr_Occurred()) SWIG_fail
; 
8607   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW 
|  0 ); 
8614 SWIGINTERN PyObject 
*_wrap_SplashScreen_GetSplashStyle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8615   PyObject 
*resultobj 
= 0; 
8616   wxSplashScreen 
*arg1 
= (wxSplashScreen 
*) 0 ; 
8620   PyObject 
*swig_obj
[1] ; 
8622   if (!args
) SWIG_fail
; 
8624   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 |  0 ); 
8625   if (!SWIG_IsOK(res1
)) { 
8626     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");  
8628   arg1 
= reinterpret_cast< wxSplashScreen 
* >(argp1
); 
8630     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8631     result 
= (long)((wxSplashScreen 
const *)arg1
)->GetSplashStyle(); 
8632     wxPyEndAllowThreads(__tstate
); 
8633     if (PyErr_Occurred()) SWIG_fail
; 
8635   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
8642 SWIGINTERN PyObject 
*_wrap_SplashScreen_GetSplashWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8643   PyObject 
*resultobj 
= 0; 
8644   wxSplashScreen 
*arg1 
= (wxSplashScreen 
*) 0 ; 
8645   wxSplashScreenWindow 
*result 
= 0 ; 
8648   PyObject 
*swig_obj
[1] ; 
8650   if (!args
) SWIG_fail
; 
8652   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 |  0 ); 
8653   if (!SWIG_IsOK(res1
)) { 
8654     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");  
8656   arg1 
= reinterpret_cast< wxSplashScreen 
* >(argp1
); 
8658     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8659     result 
= (wxSplashScreenWindow 
*)((wxSplashScreen 
const *)arg1
)->GetSplashWindow(); 
8660     wxPyEndAllowThreads(__tstate
); 
8661     if (PyErr_Occurred()) SWIG_fail
; 
8663   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 |  0 ); 
8670 SWIGINTERN PyObject 
*_wrap_SplashScreen_GetTimeout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8671   PyObject 
*resultobj 
= 0; 
8672   wxSplashScreen 
*arg1 
= (wxSplashScreen 
*) 0 ; 
8676   PyObject 
*swig_obj
[1] ; 
8678   if (!args
) SWIG_fail
; 
8680   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 |  0 ); 
8681   if (!SWIG_IsOK(res1
)) { 
8682     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");  
8684   arg1 
= reinterpret_cast< wxSplashScreen 
* >(argp1
); 
8686     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8687     result 
= (int)((wxSplashScreen 
const *)arg1
)->GetTimeout(); 
8688     wxPyEndAllowThreads(__tstate
); 
8689     if (PyErr_Occurred()) SWIG_fail
; 
8691   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
8698 SWIGINTERN PyObject 
*SplashScreen_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8700   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
8701   SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
)); 
8702   return SWIG_Py_Void(); 
8705 SWIGINTERN PyObject 
*SplashScreen_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8706   return SWIG_Python_InitShadowInstance(args
); 
8709 SWIGINTERN PyObject 
*_wrap_new_StatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8710   PyObject 
*resultobj 
= 0; 
8711   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
8712   int arg2 
= (int) -1 ; 
8713   long arg3 
= (long) wxDEFAULT_STATUSBAR_STYLE 
; 
8714   wxString 
const &arg4_defvalue 
= wxPyStatusLineNameStr 
; 
8715   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
8716   wxStatusBar 
*result 
= 0 ; 
8723   bool temp4 
= false ; 
8724   PyObject 
* obj0 
= 0 ; 
8725   PyObject 
* obj1 
= 0 ; 
8726   PyObject 
* obj2 
= 0 ; 
8727   PyObject 
* obj3 
= 0 ; 
8728   char *  kwnames
[] = { 
8729     (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL 
 
8732   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
8733   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8734   if (!SWIG_IsOK(res1
)) { 
8735     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");  
8737   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
8739     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8740     if (!SWIG_IsOK(ecode2
)) { 
8741       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'"); 
8743     arg2 
= static_cast< int >(val2
); 
8746     ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
8747     if (!SWIG_IsOK(ecode3
)) { 
8748       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'"); 
8750     arg3 
= static_cast< long >(val3
); 
8754       arg4 
= wxString_in_helper(obj3
); 
8755       if (arg4 
== NULL
) SWIG_fail
; 
8760     if (!wxPyCheckForApp()) SWIG_fail
; 
8761     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8762     result 
= (wxStatusBar 
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString 
const &)*arg4
); 
8763     wxPyEndAllowThreads(__tstate
); 
8764     if (PyErr_Occurred()) SWIG_fail
; 
8766   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW 
|  0 ); 
8781 SWIGINTERN PyObject 
*_wrap_new_PreStatusBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8782   PyObject 
*resultobj 
= 0; 
8783   wxStatusBar 
*result 
= 0 ; 
8785   if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
; 
8787     if (!wxPyCheckForApp()) SWIG_fail
; 
8788     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8789     result 
= (wxStatusBar 
*)new wxStatusBar(); 
8790     wxPyEndAllowThreads(__tstate
); 
8791     if (PyErr_Occurred()) SWIG_fail
; 
8793   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN 
|  0 ); 
8800 SWIGINTERN PyObject 
*_wrap_StatusBar_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8801   PyObject 
*resultobj 
= 0; 
8802   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8803   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
8804   int arg3 
= (int) -1 ; 
8805   long arg4 
= (long) wxST_SIZEGRIP 
; 
8806   wxString 
const &arg5_defvalue 
= wxPyStatusLineNameStr 
; 
8807   wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
8817   bool temp5 
= false ; 
8818   PyObject 
* obj0 
= 0 ; 
8819   PyObject 
* obj1 
= 0 ; 
8820   PyObject 
* obj2 
= 0 ; 
8821   PyObject 
* obj3 
= 0 ; 
8822   PyObject 
* obj4 
= 0 ; 
8823   char *  kwnames
[] = { 
8824     (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL 
 
8827   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
8828   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8829   if (!SWIG_IsOK(res1
)) { 
8830     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8832   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8833   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
8834   if (!SWIG_IsOK(res2
)) { 
8835     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
8837   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
8839     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8840     if (!SWIG_IsOK(ecode3
)) { 
8841       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'"); 
8843     arg3 
= static_cast< int >(val3
); 
8846     ecode4 
= SWIG_AsVal_long(obj3
, &val4
); 
8847     if (!SWIG_IsOK(ecode4
)) { 
8848       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'"); 
8850     arg4 
= static_cast< long >(val4
); 
8854       arg5 
= wxString_in_helper(obj4
); 
8855       if (arg5 
== NULL
) SWIG_fail
; 
8860     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8861     result 
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString 
const &)*arg5
); 
8862     wxPyEndAllowThreads(__tstate
); 
8863     if (PyErr_Occurred()) SWIG_fail
; 
8866     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
8882 SWIGINTERN PyObject 
*_wrap_StatusBar_SetFieldsCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8883   PyObject 
*resultobj 
= 0; 
8884   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8885   int arg2 
= (int) 1 ; 
8890   PyObject 
* obj0 
= 0 ; 
8891   PyObject 
* obj1 
= 0 ; 
8892   char *  kwnames
[] = { 
8893     (char *) "self",(char *) "number", NULL 
 
8896   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
8897   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8898   if (!SWIG_IsOK(res1
)) { 
8899     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8901   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8903     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
8904     if (!SWIG_IsOK(ecode2
)) { 
8905       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'"); 
8907     arg2 
= static_cast< int >(val2
); 
8910     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8911     (arg1
)->SetFieldsCount(arg2
); 
8912     wxPyEndAllowThreads(__tstate
); 
8913     if (PyErr_Occurred()) SWIG_fail
; 
8915   resultobj 
= SWIG_Py_Void(); 
8922 SWIGINTERN PyObject 
*_wrap_StatusBar_GetFieldsCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
8923   PyObject 
*resultobj 
= 0; 
8924   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8928   PyObject 
*swig_obj
[1] ; 
8930   if (!args
) SWIG_fail
; 
8932   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8933   if (!SWIG_IsOK(res1
)) { 
8934     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");  
8936   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8938     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8939     result 
= (int)((wxStatusBar 
const *)arg1
)->GetFieldsCount(); 
8940     wxPyEndAllowThreads(__tstate
); 
8941     if (PyErr_Occurred()) SWIG_fail
; 
8943   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
8950 SWIGINTERN PyObject 
*_wrap_StatusBar_SetStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
8951   PyObject 
*resultobj 
= 0; 
8952   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
8953   wxString 
*arg2 
= 0 ; 
8954   int arg3 
= (int) 0 ; 
8957   bool temp2 
= false ; 
8960   PyObject 
* obj0 
= 0 ; 
8961   PyObject 
* obj1 
= 0 ; 
8962   PyObject 
* obj2 
= 0 ; 
8963   char *  kwnames
[] = { 
8964     (char *) "self",(char *) "text",(char *) "number", NULL 
 
8967   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
8968   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
8969   if (!SWIG_IsOK(res1
)) { 
8970     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
8972   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
8974     arg2 
= wxString_in_helper(obj1
); 
8975     if (arg2 
== NULL
) SWIG_fail
; 
8979     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
8980     if (!SWIG_IsOK(ecode3
)) { 
8981       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'"); 
8983     arg3 
= static_cast< int >(val3
); 
8986     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
8987     (arg1
)->SetStatusText((wxString 
const &)*arg2
,arg3
); 
8988     wxPyEndAllowThreads(__tstate
); 
8989     if (PyErr_Occurred()) SWIG_fail
; 
8991   resultobj 
= SWIG_Py_Void(); 
9006 SWIGINTERN PyObject 
*_wrap_StatusBar_GetStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9007   PyObject 
*resultobj 
= 0; 
9008   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9009   int arg2 
= (int) 0 ; 
9015   PyObject 
* obj0 
= 0 ; 
9016   PyObject 
* obj1 
= 0 ; 
9017   char *  kwnames
[] = { 
9018     (char *) "self",(char *) "number", NULL 
 
9021   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9022   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9023   if (!SWIG_IsOK(res1
)) { 
9024     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");  
9026   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9028     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9029     if (!SWIG_IsOK(ecode2
)) { 
9030       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'"); 
9032     arg2 
= static_cast< int >(val2
); 
9035     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9036     result 
= ((wxStatusBar 
const *)arg1
)->GetStatusText(arg2
); 
9037     wxPyEndAllowThreads(__tstate
); 
9038     if (PyErr_Occurred()) SWIG_fail
; 
9042     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
9044     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
9053 SWIGINTERN PyObject 
*_wrap_StatusBar_PushStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9054   PyObject 
*resultobj 
= 0; 
9055   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9056   wxString 
*arg2 
= 0 ; 
9057   int arg3 
= (int) 0 ; 
9060   bool temp2 
= false ; 
9063   PyObject 
* obj0 
= 0 ; 
9064   PyObject 
* obj1 
= 0 ; 
9065   PyObject 
* obj2 
= 0 ; 
9066   char *  kwnames
[] = { 
9067     (char *) "self",(char *) "text",(char *) "number", NULL 
 
9070   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9071   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9072   if (!SWIG_IsOK(res1
)) { 
9073     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
9075   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9077     arg2 
= wxString_in_helper(obj1
); 
9078     if (arg2 
== NULL
) SWIG_fail
; 
9082     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9083     if (!SWIG_IsOK(ecode3
)) { 
9084       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'"); 
9086     arg3 
= static_cast< int >(val3
); 
9089     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9090     (arg1
)->PushStatusText((wxString 
const &)*arg2
,arg3
); 
9091     wxPyEndAllowThreads(__tstate
); 
9092     if (PyErr_Occurred()) SWIG_fail
; 
9094   resultobj 
= SWIG_Py_Void(); 
9109 SWIGINTERN PyObject 
*_wrap_StatusBar_PopStatusText(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9110   PyObject 
*resultobj 
= 0; 
9111   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9112   int arg2 
= (int) 0 ; 
9117   PyObject 
* obj0 
= 0 ; 
9118   PyObject 
* obj1 
= 0 ; 
9119   char *  kwnames
[] = { 
9120     (char *) "self",(char *) "number", NULL 
 
9123   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9124   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9125   if (!SWIG_IsOK(res1
)) { 
9126     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
9128   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9130     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9131     if (!SWIG_IsOK(ecode2
)) { 
9132       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'"); 
9134     arg2 
= static_cast< int >(val2
); 
9137     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9138     (arg1
)->PopStatusText(arg2
); 
9139     wxPyEndAllowThreads(__tstate
); 
9140     if (PyErr_Occurred()) SWIG_fail
; 
9142   resultobj 
= SWIG_Py_Void(); 
9149 SWIGINTERN PyObject 
*_wrap_StatusBar_SetStatusWidths(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9150   PyObject 
*resultobj 
= 0; 
9151   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9153   int *arg3 
= (int *) 0 ; 
9156   PyObject 
* obj0 
= 0 ; 
9157   PyObject 
* obj1 
= 0 ; 
9158   char *  kwnames
[] = { 
9159     (char *) "self",(char *) "widths", NULL 
 
9162   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9163   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9164   if (!SWIG_IsOK(res1
)) { 
9165     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
9167   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9169     arg2 
= PyList_Size(obj1
); 
9170     arg3 
=  int_LIST_helper(obj1
); 
9171     if (arg3 
== NULL
) SWIG_fail
; 
9174     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9175     (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
); 
9176     wxPyEndAllowThreads(__tstate
); 
9177     if (PyErr_Occurred()) SWIG_fail
; 
9179   resultobj 
= SWIG_Py_Void(); 
9181     if (arg3
) delete [] arg3
; 
9186     if (arg3
) delete [] arg3
; 
9192 SWIGINTERN PyObject 
*_wrap_StatusBar_SetStatusStyles(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9193   PyObject 
*resultobj 
= 0; 
9194   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9196   int *arg3 
= (int *) 0 ; 
9199   PyObject 
* obj0 
= 0 ; 
9200   PyObject 
* obj1 
= 0 ; 
9201   char *  kwnames
[] = { 
9202     (char *) "self",(char *) "styles", NULL 
 
9205   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9206   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9207   if (!SWIG_IsOK(res1
)) { 
9208     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
9210   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9212     arg2 
= PyList_Size(obj1
); 
9213     arg3 
=  int_LIST_helper(obj1
); 
9214     if (arg3 
== NULL
) SWIG_fail
; 
9217     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9218     (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
); 
9219     wxPyEndAllowThreads(__tstate
); 
9220     if (PyErr_Occurred()) SWIG_fail
; 
9222   resultobj 
= SWIG_Py_Void(); 
9224     if (arg3
) delete [] arg3
; 
9229     if (arg3
) delete [] arg3
; 
9235 SWIGINTERN PyObject 
*_wrap_StatusBar_GetFieldRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9236   PyObject 
*resultobj 
= 0; 
9237   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9244   PyObject 
* obj0 
= 0 ; 
9245   PyObject 
* obj1 
= 0 ; 
9246   char *  kwnames
[] = { 
9247     (char *) "self",(char *) "i", NULL 
 
9250   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9251   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9252   if (!SWIG_IsOK(res1
)) { 
9253     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
9255   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9256   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9257   if (!SWIG_IsOK(ecode2
)) { 
9258     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'"); 
9260   arg2 
= static_cast< int >(val2
); 
9262     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9263     result 
= wxStatusBar_GetFieldRect(arg1
,arg2
); 
9264     wxPyEndAllowThreads(__tstate
); 
9265     if (PyErr_Occurred()) SWIG_fail
; 
9267   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
9274 SWIGINTERN PyObject 
*_wrap_StatusBar_SetMinHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9275   PyObject 
*resultobj 
= 0; 
9276   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9282   PyObject 
* obj0 
= 0 ; 
9283   PyObject 
* obj1 
= 0 ; 
9284   char *  kwnames
[] = { 
9285     (char *) "self",(char *) "height", NULL 
 
9288   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9289   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9290   if (!SWIG_IsOK(res1
)) { 
9291     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");  
9293   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9294   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9295   if (!SWIG_IsOK(ecode2
)) { 
9296     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'"); 
9298   arg2 
= static_cast< int >(val2
); 
9300     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9301     (arg1
)->SetMinHeight(arg2
); 
9302     wxPyEndAllowThreads(__tstate
); 
9303     if (PyErr_Occurred()) SWIG_fail
; 
9305   resultobj 
= SWIG_Py_Void(); 
9312 SWIGINTERN PyObject 
*_wrap_StatusBar_GetBorderX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9313   PyObject 
*resultobj 
= 0; 
9314   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9318   PyObject 
*swig_obj
[1] ; 
9320   if (!args
) SWIG_fail
; 
9322   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9323   if (!SWIG_IsOK(res1
)) { 
9324     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");  
9326   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9328     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9329     result 
= (int)((wxStatusBar 
const *)arg1
)->GetBorderX(); 
9330     wxPyEndAllowThreads(__tstate
); 
9331     if (PyErr_Occurred()) SWIG_fail
; 
9333   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9340 SWIGINTERN PyObject 
*_wrap_StatusBar_GetBorderY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9341   PyObject 
*resultobj 
= 0; 
9342   wxStatusBar 
*arg1 
= (wxStatusBar 
*) 0 ; 
9346   PyObject 
*swig_obj
[1] ; 
9348   if (!args
) SWIG_fail
; 
9350   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 |  0 ); 
9351   if (!SWIG_IsOK(res1
)) { 
9352     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");  
9354   arg1 
= reinterpret_cast< wxStatusBar 
* >(argp1
); 
9356     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9357     result 
= (int)((wxStatusBar 
const *)arg1
)->GetBorderY(); 
9358     wxPyEndAllowThreads(__tstate
); 
9359     if (PyErr_Occurred()) SWIG_fail
; 
9361   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9368 SWIGINTERN PyObject 
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9369   PyObject 
*resultobj 
= 0; 
9370   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
9371   SwigValueWrapper
<wxVisualAttributes 
> result
; 
9374   PyObject 
* obj0 
= 0 ; 
9375   char *  kwnames
[] = { 
9376     (char *) "variant", NULL 
 
9379   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
9381     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
9382     if (!SWIG_IsOK(ecode1
)) { 
9383       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
9385     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
9388     if (!wxPyCheckForApp()) SWIG_fail
; 
9389     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9390     result 
= wxStatusBar::GetClassDefaultAttributes(arg1
); 
9391     wxPyEndAllowThreads(__tstate
); 
9392     if (PyErr_Occurred()) SWIG_fail
; 
9394   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
9401 SWIGINTERN PyObject 
*StatusBar_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9403   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
9404   SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
)); 
9405   return SWIG_Py_Void(); 
9408 SWIGINTERN PyObject 
*StatusBar_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9409   return SWIG_Python_InitShadowInstance(args
); 
9412 SWIGINTERN 
int SplitterNameStr_set(PyObject 
*) { 
9413   SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only."); 
9418 SWIGINTERN PyObject 
*SplitterNameStr_get(void) { 
9419   PyObject 
*pyobj 
= 0; 
9423     pyobj 
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len()); 
9425     pyobj 
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len()); 
9432 SWIGINTERN PyObject 
*_wrap_new_SplitterWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9433   PyObject 
*resultobj 
= 0; 
9434   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
9435   int arg2 
= (int) -1 ; 
9436   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
9437   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
9438   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
9439   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
9440   long arg5 
= (long) wxSP_3D 
; 
9441   wxString 
const &arg6_defvalue 
= wxPySplitterNameStr 
; 
9442   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
9443   wxSplitterWindow 
*result 
= 0 ; 
9452   bool temp6 
= false ; 
9453   PyObject 
* obj0 
= 0 ; 
9454   PyObject 
* obj1 
= 0 ; 
9455   PyObject 
* obj2 
= 0 ; 
9456   PyObject 
* obj3 
= 0 ; 
9457   PyObject 
* obj4 
= 0 ; 
9458   PyObject 
* obj5 
= 0 ; 
9459   char *  kwnames
[] = { 
9460     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
9463   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
9464   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9465   if (!SWIG_IsOK(res1
)) { 
9466     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
9468   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
9470     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9471     if (!SWIG_IsOK(ecode2
)) { 
9472       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'"); 
9474     arg2 
= static_cast< int >(val2
); 
9479       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
9485       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
9489     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
9490     if (!SWIG_IsOK(ecode5
)) { 
9491       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'"); 
9493     arg5 
= static_cast< long >(val5
); 
9497       arg6 
= wxString_in_helper(obj5
); 
9498       if (arg6 
== NULL
) SWIG_fail
; 
9503     if (!wxPyCheckForApp()) SWIG_fail
; 
9504     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9505     result 
= (wxSplitterWindow 
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
9506     wxPyEndAllowThreads(__tstate
); 
9507     if (PyErr_Occurred()) SWIG_fail
; 
9509   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW 
|  0 ); 
9524 SWIGINTERN PyObject 
*_wrap_new_PreSplitterWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9525   PyObject 
*resultobj 
= 0; 
9526   wxSplitterWindow 
*result 
= 0 ; 
9528   if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
; 
9530     if (!wxPyCheckForApp()) SWIG_fail
; 
9531     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9532     result 
= (wxSplitterWindow 
*)new wxSplitterWindow(); 
9533     wxPyEndAllowThreads(__tstate
); 
9534     if (PyErr_Occurred()) SWIG_fail
; 
9536   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN 
|  0 ); 
9543 SWIGINTERN PyObject 
*_wrap_SplitterWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9544   PyObject 
*resultobj 
= 0; 
9545   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9546   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9547   int arg3 
= (int) -1 ; 
9548   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
9549   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
9550   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
9551   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
9552   long arg6 
= (long) wxSP_3D 
; 
9553   wxString 
const &arg7_defvalue 
= wxPySplitterNameStr 
; 
9554   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
9566   bool temp7 
= false ; 
9567   PyObject 
* obj0 
= 0 ; 
9568   PyObject 
* obj1 
= 0 ; 
9569   PyObject 
* obj2 
= 0 ; 
9570   PyObject 
* obj3 
= 0 ; 
9571   PyObject 
* obj4 
= 0 ; 
9572   PyObject 
* obj5 
= 0 ; 
9573   PyObject 
* obj6 
= 0 ; 
9574   char *  kwnames
[] = { 
9575     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
9578   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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_Create" "', 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_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
9588   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9590     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
9591     if (!SWIG_IsOK(ecode3
)) { 
9592       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
9594     arg3 
= static_cast< int >(val3
); 
9599       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
9605       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
9609     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
9610     if (!SWIG_IsOK(ecode6
)) { 
9611       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
9613     arg6 
= static_cast< long >(val6
); 
9617       arg7 
= wxString_in_helper(obj6
); 
9618       if (arg7 
== NULL
) SWIG_fail
; 
9623     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9624     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
9625     wxPyEndAllowThreads(__tstate
); 
9626     if (PyErr_Occurred()) SWIG_fail
; 
9629     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9645 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetWindow1(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9646   PyObject 
*resultobj 
= 0; 
9647   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9648   wxWindow 
*result 
= 0 ; 
9651   PyObject 
*swig_obj
[1] ; 
9653   if (!args
) SWIG_fail
; 
9655   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9656   if (!SWIG_IsOK(res1
)) { 
9657     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9659   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9661     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9662     result 
= (wxWindow 
*)((wxSplitterWindow 
const *)arg1
)->GetWindow1(); 
9663     wxPyEndAllowThreads(__tstate
); 
9664     if (PyErr_Occurred()) SWIG_fail
; 
9667     resultobj 
= wxPyMake_wxObject(result
, 0);  
9675 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetWindow2(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9676   PyObject 
*resultobj 
= 0; 
9677   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9678   wxWindow 
*result 
= 0 ; 
9681   PyObject 
*swig_obj
[1] ; 
9683   if (!args
) SWIG_fail
; 
9685   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9686   if (!SWIG_IsOK(res1
)) { 
9687     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9689   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9691     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9692     result 
= (wxWindow 
*)((wxSplitterWindow 
const *)arg1
)->GetWindow2(); 
9693     wxPyEndAllowThreads(__tstate
); 
9694     if (PyErr_Occurred()) SWIG_fail
; 
9697     resultobj 
= wxPyMake_wxObject(result
, 0);  
9705 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetSplitMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9706   PyObject 
*resultobj 
= 0; 
9707   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9713   PyObject 
* obj0 
= 0 ; 
9714   PyObject 
* obj1 
= 0 ; 
9715   char *  kwnames
[] = { 
9716     (char *) "self",(char *) "mode", NULL 
 
9719   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9720   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9721   if (!SWIG_IsOK(res1
)) { 
9722     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9724   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9725   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
9726   if (!SWIG_IsOK(ecode2
)) { 
9727     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'"); 
9729   arg2 
= static_cast< int >(val2
); 
9731     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9732     (arg1
)->SetSplitMode(arg2
); 
9733     wxPyEndAllowThreads(__tstate
); 
9734     if (PyErr_Occurred()) SWIG_fail
; 
9736   resultobj 
= SWIG_Py_Void(); 
9743 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetSplitMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
9744   PyObject 
*resultobj 
= 0; 
9745   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9749   PyObject 
*swig_obj
[1] ; 
9751   if (!args
) SWIG_fail
; 
9753   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9754   if (!SWIG_IsOK(res1
)) { 
9755     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
9757   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9759     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9760     result 
= (wxSplitMode
)((wxSplitterWindow 
const *)arg1
)->GetSplitMode(); 
9761     wxPyEndAllowThreads(__tstate
); 
9762     if (PyErr_Occurred()) SWIG_fail
; 
9764   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
9771 SWIGINTERN PyObject 
*_wrap_SplitterWindow_Initialize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9772   PyObject 
*resultobj 
= 0; 
9773   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9774   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9779   PyObject 
* obj0 
= 0 ; 
9780   PyObject 
* obj1 
= 0 ; 
9781   char *  kwnames
[] = { 
9782     (char *) "self",(char *) "window", NULL 
 
9785   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9786   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9787   if (!SWIG_IsOK(res1
)) { 
9788     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9790   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9791   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9792   if (!SWIG_IsOK(res2
)) { 
9793     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");  
9795   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9797     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9798     (arg1
)->Initialize(arg2
); 
9799     wxPyEndAllowThreads(__tstate
); 
9800     if (PyErr_Occurred()) SWIG_fail
; 
9802   resultobj 
= SWIG_Py_Void(); 
9809 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SplitVertically(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9810   PyObject 
*resultobj 
= 0; 
9811   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9812   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9813   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
9814   int arg4 
= (int) 0 ; 
9824   PyObject 
* obj0 
= 0 ; 
9825   PyObject 
* obj1 
= 0 ; 
9826   PyObject 
* obj2 
= 0 ; 
9827   PyObject 
* obj3 
= 0 ; 
9828   char *  kwnames
[] = { 
9829     (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL 
 
9832   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
9833   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9834   if (!SWIG_IsOK(res1
)) { 
9835     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9837   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9838   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9839   if (!SWIG_IsOK(res2
)) { 
9840     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");  
9842   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9843   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9844   if (!SWIG_IsOK(res3
)) { 
9845     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");  
9847   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
9849     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9850     if (!SWIG_IsOK(ecode4
)) { 
9851       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'"); 
9853     arg4 
= static_cast< int >(val4
); 
9856     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9857     result 
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
); 
9858     wxPyEndAllowThreads(__tstate
); 
9859     if (PyErr_Occurred()) SWIG_fail
; 
9862     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9870 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SplitHorizontally(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9871   PyObject 
*resultobj 
= 0; 
9872   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9873   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9874   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
9875   int arg4 
= (int) 0 ; 
9885   PyObject 
* obj0 
= 0 ; 
9886   PyObject 
* obj1 
= 0 ; 
9887   PyObject 
* obj2 
= 0 ; 
9888   PyObject 
* obj3 
= 0 ; 
9889   char *  kwnames
[] = { 
9890     (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL 
 
9893   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
9894   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9895   if (!SWIG_IsOK(res1
)) { 
9896     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9898   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9899   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9900   if (!SWIG_IsOK(res2
)) { 
9901     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");  
9903   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9904   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9905   if (!SWIG_IsOK(res3
)) { 
9906     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");  
9908   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
9910     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
9911     if (!SWIG_IsOK(ecode4
)) { 
9912       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'"); 
9914     arg4 
= static_cast< int >(val4
); 
9917     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9918     result 
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
); 
9919     wxPyEndAllowThreads(__tstate
); 
9920     if (PyErr_Occurred()) SWIG_fail
; 
9923     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9931 SWIGINTERN PyObject 
*_wrap_SplitterWindow_Unsplit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9932   PyObject 
*resultobj 
= 0; 
9933   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9934   wxWindow 
*arg2 
= (wxWindow 
*) NULL 
; 
9940   PyObject 
* obj0 
= 0 ; 
9941   PyObject 
* obj1 
= 0 ; 
9942   char *  kwnames
[] = { 
9943     (char *) "self",(char *) "toRemove", NULL 
 
9946   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
9947   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9948   if (!SWIG_IsOK(res1
)) { 
9949     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9951   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9953     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
9954     if (!SWIG_IsOK(res2
)) { 
9955       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");  
9957     arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
9960     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
9961     result 
= (bool)(arg1
)->Unsplit(arg2
); 
9962     wxPyEndAllowThreads(__tstate
); 
9963     if (PyErr_Occurred()) SWIG_fail
; 
9966     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
9974 SWIGINTERN PyObject 
*_wrap_SplitterWindow_ReplaceWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
9975   PyObject 
*resultobj 
= 0; 
9976   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
9977   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
9978   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
9986   PyObject 
* obj0 
= 0 ; 
9987   PyObject 
* obj1 
= 0 ; 
9988   PyObject 
* obj2 
= 0 ; 
9989   char *  kwnames
[] = { 
9990     (char *) "self",(char *) "winOld",(char *) "winNew", NULL 
 
9993   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
9994   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
9995   if (!SWIG_IsOK(res1
)) { 
9996     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
9998   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
9999   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
10000   if (!SWIG_IsOK(res2
)) { 
10001     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
10003   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
10004   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
10005   if (!SWIG_IsOK(res3
)) { 
10006     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");  
10008   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
10010     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10011     result 
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
); 
10012     wxPyEndAllowThreads(__tstate
); 
10013     if (PyErr_Occurred()) SWIG_fail
; 
10016     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10024 SWIGINTERN PyObject 
*_wrap_SplitterWindow_UpdateSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10025   PyObject 
*resultobj 
= 0; 
10026   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10029   PyObject 
*swig_obj
[1] ; 
10031   if (!args
) SWIG_fail
; 
10032   swig_obj
[0] = args
; 
10033   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10034   if (!SWIG_IsOK(res1
)) { 
10035     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10037   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10039     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10040     (arg1
)->UpdateSize(); 
10041     wxPyEndAllowThreads(__tstate
); 
10042     if (PyErr_Occurred()) SWIG_fail
; 
10044   resultobj 
= SWIG_Py_Void(); 
10051 SWIGINTERN PyObject 
*_wrap_SplitterWindow_IsSplit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10052   PyObject 
*resultobj 
= 0; 
10053   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10057   PyObject 
*swig_obj
[1] ; 
10059   if (!args
) SWIG_fail
; 
10060   swig_obj
[0] = args
; 
10061   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10062   if (!SWIG_IsOK(res1
)) { 
10063     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10065   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10067     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10068     result 
= (bool)((wxSplitterWindow 
const *)arg1
)->IsSplit(); 
10069     wxPyEndAllowThreads(__tstate
); 
10070     if (PyErr_Occurred()) SWIG_fail
; 
10073     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10081 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetSashSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10082   PyObject 
*resultobj 
= 0; 
10083   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10089   PyObject 
* obj0 
= 0 ; 
10090   PyObject 
* obj1 
= 0 ; 
10091   char *  kwnames
[] = { 
10092     (char *) "self",(char *) "width", NULL 
 
10095   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10096   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10097   if (!SWIG_IsOK(res1
)) { 
10098     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10100   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10101   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10102   if (!SWIG_IsOK(ecode2
)) { 
10103     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'"); 
10105   arg2 
= static_cast< int >(val2
); 
10107     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10108     (arg1
)->SetSashSize(arg2
); 
10109     wxPyEndAllowThreads(__tstate
); 
10110     if (PyErr_Occurred()) SWIG_fail
; 
10112   resultobj 
= SWIG_Py_Void(); 
10119 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10120   PyObject 
*resultobj 
= 0; 
10121   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10127   PyObject 
* obj0 
= 0 ; 
10128   PyObject 
* obj1 
= 0 ; 
10129   char *  kwnames
[] = { 
10130     (char *) "self",(char *) "width", NULL 
 
10133   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10134   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10135   if (!SWIG_IsOK(res1
)) { 
10136     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10138   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10139   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10140   if (!SWIG_IsOK(ecode2
)) { 
10141     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'"); 
10143   arg2 
= static_cast< int >(val2
); 
10145     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10146     (arg1
)->SetBorderSize(arg2
); 
10147     wxPyEndAllowThreads(__tstate
); 
10148     if (PyErr_Occurred()) SWIG_fail
; 
10150   resultobj 
= SWIG_Py_Void(); 
10157 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetSashSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10158   PyObject 
*resultobj 
= 0; 
10159   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10163   PyObject 
*swig_obj
[1] ; 
10165   if (!args
) SWIG_fail
; 
10166   swig_obj
[0] = args
; 
10167   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10168   if (!SWIG_IsOK(res1
)) { 
10169     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10171   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10173     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10174     result 
= (int)((wxSplitterWindow 
const *)arg1
)->GetSashSize(); 
10175     wxPyEndAllowThreads(__tstate
); 
10176     if (PyErr_Occurred()) SWIG_fail
; 
10178   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10185 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10186   PyObject 
*resultobj 
= 0; 
10187   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10191   PyObject 
*swig_obj
[1] ; 
10193   if (!args
) SWIG_fail
; 
10194   swig_obj
[0] = args
; 
10195   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10196   if (!SWIG_IsOK(res1
)) { 
10197     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10199   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10201     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10202     result 
= (int)((wxSplitterWindow 
const *)arg1
)->GetBorderSize(); 
10203     wxPyEndAllowThreads(__tstate
); 
10204     if (PyErr_Occurred()) SWIG_fail
; 
10206   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10213 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetSashPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10214   PyObject 
*resultobj 
= 0; 
10215   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10217   bool arg3 
= (bool) true ; 
10224   PyObject 
* obj0 
= 0 ; 
10225   PyObject 
* obj1 
= 0 ; 
10226   PyObject 
* obj2 
= 0 ; 
10227   char *  kwnames
[] = { 
10228     (char *) "self",(char *) "position",(char *) "redraw", NULL 
 
10231   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
10232   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10233   if (!SWIG_IsOK(res1
)) { 
10234     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10236   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10237   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10238   if (!SWIG_IsOK(ecode2
)) { 
10239     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'"); 
10241   arg2 
= static_cast< int >(val2
); 
10243     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
10244     if (!SWIG_IsOK(ecode3
)) { 
10245       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'"); 
10247     arg3 
= static_cast< bool >(val3
); 
10250     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10251     (arg1
)->SetSashPosition(arg2
,arg3
); 
10252     wxPyEndAllowThreads(__tstate
); 
10253     if (PyErr_Occurred()) SWIG_fail
; 
10255   resultobj 
= SWIG_Py_Void(); 
10262 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetSashPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10263   PyObject 
*resultobj 
= 0; 
10264   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10268   PyObject 
*swig_obj
[1] ; 
10270   if (!args
) SWIG_fail
; 
10271   swig_obj
[0] = args
; 
10272   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10273   if (!SWIG_IsOK(res1
)) { 
10274     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10276   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10278     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10279     result 
= (int)((wxSplitterWindow 
const *)arg1
)->GetSashPosition(); 
10280     wxPyEndAllowThreads(__tstate
); 
10281     if (PyErr_Occurred()) SWIG_fail
; 
10283   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10290 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetSashGravity(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10291   PyObject 
*resultobj 
= 0; 
10292   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10298   PyObject 
* obj0 
= 0 ; 
10299   PyObject 
* obj1 
= 0 ; 
10300   char *  kwnames
[] = { 
10301     (char *) "self",(char *) "gravity", NULL 
 
10304   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10305   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10306   if (!SWIG_IsOK(res1
)) { 
10307     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10309   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10310   ecode2 
= SWIG_AsVal_double(obj1
, &val2
); 
10311   if (!SWIG_IsOK(ecode2
)) { 
10312     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'"); 
10314   arg2 
= static_cast< double >(val2
); 
10316     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10317     (arg1
)->SetSashGravity(arg2
); 
10318     wxPyEndAllowThreads(__tstate
); 
10319     if (PyErr_Occurred()) SWIG_fail
; 
10321   resultobj 
= SWIG_Py_Void(); 
10328 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetSashGravity(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10329   PyObject 
*resultobj 
= 0; 
10330   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10334   PyObject 
*swig_obj
[1] ; 
10336   if (!args
) SWIG_fail
; 
10337   swig_obj
[0] = args
; 
10338   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10339   if (!SWIG_IsOK(res1
)) { 
10340     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10342   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10344     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10345     result 
= (double)((wxSplitterWindow 
const *)arg1
)->GetSashGravity(); 
10346     wxPyEndAllowThreads(__tstate
); 
10347     if (PyErr_Occurred()) SWIG_fail
; 
10349   resultobj 
= SWIG_From_double(static_cast< double >(result
)); 
10356 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10357   PyObject 
*resultobj 
= 0; 
10358   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10364   PyObject 
* obj0 
= 0 ; 
10365   PyObject 
* obj1 
= 0 ; 
10366   char *  kwnames
[] = { 
10367     (char *) "self",(char *) "min", NULL 
 
10370   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10371   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10372   if (!SWIG_IsOK(res1
)) { 
10373     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10375   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10376   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10377   if (!SWIG_IsOK(ecode2
)) { 
10378     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'"); 
10380   arg2 
= static_cast< int >(val2
); 
10382     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10383     (arg1
)->SetMinimumPaneSize(arg2
); 
10384     wxPyEndAllowThreads(__tstate
); 
10385     if (PyErr_Occurred()) SWIG_fail
; 
10387   resultobj 
= SWIG_Py_Void(); 
10394 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10395   PyObject 
*resultobj 
= 0; 
10396   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10400   PyObject 
*swig_obj
[1] ; 
10402   if (!args
) SWIG_fail
; 
10403   swig_obj
[0] = args
; 
10404   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10405   if (!SWIG_IsOK(res1
)) { 
10406     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10408   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10410     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10411     result 
= (int)((wxSplitterWindow 
const *)arg1
)->GetMinimumPaneSize(); 
10412     wxPyEndAllowThreads(__tstate
); 
10413     if (PyErr_Occurred()) SWIG_fail
; 
10415   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10422 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SashHitTest(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10423   PyObject 
*resultobj 
= 0; 
10424   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10427   int arg4 
= (int) 5 ; 
10437   PyObject 
* obj0 
= 0 ; 
10438   PyObject 
* obj1 
= 0 ; 
10439   PyObject 
* obj2 
= 0 ; 
10440   PyObject 
* obj3 
= 0 ; 
10441   char *  kwnames
[] = { 
10442     (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL 
 
10445   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
10446   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10447   if (!SWIG_IsOK(res1
)) { 
10448     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10450   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10451   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10452   if (!SWIG_IsOK(ecode2
)) { 
10453     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'"); 
10455   arg2 
= static_cast< int >(val2
); 
10456   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
10457   if (!SWIG_IsOK(ecode3
)) { 
10458     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'"); 
10460   arg3 
= static_cast< int >(val3
); 
10462     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
10463     if (!SWIG_IsOK(ecode4
)) { 
10464       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'"); 
10466     arg4 
= static_cast< int >(val4
); 
10469     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10470     result 
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
); 
10471     wxPyEndAllowThreads(__tstate
); 
10472     if (PyErr_Occurred()) SWIG_fail
; 
10475     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10483 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SizeWindows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10484   PyObject 
*resultobj 
= 0; 
10485   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10488   PyObject 
*swig_obj
[1] ; 
10490   if (!args
) SWIG_fail
; 
10491   swig_obj
[0] = args
; 
10492   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10493   if (!SWIG_IsOK(res1
)) { 
10494     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10496   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10498     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10499     (arg1
)->SizeWindows(); 
10500     wxPyEndAllowThreads(__tstate
); 
10501     if (PyErr_Occurred()) SWIG_fail
; 
10503   resultobj 
= SWIG_Py_Void(); 
10510 SWIGINTERN PyObject 
*_wrap_SplitterWindow_SetNeedUpdating(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10511   PyObject 
*resultobj 
= 0; 
10512   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10518   PyObject 
* obj0 
= 0 ; 
10519   PyObject 
* obj1 
= 0 ; 
10520   char *  kwnames
[] = { 
10521     (char *) "self",(char *) "needUpdating", NULL 
 
10524   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10525   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10526   if (!SWIG_IsOK(res1
)) { 
10527     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");  
10529   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10530   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
10531   if (!SWIG_IsOK(ecode2
)) { 
10532     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'"); 
10534   arg2 
= static_cast< bool >(val2
); 
10536     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10537     (arg1
)->SetNeedUpdating(arg2
); 
10538     wxPyEndAllowThreads(__tstate
); 
10539     if (PyErr_Occurred()) SWIG_fail
; 
10541   resultobj 
= SWIG_Py_Void(); 
10548 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetNeedUpdating(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10549   PyObject 
*resultobj 
= 0; 
10550   wxSplitterWindow 
*arg1 
= (wxSplitterWindow 
*) 0 ; 
10554   PyObject 
*swig_obj
[1] ; 
10556   if (!args
) SWIG_fail
; 
10557   swig_obj
[0] = args
; 
10558   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10559   if (!SWIG_IsOK(res1
)) { 
10560     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");  
10562   arg1 
= reinterpret_cast< wxSplitterWindow 
* >(argp1
); 
10564     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10565     result 
= (bool)((wxSplitterWindow 
const *)arg1
)->GetNeedUpdating(); 
10566     wxPyEndAllowThreads(__tstate
); 
10567     if (PyErr_Occurred()) SWIG_fail
; 
10570     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
10578 SWIGINTERN PyObject 
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10579   PyObject 
*resultobj 
= 0; 
10580   wxWindowVariant arg1 
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL 
; 
10581   SwigValueWrapper
<wxVisualAttributes 
> result
; 
10584   PyObject 
* obj0 
= 0 ; 
10585   char *  kwnames
[] = { 
10586     (char *) "variant", NULL 
 
10589   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
; 
10591     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
10592     if (!SWIG_IsOK(ecode1
)) { 
10593       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'"); 
10595     arg1 
= static_cast< wxWindowVariant 
>(val1
); 
10598     if (!wxPyCheckForApp()) SWIG_fail
; 
10599     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10600     result 
= wxSplitterWindow::GetClassDefaultAttributes(arg1
); 
10601     wxPyEndAllowThreads(__tstate
); 
10602     if (PyErr_Occurred()) SWIG_fail
; 
10604   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
10611 SWIGINTERN PyObject 
*SplitterWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10613   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
10614   SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
)); 
10615   return SWIG_Py_Void(); 
10618 SWIGINTERN PyObject 
*SplitterWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10619   return SWIG_Python_InitShadowInstance(args
); 
10622 SWIGINTERN PyObject 
*_wrap_new_SplitterEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10623   PyObject 
*resultobj 
= 0; 
10624   wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
10625   wxSplitterWindow 
*arg2 
= (wxSplitterWindow 
*) (wxSplitterWindow 
*) NULL 
; 
10626   wxSplitterEvent 
*result 
= 0 ; 
10631   PyObject 
* obj0 
= 0 ; 
10632   PyObject 
* obj1 
= 0 ; 
10633   char *  kwnames
[] = { 
10634     (char *) "type",(char *) "splitter", NULL 
 
10637   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10639     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
10640     if (!SWIG_IsOK(ecode1
)) { 
10641       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'"); 
10643     arg1 
= static_cast< wxEventType 
>(val1
); 
10646     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 |  0 ); 
10647     if (!SWIG_IsOK(res2
)) { 
10648       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");  
10650     arg2 
= reinterpret_cast< wxSplitterWindow 
* >(argp2
); 
10653     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10654     result 
= (wxSplitterEvent 
*)new wxSplitterEvent(arg1
,arg2
); 
10655     wxPyEndAllowThreads(__tstate
); 
10656     if (PyErr_Occurred()) SWIG_fail
; 
10658   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW 
|  0 ); 
10665 SWIGINTERN PyObject 
*_wrap_SplitterEvent_SetSashPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10666   PyObject 
*resultobj 
= 0; 
10667   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10673   PyObject 
* obj0 
= 0 ; 
10674   PyObject 
* obj1 
= 0 ; 
10675   char *  kwnames
[] = { 
10676     (char *) "self",(char *) "pos", NULL 
 
10679   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
10680   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10681   if (!SWIG_IsOK(res1
)) { 
10682     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");  
10684   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10685   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10686   if (!SWIG_IsOK(ecode2
)) { 
10687     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'"); 
10689   arg2 
= static_cast< int >(val2
); 
10691     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10692     (arg1
)->SetSashPosition(arg2
); 
10693     wxPyEndAllowThreads(__tstate
); 
10694     if (PyErr_Occurred()) SWIG_fail
; 
10696   resultobj 
= SWIG_Py_Void(); 
10703 SWIGINTERN PyObject 
*_wrap_SplitterEvent_GetSashPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10704   PyObject 
*resultobj 
= 0; 
10705   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10709   PyObject 
*swig_obj
[1] ; 
10711   if (!args
) SWIG_fail
; 
10712   swig_obj
[0] = args
; 
10713   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10714   if (!SWIG_IsOK(res1
)) { 
10715     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");  
10717   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10719     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10720     result 
= (int)((wxSplitterEvent 
const *)arg1
)->GetSashPosition(); 
10721     wxPyEndAllowThreads(__tstate
); 
10722     if (PyErr_Occurred()) SWIG_fail
; 
10724   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10731 SWIGINTERN PyObject 
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10732   PyObject 
*resultobj 
= 0; 
10733   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10734   wxWindow 
*result 
= 0 ; 
10737   PyObject 
*swig_obj
[1] ; 
10739   if (!args
) SWIG_fail
; 
10740   swig_obj
[0] = args
; 
10741   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10742   if (!SWIG_IsOK(res1
)) { 
10743     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");  
10745   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10747     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10748     result 
= (wxWindow 
*)((wxSplitterEvent 
const *)arg1
)->GetWindowBeingRemoved(); 
10749     wxPyEndAllowThreads(__tstate
); 
10750     if (PyErr_Occurred()) SWIG_fail
; 
10753     resultobj 
= wxPyMake_wxObject(result
, 0);  
10761 SWIGINTERN PyObject 
*_wrap_SplitterEvent_GetX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10762   PyObject 
*resultobj 
= 0; 
10763   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10767   PyObject 
*swig_obj
[1] ; 
10769   if (!args
) SWIG_fail
; 
10770   swig_obj
[0] = args
; 
10771   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10772   if (!SWIG_IsOK(res1
)) { 
10773     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");  
10775   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10777     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10778     result 
= (int)((wxSplitterEvent 
const *)arg1
)->GetX(); 
10779     wxPyEndAllowThreads(__tstate
); 
10780     if (PyErr_Occurred()) SWIG_fail
; 
10782   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10789 SWIGINTERN PyObject 
*_wrap_SplitterEvent_GetY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10790   PyObject 
*resultobj 
= 0; 
10791   wxSplitterEvent 
*arg1 
= (wxSplitterEvent 
*) 0 ; 
10795   PyObject 
*swig_obj
[1] ; 
10797   if (!args
) SWIG_fail
; 
10798   swig_obj
[0] = args
; 
10799   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 |  0 ); 
10800   if (!SWIG_IsOK(res1
)) { 
10801     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");  
10803   arg1 
= reinterpret_cast< wxSplitterEvent 
* >(argp1
); 
10805     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10806     result 
= (int)((wxSplitterEvent 
const *)arg1
)->GetY(); 
10807     wxPyEndAllowThreads(__tstate
); 
10808     if (PyErr_Occurred()) SWIG_fail
; 
10810   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
10817 SWIGINTERN PyObject 
*SplitterEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10819   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
10820   SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
)); 
10821   return SWIG_Py_Void(); 
10824 SWIGINTERN PyObject 
*SplitterEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10825   return SWIG_Python_InitShadowInstance(args
); 
10828 SWIGINTERN 
int SashNameStr_set(PyObject 
*) { 
10829   SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only."); 
10834 SWIGINTERN PyObject 
*SashNameStr_get(void) { 
10835   PyObject 
*pyobj 
= 0; 
10839     pyobj 
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len()); 
10841     pyobj 
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len()); 
10848 SWIGINTERN 
int SashLayoutNameStr_set(PyObject 
*) { 
10849   SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only."); 
10854 SWIGINTERN PyObject 
*SashLayoutNameStr_get(void) { 
10855   PyObject 
*pyobj 
= 0; 
10859     pyobj 
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len()); 
10861     pyobj 
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len()); 
10868 SWIGINTERN PyObject 
*_wrap_new_SashWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10869   PyObject 
*resultobj 
= 0; 
10870   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
10871   int arg2 
= (int) -1 ; 
10872   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
10873   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
10874   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
10875   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
10876   long arg5 
= (long) wxCLIP_CHILDREN
|wxSW_3D 
; 
10877   wxString 
const &arg6_defvalue 
= wxPySashNameStr 
; 
10878   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
10879   wxSashWindow 
*result 
= 0 ; 
10888   bool temp6 
= false ; 
10889   PyObject 
* obj0 
= 0 ; 
10890   PyObject 
* obj1 
= 0 ; 
10891   PyObject 
* obj2 
= 0 ; 
10892   PyObject 
* obj3 
= 0 ; 
10893   PyObject 
* obj4 
= 0 ; 
10894   PyObject 
* obj5 
= 0 ; 
10895   char *  kwnames
[] = { 
10896     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
10899   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
10900   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
10901   if (!SWIG_IsOK(res1
)) { 
10902     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
10904   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
10906     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
10907     if (!SWIG_IsOK(ecode2
)) { 
10908       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'"); 
10910     arg2 
= static_cast< int >(val2
); 
10915       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
10921       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
10925     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
10926     if (!SWIG_IsOK(ecode5
)) { 
10927       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'"); 
10929     arg5 
= static_cast< long >(val5
); 
10933       arg6 
= wxString_in_helper(obj5
); 
10934       if (arg6 
== NULL
) SWIG_fail
; 
10939     if (!wxPyCheckForApp()) SWIG_fail
; 
10940     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10941     result 
= (wxSashWindow 
*)new wxSashWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
10942     wxPyEndAllowThreads(__tstate
); 
10943     if (PyErr_Occurred()) SWIG_fail
; 
10945   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW 
|  0 ); 
10960 SWIGINTERN PyObject 
*_wrap_new_PreSashWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
10961   PyObject 
*resultobj 
= 0; 
10962   wxSashWindow 
*result 
= 0 ; 
10964   if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
; 
10966     if (!wxPyCheckForApp()) SWIG_fail
; 
10967     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
10968     result 
= (wxSashWindow 
*)new wxSashWindow(); 
10969     wxPyEndAllowThreads(__tstate
); 
10970     if (PyErr_Occurred()) SWIG_fail
; 
10972   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN 
|  0 ); 
10979 SWIGINTERN PyObject 
*_wrap_SashWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
10980   PyObject 
*resultobj 
= 0; 
10981   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
10982   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
10983   int arg3 
= (int) -1 ; 
10984   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
10985   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
10986   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
10987   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
10988   long arg6 
= (long) wxCLIP_CHILDREN
|wxSW_3D 
; 
10989   wxString 
const &arg7_defvalue 
= wxPySashNameStr 
; 
10990   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
11002   bool temp7 
= false ; 
11003   PyObject 
* obj0 
= 0 ; 
11004   PyObject 
* obj1 
= 0 ; 
11005   PyObject 
* obj2 
= 0 ; 
11006   PyObject 
* obj3 
= 0 ; 
11007   PyObject 
* obj4 
= 0 ; 
11008   PyObject 
* obj5 
= 0 ; 
11009   PyObject 
* obj6 
= 0 ; 
11010   char *  kwnames
[] = { 
11011     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
11014   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
11015   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11016   if (!SWIG_IsOK(res1
)) { 
11017     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11019   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11020   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
11021   if (!SWIG_IsOK(res2
)) { 
11022     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
11024   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
11026     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11027     if (!SWIG_IsOK(ecode3
)) { 
11028       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
11030     arg3 
= static_cast< int >(val3
); 
11035       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
11041       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
11045     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
11046     if (!SWIG_IsOK(ecode6
)) { 
11047       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
11049     arg6 
= static_cast< long >(val6
); 
11053       arg7 
= wxString_in_helper(obj6
); 
11054       if (arg7 
== NULL
) SWIG_fail
; 
11059     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11060     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
11061     wxPyEndAllowThreads(__tstate
); 
11062     if (PyErr_Occurred()) SWIG_fail
; 
11065     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11081 SWIGINTERN PyObject 
*_wrap_SashWindow_SetSashVisible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11082   PyObject 
*resultobj 
= 0; 
11083   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11084   wxSashEdgePosition arg2 
; 
11092   PyObject 
* obj0 
= 0 ; 
11093   PyObject 
* obj1 
= 0 ; 
11094   PyObject 
* obj2 
= 0 ; 
11095   char *  kwnames
[] = { 
11096     (char *) "self",(char *) "edge",(char *) "sash", NULL 
 
11099   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
11100   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11101   if (!SWIG_IsOK(res1
)) { 
11102     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11104   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11105   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11106   if (!SWIG_IsOK(ecode2
)) { 
11107     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
11109   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
11110   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
11111   if (!SWIG_IsOK(ecode3
)) { 
11112     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'"); 
11114   arg3 
= static_cast< bool >(val3
); 
11116     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11117     (arg1
)->SetSashVisible(arg2
,arg3
); 
11118     wxPyEndAllowThreads(__tstate
); 
11119     if (PyErr_Occurred()) SWIG_fail
; 
11121   resultobj 
= SWIG_Py_Void(); 
11128 SWIGINTERN PyObject 
*_wrap_SashWindow_GetSashVisible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11129   PyObject 
*resultobj 
= 0; 
11130   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11131   wxSashEdgePosition arg2 
; 
11137   PyObject 
* obj0 
= 0 ; 
11138   PyObject 
* obj1 
= 0 ; 
11139   char *  kwnames
[] = { 
11140     (char *) "self",(char *) "edge", NULL 
 
11143   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11144   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11145   if (!SWIG_IsOK(res1
)) { 
11146     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11148   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11149   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11150   if (!SWIG_IsOK(ecode2
)) { 
11151     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
11153   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
11155     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11156     result 
= (bool)((wxSashWindow 
const *)arg1
)->GetSashVisible(arg2
); 
11157     wxPyEndAllowThreads(__tstate
); 
11158     if (PyErr_Occurred()) SWIG_fail
; 
11161     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11169 SWIGINTERN PyObject 
*_wrap_SashWindow_SetSashBorder(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11170   PyObject 
*resultobj 
= 0; 
11171   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11172   wxSashEdgePosition arg2 
; 
11180   PyObject 
* obj0 
= 0 ; 
11181   PyObject 
* obj1 
= 0 ; 
11182   PyObject 
* obj2 
= 0 ; 
11183   char *  kwnames
[] = { 
11184     (char *) "self",(char *) "edge",(char *) "border", NULL 
 
11187   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
11188   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11189   if (!SWIG_IsOK(res1
)) { 
11190     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11192   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11193   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11194   if (!SWIG_IsOK(ecode2
)) { 
11195     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
11197   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
11198   ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
11199   if (!SWIG_IsOK(ecode3
)) { 
11200     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'"); 
11202   arg3 
= static_cast< bool >(val3
); 
11204     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11205     (arg1
)->SetSashBorder(arg2
,arg3
); 
11206     wxPyEndAllowThreads(__tstate
); 
11207     if (PyErr_Occurred()) SWIG_fail
; 
11209   resultobj 
= SWIG_Py_Void(); 
11216 SWIGINTERN PyObject 
*_wrap_SashWindow_HasBorder(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11217   PyObject 
*resultobj 
= 0; 
11218   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11219   wxSashEdgePosition arg2 
; 
11225   PyObject 
* obj0 
= 0 ; 
11226   PyObject 
* obj1 
= 0 ; 
11227   char *  kwnames
[] = { 
11228     (char *) "self",(char *) "edge", NULL 
 
11231   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11232   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11233   if (!SWIG_IsOK(res1
)) { 
11234     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11236   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11237   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11238   if (!SWIG_IsOK(ecode2
)) { 
11239     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
11241   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
11243     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11244     result 
= (bool)((wxSashWindow 
const *)arg1
)->HasBorder(arg2
); 
11245     wxPyEndAllowThreads(__tstate
); 
11246     if (PyErr_Occurred()) SWIG_fail
; 
11249     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
11257 SWIGINTERN PyObject 
*_wrap_SashWindow_GetEdgeMargin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11258   PyObject 
*resultobj 
= 0; 
11259   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11260   wxSashEdgePosition arg2 
; 
11266   PyObject 
* obj0 
= 0 ; 
11267   PyObject 
* obj1 
= 0 ; 
11268   char *  kwnames
[] = { 
11269     (char *) "self",(char *) "edge", NULL 
 
11272   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11273   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11274   if (!SWIG_IsOK(res1
)) { 
11275     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11277   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11278   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11279   if (!SWIG_IsOK(ecode2
)) { 
11280     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
11282   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
11284     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11285     result 
= (int)((wxSashWindow 
const *)arg1
)->GetEdgeMargin(arg2
); 
11286     wxPyEndAllowThreads(__tstate
); 
11287     if (PyErr_Occurred()) SWIG_fail
; 
11289   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11296 SWIGINTERN PyObject 
*_wrap_SashWindow_SetDefaultBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11297   PyObject 
*resultobj 
= 0; 
11298   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11304   PyObject 
* obj0 
= 0 ; 
11305   PyObject 
* obj1 
= 0 ; 
11306   char *  kwnames
[] = { 
11307     (char *) "self",(char *) "width", NULL 
 
11310   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11311   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11312   if (!SWIG_IsOK(res1
)) { 
11313     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11315   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11316   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11317   if (!SWIG_IsOK(ecode2
)) { 
11318     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'"); 
11320   arg2 
= static_cast< int >(val2
); 
11322     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11323     (arg1
)->SetDefaultBorderSize(arg2
); 
11324     wxPyEndAllowThreads(__tstate
); 
11325     if (PyErr_Occurred()) SWIG_fail
; 
11327   resultobj 
= SWIG_Py_Void(); 
11334 SWIGINTERN PyObject 
*_wrap_SashWindow_GetDefaultBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11335   PyObject 
*resultobj 
= 0; 
11336   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11340   PyObject 
*swig_obj
[1] ; 
11342   if (!args
) SWIG_fail
; 
11343   swig_obj
[0] = args
; 
11344   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11345   if (!SWIG_IsOK(res1
)) { 
11346     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11348   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11350     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11351     result 
= (int)((wxSashWindow 
const *)arg1
)->GetDefaultBorderSize(); 
11352     wxPyEndAllowThreads(__tstate
); 
11353     if (PyErr_Occurred()) SWIG_fail
; 
11355   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11362 SWIGINTERN PyObject 
*_wrap_SashWindow_SetExtraBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11363   PyObject 
*resultobj 
= 0; 
11364   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11370   PyObject 
* obj0 
= 0 ; 
11371   PyObject 
* obj1 
= 0 ; 
11372   char *  kwnames
[] = { 
11373     (char *) "self",(char *) "width", NULL 
 
11376   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11377   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11378   if (!SWIG_IsOK(res1
)) { 
11379     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11381   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11382   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11383   if (!SWIG_IsOK(ecode2
)) { 
11384     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'"); 
11386   arg2 
= static_cast< int >(val2
); 
11388     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11389     (arg1
)->SetExtraBorderSize(arg2
); 
11390     wxPyEndAllowThreads(__tstate
); 
11391     if (PyErr_Occurred()) SWIG_fail
; 
11393   resultobj 
= SWIG_Py_Void(); 
11400 SWIGINTERN PyObject 
*_wrap_SashWindow_GetExtraBorderSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11401   PyObject 
*resultobj 
= 0; 
11402   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11406   PyObject 
*swig_obj
[1] ; 
11408   if (!args
) SWIG_fail
; 
11409   swig_obj
[0] = args
; 
11410   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11411   if (!SWIG_IsOK(res1
)) { 
11412     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11414   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11416     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11417     result 
= (int)((wxSashWindow 
const *)arg1
)->GetExtraBorderSize(); 
11418     wxPyEndAllowThreads(__tstate
); 
11419     if (PyErr_Occurred()) SWIG_fail
; 
11421   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11428 SWIGINTERN PyObject 
*_wrap_SashWindow_SetMinimumSizeX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11429   PyObject 
*resultobj 
= 0; 
11430   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11436   PyObject 
* obj0 
= 0 ; 
11437   PyObject 
* obj1 
= 0 ; 
11438   char *  kwnames
[] = { 
11439     (char *) "self",(char *) "min", NULL 
 
11442   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11443   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11444   if (!SWIG_IsOK(res1
)) { 
11445     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11447   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11448   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11449   if (!SWIG_IsOK(ecode2
)) { 
11450     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'"); 
11452   arg2 
= static_cast< int >(val2
); 
11454     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11455     (arg1
)->SetMinimumSizeX(arg2
); 
11456     wxPyEndAllowThreads(__tstate
); 
11457     if (PyErr_Occurred()) SWIG_fail
; 
11459   resultobj 
= SWIG_Py_Void(); 
11466 SWIGINTERN PyObject 
*_wrap_SashWindow_SetMinimumSizeY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11467   PyObject 
*resultobj 
= 0; 
11468   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11474   PyObject 
* obj0 
= 0 ; 
11475   PyObject 
* obj1 
= 0 ; 
11476   char *  kwnames
[] = { 
11477     (char *) "self",(char *) "min", NULL 
 
11480   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11481   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11482   if (!SWIG_IsOK(res1
)) { 
11483     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11485   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11486   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11487   if (!SWIG_IsOK(ecode2
)) { 
11488     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'"); 
11490   arg2 
= static_cast< int >(val2
); 
11492     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11493     (arg1
)->SetMinimumSizeY(arg2
); 
11494     wxPyEndAllowThreads(__tstate
); 
11495     if (PyErr_Occurred()) SWIG_fail
; 
11497   resultobj 
= SWIG_Py_Void(); 
11504 SWIGINTERN PyObject 
*_wrap_SashWindow_GetMinimumSizeX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11505   PyObject 
*resultobj 
= 0; 
11506   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11510   PyObject 
*swig_obj
[1] ; 
11512   if (!args
) SWIG_fail
; 
11513   swig_obj
[0] = args
; 
11514   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11515   if (!SWIG_IsOK(res1
)) { 
11516     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11518   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11520     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11521     result 
= (int)((wxSashWindow 
const *)arg1
)->GetMinimumSizeX(); 
11522     wxPyEndAllowThreads(__tstate
); 
11523     if (PyErr_Occurred()) SWIG_fail
; 
11525   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11532 SWIGINTERN PyObject 
*_wrap_SashWindow_GetMinimumSizeY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11533   PyObject 
*resultobj 
= 0; 
11534   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11538   PyObject 
*swig_obj
[1] ; 
11540   if (!args
) SWIG_fail
; 
11541   swig_obj
[0] = args
; 
11542   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11543   if (!SWIG_IsOK(res1
)) { 
11544     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11546   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11548     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11549     result 
= (int)((wxSashWindow 
const *)arg1
)->GetMinimumSizeY(); 
11550     wxPyEndAllowThreads(__tstate
); 
11551     if (PyErr_Occurred()) SWIG_fail
; 
11553   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11560 SWIGINTERN PyObject 
*_wrap_SashWindow_SetMaximumSizeX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11561   PyObject 
*resultobj 
= 0; 
11562   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11568   PyObject 
* obj0 
= 0 ; 
11569   PyObject 
* obj1 
= 0 ; 
11570   char *  kwnames
[] = { 
11571     (char *) "self",(char *) "max", NULL 
 
11574   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11575   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11576   if (!SWIG_IsOK(res1
)) { 
11577     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11579   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11580   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11581   if (!SWIG_IsOK(ecode2
)) { 
11582     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'"); 
11584   arg2 
= static_cast< int >(val2
); 
11586     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11587     (arg1
)->SetMaximumSizeX(arg2
); 
11588     wxPyEndAllowThreads(__tstate
); 
11589     if (PyErr_Occurred()) SWIG_fail
; 
11591   resultobj 
= SWIG_Py_Void(); 
11598 SWIGINTERN PyObject 
*_wrap_SashWindow_SetMaximumSizeY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11599   PyObject 
*resultobj 
= 0; 
11600   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11606   PyObject 
* obj0 
= 0 ; 
11607   PyObject 
* obj1 
= 0 ; 
11608   char *  kwnames
[] = { 
11609     (char *) "self",(char *) "max", NULL 
 
11612   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11613   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11614   if (!SWIG_IsOK(res1
)) { 
11615     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11617   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11618   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11619   if (!SWIG_IsOK(ecode2
)) { 
11620     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'"); 
11622   arg2 
= static_cast< int >(val2
); 
11624     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11625     (arg1
)->SetMaximumSizeY(arg2
); 
11626     wxPyEndAllowThreads(__tstate
); 
11627     if (PyErr_Occurred()) SWIG_fail
; 
11629   resultobj 
= SWIG_Py_Void(); 
11636 SWIGINTERN PyObject 
*_wrap_SashWindow_GetMaximumSizeX(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11637   PyObject 
*resultobj 
= 0; 
11638   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11642   PyObject 
*swig_obj
[1] ; 
11644   if (!args
) SWIG_fail
; 
11645   swig_obj
[0] = args
; 
11646   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11647   if (!SWIG_IsOK(res1
)) { 
11648     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11650   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11652     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11653     result 
= (int)((wxSashWindow 
const *)arg1
)->GetMaximumSizeX(); 
11654     wxPyEndAllowThreads(__tstate
); 
11655     if (PyErr_Occurred()) SWIG_fail
; 
11657   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11664 SWIGINTERN PyObject 
*_wrap_SashWindow_GetMaximumSizeY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11665   PyObject 
*resultobj 
= 0; 
11666   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11670   PyObject 
*swig_obj
[1] ; 
11672   if (!args
) SWIG_fail
; 
11673   swig_obj
[0] = args
; 
11674   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11675   if (!SWIG_IsOK(res1
)) { 
11676     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");  
11678   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11680     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11681     result 
= (int)((wxSashWindow 
const *)arg1
)->GetMaximumSizeY(); 
11682     wxPyEndAllowThreads(__tstate
); 
11683     if (PyErr_Occurred()) SWIG_fail
; 
11685   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11692 SWIGINTERN PyObject 
*_wrap_SashWindow_SashHitTest(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11693   PyObject 
*resultobj 
= 0; 
11694   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11697   int arg4 
= (int) 2 ; 
11698   wxSashEdgePosition result
; 
11707   PyObject 
* obj0 
= 0 ; 
11708   PyObject 
* obj1 
= 0 ; 
11709   PyObject 
* obj2 
= 0 ; 
11710   PyObject 
* obj3 
= 0 ; 
11711   char *  kwnames
[] = { 
11712     (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL 
 
11715   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
11716   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11717   if (!SWIG_IsOK(res1
)) { 
11718     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11720   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11721   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11722   if (!SWIG_IsOK(ecode2
)) { 
11723     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'"); 
11725   arg2 
= static_cast< int >(val2
); 
11726   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
11727   if (!SWIG_IsOK(ecode3
)) { 
11728     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'"); 
11730   arg3 
= static_cast< int >(val3
); 
11732     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
11733     if (!SWIG_IsOK(ecode4
)) { 
11734       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'"); 
11736     arg4 
= static_cast< int >(val4
); 
11739     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11740     result 
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
); 
11741     wxPyEndAllowThreads(__tstate
); 
11742     if (PyErr_Occurred()) SWIG_fail
; 
11744   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11751 SWIGINTERN PyObject 
*_wrap_SashWindow_SizeWindows(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11752   PyObject 
*resultobj 
= 0; 
11753   wxSashWindow 
*arg1 
= (wxSashWindow 
*) 0 ; 
11756   PyObject 
*swig_obj
[1] ; 
11758   if (!args
) SWIG_fail
; 
11759   swig_obj
[0] = args
; 
11760   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 |  0 ); 
11761   if (!SWIG_IsOK(res1
)) { 
11762     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");  
11764   arg1 
= reinterpret_cast< wxSashWindow 
* >(argp1
); 
11766     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11767     (arg1
)->SizeWindows(); 
11768     wxPyEndAllowThreads(__tstate
); 
11769     if (PyErr_Occurred()) SWIG_fail
; 
11771   resultobj 
= SWIG_Py_Void(); 
11778 SWIGINTERN PyObject 
*SashWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11780   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
11781   SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
)); 
11782   return SWIG_Py_Void(); 
11785 SWIGINTERN PyObject 
*SashWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11786   return SWIG_Python_InitShadowInstance(args
); 
11789 SWIGINTERN PyObject 
*_wrap_new_SashEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11790   PyObject 
*resultobj 
= 0; 
11791   int arg1 
= (int) 0 ; 
11792   wxSashEdgePosition arg2 
= (wxSashEdgePosition
) wxSASH_NONE 
; 
11793   wxSashEvent 
*result 
= 0 ; 
11798   PyObject 
* obj0 
= 0 ; 
11799   PyObject 
* obj1 
= 0 ; 
11800   char *  kwnames
[] = { 
11801     (char *) "id",(char *) "edge", NULL 
 
11804   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11806     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
11807     if (!SWIG_IsOK(ecode1
)) { 
11808       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'"); 
11810     arg1 
= static_cast< int >(val1
); 
11813     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11814     if (!SWIG_IsOK(ecode2
)) { 
11815       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
11817     arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
11820     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11821     result 
= (wxSashEvent 
*)new wxSashEvent(arg1
,arg2
); 
11822     wxPyEndAllowThreads(__tstate
); 
11823     if (PyErr_Occurred()) SWIG_fail
; 
11825   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW 
|  0 ); 
11832 SWIGINTERN PyObject 
*_wrap_SashEvent_SetEdge(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11833   PyObject 
*resultobj 
= 0; 
11834   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11835   wxSashEdgePosition arg2 
; 
11840   PyObject 
* obj0 
= 0 ; 
11841   PyObject 
* obj1 
= 0 ; 
11842   char *  kwnames
[] = { 
11843     (char *) "self",(char *) "edge", NULL 
 
11846   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11847   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11848   if (!SWIG_IsOK(res1
)) { 
11849     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");  
11851   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11852   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11853   if (!SWIG_IsOK(ecode2
)) { 
11854     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'"); 
11856   arg2 
= static_cast< wxSashEdgePosition 
>(val2
); 
11858     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11859     (arg1
)->SetEdge(arg2
); 
11860     wxPyEndAllowThreads(__tstate
); 
11861     if (PyErr_Occurred()) SWIG_fail
; 
11863   resultobj 
= SWIG_Py_Void(); 
11870 SWIGINTERN PyObject 
*_wrap_SashEvent_GetEdge(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11871   PyObject 
*resultobj 
= 0; 
11872   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11873   wxSashEdgePosition result
; 
11876   PyObject 
*swig_obj
[1] ; 
11878   if (!args
) SWIG_fail
; 
11879   swig_obj
[0] = args
; 
11880   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11881   if (!SWIG_IsOK(res1
)) { 
11882     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");  
11884   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11886     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11887     result 
= (wxSashEdgePosition
)((wxSashEvent 
const *)arg1
)->GetEdge(); 
11888     wxPyEndAllowThreads(__tstate
); 
11889     if (PyErr_Occurred()) SWIG_fail
; 
11891   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
11898 SWIGINTERN PyObject 
*_wrap_SashEvent_SetDragRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11899   PyObject 
*resultobj 
= 0; 
11900   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11905   PyObject 
* obj0 
= 0 ; 
11906   PyObject 
* obj1 
= 0 ; 
11907   char *  kwnames
[] = { 
11908     (char *) "self",(char *) "rect", NULL 
 
11911   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11912   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11913   if (!SWIG_IsOK(res1
)) { 
11914     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");  
11916   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11919     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
11922     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11923     (arg1
)->SetDragRect((wxRect 
const &)*arg2
); 
11924     wxPyEndAllowThreads(__tstate
); 
11925     if (PyErr_Occurred()) SWIG_fail
; 
11927   resultobj 
= SWIG_Py_Void(); 
11934 SWIGINTERN PyObject 
*_wrap_SashEvent_GetDragRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
11935   PyObject 
*resultobj 
= 0; 
11936   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11940   PyObject 
*swig_obj
[1] ; 
11942   if (!args
) SWIG_fail
; 
11943   swig_obj
[0] = args
; 
11944   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11945   if (!SWIG_IsOK(res1
)) { 
11946     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");  
11948   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11950     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11951     result 
= ((wxSashEvent 
const *)arg1
)->GetDragRect(); 
11952     wxPyEndAllowThreads(__tstate
); 
11953     if (PyErr_Occurred()) SWIG_fail
; 
11955   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
11962 SWIGINTERN PyObject 
*_wrap_SashEvent_SetDragStatus(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
11963   PyObject 
*resultobj 
= 0; 
11964   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
11965   wxSashDragStatus arg2 
; 
11970   PyObject 
* obj0 
= 0 ; 
11971   PyObject 
* obj1 
= 0 ; 
11972   char *  kwnames
[] = { 
11973     (char *) "self",(char *) "status", NULL 
 
11976   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
11977   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
11978   if (!SWIG_IsOK(res1
)) { 
11979     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");  
11981   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
11982   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
11983   if (!SWIG_IsOK(ecode2
)) { 
11984     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'"); 
11986   arg2 
= static_cast< wxSashDragStatus 
>(val2
); 
11988     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
11989     (arg1
)->SetDragStatus(arg2
); 
11990     wxPyEndAllowThreads(__tstate
); 
11991     if (PyErr_Occurred()) SWIG_fail
; 
11993   resultobj 
= SWIG_Py_Void(); 
12000 SWIGINTERN PyObject 
*_wrap_SashEvent_GetDragStatus(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12001   PyObject 
*resultobj 
= 0; 
12002   wxSashEvent 
*arg1 
= (wxSashEvent 
*) 0 ; 
12003   wxSashDragStatus result
; 
12006   PyObject 
*swig_obj
[1] ; 
12008   if (!args
) SWIG_fail
; 
12009   swig_obj
[0] = args
; 
12010   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 |  0 ); 
12011   if (!SWIG_IsOK(res1
)) { 
12012     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");  
12014   arg1 
= reinterpret_cast< wxSashEvent 
* >(argp1
); 
12016     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12017     result 
= (wxSashDragStatus
)((wxSashEvent 
const *)arg1
)->GetDragStatus(); 
12018     wxPyEndAllowThreads(__tstate
); 
12019     if (PyErr_Occurred()) SWIG_fail
; 
12021   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12028 SWIGINTERN PyObject 
*SashEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12030   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12031   SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
)); 
12032   return SWIG_Py_Void(); 
12035 SWIGINTERN PyObject 
*SashEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12036   return SWIG_Python_InitShadowInstance(args
); 
12039 SWIGINTERN PyObject 
*_wrap_new_QueryLayoutInfoEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12040   PyObject 
*resultobj 
= 0; 
12041   int arg1 
= (int) 0 ; 
12042   wxQueryLayoutInfoEvent 
*result 
= 0 ; 
12045   PyObject 
* obj0 
= 0 ; 
12046   char *  kwnames
[] = { 
12047     (char *) "id", NULL 
 
12050   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
; 
12052     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
12053     if (!SWIG_IsOK(ecode1
)) { 
12054       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'"); 
12056     arg1 
= static_cast< int >(val1
); 
12059     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12060     result 
= (wxQueryLayoutInfoEvent 
*)new wxQueryLayoutInfoEvent(arg1
); 
12061     wxPyEndAllowThreads(__tstate
); 
12062     if (PyErr_Occurred()) SWIG_fail
; 
12064   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW 
|  0 ); 
12071 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12072   PyObject 
*resultobj 
= 0; 
12073   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12079   PyObject 
* obj0 
= 0 ; 
12080   PyObject 
* obj1 
= 0 ; 
12081   char *  kwnames
[] = { 
12082     (char *) "self",(char *) "length", NULL 
 
12085   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12086   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12087   if (!SWIG_IsOK(res1
)) { 
12088     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
12090   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12091   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12092   if (!SWIG_IsOK(ecode2
)) { 
12093     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'"); 
12095   arg2 
= static_cast< int >(val2
); 
12097     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12098     (arg1
)->SetRequestedLength(arg2
); 
12099     wxPyEndAllowThreads(__tstate
); 
12100     if (PyErr_Occurred()) SWIG_fail
; 
12102   resultobj 
= SWIG_Py_Void(); 
12109 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12110   PyObject 
*resultobj 
= 0; 
12111   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12115   PyObject 
*swig_obj
[1] ; 
12117   if (!args
) SWIG_fail
; 
12118   swig_obj
[0] = args
; 
12119   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12120   if (!SWIG_IsOK(res1
)) { 
12121     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
12123   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12125     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12126     result 
= (int)((wxQueryLayoutInfoEvent 
const *)arg1
)->GetRequestedLength(); 
12127     wxPyEndAllowThreads(__tstate
); 
12128     if (PyErr_Occurred()) SWIG_fail
; 
12130   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12137 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12138   PyObject 
*resultobj 
= 0; 
12139   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12145   PyObject 
* obj0 
= 0 ; 
12146   PyObject 
* obj1 
= 0 ; 
12147   char *  kwnames
[] = { 
12148     (char *) "self",(char *) "flags", NULL 
 
12151   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12152   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12153   if (!SWIG_IsOK(res1
)) { 
12154     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
12156   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12157   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12158   if (!SWIG_IsOK(ecode2
)) { 
12159     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
12161   arg2 
= static_cast< int >(val2
); 
12163     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12164     (arg1
)->SetFlags(arg2
); 
12165     wxPyEndAllowThreads(__tstate
); 
12166     if (PyErr_Occurred()) SWIG_fail
; 
12168   resultobj 
= SWIG_Py_Void(); 
12175 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12176   PyObject 
*resultobj 
= 0; 
12177   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12181   PyObject 
*swig_obj
[1] ; 
12183   if (!args
) SWIG_fail
; 
12184   swig_obj
[0] = args
; 
12185   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12186   if (!SWIG_IsOK(res1
)) { 
12187     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
12189   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12191     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12192     result 
= (int)((wxQueryLayoutInfoEvent 
const *)arg1
)->GetFlags(); 
12193     wxPyEndAllowThreads(__tstate
); 
12194     if (PyErr_Occurred()) SWIG_fail
; 
12196   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12203 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12204   PyObject 
*resultobj 
= 0; 
12205   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12210   PyObject 
* obj0 
= 0 ; 
12211   PyObject 
* obj1 
= 0 ; 
12212   char *  kwnames
[] = { 
12213     (char *) "self",(char *) "size", NULL 
 
12216   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12217   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12218   if (!SWIG_IsOK(res1
)) { 
12219     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
12221   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12224     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
12227     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12228     (arg1
)->SetSize((wxSize 
const &)*arg2
); 
12229     wxPyEndAllowThreads(__tstate
); 
12230     if (PyErr_Occurred()) SWIG_fail
; 
12232   resultobj 
= SWIG_Py_Void(); 
12239 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12240   PyObject 
*resultobj 
= 0; 
12241   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12245   PyObject 
*swig_obj
[1] ; 
12247   if (!args
) SWIG_fail
; 
12248   swig_obj
[0] = args
; 
12249   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12250   if (!SWIG_IsOK(res1
)) { 
12251     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
12253   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12255     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12256     result 
= ((wxQueryLayoutInfoEvent 
const *)arg1
)->GetSize(); 
12257     wxPyEndAllowThreads(__tstate
); 
12258     if (PyErr_Occurred()) SWIG_fail
; 
12260   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
12267 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12268   PyObject 
*resultobj 
= 0; 
12269   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12270   wxLayoutOrientation arg2 
; 
12275   PyObject 
* obj0 
= 0 ; 
12276   PyObject 
* obj1 
= 0 ; 
12277   char *  kwnames
[] = { 
12278     (char *) "self",(char *) "orient", NULL 
 
12281   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12282   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12283   if (!SWIG_IsOK(res1
)) { 
12284     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
12286   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12287   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12288   if (!SWIG_IsOK(ecode2
)) { 
12289     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'"); 
12291   arg2 
= static_cast< wxLayoutOrientation 
>(val2
); 
12293     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12294     (arg1
)->SetOrientation(arg2
); 
12295     wxPyEndAllowThreads(__tstate
); 
12296     if (PyErr_Occurred()) SWIG_fail
; 
12298   resultobj 
= SWIG_Py_Void(); 
12305 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12306   PyObject 
*resultobj 
= 0; 
12307   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12308   wxLayoutOrientation result
; 
12311   PyObject 
*swig_obj
[1] ; 
12313   if (!args
) SWIG_fail
; 
12314   swig_obj
[0] = args
; 
12315   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12316   if (!SWIG_IsOK(res1
)) { 
12317     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
12319   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12321     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12322     result 
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent 
const *)arg1
)->GetOrientation(); 
12323     wxPyEndAllowThreads(__tstate
); 
12324     if (PyErr_Occurred()) SWIG_fail
; 
12326   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12333 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12334   PyObject 
*resultobj 
= 0; 
12335   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12336   wxLayoutAlignment arg2 
; 
12341   PyObject 
* obj0 
= 0 ; 
12342   PyObject 
* obj1 
= 0 ; 
12343   char *  kwnames
[] = { 
12344     (char *) "self",(char *) "align", NULL 
 
12347   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12348   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12349   if (!SWIG_IsOK(res1
)) { 
12350     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");  
12352   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12353   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12354   if (!SWIG_IsOK(ecode2
)) { 
12355     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'"); 
12357   arg2 
= static_cast< wxLayoutAlignment 
>(val2
); 
12359     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12360     (arg1
)->SetAlignment(arg2
); 
12361     wxPyEndAllowThreads(__tstate
); 
12362     if (PyErr_Occurred()) SWIG_fail
; 
12364   resultobj 
= SWIG_Py_Void(); 
12371 SWIGINTERN PyObject 
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12372   PyObject 
*resultobj 
= 0; 
12373   wxQueryLayoutInfoEvent 
*arg1 
= (wxQueryLayoutInfoEvent 
*) 0 ; 
12374   wxLayoutAlignment result
; 
12377   PyObject 
*swig_obj
[1] ; 
12379   if (!args
) SWIG_fail
; 
12380   swig_obj
[0] = args
; 
12381   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 |  0 ); 
12382   if (!SWIG_IsOK(res1
)) { 
12383     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");  
12385   arg1 
= reinterpret_cast< wxQueryLayoutInfoEvent 
* >(argp1
); 
12387     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12388     result 
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent 
const *)arg1
)->GetAlignment(); 
12389     wxPyEndAllowThreads(__tstate
); 
12390     if (PyErr_Occurred()) SWIG_fail
; 
12392   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12399 SWIGINTERN PyObject 
*QueryLayoutInfoEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12401   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12402   SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
)); 
12403   return SWIG_Py_Void(); 
12406 SWIGINTERN PyObject 
*QueryLayoutInfoEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12407   return SWIG_Python_InitShadowInstance(args
); 
12410 SWIGINTERN PyObject 
*_wrap_new_CalculateLayoutEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12411   PyObject 
*resultobj 
= 0; 
12412   int arg1 
= (int) 0 ; 
12413   wxCalculateLayoutEvent 
*result 
= 0 ; 
12416   PyObject 
* obj0 
= 0 ; 
12417   char *  kwnames
[] = { 
12418     (char *) "id", NULL 
 
12421   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
; 
12423     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
12424     if (!SWIG_IsOK(ecode1
)) { 
12425       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'"); 
12427     arg1 
= static_cast< int >(val1
); 
12430     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12431     result 
= (wxCalculateLayoutEvent 
*)new wxCalculateLayoutEvent(arg1
); 
12432     wxPyEndAllowThreads(__tstate
); 
12433     if (PyErr_Occurred()) SWIG_fail
; 
12435   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW 
|  0 ); 
12442 SWIGINTERN PyObject 
*_wrap_CalculateLayoutEvent_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12443   PyObject 
*resultobj 
= 0; 
12444   wxCalculateLayoutEvent 
*arg1 
= (wxCalculateLayoutEvent 
*) 0 ; 
12450   PyObject 
* obj0 
= 0 ; 
12451   PyObject 
* obj1 
= 0 ; 
12452   char *  kwnames
[] = { 
12453     (char *) "self",(char *) "flags", NULL 
 
12456   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12457   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 |  0 ); 
12458   if (!SWIG_IsOK(res1
)) { 
12459     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");  
12461   arg1 
= reinterpret_cast< wxCalculateLayoutEvent 
* >(argp1
); 
12462   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12463   if (!SWIG_IsOK(ecode2
)) { 
12464     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
12466   arg2 
= static_cast< int >(val2
); 
12468     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12469     (arg1
)->SetFlags(arg2
); 
12470     wxPyEndAllowThreads(__tstate
); 
12471     if (PyErr_Occurred()) SWIG_fail
; 
12473   resultobj 
= SWIG_Py_Void(); 
12480 SWIGINTERN PyObject 
*_wrap_CalculateLayoutEvent_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12481   PyObject 
*resultobj 
= 0; 
12482   wxCalculateLayoutEvent 
*arg1 
= (wxCalculateLayoutEvent 
*) 0 ; 
12486   PyObject 
*swig_obj
[1] ; 
12488   if (!args
) SWIG_fail
; 
12489   swig_obj
[0] = args
; 
12490   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 |  0 ); 
12491   if (!SWIG_IsOK(res1
)) { 
12492     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");  
12494   arg1 
= reinterpret_cast< wxCalculateLayoutEvent 
* >(argp1
); 
12496     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12497     result 
= (int)((wxCalculateLayoutEvent 
const *)arg1
)->GetFlags(); 
12498     wxPyEndAllowThreads(__tstate
); 
12499     if (PyErr_Occurred()) SWIG_fail
; 
12501   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12508 SWIGINTERN PyObject 
*_wrap_CalculateLayoutEvent_SetRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12509   PyObject 
*resultobj 
= 0; 
12510   wxCalculateLayoutEvent 
*arg1 
= (wxCalculateLayoutEvent 
*) 0 ; 
12515   PyObject 
* obj0 
= 0 ; 
12516   PyObject 
* obj1 
= 0 ; 
12517   char *  kwnames
[] = { 
12518     (char *) "self",(char *) "rect", NULL 
 
12521   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12522   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 |  0 ); 
12523   if (!SWIG_IsOK(res1
)) { 
12524     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");  
12526   arg1 
= reinterpret_cast< wxCalculateLayoutEvent 
* >(argp1
); 
12529     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
12532     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12533     (arg1
)->SetRect((wxRect 
const &)*arg2
); 
12534     wxPyEndAllowThreads(__tstate
); 
12535     if (PyErr_Occurred()) SWIG_fail
; 
12537   resultobj 
= SWIG_Py_Void(); 
12544 SWIGINTERN PyObject 
*_wrap_CalculateLayoutEvent_GetRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12545   PyObject 
*resultobj 
= 0; 
12546   wxCalculateLayoutEvent 
*arg1 
= (wxCalculateLayoutEvent 
*) 0 ; 
12550   PyObject 
*swig_obj
[1] ; 
12552   if (!args
) SWIG_fail
; 
12553   swig_obj
[0] = args
; 
12554   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 |  0 ); 
12555   if (!SWIG_IsOK(res1
)) { 
12556     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");  
12558   arg1 
= reinterpret_cast< wxCalculateLayoutEvent 
* >(argp1
); 
12560     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12561     result 
= ((wxCalculateLayoutEvent 
const *)arg1
)->GetRect(); 
12562     wxPyEndAllowThreads(__tstate
); 
12563     if (PyErr_Occurred()) SWIG_fail
; 
12565   resultobj 
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN 
|  0 ); 
12572 SWIGINTERN PyObject 
*CalculateLayoutEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12574   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12575   SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
)); 
12576   return SWIG_Py_Void(); 
12579 SWIGINTERN PyObject 
*CalculateLayoutEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12580   return SWIG_Python_InitShadowInstance(args
); 
12583 SWIGINTERN PyObject 
*_wrap_new_SashLayoutWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12584   PyObject 
*resultobj 
= 0; 
12585   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
12586   int arg2 
= (int) -1 ; 
12587   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
12588   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
12589   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
12590   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
12591   long arg5 
= (long) wxCLIP_CHILDREN
|wxSW_3D 
; 
12592   wxString 
const &arg6_defvalue 
= wxPySashLayoutNameStr 
; 
12593   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
12594   wxSashLayoutWindow 
*result 
= 0 ; 
12603   bool temp6 
= false ; 
12604   PyObject 
* obj0 
= 0 ; 
12605   PyObject 
* obj1 
= 0 ; 
12606   PyObject 
* obj2 
= 0 ; 
12607   PyObject 
* obj3 
= 0 ; 
12608   PyObject 
* obj4 
= 0 ; 
12609   PyObject 
* obj5 
= 0 ; 
12610   char *  kwnames
[] = { 
12611     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
12614   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
12615   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
12616   if (!SWIG_IsOK(res1
)) { 
12617     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
12619   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
12621     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12622     if (!SWIG_IsOK(ecode2
)) { 
12623       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'"); 
12625     arg2 
= static_cast< int >(val2
); 
12630       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
12636       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
12640     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
12641     if (!SWIG_IsOK(ecode5
)) { 
12642       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'"); 
12644     arg5 
= static_cast< long >(val5
); 
12648       arg6 
= wxString_in_helper(obj5
); 
12649       if (arg6 
== NULL
) SWIG_fail
; 
12654     if (!wxPyCheckForApp()) SWIG_fail
; 
12655     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12656     result 
= (wxSashLayoutWindow 
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
12657     wxPyEndAllowThreads(__tstate
); 
12658     if (PyErr_Occurred()) SWIG_fail
; 
12660   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW 
|  0 ); 
12675 SWIGINTERN PyObject 
*_wrap_new_PreSashLayoutWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12676   PyObject 
*resultobj 
= 0; 
12677   wxSashLayoutWindow 
*result 
= 0 ; 
12679   if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
; 
12681     if (!wxPyCheckForApp()) SWIG_fail
; 
12682     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12683     result 
= (wxSashLayoutWindow 
*)new wxSashLayoutWindow(); 
12684     wxPyEndAllowThreads(__tstate
); 
12685     if (PyErr_Occurred()) SWIG_fail
; 
12687   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN 
|  0 ); 
12694 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12695   PyObject 
*resultobj 
= 0; 
12696   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12697   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
12698   int arg3 
= (int) -1 ; 
12699   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
12700   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
12701   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
12702   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
12703   long arg6 
= (long) wxCLIP_CHILDREN
|wxSW_3D 
; 
12704   wxString 
const &arg7_defvalue 
= wxPySashLayoutNameStr 
; 
12705   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
12717   bool temp7 
= false ; 
12718   PyObject 
* obj0 
= 0 ; 
12719   PyObject 
* obj1 
= 0 ; 
12720   PyObject 
* obj2 
= 0 ; 
12721   PyObject 
* obj3 
= 0 ; 
12722   PyObject 
* obj4 
= 0 ; 
12723   PyObject 
* obj5 
= 0 ; 
12724   PyObject 
* obj6 
= 0 ; 
12725   char *  kwnames
[] = { 
12726     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
12729   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
12730   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12731   if (!SWIG_IsOK(res1
)) { 
12732     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12734   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12735   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
12736   if (!SWIG_IsOK(res2
)) { 
12737     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
12739   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
12741     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
12742     if (!SWIG_IsOK(ecode3
)) { 
12743       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
12745     arg3 
= static_cast< int >(val3
); 
12750       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
12756       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
12760     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
12761     if (!SWIG_IsOK(ecode6
)) { 
12762       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
12764     arg6 
= static_cast< long >(val6
); 
12768       arg7 
= wxString_in_helper(obj6
); 
12769       if (arg7 
== NULL
) SWIG_fail
; 
12774     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12775     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
12776     wxPyEndAllowThreads(__tstate
); 
12777     if (PyErr_Occurred()) SWIG_fail
; 
12780     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
12796 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_GetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12797   PyObject 
*resultobj 
= 0; 
12798   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12799   wxLayoutAlignment result
; 
12802   PyObject 
*swig_obj
[1] ; 
12804   if (!args
) SWIG_fail
; 
12805   swig_obj
[0] = args
; 
12806   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12807   if (!SWIG_IsOK(res1
)) { 
12808     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12810   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12812     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12813     result 
= (wxLayoutAlignment
)(arg1
)->GetAlignment(); 
12814     wxPyEndAllowThreads(__tstate
); 
12815     if (PyErr_Occurred()) SWIG_fail
; 
12817   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12824 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_GetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12825   PyObject 
*resultobj 
= 0; 
12826   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12827   wxLayoutOrientation result
; 
12830   PyObject 
*swig_obj
[1] ; 
12832   if (!args
) SWIG_fail
; 
12833   swig_obj
[0] = args
; 
12834   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12835   if (!SWIG_IsOK(res1
)) { 
12836     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12838   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12840     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12841     result 
= (wxLayoutOrientation
)(arg1
)->GetOrientation(); 
12842     wxPyEndAllowThreads(__tstate
); 
12843     if (PyErr_Occurred()) SWIG_fail
; 
12845   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
12852 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_SetAlignment(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12853   PyObject 
*resultobj 
= 0; 
12854   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12855   wxLayoutAlignment arg2 
; 
12860   PyObject 
* obj0 
= 0 ; 
12861   PyObject 
* obj1 
= 0 ; 
12862   char *  kwnames
[] = { 
12863     (char *) "self",(char *) "alignment", NULL 
 
12866   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12867   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12868   if (!SWIG_IsOK(res1
)) { 
12869     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12871   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12872   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12873   if (!SWIG_IsOK(ecode2
)) { 
12874     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'"); 
12876   arg2 
= static_cast< wxLayoutAlignment 
>(val2
); 
12878     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12879     (arg1
)->SetAlignment(arg2
); 
12880     wxPyEndAllowThreads(__tstate
); 
12881     if (PyErr_Occurred()) SWIG_fail
; 
12883   resultobj 
= SWIG_Py_Void(); 
12890 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12891   PyObject 
*resultobj 
= 0; 
12892   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12897   PyObject 
* obj0 
= 0 ; 
12898   PyObject 
* obj1 
= 0 ; 
12899   char *  kwnames
[] = { 
12900     (char *) "self",(char *) "size", NULL 
 
12903   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12904   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12905   if (!SWIG_IsOK(res1
)) { 
12906     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12908   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12911     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
12914     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12915     (arg1
)->SetDefaultSize((wxSize 
const &)*arg2
); 
12916     wxPyEndAllowThreads(__tstate
); 
12917     if (PyErr_Occurred()) SWIG_fail
; 
12919   resultobj 
= SWIG_Py_Void(); 
12926 SWIGINTERN PyObject 
*_wrap_SashLayoutWindow_SetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
12927   PyObject 
*resultobj 
= 0; 
12928   wxSashLayoutWindow 
*arg1 
= (wxSashLayoutWindow 
*) 0 ; 
12929   wxLayoutOrientation arg2 
; 
12934   PyObject 
* obj0 
= 0 ; 
12935   PyObject 
* obj1 
= 0 ; 
12936   char *  kwnames
[] = { 
12937     (char *) "self",(char *) "orientation", NULL 
 
12940   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
12941   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 |  0 ); 
12942   if (!SWIG_IsOK(res1
)) { 
12943     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");  
12945   arg1 
= reinterpret_cast< wxSashLayoutWindow 
* >(argp1
); 
12946   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
12947   if (!SWIG_IsOK(ecode2
)) { 
12948     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'"); 
12950   arg2 
= static_cast< wxLayoutOrientation 
>(val2
); 
12952     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12953     (arg1
)->SetOrientation(arg2
); 
12954     wxPyEndAllowThreads(__tstate
); 
12955     if (PyErr_Occurred()) SWIG_fail
; 
12957   resultobj 
= SWIG_Py_Void(); 
12964 SWIGINTERN PyObject 
*SashLayoutWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12966   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
12967   SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
)); 
12968   return SWIG_Py_Void(); 
12971 SWIGINTERN PyObject 
*SashLayoutWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12972   return SWIG_Python_InitShadowInstance(args
); 
12975 SWIGINTERN PyObject 
*_wrap_new_LayoutAlgorithm(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12976   PyObject 
*resultobj 
= 0; 
12977   wxLayoutAlgorithm 
*result 
= 0 ; 
12979   if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
; 
12981     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
12982     result 
= (wxLayoutAlgorithm 
*)new wxLayoutAlgorithm(); 
12983     wxPyEndAllowThreads(__tstate
); 
12984     if (PyErr_Occurred()) SWIG_fail
; 
12986   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW 
|  0 ); 
12993 SWIGINTERN PyObject 
*_wrap_delete_LayoutAlgorithm(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
12994   PyObject 
*resultobj 
= 0; 
12995   wxLayoutAlgorithm 
*arg1 
= (wxLayoutAlgorithm 
*) 0 ; 
12998   PyObject 
*swig_obj
[1] ; 
13000   if (!args
) SWIG_fail
; 
13001   swig_obj
[0] = args
; 
13002   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN 
|  0 ); 
13003   if (!SWIG_IsOK(res1
)) { 
13004     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");  
13006   arg1 
= reinterpret_cast< wxLayoutAlgorithm 
* >(argp1
); 
13008     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13011     wxPyEndAllowThreads(__tstate
); 
13012     if (PyErr_Occurred()) SWIG_fail
; 
13014   resultobj 
= SWIG_Py_Void(); 
13021 SWIGINTERN PyObject 
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13022   PyObject 
*resultobj 
= 0; 
13023   wxLayoutAlgorithm 
*arg1 
= (wxLayoutAlgorithm 
*) 0 ; 
13024   wxMDIParentFrame 
*arg2 
= (wxMDIParentFrame 
*) 0 ; 
13025   wxRect 
*arg3 
= (wxRect 
*) NULL 
; 
13033   PyObject 
* obj0 
= 0 ; 
13034   PyObject 
* obj1 
= 0 ; 
13035   PyObject 
* obj2 
= 0 ; 
13036   char *  kwnames
[] = { 
13037     (char *) "self",(char *) "frame",(char *) "rect", NULL 
 
13040   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13041   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 |  0 ); 
13042   if (!SWIG_IsOK(res1
)) { 
13043     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");  
13045   arg1 
= reinterpret_cast< wxLayoutAlgorithm 
* >(argp1
); 
13046   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
13047   if (!SWIG_IsOK(res2
)) { 
13048     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");  
13050   arg2 
= reinterpret_cast< wxMDIParentFrame 
* >(argp2
); 
13052     res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 |  0 ); 
13053     if (!SWIG_IsOK(res3
)) { 
13054       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");  
13056     arg3 
= reinterpret_cast< wxRect 
* >(argp3
); 
13059     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13060     result 
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
); 
13061     wxPyEndAllowThreads(__tstate
); 
13062     if (PyErr_Occurred()) SWIG_fail
; 
13065     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13073 SWIGINTERN PyObject 
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13074   PyObject 
*resultobj 
= 0; 
13075   wxLayoutAlgorithm 
*arg1 
= (wxLayoutAlgorithm 
*) 0 ; 
13076   wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
13077   wxWindow 
*arg3 
= (wxWindow 
*) NULL 
; 
13085   PyObject 
* obj0 
= 0 ; 
13086   PyObject 
* obj1 
= 0 ; 
13087   PyObject 
* obj2 
= 0 ; 
13088   char *  kwnames
[] = { 
13089     (char *) "self",(char *) "frame",(char *) "mainWindow", NULL 
 
13092   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13093   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 |  0 ); 
13094   if (!SWIG_IsOK(res1
)) { 
13095     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");  
13097   arg1 
= reinterpret_cast< wxLayoutAlgorithm 
* >(argp1
); 
13098   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
13099   if (!SWIG_IsOK(res2
)) { 
13100     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");  
13102   arg2 
= reinterpret_cast< wxFrame 
* >(argp2
); 
13104     res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13105     if (!SWIG_IsOK(res3
)) { 
13106       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");  
13108     arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
13111     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13112     result 
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
); 
13113     wxPyEndAllowThreads(__tstate
); 
13114     if (PyErr_Occurred()) SWIG_fail
; 
13117     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13125 SWIGINTERN PyObject 
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13126   PyObject 
*resultobj 
= 0; 
13127   wxLayoutAlgorithm 
*arg1 
= (wxLayoutAlgorithm 
*) 0 ; 
13128   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
13129   wxWindow 
*arg3 
= (wxWindow 
*) NULL 
; 
13137   PyObject 
* obj0 
= 0 ; 
13138   PyObject 
* obj1 
= 0 ; 
13139   PyObject 
* obj2 
= 0 ; 
13140   char *  kwnames
[] = { 
13141     (char *) "self",(char *) "parent",(char *) "mainWindow", NULL 
 
13144   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13145   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 |  0 ); 
13146   if (!SWIG_IsOK(res1
)) { 
13147     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");  
13149   arg1 
= reinterpret_cast< wxLayoutAlgorithm 
* >(argp1
); 
13150   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13151   if (!SWIG_IsOK(res2
)) { 
13152     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
13154   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
13156     res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13157     if (!SWIG_IsOK(res3
)) { 
13158       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");  
13160     arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
13163     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13164     result 
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
); 
13165     wxPyEndAllowThreads(__tstate
); 
13166     if (PyErr_Occurred()) SWIG_fail
; 
13169     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13177 SWIGINTERN PyObject 
*LayoutAlgorithm_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13179   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
13180   SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
)); 
13181   return SWIG_Py_Void(); 
13184 SWIGINTERN PyObject 
*LayoutAlgorithm_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13185   return SWIG_Python_InitShadowInstance(args
); 
13188 SWIGINTERN PyObject 
*_wrap_new_PopupWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13189   PyObject 
*resultobj 
= 0; 
13190   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
13191   int arg2 
= (int) wxBORDER_NONE 
; 
13192   wxPopupWindow 
*result 
= 0 ; 
13197   PyObject 
* obj0 
= 0 ; 
13198   PyObject 
* obj1 
= 0 ; 
13199   char *  kwnames
[] = { 
13200     (char *) "parent",(char *) "flags", NULL 
 
13203   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13204   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13205   if (!SWIG_IsOK(res1
)) { 
13206     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
13208   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
13210     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13211     if (!SWIG_IsOK(ecode2
)) { 
13212       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'"); 
13214     arg2 
= static_cast< int >(val2
); 
13217     if (!wxPyCheckForApp()) SWIG_fail
; 
13218     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13219     result 
= (wxPopupWindow 
*)new wxPopupWindow(arg1
,arg2
); 
13220     wxPyEndAllowThreads(__tstate
); 
13221     if (PyErr_Occurred()) SWIG_fail
; 
13223   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW 
|  0 ); 
13230 SWIGINTERN PyObject 
*_wrap_new_PrePopupWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13231   PyObject 
*resultobj 
= 0; 
13232   wxPopupWindow 
*result 
= 0 ; 
13234   if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
; 
13236     if (!wxPyCheckForApp()) SWIG_fail
; 
13237     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13238     result 
= (wxPopupWindow 
*)new wxPopupWindow(); 
13239     wxPyEndAllowThreads(__tstate
); 
13240     if (PyErr_Occurred()) SWIG_fail
; 
13242   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN 
|  0 ); 
13249 SWIGINTERN PyObject 
*_wrap_PopupWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13250   PyObject 
*resultobj 
= 0; 
13251   wxPopupWindow 
*arg1 
= (wxPopupWindow 
*) 0 ; 
13252   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
13253   int arg3 
= (int) wxBORDER_NONE 
; 
13261   PyObject 
* obj0 
= 0 ; 
13262   PyObject 
* obj1 
= 0 ; 
13263   PyObject 
* obj2 
= 0 ; 
13264   char *  kwnames
[] = { 
13265     (char *) "self",(char *) "parent",(char *) "flags", NULL 
 
13268   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13269   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 |  0 ); 
13270   if (!SWIG_IsOK(res1
)) { 
13271     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");  
13273   arg1 
= reinterpret_cast< wxPopupWindow 
* >(argp1
); 
13274   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13275   if (!SWIG_IsOK(res2
)) { 
13276     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
13278   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
13280     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13281     if (!SWIG_IsOK(ecode3
)) { 
13282       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
13284     arg3 
= static_cast< int >(val3
); 
13287     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13288     result 
= (bool)(arg1
)->Create(arg2
,arg3
); 
13289     wxPyEndAllowThreads(__tstate
); 
13290     if (PyErr_Occurred()) SWIG_fail
; 
13293     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13301 SWIGINTERN PyObject 
*_wrap_PopupWindow_Position(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13302   PyObject 
*resultobj 
= 0; 
13303   wxPopupWindow 
*arg1 
= (wxPopupWindow 
*) 0 ; 
13304   wxPoint 
*arg2 
= 0 ; 
13310   PyObject 
* obj0 
= 0 ; 
13311   PyObject 
* obj1 
= 0 ; 
13312   PyObject 
* obj2 
= 0 ; 
13313   char *  kwnames
[] = { 
13314     (char *) "self",(char *) "ptOrigin",(char *) "size", NULL 
 
13317   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13318   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 |  0 ); 
13319   if (!SWIG_IsOK(res1
)) { 
13320     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");  
13322   arg1 
= reinterpret_cast< wxPopupWindow 
* >(argp1
); 
13325     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
13329     if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
; 
13332     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13333     (arg1
)->Position((wxPoint 
const &)*arg2
,(wxSize 
const &)*arg3
); 
13334     wxPyEndAllowThreads(__tstate
); 
13335     if (PyErr_Occurred()) SWIG_fail
; 
13337   resultobj 
= SWIG_Py_Void(); 
13344 SWIGINTERN PyObject 
*PopupWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13346   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
13347   SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
)); 
13348   return SWIG_Py_Void(); 
13351 SWIGINTERN PyObject 
*PopupWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13352   return SWIG_Python_InitShadowInstance(args
); 
13355 SWIGINTERN PyObject 
*_wrap_new_PopupTransientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13356   PyObject 
*resultobj 
= 0; 
13357   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
13358   int arg2 
= (int) wxBORDER_NONE 
; 
13359   wxPyPopupTransientWindow 
*result 
= 0 ; 
13364   PyObject 
* obj0 
= 0 ; 
13365   PyObject 
* obj1 
= 0 ; 
13366   char *  kwnames
[] = { 
13367     (char *) "parent",(char *) "style", NULL 
 
13370   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13371   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13372   if (!SWIG_IsOK(res1
)) { 
13373     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
13375   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
13377     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13378     if (!SWIG_IsOK(ecode2
)) { 
13379       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'"); 
13381     arg2 
= static_cast< int >(val2
); 
13384     if (!wxPyCheckForApp()) SWIG_fail
; 
13385     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13386     result 
= (wxPyPopupTransientWindow 
*)new wxPyPopupTransientWindow(arg1
,arg2
); 
13387     wxPyEndAllowThreads(__tstate
); 
13388     if (PyErr_Occurred()) SWIG_fail
; 
13390   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW 
|  0 ); 
13397 SWIGINTERN PyObject 
*_wrap_new_PrePopupTransientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13398   PyObject 
*resultobj 
= 0; 
13399   wxPyPopupTransientWindow 
*result 
= 0 ; 
13401   if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
; 
13403     if (!wxPyCheckForApp()) SWIG_fail
; 
13404     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13405     result 
= (wxPyPopupTransientWindow 
*)new wxPyPopupTransientWindow(); 
13406     wxPyEndAllowThreads(__tstate
); 
13407     if (PyErr_Occurred()) SWIG_fail
; 
13409   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN 
|  0 ); 
13416 SWIGINTERN PyObject 
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13417   PyObject 
*resultobj 
= 0; 
13418   wxPyPopupTransientWindow 
*arg1 
= (wxPyPopupTransientWindow 
*) 0 ; 
13419   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
13420   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
13423   PyObject 
* obj0 
= 0 ; 
13424   PyObject 
* obj1 
= 0 ; 
13425   PyObject 
* obj2 
= 0 ; 
13426   char *  kwnames
[] = { 
13427     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
13430   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13431   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 |  0 ); 
13432   if (!SWIG_IsOK(res1
)) { 
13433     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");  
13435   arg1 
= reinterpret_cast< wxPyPopupTransientWindow 
* >(argp1
); 
13439     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13440     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
13441     wxPyEndAllowThreads(__tstate
); 
13442     if (PyErr_Occurred()) SWIG_fail
; 
13444   resultobj 
= SWIG_Py_Void(); 
13451 SWIGINTERN PyObject 
*_wrap_PopupTransientWindow_Popup(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13452   PyObject 
*resultobj 
= 0; 
13453   wxPyPopupTransientWindow 
*arg1 
= (wxPyPopupTransientWindow 
*) 0 ; 
13454   wxWindow 
*arg2 
= (wxWindow 
*) NULL 
; 
13459   PyObject 
* obj0 
= 0 ; 
13460   PyObject 
* obj1 
= 0 ; 
13461   char *  kwnames
[] = { 
13462     (char *) "self",(char *) "focus", NULL 
 
13465   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13466   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 |  0 ); 
13467   if (!SWIG_IsOK(res1
)) { 
13468     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");  
13470   arg1 
= reinterpret_cast< wxPyPopupTransientWindow 
* >(argp1
); 
13472     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13473     if (!SWIG_IsOK(res2
)) { 
13474       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");  
13476     arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
13479     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13480     (arg1
)->Popup(arg2
); 
13481     wxPyEndAllowThreads(__tstate
); 
13482     if (PyErr_Occurred()) SWIG_fail
; 
13484   resultobj 
= SWIG_Py_Void(); 
13491 SWIGINTERN PyObject 
*_wrap_PopupTransientWindow_Dismiss(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13492   PyObject 
*resultobj 
= 0; 
13493   wxPyPopupTransientWindow 
*arg1 
= (wxPyPopupTransientWindow 
*) 0 ; 
13496   PyObject 
*swig_obj
[1] ; 
13498   if (!args
) SWIG_fail
; 
13499   swig_obj
[0] = args
; 
13500   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 |  0 ); 
13501   if (!SWIG_IsOK(res1
)) { 
13502     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");  
13504   arg1 
= reinterpret_cast< wxPyPopupTransientWindow 
* >(argp1
); 
13506     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13508     wxPyEndAllowThreads(__tstate
); 
13509     if (PyErr_Occurred()) SWIG_fail
; 
13511   resultobj 
= SWIG_Py_Void(); 
13518 SWIGINTERN PyObject 
*PopupTransientWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13520   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
13521   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
)); 
13522   return SWIG_Py_Void(); 
13525 SWIGINTERN PyObject 
*PopupTransientWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13526   return SWIG_Python_InitShadowInstance(args
); 
13529 SWIGINTERN PyObject 
*_wrap_new_TipWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13530   PyObject 
*resultobj 
= 0; 
13531   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
13532   wxString 
*arg2 
= 0 ; 
13533   int arg3 
= (int) 100 ; 
13534   wxRect 
*arg4 
= (wxRect 
*) NULL 
; 
13535   wxTipWindow 
*result 
= 0 ; 
13538   bool temp2 
= false ; 
13543   PyObject 
* obj0 
= 0 ; 
13544   PyObject 
* obj1 
= 0 ; 
13545   PyObject 
* obj2 
= 0 ; 
13546   PyObject 
* obj3 
= 0 ; 
13547   char *  kwnames
[] = { 
13548     (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL 
 
13551   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
13552   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13553   if (!SWIG_IsOK(res1
)) { 
13554     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
13556   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
13558     arg2 
= wxString_in_helper(obj1
); 
13559     if (arg2 
== NULL
) SWIG_fail
; 
13563     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13564     if (!SWIG_IsOK(ecode3
)) { 
13565       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'"); 
13567     arg3 
= static_cast< int >(val3
); 
13570     res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 |  0 ); 
13571     if (!SWIG_IsOK(res4
)) { 
13572       SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");  
13574     arg4 
= reinterpret_cast< wxRect 
* >(argp4
); 
13577     if (!wxPyCheckForApp()) SWIG_fail
; 
13578     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13579     result 
= (wxTipWindow 
*)new_wxTipWindow(arg1
,(wxString 
const &)*arg2
,arg3
,arg4
); 
13580     wxPyEndAllowThreads(__tstate
); 
13581     if (PyErr_Occurred()) SWIG_fail
; 
13583   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW 
|  0 ); 
13598 SWIGINTERN PyObject 
*_wrap_TipWindow_SetBoundingRect(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13599   PyObject 
*resultobj 
= 0; 
13600   wxTipWindow 
*arg1 
= (wxTipWindow 
*) 0 ; 
13605   PyObject 
* obj0 
= 0 ; 
13606   PyObject 
* obj1 
= 0 ; 
13607   char *  kwnames
[] = { 
13608     (char *) "self",(char *) "rectBound", NULL 
 
13611   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13612   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 |  0 ); 
13613   if (!SWIG_IsOK(res1
)) { 
13614     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");  
13616   arg1 
= reinterpret_cast< wxTipWindow 
* >(argp1
); 
13619     if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
; 
13622     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13623     (arg1
)->SetBoundingRect((wxRect 
const &)*arg2
); 
13624     wxPyEndAllowThreads(__tstate
); 
13625     if (PyErr_Occurred()) SWIG_fail
; 
13627   resultobj 
= SWIG_Py_Void(); 
13634 SWIGINTERN PyObject 
*_wrap_TipWindow_Close(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13635   PyObject 
*resultobj 
= 0; 
13636   wxTipWindow 
*arg1 
= (wxTipWindow 
*) 0 ; 
13639   PyObject 
*swig_obj
[1] ; 
13641   if (!args
) SWIG_fail
; 
13642   swig_obj
[0] = args
; 
13643   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 |  0 ); 
13644   if (!SWIG_IsOK(res1
)) { 
13645     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");  
13647   arg1 
= reinterpret_cast< wxTipWindow 
* >(argp1
); 
13649     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13651     wxPyEndAllowThreads(__tstate
); 
13652     if (PyErr_Occurred()) SWIG_fail
; 
13654   resultobj 
= SWIG_Py_Void(); 
13661 SWIGINTERN PyObject 
*TipWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13663   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
13664   SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
)); 
13665   return SWIG_Py_Void(); 
13668 SWIGINTERN PyObject 
*TipWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13669   return SWIG_Python_InitShadowInstance(args
); 
13672 SWIGINTERN PyObject 
*_wrap_new_VScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13673   PyObject 
*resultobj 
= 0; 
13674   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
13675   int arg2 
= (int) wxID_ANY 
; 
13676   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
13677   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
13678   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
13679   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
13680   long arg5 
= (long) 0 ; 
13681   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
13682   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
13683   wxPyVScrolledWindow 
*result 
= 0 ; 
13692   bool temp6 
= false ; 
13693   PyObject 
* obj0 
= 0 ; 
13694   PyObject 
* obj1 
= 0 ; 
13695   PyObject 
* obj2 
= 0 ; 
13696   PyObject 
* obj3 
= 0 ; 
13697   PyObject 
* obj4 
= 0 ; 
13698   PyObject 
* obj5 
= 0 ; 
13699   char *  kwnames
[] = { 
13700     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
13703   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
13704   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13705   if (!SWIG_IsOK(res1
)) { 
13706     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
13708   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
13710     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
13711     if (!SWIG_IsOK(ecode2
)) { 
13712       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'"); 
13714     arg2 
= static_cast< int >(val2
); 
13719       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
13725       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
13729     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
13730     if (!SWIG_IsOK(ecode5
)) { 
13731       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'"); 
13733     arg5 
= static_cast< long >(val5
); 
13737       arg6 
= wxString_in_helper(obj5
); 
13738       if (arg6 
== NULL
) SWIG_fail
; 
13743     if (!wxPyCheckForApp()) SWIG_fail
; 
13744     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13745     result 
= (wxPyVScrolledWindow 
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
13746     wxPyEndAllowThreads(__tstate
); 
13747     if (PyErr_Occurred()) SWIG_fail
; 
13749   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW 
|  0 ); 
13764 SWIGINTERN PyObject 
*_wrap_new_PreVScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
13765   PyObject 
*resultobj 
= 0; 
13766   wxPyVScrolledWindow 
*result 
= 0 ; 
13768   if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
; 
13770     if (!wxPyCheckForApp()) SWIG_fail
; 
13771     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13772     result 
= (wxPyVScrolledWindow 
*)new wxPyVScrolledWindow(); 
13773     wxPyEndAllowThreads(__tstate
); 
13774     if (PyErr_Occurred()) SWIG_fail
; 
13776   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN 
|  0 ); 
13783 SWIGINTERN PyObject 
*_wrap_VScrolledWindow__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13784   PyObject 
*resultobj 
= 0; 
13785   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13786   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
13787   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
13790   PyObject 
* obj0 
= 0 ; 
13791   PyObject 
* obj1 
= 0 ; 
13792   PyObject 
* obj2 
= 0 ; 
13793   char *  kwnames
[] = { 
13794     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
13797   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
13798   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13799   if (!SWIG_IsOK(res1
)) { 
13800     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13802   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13806     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13807     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
13808     wxPyEndAllowThreads(__tstate
); 
13809     if (PyErr_Occurred()) SWIG_fail
; 
13811   resultobj 
= SWIG_Py_Void(); 
13818 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13819   PyObject 
*resultobj 
= 0; 
13820   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13821   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
13822   int arg3 
= (int) wxID_ANY 
; 
13823   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
13824   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
13825   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
13826   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
13827   long arg6 
= (long) 0 ; 
13828   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
13829   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
13841   bool temp7 
= false ; 
13842   PyObject 
* obj0 
= 0 ; 
13843   PyObject 
* obj1 
= 0 ; 
13844   PyObject 
* obj2 
= 0 ; 
13845   PyObject 
* obj3 
= 0 ; 
13846   PyObject 
* obj4 
= 0 ; 
13847   PyObject 
* obj5 
= 0 ; 
13848   PyObject 
* obj6 
= 0 ; 
13849   char *  kwnames
[] = { 
13850     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
13853   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
13854   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13855   if (!SWIG_IsOK(res1
)) { 
13856     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13858   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13859   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
13860   if (!SWIG_IsOK(res2
)) { 
13861     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
13863   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
13865     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
13866     if (!SWIG_IsOK(ecode3
)) { 
13867       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'"); 
13869     arg3 
= static_cast< int >(val3
); 
13874       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
13880       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
13884     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
13885     if (!SWIG_IsOK(ecode6
)) { 
13886       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'"); 
13888     arg6 
= static_cast< long >(val6
); 
13892       arg7 
= wxString_in_helper(obj6
); 
13893       if (arg7 
== NULL
) SWIG_fail
; 
13898     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13899     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
13900     wxPyEndAllowThreads(__tstate
); 
13901     if (PyErr_Occurred()) SWIG_fail
; 
13904     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13920 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_SetLineCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13921   PyObject 
*resultobj 
= 0; 
13922   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13928   PyObject 
* obj0 
= 0 ; 
13929   PyObject 
* obj1 
= 0 ; 
13930   char *  kwnames
[] = { 
13931     (char *) "self",(char *) "count", NULL 
 
13934   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13935   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13936   if (!SWIG_IsOK(res1
)) { 
13937     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13939   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13940   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
13941   if (!SWIG_IsOK(ecode2
)) { 
13942     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'"); 
13944   arg2 
= static_cast< size_t >(val2
); 
13946     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13947     (arg1
)->SetLineCount(arg2
); 
13948     wxPyEndAllowThreads(__tstate
); 
13949     if (PyErr_Occurred()) SWIG_fail
; 
13951   resultobj 
= SWIG_Py_Void(); 
13958 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_ScrollToLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
13959   PyObject 
*resultobj 
= 0; 
13960   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
13967   PyObject 
* obj0 
= 0 ; 
13968   PyObject 
* obj1 
= 0 ; 
13969   char *  kwnames
[] = { 
13970     (char *) "self",(char *) "line", NULL 
 
13973   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
13974   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
13975   if (!SWIG_IsOK(res1
)) { 
13976     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
13978   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
13979   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
13980   if (!SWIG_IsOK(ecode2
)) { 
13981     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'"); 
13983   arg2 
= static_cast< size_t >(val2
); 
13985     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
13986     result 
= (bool)(arg1
)->ScrollToLine(arg2
); 
13987     wxPyEndAllowThreads(__tstate
); 
13988     if (PyErr_Occurred()) SWIG_fail
; 
13991     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
13999 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_RefreshLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14000   PyObject 
*resultobj 
= 0; 
14001   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14007   PyObject 
* obj0 
= 0 ; 
14008   PyObject 
* obj1 
= 0 ; 
14009   char *  kwnames
[] = { 
14010     (char *) "self",(char *) "line", NULL 
 
14013   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14014   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14015   if (!SWIG_IsOK(res1
)) { 
14016     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
14018   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14019   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14020   if (!SWIG_IsOK(ecode2
)) { 
14021     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'"); 
14023   arg2 
= static_cast< size_t >(val2
); 
14025     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14026     (arg1
)->RefreshLine(arg2
); 
14027     wxPyEndAllowThreads(__tstate
); 
14028     if (PyErr_Occurred()) SWIG_fail
; 
14030   resultobj 
= SWIG_Py_Void(); 
14037 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_RefreshLines(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14038   PyObject 
*resultobj 
= 0; 
14039   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14048   PyObject 
* obj0 
= 0 ; 
14049   PyObject 
* obj1 
= 0 ; 
14050   PyObject 
* obj2 
= 0 ; 
14051   char *  kwnames
[] = { 
14052     (char *) "self",(char *) "from",(char *) "to", NULL 
 
14055   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14056   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14057   if (!SWIG_IsOK(res1
)) { 
14058     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
14060   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14061   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14062   if (!SWIG_IsOK(ecode2
)) { 
14063     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'"); 
14065   arg2 
= static_cast< size_t >(val2
); 
14066   ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
14067   if (!SWIG_IsOK(ecode3
)) { 
14068     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'"); 
14070   arg3 
= static_cast< size_t >(val3
); 
14072     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14073     (arg1
)->RefreshLines(arg2
,arg3
); 
14074     wxPyEndAllowThreads(__tstate
); 
14075     if (PyErr_Occurred()) SWIG_fail
; 
14077   resultobj 
= SWIG_Py_Void(); 
14084 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_HitTestXY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14085   PyObject 
*resultobj 
= 0; 
14086   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14096   PyObject 
* obj0 
= 0 ; 
14097   PyObject 
* obj1 
= 0 ; 
14098   PyObject 
* obj2 
= 0 ; 
14099   char *  kwnames
[] = { 
14100     (char *) "self",(char *) "x",(char *) "y", NULL 
 
14103   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14104   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14105   if (!SWIG_IsOK(res1
)) { 
14106     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14108   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14109   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14110   if (!SWIG_IsOK(ecode2
)) { 
14111     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'"); 
14113   arg2 
= static_cast< int >(val2
); 
14114   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14115   if (!SWIG_IsOK(ecode3
)) { 
14116     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'"); 
14118   arg3 
= static_cast< int >(val3
); 
14120     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14121     result 
= (int)((wxPyVScrolledWindow 
const *)arg1
)->HitTest(arg2
,arg3
); 
14122     wxPyEndAllowThreads(__tstate
); 
14123     if (PyErr_Occurred()) SWIG_fail
; 
14125   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14132 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_HitTest(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14133   PyObject 
*resultobj 
= 0; 
14134   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14135   wxPoint 
*arg2 
= 0 ; 
14140   PyObject 
* obj0 
= 0 ; 
14141   PyObject 
* obj1 
= 0 ; 
14142   char *  kwnames
[] = { 
14143     (char *) "self",(char *) "pt", NULL 
 
14146   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14147   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14148   if (!SWIG_IsOK(res1
)) { 
14149     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14151   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14154     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
14157     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14158     result 
= (int)((wxPyVScrolledWindow 
const *)arg1
)->HitTest((wxPoint 
const &)*arg2
); 
14159     wxPyEndAllowThreads(__tstate
); 
14160     if (PyErr_Occurred()) SWIG_fail
; 
14162   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14169 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_RefreshAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14170   PyObject 
*resultobj 
= 0; 
14171   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14174   PyObject 
*swig_obj
[1] ; 
14176   if (!args
) SWIG_fail
; 
14177   swig_obj
[0] = args
; 
14178   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14179   if (!SWIG_IsOK(res1
)) { 
14180     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
14182   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14184     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14185     (arg1
)->RefreshAll(); 
14186     wxPyEndAllowThreads(__tstate
); 
14187     if (PyErr_Occurred()) SWIG_fail
; 
14189   resultobj 
= SWIG_Py_Void(); 
14196 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetLineCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14197   PyObject 
*resultobj 
= 0; 
14198   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14202   PyObject 
*swig_obj
[1] ; 
14204   if (!args
) SWIG_fail
; 
14205   swig_obj
[0] = args
; 
14206   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14207   if (!SWIG_IsOK(res1
)) { 
14208     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14210   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14212     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14213     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetLineCount(); 
14214     wxPyEndAllowThreads(__tstate
); 
14215     if (PyErr_Occurred()) SWIG_fail
; 
14217   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14224 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14225   PyObject 
*resultobj 
= 0; 
14226   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14230   PyObject 
*swig_obj
[1] ; 
14232   if (!args
) SWIG_fail
; 
14233   swig_obj
[0] = args
; 
14234   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14235   if (!SWIG_IsOK(res1
)) { 
14236     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14238   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14240     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14241     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetVisibleBegin(); 
14242     wxPyEndAllowThreads(__tstate
); 
14243     if (PyErr_Occurred()) SWIG_fail
; 
14245   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14252 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14253   PyObject 
*resultobj 
= 0; 
14254   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14258   PyObject 
*swig_obj
[1] ; 
14260   if (!args
) SWIG_fail
; 
14261   swig_obj
[0] = args
; 
14262   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14263   if (!SWIG_IsOK(res1
)) { 
14264     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14266   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14268     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14269     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetVisibleEnd(); 
14270     wxPyEndAllowThreads(__tstate
); 
14271     if (PyErr_Occurred()) SWIG_fail
; 
14273   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14280 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_IsVisible(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14281   PyObject 
*resultobj 
= 0; 
14282   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14289   PyObject 
* obj0 
= 0 ; 
14290   PyObject 
* obj1 
= 0 ; 
14291   char *  kwnames
[] = { 
14292     (char *) "self",(char *) "line", NULL 
 
14295   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14296   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14297   if (!SWIG_IsOK(res1
)) { 
14298     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14300   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14301   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14302   if (!SWIG_IsOK(ecode2
)) { 
14303     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'"); 
14305   arg2 
= static_cast< size_t >(val2
); 
14307     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14308     result 
= (bool)((wxPyVScrolledWindow 
const *)arg1
)->IsVisible(arg2
); 
14309     wxPyEndAllowThreads(__tstate
); 
14310     if (PyErr_Occurred()) SWIG_fail
; 
14313     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14321 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14322   PyObject 
*resultobj 
= 0; 
14323   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14327   PyObject 
*swig_obj
[1] ; 
14329   if (!args
) SWIG_fail
; 
14330   swig_obj
[0] = args
; 
14331   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14332   if (!SWIG_IsOK(res1
)) { 
14333     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14335   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14337     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14338     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetFirstVisibleLine(); 
14339     wxPyEndAllowThreads(__tstate
); 
14340     if (PyErr_Occurred()) SWIG_fail
; 
14342   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14349 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14350   PyObject 
*resultobj 
= 0; 
14351   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14355   PyObject 
*swig_obj
[1] ; 
14357   if (!args
) SWIG_fail
; 
14358   swig_obj
[0] = args
; 
14359   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14360   if (!SWIG_IsOK(res1
)) { 
14361     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14363   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14365     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14366     result 
= (size_t)((wxPyVScrolledWindow 
const *)arg1
)->GetLastVisibleLine(); 
14367     wxPyEndAllowThreads(__tstate
); 
14368     if (PyErr_Occurred()) SWIG_fail
; 
14370   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14377 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14378   PyObject 
*resultobj 
= 0; 
14379   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14381   bool arg3 
= (bool) false ; 
14389   PyObject 
* obj0 
= 0 ; 
14390   PyObject 
* obj1 
= 0 ; 
14391   PyObject 
* obj2 
= 0 ; 
14392   char *  kwnames
[] = { 
14393     (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL 
 
14396   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14397   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14398   if (!SWIG_IsOK(res1
)) { 
14399     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");  
14401   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14402   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14403   if (!SWIG_IsOK(ecode2
)) { 
14404     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'"); 
14406   arg2 
= static_cast< size_t >(val2
); 
14408     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
14409     if (!SWIG_IsOK(ecode3
)) { 
14410       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'"); 
14412     arg3 
= static_cast< bool >(val3
); 
14415     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14416     result 
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
); 
14417     wxPyEndAllowThreads(__tstate
); 
14418     if (PyErr_Occurred()) SWIG_fail
; 
14420   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14427 SWIGINTERN PyObject 
*_wrap_VScrolledWindow_GetLinesHeight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14428   PyObject 
*resultobj 
= 0; 
14429   wxPyVScrolledWindow 
*arg1 
= (wxPyVScrolledWindow 
*) 0 ; 
14439   PyObject 
* obj0 
= 0 ; 
14440   PyObject 
* obj1 
= 0 ; 
14441   PyObject 
* obj2 
= 0 ; 
14442   char *  kwnames
[] = { 
14443     (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL 
 
14446   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14447   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 |  0 ); 
14448   if (!SWIG_IsOK(res1
)) { 
14449     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");  
14451   arg1 
= reinterpret_cast< wxPyVScrolledWindow 
* >(argp1
); 
14452   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14453   if (!SWIG_IsOK(ecode2
)) { 
14454     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'"); 
14456   arg2 
= static_cast< size_t >(val2
); 
14457   ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
14458   if (!SWIG_IsOK(ecode3
)) { 
14459     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'"); 
14461   arg3 
= static_cast< size_t >(val3
); 
14463     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14464     result 
= (int)((wxPyVScrolledWindow 
const *)arg1
)->GetLinesHeight(arg2
,arg3
); 
14465     wxPyEndAllowThreads(__tstate
); 
14466     if (PyErr_Occurred()) SWIG_fail
; 
14468   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14475 SWIGINTERN PyObject 
*VScrolledWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14477   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
14478   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
)); 
14479   return SWIG_Py_Void(); 
14482 SWIGINTERN PyObject 
*VScrolledWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14483   return SWIG_Python_InitShadowInstance(args
); 
14486 SWIGINTERN 
int VListBoxNameStr_set(PyObject 
*) { 
14487   SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only."); 
14492 SWIGINTERN PyObject 
*VListBoxNameStr_get(void) { 
14493   PyObject 
*pyobj 
= 0; 
14497     pyobj 
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len()); 
14499     pyobj 
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len()); 
14506 SWIGINTERN PyObject 
*_wrap_new_VListBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14507   PyObject 
*resultobj 
= 0; 
14508   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
14509   int arg2 
= (int) wxID_ANY 
; 
14510   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
14511   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
14512   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
14513   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
14514   long arg5 
= (long) 0 ; 
14515   wxString 
const &arg6_defvalue 
= wxPyVListBoxNameStr 
; 
14516   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
14517   wxPyVListBox 
*result 
= 0 ; 
14526   bool temp6 
= false ; 
14527   PyObject 
* obj0 
= 0 ; 
14528   PyObject 
* obj1 
= 0 ; 
14529   PyObject 
* obj2 
= 0 ; 
14530   PyObject 
* obj3 
= 0 ; 
14531   PyObject 
* obj4 
= 0 ; 
14532   PyObject 
* obj5 
= 0 ; 
14533   char *  kwnames
[] = { 
14534     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
14537   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
14538   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
14539   if (!SWIG_IsOK(res1
)) { 
14540     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");  
14542   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
14544     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
14545     if (!SWIG_IsOK(ecode2
)) { 
14546       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'"); 
14548     arg2 
= static_cast< int >(val2
); 
14553       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
14559       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
14563     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
14564     if (!SWIG_IsOK(ecode5
)) { 
14565       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'"); 
14567     arg5 
= static_cast< long >(val5
); 
14571       arg6 
= wxString_in_helper(obj5
); 
14572       if (arg6 
== NULL
) SWIG_fail
; 
14577     if (!wxPyCheckForApp()) SWIG_fail
; 
14578     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14579     result 
= (wxPyVListBox 
*)new wxPyVListBox(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
14580     wxPyEndAllowThreads(__tstate
); 
14581     if (PyErr_Occurred()) SWIG_fail
; 
14583   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW 
|  0 ); 
14598 SWIGINTERN PyObject 
*_wrap_new_PreVListBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14599   PyObject 
*resultobj 
= 0; 
14600   wxPyVListBox 
*result 
= 0 ; 
14602   if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
; 
14604     if (!wxPyCheckForApp()) SWIG_fail
; 
14605     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14606     result 
= (wxPyVListBox 
*)new wxPyVListBox(); 
14607     wxPyEndAllowThreads(__tstate
); 
14608     if (PyErr_Occurred()) SWIG_fail
; 
14610   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN 
|  0 ); 
14617 SWIGINTERN PyObject 
*_wrap_VListBox__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14618   PyObject 
*resultobj 
= 0; 
14619   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14620   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
14621   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
14624   PyObject 
* obj0 
= 0 ; 
14625   PyObject 
* obj1 
= 0 ; 
14626   PyObject 
* obj2 
= 0 ; 
14627   char *  kwnames
[] = { 
14628     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
14631   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
14632   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14633   if (!SWIG_IsOK(res1
)) { 
14634     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14636   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14640     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14641     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
14642     wxPyEndAllowThreads(__tstate
); 
14643     if (PyErr_Occurred()) SWIG_fail
; 
14645   resultobj 
= SWIG_Py_Void(); 
14652 SWIGINTERN PyObject 
*_wrap_VListBox_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14653   PyObject 
*resultobj 
= 0; 
14654   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14655   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
14656   int arg3 
= (int) wxID_ANY 
; 
14657   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
14658   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
14659   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
14660   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
14661   long arg6 
= (long) 0 ; 
14662   wxString 
const &arg7_defvalue 
= wxPyVListBoxNameStr 
; 
14663   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
14675   bool temp7 
= false ; 
14676   PyObject 
* obj0 
= 0 ; 
14677   PyObject 
* obj1 
= 0 ; 
14678   PyObject 
* obj2 
= 0 ; 
14679   PyObject 
* obj3 
= 0 ; 
14680   PyObject 
* obj4 
= 0 ; 
14681   PyObject 
* obj5 
= 0 ; 
14682   PyObject 
* obj6 
= 0 ; 
14683   char *  kwnames
[] = { 
14684     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
14687   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
14688   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14689   if (!SWIG_IsOK(res1
)) { 
14690     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14692   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14693   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
14694   if (!SWIG_IsOK(res2
)) { 
14695     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
14697   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
14699     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
14700     if (!SWIG_IsOK(ecode3
)) { 
14701       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'"); 
14703     arg3 
= static_cast< int >(val3
); 
14708       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
14714       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
14718     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
14719     if (!SWIG_IsOK(ecode6
)) { 
14720       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'"); 
14722     arg6 
= static_cast< long >(val6
); 
14726       arg7 
= wxString_in_helper(obj6
); 
14727       if (arg7 
== NULL
) SWIG_fail
; 
14732     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14733     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
14734     wxPyEndAllowThreads(__tstate
); 
14735     if (PyErr_Occurred()) SWIG_fail
; 
14738     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14754 SWIGINTERN PyObject 
*_wrap_VListBox_GetItemCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14755   PyObject 
*resultobj 
= 0; 
14756   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14760   PyObject 
*swig_obj
[1] ; 
14762   if (!args
) SWIG_fail
; 
14763   swig_obj
[0] = args
; 
14764   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14765   if (!SWIG_IsOK(res1
)) { 
14766     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14768   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14770     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14771     result 
= (size_t)((wxPyVListBox 
const *)arg1
)->GetItemCount(); 
14772     wxPyEndAllowThreads(__tstate
); 
14773     if (PyErr_Occurred()) SWIG_fail
; 
14775   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14782 SWIGINTERN PyObject 
*_wrap_VListBox_HasMultipleSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14783   PyObject 
*resultobj 
= 0; 
14784   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14788   PyObject 
*swig_obj
[1] ; 
14790   if (!args
) SWIG_fail
; 
14791   swig_obj
[0] = args
; 
14792   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14793   if (!SWIG_IsOK(res1
)) { 
14794     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14796   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14798     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14799     result 
= (bool)((wxPyVListBox 
const *)arg1
)->HasMultipleSelection(); 
14800     wxPyEndAllowThreads(__tstate
); 
14801     if (PyErr_Occurred()) SWIG_fail
; 
14804     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14812 SWIGINTERN PyObject 
*_wrap_VListBox_GetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14813   PyObject 
*resultobj 
= 0; 
14814   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14818   PyObject 
*swig_obj
[1] ; 
14820   if (!args
) SWIG_fail
; 
14821   swig_obj
[0] = args
; 
14822   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14823   if (!SWIG_IsOK(res1
)) { 
14824     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14826   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14828     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14829     result 
= (int)((wxPyVListBox 
const *)arg1
)->GetSelection(); 
14830     wxPyEndAllowThreads(__tstate
); 
14831     if (PyErr_Occurred()) SWIG_fail
; 
14833   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
14840 SWIGINTERN PyObject 
*_wrap_VListBox_IsCurrent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14841   PyObject 
*resultobj 
= 0; 
14842   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14849   PyObject 
* obj0 
= 0 ; 
14850   PyObject 
* obj1 
= 0 ; 
14851   char *  kwnames
[] = { 
14852     (char *) "self",(char *) "item", NULL 
 
14855   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14856   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14857   if (!SWIG_IsOK(res1
)) { 
14858     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14860   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14861   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14862   if (!SWIG_IsOK(ecode2
)) { 
14863     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'"); 
14865   arg2 
= static_cast< size_t >(val2
); 
14867     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14868     result 
= (bool)((wxPyVListBox 
const *)arg1
)->IsCurrent(arg2
); 
14869     wxPyEndAllowThreads(__tstate
); 
14870     if (PyErr_Occurred()) SWIG_fail
; 
14873     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14881 SWIGINTERN PyObject 
*_wrap_VListBox_IsSelected(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14882   PyObject 
*resultobj 
= 0; 
14883   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14890   PyObject 
* obj0 
= 0 ; 
14891   PyObject 
* obj1 
= 0 ; 
14892   char *  kwnames
[] = { 
14893     (char *) "self",(char *) "item", NULL 
 
14896   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14897   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14898   if (!SWIG_IsOK(res1
)) { 
14899     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14901   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14902   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
14903   if (!SWIG_IsOK(ecode2
)) { 
14904     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'"); 
14906   arg2 
= static_cast< size_t >(val2
); 
14908     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14909     result 
= (bool)((wxPyVListBox 
const *)arg1
)->IsSelected(arg2
); 
14910     wxPyEndAllowThreads(__tstate
); 
14911     if (PyErr_Occurred()) SWIG_fail
; 
14914     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
14922 SWIGINTERN PyObject 
*_wrap_VListBox_GetSelectedCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14923   PyObject 
*resultobj 
= 0; 
14924   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14928   PyObject 
*swig_obj
[1] ; 
14930   if (!args
) SWIG_fail
; 
14931   swig_obj
[0] = args
; 
14932   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14933   if (!SWIG_IsOK(res1
)) { 
14934     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
14936   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14938     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14939     result 
= (size_t)((wxPyVListBox 
const *)arg1
)->GetSelectedCount(); 
14940     wxPyEndAllowThreads(__tstate
); 
14941     if (PyErr_Occurred()) SWIG_fail
; 
14943   resultobj 
= SWIG_From_size_t(static_cast< size_t >(result
)); 
14950 SWIGINTERN PyObject 
*_wrap_VListBox_GetFirstSelected(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
14951   PyObject 
*resultobj 
= 0; 
14952   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14953   PyObject 
*result 
= 0 ; 
14956   PyObject 
*swig_obj
[1] ; 
14958   if (!args
) SWIG_fail
; 
14959   swig_obj
[0] = args
; 
14960   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14961   if (!SWIG_IsOK(res1
)) { 
14962     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14964   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14966     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
14967     result 
= (PyObject 
*)wxPyVListBox_GetFirstSelected(arg1
); 
14968     wxPyEndAllowThreads(__tstate
); 
14969     if (PyErr_Occurred()) SWIG_fail
; 
14971   resultobj 
= result
; 
14978 SWIGINTERN PyObject 
*_wrap_VListBox_GetNextSelected(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
14979   PyObject 
*resultobj 
= 0; 
14980   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
14981   unsigned long arg2 
; 
14982   PyObject 
*result 
= 0 ; 
14985   unsigned long val2 
; 
14987   PyObject 
* obj0 
= 0 ; 
14988   PyObject 
* obj1 
= 0 ; 
14989   char *  kwnames
[] = { 
14990     (char *) "self",(char *) "cookie", NULL 
 
14993   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
14994   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
14995   if (!SWIG_IsOK(res1
)) { 
14996     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
14998   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
14999   ecode2 
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
); 
15000   if (!SWIG_IsOK(ecode2
)) { 
15001     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'"); 
15003   arg2 
= static_cast< unsigned long >(val2
); 
15005     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15006     result 
= (PyObject 
*)wxPyVListBox_GetNextSelected(arg1
,arg2
); 
15007     wxPyEndAllowThreads(__tstate
); 
15008     if (PyErr_Occurred()) SWIG_fail
; 
15010   resultobj 
= result
; 
15017 SWIGINTERN PyObject 
*_wrap_VListBox_GetMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15018   PyObject 
*resultobj 
= 0; 
15019   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15023   PyObject 
*swig_obj
[1] ; 
15025   if (!args
) SWIG_fail
; 
15026   swig_obj
[0] = args
; 
15027   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15028   if (!SWIG_IsOK(res1
)) { 
15029     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
15031   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15033     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15034     result 
= ((wxPyVListBox 
const *)arg1
)->GetMargins(); 
15035     wxPyEndAllowThreads(__tstate
); 
15036     if (PyErr_Occurred()) SWIG_fail
; 
15038   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
15045 SWIGINTERN PyObject 
*_wrap_VListBox_GetSelectionBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15046   PyObject 
*resultobj 
= 0; 
15047   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15048   wxColour 
*result 
= 0 ; 
15051   PyObject 
*swig_obj
[1] ; 
15053   if (!args
) SWIG_fail
; 
15054   swig_obj
[0] = args
; 
15055   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15056   if (!SWIG_IsOK(res1
)) { 
15057     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
15059   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15061     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15063       wxColour 
const &_result_ref 
= ((wxPyVListBox 
const *)arg1
)->GetSelectionBackground(); 
15064       result 
= (wxColour 
*) &_result_ref
; 
15066     wxPyEndAllowThreads(__tstate
); 
15067     if (PyErr_Occurred()) SWIG_fail
; 
15069   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 |  0 ); 
15076 SWIGINTERN PyObject 
*_wrap_VListBox_SetItemCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15077   PyObject 
*resultobj 
= 0; 
15078   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15084   PyObject 
* obj0 
= 0 ; 
15085   PyObject 
* obj1 
= 0 ; 
15086   char *  kwnames
[] = { 
15087     (char *) "self",(char *) "count", NULL 
 
15090   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15091   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15092   if (!SWIG_IsOK(res1
)) { 
15093     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15095   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15096   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
15097   if (!SWIG_IsOK(ecode2
)) { 
15098     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'"); 
15100   arg2 
= static_cast< size_t >(val2
); 
15102     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15103     (arg1
)->SetItemCount(arg2
); 
15104     wxPyEndAllowThreads(__tstate
); 
15105     if (PyErr_Occurred()) SWIG_fail
; 
15107   resultobj 
= SWIG_Py_Void(); 
15114 SWIGINTERN PyObject 
*_wrap_VListBox_Clear(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15115   PyObject 
*resultobj 
= 0; 
15116   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15119   PyObject 
*swig_obj
[1] ; 
15121   if (!args
) SWIG_fail
; 
15122   swig_obj
[0] = args
; 
15123   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15124   if (!SWIG_IsOK(res1
)) { 
15125     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15127   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15129     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15131     wxPyEndAllowThreads(__tstate
); 
15132     if (PyErr_Occurred()) SWIG_fail
; 
15134   resultobj 
= SWIG_Py_Void(); 
15141 SWIGINTERN PyObject 
*_wrap_VListBox_SetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15142   PyObject 
*resultobj 
= 0; 
15143   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15149   PyObject 
* obj0 
= 0 ; 
15150   PyObject 
* obj1 
= 0 ; 
15151   char *  kwnames
[] = { 
15152     (char *) "self",(char *) "selection", NULL 
 
15155   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15156   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15157   if (!SWIG_IsOK(res1
)) { 
15158     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15160   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15161   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15162   if (!SWIG_IsOK(ecode2
)) { 
15163     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'"); 
15165   arg2 
= static_cast< int >(val2
); 
15167     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15168     (arg1
)->SetSelection(arg2
); 
15169     wxPyEndAllowThreads(__tstate
); 
15170     if (PyErr_Occurred()) SWIG_fail
; 
15172   resultobj 
= SWIG_Py_Void(); 
15179 SWIGINTERN PyObject 
*_wrap_VListBox_Select(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15180   PyObject 
*resultobj 
= 0; 
15181   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15183   bool arg3 
= (bool) true ; 
15191   PyObject 
* obj0 
= 0 ; 
15192   PyObject 
* obj1 
= 0 ; 
15193   PyObject 
* obj2 
= 0 ; 
15194   char *  kwnames
[] = { 
15195     (char *) "self",(char *) "item",(char *) "select", NULL 
 
15198   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15199   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15200   if (!SWIG_IsOK(res1
)) { 
15201     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15203   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15204   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
15205   if (!SWIG_IsOK(ecode2
)) { 
15206     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'"); 
15208   arg2 
= static_cast< size_t >(val2
); 
15210     ecode3 
= SWIG_AsVal_bool(obj2
, &val3
); 
15211     if (!SWIG_IsOK(ecode3
)) { 
15212       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'"); 
15214     arg3 
= static_cast< bool >(val3
); 
15217     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15218     result 
= (bool)(arg1
)->Select(arg2
,arg3
); 
15219     wxPyEndAllowThreads(__tstate
); 
15220     if (PyErr_Occurred()) SWIG_fail
; 
15223     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15231 SWIGINTERN PyObject 
*_wrap_VListBox_SelectRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15232   PyObject 
*resultobj 
= 0; 
15233   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15243   PyObject 
* obj0 
= 0 ; 
15244   PyObject 
* obj1 
= 0 ; 
15245   PyObject 
* obj2 
= 0 ; 
15246   char *  kwnames
[] = { 
15247     (char *) "self",(char *) "from",(char *) "to", NULL 
 
15250   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15251   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15252   if (!SWIG_IsOK(res1
)) { 
15253     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15255   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15256   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
15257   if (!SWIG_IsOK(ecode2
)) { 
15258     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'"); 
15260   arg2 
= static_cast< size_t >(val2
); 
15261   ecode3 
= SWIG_AsVal_size_t(obj2
, &val3
); 
15262   if (!SWIG_IsOK(ecode3
)) { 
15263     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'"); 
15265   arg3 
= static_cast< size_t >(val3
); 
15267     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15268     result 
= (bool)(arg1
)->SelectRange(arg2
,arg3
); 
15269     wxPyEndAllowThreads(__tstate
); 
15270     if (PyErr_Occurred()) SWIG_fail
; 
15273     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15281 SWIGINTERN PyObject 
*_wrap_VListBox_Toggle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15282   PyObject 
*resultobj 
= 0; 
15283   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15289   PyObject 
* obj0 
= 0 ; 
15290   PyObject 
* obj1 
= 0 ; 
15291   char *  kwnames
[] = { 
15292     (char *) "self",(char *) "item", NULL 
 
15295   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15296   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15297   if (!SWIG_IsOK(res1
)) { 
15298     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15300   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15301   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
15302   if (!SWIG_IsOK(ecode2
)) { 
15303     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'"); 
15305   arg2 
= static_cast< size_t >(val2
); 
15307     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15308     (arg1
)->Toggle(arg2
); 
15309     wxPyEndAllowThreads(__tstate
); 
15310     if (PyErr_Occurred()) SWIG_fail
; 
15312   resultobj 
= SWIG_Py_Void(); 
15319 SWIGINTERN PyObject 
*_wrap_VListBox_SelectAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15320   PyObject 
*resultobj 
= 0; 
15321   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15325   PyObject 
*swig_obj
[1] ; 
15327   if (!args
) SWIG_fail
; 
15328   swig_obj
[0] = args
; 
15329   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15330   if (!SWIG_IsOK(res1
)) { 
15331     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15333   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15335     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15336     result 
= (bool)(arg1
)->SelectAll(); 
15337     wxPyEndAllowThreads(__tstate
); 
15338     if (PyErr_Occurred()) SWIG_fail
; 
15341     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15349 SWIGINTERN PyObject 
*_wrap_VListBox_DeselectAll(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15350   PyObject 
*resultobj 
= 0; 
15351   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15355   PyObject 
*swig_obj
[1] ; 
15357   if (!args
) SWIG_fail
; 
15358   swig_obj
[0] = args
; 
15359   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15360   if (!SWIG_IsOK(res1
)) { 
15361     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15363   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15365     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15366     result 
= (bool)(arg1
)->DeselectAll(); 
15367     wxPyEndAllowThreads(__tstate
); 
15368     if (PyErr_Occurred()) SWIG_fail
; 
15371     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15379 SWIGINTERN PyObject 
*_wrap_VListBox_SetMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15380   PyObject 
*resultobj 
= 0; 
15381   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15382   wxPoint 
*arg2 
= 0 ; 
15386   PyObject 
* obj0 
= 0 ; 
15387   PyObject 
* obj1 
= 0 ; 
15388   char *  kwnames
[] = { 
15389     (char *) "self",(char *) "pt", NULL 
 
15392   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15393   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15394   if (!SWIG_IsOK(res1
)) { 
15395     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15397   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15400     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
15403     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15404     (arg1
)->SetMargins((wxPoint 
const &)*arg2
); 
15405     wxPyEndAllowThreads(__tstate
); 
15406     if (PyErr_Occurred()) SWIG_fail
; 
15408   resultobj 
= SWIG_Py_Void(); 
15415 SWIGINTERN PyObject 
*_wrap_VListBox_SetMarginsXY(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15416   PyObject 
*resultobj 
= 0; 
15417   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15426   PyObject 
* obj0 
= 0 ; 
15427   PyObject 
* obj1 
= 0 ; 
15428   PyObject 
* obj2 
= 0 ; 
15429   char *  kwnames
[] = { 
15430     (char *) "self",(char *) "x",(char *) "y", NULL 
 
15433   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15434   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15435   if (!SWIG_IsOK(res1
)) { 
15436     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15438   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15439   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15440   if (!SWIG_IsOK(ecode2
)) { 
15441     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'"); 
15443   arg2 
= static_cast< int >(val2
); 
15444   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15445   if (!SWIG_IsOK(ecode3
)) { 
15446     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'"); 
15448   arg3 
= static_cast< int >(val3
); 
15450     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15451     (arg1
)->SetMargins(arg2
,arg3
); 
15452     wxPyEndAllowThreads(__tstate
); 
15453     if (PyErr_Occurred()) SWIG_fail
; 
15455   resultobj 
= SWIG_Py_Void(); 
15462 SWIGINTERN PyObject 
*_wrap_VListBox_SetSelectionBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15463   PyObject 
*resultobj 
= 0; 
15464   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15465   wxColour 
*arg2 
= 0 ; 
15469   PyObject 
* obj0 
= 0 ; 
15470   PyObject 
* obj1 
= 0 ; 
15471   char *  kwnames
[] = { 
15472     (char *) "self",(char *) "col", NULL 
 
15475   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15476   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15477   if (!SWIG_IsOK(res1
)) { 
15478     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");  
15480   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15483     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
15486     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15487     (arg1
)->SetSelectionBackground((wxColour 
const &)*arg2
); 
15488     wxPyEndAllowThreads(__tstate
); 
15489     if (PyErr_Occurred()) SWIG_fail
; 
15491   resultobj 
= SWIG_Py_Void(); 
15498 SWIGINTERN PyObject 
*_wrap_VListBox_OnDrawSeparator(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15499   PyObject 
*resultobj 
= 0; 
15500   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15511   PyObject 
* obj0 
= 0 ; 
15512   PyObject 
* obj1 
= 0 ; 
15513   PyObject 
* obj2 
= 0 ; 
15514   PyObject 
* obj3 
= 0 ; 
15515   char *  kwnames
[] = { 
15516     (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL 
 
15519   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
15520   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15521   if (!SWIG_IsOK(res1
)) { 
15522     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
15524   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15525   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
15526   if (!SWIG_IsOK(res2
)) { 
15527     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");  
15530     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");  
15532   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
15535     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
15537   ecode4 
= SWIG_AsVal_size_t(obj3
, &val4
); 
15538   if (!SWIG_IsOK(ecode4
)) { 
15539     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'"); 
15541   arg4 
= static_cast< size_t >(val4
); 
15543     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15544     ((wxPyVListBox 
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
); 
15545     wxPyEndAllowThreads(__tstate
); 
15546     if (PyErr_Occurred()) SWIG_fail
; 
15548   resultobj 
= SWIG_Py_Void(); 
15555 SWIGINTERN PyObject 
*_wrap_VListBox_OnDrawBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15556   PyObject 
*resultobj 
= 0; 
15557   wxPyVListBox 
*arg1 
= (wxPyVListBox 
*) 0 ; 
15568   PyObject 
* obj0 
= 0 ; 
15569   PyObject 
* obj1 
= 0 ; 
15570   PyObject 
* obj2 
= 0 ; 
15571   PyObject 
* obj3 
= 0 ; 
15572   char *  kwnames
[] = { 
15573     (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL 
 
15576   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
15577   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 |  0 ); 
15578   if (!SWIG_IsOK(res1
)) { 
15579     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");  
15581   arg1 
= reinterpret_cast< wxPyVListBox 
* >(argp1
); 
15582   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
,  0 ); 
15583   if (!SWIG_IsOK(res2
)) { 
15584     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");  
15587     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");  
15589   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
15592     if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
; 
15594   ecode4 
= SWIG_AsVal_size_t(obj3
, &val4
); 
15595   if (!SWIG_IsOK(ecode4
)) { 
15596     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'"); 
15598   arg4 
= static_cast< size_t >(val4
); 
15600     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15601     ((wxPyVListBox 
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect 
const &)*arg3
,arg4
); 
15602     wxPyEndAllowThreads(__tstate
); 
15603     if (PyErr_Occurred()) SWIG_fail
; 
15605   resultobj 
= SWIG_Py_Void(); 
15612 SWIGINTERN PyObject 
*VListBox_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15614   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
15615   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
)); 
15616   return SWIG_Py_Void(); 
15619 SWIGINTERN PyObject 
*VListBox_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15620   return SWIG_Python_InitShadowInstance(args
); 
15623 SWIGINTERN PyObject 
*_wrap_new_HtmlListBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15624   PyObject 
*resultobj 
= 0; 
15625   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
15626   int arg2 
= (int) wxID_ANY 
; 
15627   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
15628   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
15629   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
15630   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
15631   long arg5 
= (long) 0 ; 
15632   wxString 
const &arg6_defvalue 
= wxPyVListBoxNameStr 
; 
15633   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
15634   wxPyHtmlListBox 
*result 
= 0 ; 
15643   bool temp6 
= false ; 
15644   PyObject 
* obj0 
= 0 ; 
15645   PyObject 
* obj1 
= 0 ; 
15646   PyObject 
* obj2 
= 0 ; 
15647   PyObject 
* obj3 
= 0 ; 
15648   PyObject 
* obj4 
= 0 ; 
15649   PyObject 
* obj5 
= 0 ; 
15650   char *  kwnames
[] = { 
15651     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
15654   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
15655   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
15656   if (!SWIG_IsOK(res1
)) { 
15657     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");  
15659   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
15661     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
15662     if (!SWIG_IsOK(ecode2
)) { 
15663       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'"); 
15665     arg2 
= static_cast< int >(val2
); 
15670       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
15676       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
15680     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
15681     if (!SWIG_IsOK(ecode5
)) { 
15682       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'"); 
15684     arg5 
= static_cast< long >(val5
); 
15688       arg6 
= wxString_in_helper(obj5
); 
15689       if (arg6 
== NULL
) SWIG_fail
; 
15694     if (!wxPyCheckForApp()) SWIG_fail
; 
15695     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15696     result 
= (wxPyHtmlListBox 
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
15697     wxPyEndAllowThreads(__tstate
); 
15698     if (PyErr_Occurred()) SWIG_fail
; 
15700   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW 
|  0 ); 
15715 SWIGINTERN PyObject 
*_wrap_new_PreHtmlListBox(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15716   PyObject 
*resultobj 
= 0; 
15717   wxPyHtmlListBox 
*result 
= 0 ; 
15719   if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
; 
15721     if (!wxPyCheckForApp()) SWIG_fail
; 
15722     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15723     result 
= (wxPyHtmlListBox 
*)new wxPyHtmlListBox(); 
15724     wxPyEndAllowThreads(__tstate
); 
15725     if (PyErr_Occurred()) SWIG_fail
; 
15727   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN 
|  0 ); 
15734 SWIGINTERN PyObject 
*_wrap_HtmlListBox__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15735   PyObject 
*resultobj 
= 0; 
15736   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15737   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
15738   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
15741   PyObject 
* obj0 
= 0 ; 
15742   PyObject 
* obj1 
= 0 ; 
15743   PyObject 
* obj2 
= 0 ; 
15744   char *  kwnames
[] = { 
15745     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
15748   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15749   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15750   if (!SWIG_IsOK(res1
)) { 
15751     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15753   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15757     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15758     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
15759     wxPyEndAllowThreads(__tstate
); 
15760     if (PyErr_Occurred()) SWIG_fail
; 
15762   resultobj 
= SWIG_Py_Void(); 
15769 SWIGINTERN PyObject 
*_wrap_HtmlListBox_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15770   PyObject 
*resultobj 
= 0; 
15771   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15772   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
15773   int arg3 
= (int) wxID_ANY 
; 
15774   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
15775   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
15776   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
15777   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
15778   long arg6 
= (long) 0 ; 
15779   wxString 
const &arg7_defvalue 
= wxPyVListBoxNameStr 
; 
15780   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
15792   bool temp7 
= false ; 
15793   PyObject 
* obj0 
= 0 ; 
15794   PyObject 
* obj1 
= 0 ; 
15795   PyObject 
* obj2 
= 0 ; 
15796   PyObject 
* obj3 
= 0 ; 
15797   PyObject 
* obj4 
= 0 ; 
15798   PyObject 
* obj5 
= 0 ; 
15799   PyObject 
* obj6 
= 0 ; 
15800   char *  kwnames
[] = { 
15801     (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
15804   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
15805   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15806   if (!SWIG_IsOK(res1
)) { 
15807     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15809   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15810   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
15811   if (!SWIG_IsOK(res2
)) { 
15812     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
15814   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
15816     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
15817     if (!SWIG_IsOK(ecode3
)) { 
15818       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'"); 
15820     arg3 
= static_cast< int >(val3
); 
15825       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
15831       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
15835     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
15836     if (!SWIG_IsOK(ecode6
)) { 
15837       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'"); 
15839     arg6 
= static_cast< long >(val6
); 
15843       arg7 
= wxString_in_helper(obj6
); 
15844       if (arg7 
== NULL
) SWIG_fail
; 
15849     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15850     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
15851     wxPyEndAllowThreads(__tstate
); 
15852     if (PyErr_Occurred()) SWIG_fail
; 
15855     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
15871 SWIGINTERN PyObject 
*_wrap_HtmlListBox_SetItemCount(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15872   PyObject 
*resultobj 
= 0; 
15873   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15879   PyObject 
* obj0 
= 0 ; 
15880   PyObject 
* obj1 
= 0 ; 
15881   char *  kwnames
[] = { 
15882     (char *) "self",(char *) "count", NULL 
 
15885   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
15886   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15887   if (!SWIG_IsOK(res1
)) { 
15888     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15890   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15891   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
15892   if (!SWIG_IsOK(ecode2
)) { 
15893     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'"); 
15895   arg2 
= static_cast< size_t >(val2
); 
15897     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15898     (arg1
)->SetItemCount(arg2
); 
15899     wxPyEndAllowThreads(__tstate
); 
15900     if (PyErr_Occurred()) SWIG_fail
; 
15902   resultobj 
= SWIG_Py_Void(); 
15909 SWIGINTERN PyObject 
*_wrap_HtmlListBox_GetFileSystem(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15910   PyObject 
*resultobj 
= 0; 
15911   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15912   wxFileSystem 
*result 
= 0 ; 
15915   PyObject 
*swig_obj
[1] ; 
15917   if (!args
) SWIG_fail
; 
15918   swig_obj
[0] = args
; 
15919   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15920   if (!SWIG_IsOK(res1
)) { 
15921     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15923   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15925     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15927       wxFileSystem 
&_result_ref 
= (arg1
)->GetFileSystem(); 
15928       result 
= (wxFileSystem 
*) &_result_ref
; 
15930     wxPyEndAllowThreads(__tstate
); 
15931     if (PyErr_Occurred()) SWIG_fail
; 
15933   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 |  0 ); 
15940 SWIGINTERN PyObject 
*_wrap_HtmlListBox_OnLinkClicked(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
15941   PyObject 
*resultobj 
= 0; 
15942   wxPyHtmlListBox 
*arg1 
= (wxPyHtmlListBox 
*) 0 ; 
15944   wxHtmlLinkInfo 
*arg3 
= 0 ; 
15951   PyObject 
* obj0 
= 0 ; 
15952   PyObject 
* obj1 
= 0 ; 
15953   PyObject 
* obj2 
= 0 ; 
15954   char *  kwnames
[] = { 
15955     (char *) "self",(char *) "n",(char *) "link", NULL 
 
15958   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
15959   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 |  0 ); 
15960   if (!SWIG_IsOK(res1
)) { 
15961     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");  
15963   arg1 
= reinterpret_cast< wxPyHtmlListBox 
* >(argp1
); 
15964   ecode2 
= SWIG_AsVal_size_t(obj1
, &val2
); 
15965   if (!SWIG_IsOK(ecode2
)) { 
15966     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'"); 
15968   arg2 
= static_cast< size_t >(val2
); 
15969   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
,  0  | 0); 
15970   if (!SWIG_IsOK(res3
)) { 
15971     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");  
15974     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");  
15976   arg3 
= reinterpret_cast< wxHtmlLinkInfo 
* >(argp3
); 
15978     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
15979     (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo 
const &)*arg3
); 
15980     wxPyEndAllowThreads(__tstate
); 
15981     if (PyErr_Occurred()) SWIG_fail
; 
15983   resultobj 
= SWIG_Py_Void(); 
15990 SWIGINTERN PyObject 
*HtmlListBox_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15992   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
15993   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
)); 
15994   return SWIG_Py_Void(); 
15997 SWIGINTERN PyObject 
*HtmlListBox_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
15998   return SWIG_Python_InitShadowInstance(args
); 
16001 SWIGINTERN PyObject 
*_wrap_new_TaskBarIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16002   PyObject 
*resultobj 
= 0; 
16003   wxPyTaskBarIcon 
*result 
= 0 ; 
16005   if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
; 
16007     if (!wxPyCheckForApp()) SWIG_fail
; 
16008     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16009     result 
= (wxPyTaskBarIcon 
*)new wxPyTaskBarIcon(); 
16010     wxPyEndAllowThreads(__tstate
); 
16011     if (PyErr_Occurred()) SWIG_fail
; 
16013   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW 
|  0 ); 
16020 SWIGINTERN PyObject 
*_wrap_delete_TaskBarIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16021   PyObject 
*resultobj 
= 0; 
16022   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
16025   PyObject 
*swig_obj
[1] ; 
16027   if (!args
) SWIG_fail
; 
16028   swig_obj
[0] = args
; 
16029   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN 
|  0 ); 
16030   if (!SWIG_IsOK(res1
)) { 
16031     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
16033   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
16035     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16038     wxPyEndAllowThreads(__tstate
); 
16039     if (PyErr_Occurred()) SWIG_fail
; 
16041   resultobj 
= SWIG_Py_Void(); 
16048 SWIGINTERN PyObject 
*_wrap_TaskBarIcon__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16049   PyObject 
*resultobj 
= 0; 
16050   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
16051   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
16052   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
16058   PyObject 
* obj0 
= 0 ; 
16059   PyObject 
* obj1 
= 0 ; 
16060   PyObject 
* obj2 
= 0 ; 
16061   PyObject 
* obj3 
= 0 ; 
16062   char *  kwnames
[] = { 
16063     (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL 
 
16066   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
16067   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
16068   if (!SWIG_IsOK(res1
)) { 
16069     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
16071   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
16074   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
16075   if (!SWIG_IsOK(ecode4
)) { 
16076     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'"); 
16078   arg4 
= static_cast< int >(val4
); 
16080     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16081     (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
); 
16082     wxPyEndAllowThreads(__tstate
); 
16083     if (PyErr_Occurred()) SWIG_fail
; 
16085   resultobj 
= SWIG_Py_Void(); 
16092 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_Destroy(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16093   PyObject 
*resultobj 
= 0; 
16094   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
16097   PyObject 
*swig_obj
[1] ; 
16099   if (!args
) SWIG_fail
; 
16100   swig_obj
[0] = args
; 
16101   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
16102   if (!SWIG_IsOK(res1
)) { 
16103     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
16105   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
16107     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16108     wxPyTaskBarIcon_Destroy(arg1
); 
16109     wxPyEndAllowThreads(__tstate
); 
16110     if (PyErr_Occurred()) SWIG_fail
; 
16112   resultobj 
= SWIG_Py_Void(); 
16119 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_IsOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16120   PyObject 
*resultobj 
= 0; 
16121   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
16125   PyObject 
*swig_obj
[1] ; 
16127   if (!args
) SWIG_fail
; 
16128   swig_obj
[0] = args
; 
16129   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
16130   if (!SWIG_IsOK(res1
)) { 
16131     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");  
16133   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
16135     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16136     result 
= (bool)((wxPyTaskBarIcon 
const *)arg1
)->IsOk(); 
16137     wxPyEndAllowThreads(__tstate
); 
16138     if (PyErr_Occurred()) SWIG_fail
; 
16141     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16149 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_IsIconInstalled(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16150   PyObject 
*resultobj 
= 0; 
16151   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
16155   PyObject 
*swig_obj
[1] ; 
16157   if (!args
) SWIG_fail
; 
16158   swig_obj
[0] = args
; 
16159   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
16160   if (!SWIG_IsOK(res1
)) { 
16161     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");  
16163   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
16165     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16166     result 
= (bool)((wxPyTaskBarIcon 
const *)arg1
)->IsIconInstalled(); 
16167     wxPyEndAllowThreads(__tstate
); 
16168     if (PyErr_Occurred()) SWIG_fail
; 
16171     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16179 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_SetIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16180   PyObject 
*resultobj 
= 0; 
16181   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
16183   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16184   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16190   bool temp3 
= false ; 
16191   PyObject 
* obj0 
= 0 ; 
16192   PyObject 
* obj1 
= 0 ; 
16193   PyObject 
* obj2 
= 0 ; 
16194   char *  kwnames
[] = { 
16195     (char *) "self",(char *) "icon",(char *) "tooltip", NULL 
 
16198   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16199   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
16200   if (!SWIG_IsOK(res1
)) { 
16201     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
16203   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
16204   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
,  0  | 0); 
16205   if (!SWIG_IsOK(res2
)) { 
16206     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
16209     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");  
16211   arg2 
= reinterpret_cast< wxIcon 
* >(argp2
); 
16214       arg3 
= wxString_in_helper(obj2
); 
16215       if (arg3 
== NULL
) SWIG_fail
; 
16220     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16221     result 
= (bool)(arg1
)->SetIcon((wxIcon 
const &)*arg2
,(wxString 
const &)*arg3
); 
16222     wxPyEndAllowThreads(__tstate
); 
16223     if (PyErr_Occurred()) SWIG_fail
; 
16226     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16242 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_RemoveIcon(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16243   PyObject 
*resultobj 
= 0; 
16244   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
16248   PyObject 
*swig_obj
[1] ; 
16250   if (!args
) SWIG_fail
; 
16251   swig_obj
[0] = args
; 
16252   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
16253   if (!SWIG_IsOK(res1
)) { 
16254     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
16256   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
16258     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16259     result 
= (bool)(arg1
)->RemoveIcon(); 
16260     wxPyEndAllowThreads(__tstate
); 
16261     if (PyErr_Occurred()) SWIG_fail
; 
16264     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16272 SWIGINTERN PyObject 
*_wrap_TaskBarIcon_PopupMenu(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16273   PyObject 
*resultobj 
= 0; 
16274   wxPyTaskBarIcon 
*arg1 
= (wxPyTaskBarIcon 
*) 0 ; 
16275   wxMenu 
*arg2 
= (wxMenu 
*) 0 ; 
16281   PyObject 
* obj0 
= 0 ; 
16282   PyObject 
* obj1 
= 0 ; 
16283   char *  kwnames
[] = { 
16284     (char *) "self",(char *) "menu", NULL 
 
16287   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16288   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 |  0 ); 
16289   if (!SWIG_IsOK(res1
)) { 
16290     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");  
16292   arg1 
= reinterpret_cast< wxPyTaskBarIcon 
* >(argp1
); 
16293   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 |  0 ); 
16294   if (!SWIG_IsOK(res2
)) { 
16295     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");  
16297   arg2 
= reinterpret_cast< wxMenu 
* >(argp2
); 
16299     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16300     result 
= (bool)(arg1
)->PopupMenu(arg2
); 
16301     wxPyEndAllowThreads(__tstate
); 
16302     if (PyErr_Occurred()) SWIG_fail
; 
16305     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16313 SWIGINTERN PyObject 
*TaskBarIcon_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16315   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16316   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
)); 
16317   return SWIG_Py_Void(); 
16320 SWIGINTERN PyObject 
*TaskBarIcon_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16321   return SWIG_Python_InitShadowInstance(args
); 
16324 SWIGINTERN PyObject 
*_wrap_new_TaskBarIconEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16325   PyObject 
*resultobj 
= 0; 
16327   wxTaskBarIcon 
*arg2 
= (wxTaskBarIcon 
*) 0 ; 
16328   wxTaskBarIconEvent 
*result 
= 0 ; 
16333   PyObject 
* obj0 
= 0 ; 
16334   PyObject 
* obj1 
= 0 ; 
16335   char *  kwnames
[] = { 
16336     (char *) "evtType",(char *) "tbIcon", NULL 
 
16339   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16340   ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
16341   if (!SWIG_IsOK(ecode1
)) { 
16342     SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'"); 
16344   arg1 
= static_cast< wxEventType 
>(val1
); 
16345   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 |  0 ); 
16346   if (!SWIG_IsOK(res2
)) { 
16347     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");  
16349   arg2 
= reinterpret_cast< wxTaskBarIcon 
* >(argp2
); 
16351     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16352     result 
= (wxTaskBarIconEvent 
*)new wxTaskBarIconEvent(arg1
,arg2
); 
16353     wxPyEndAllowThreads(__tstate
); 
16354     if (PyErr_Occurred()) SWIG_fail
; 
16356   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW 
|  0 ); 
16363 SWIGINTERN PyObject 
*TaskBarIconEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16365   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16366   SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
)); 
16367   return SWIG_Py_Void(); 
16370 SWIGINTERN PyObject 
*TaskBarIconEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16371   return SWIG_Python_InitShadowInstance(args
); 
16374 SWIGINTERN 
int FileSelectorPromptStr_set(PyObject 
*) { 
16375   SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only."); 
16380 SWIGINTERN PyObject 
*FileSelectorPromptStr_get(void) { 
16381   PyObject 
*pyobj 
= 0; 
16385     pyobj 
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len()); 
16387     pyobj 
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len()); 
16394 SWIGINTERN 
int DirSelectorPromptStr_set(PyObject 
*) { 
16395   SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only."); 
16400 SWIGINTERN PyObject 
*DirSelectorPromptStr_get(void) { 
16401   PyObject 
*pyobj 
= 0; 
16405     pyobj 
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len()); 
16407     pyobj 
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len()); 
16414 SWIGINTERN 
int DirDialogNameStr_set(PyObject 
*) { 
16415   SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only."); 
16420 SWIGINTERN PyObject 
*DirDialogNameStr_get(void) { 
16421   PyObject 
*pyobj 
= 0; 
16425     pyobj 
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len()); 
16427     pyobj 
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len()); 
16434 SWIGINTERN 
int FileSelectorDefaultWildcardStr_set(PyObject 
*) { 
16435   SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only."); 
16440 SWIGINTERN PyObject 
*FileSelectorDefaultWildcardStr_get(void) { 
16441   PyObject 
*pyobj 
= 0; 
16445     pyobj 
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len()); 
16447     pyobj 
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len()); 
16454 SWIGINTERN 
int GetTextFromUserPromptStr_set(PyObject 
*) { 
16455   SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only."); 
16460 SWIGINTERN PyObject 
*GetTextFromUserPromptStr_get(void) { 
16461   PyObject 
*pyobj 
= 0; 
16465     pyobj 
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len()); 
16467     pyobj 
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len()); 
16474 SWIGINTERN 
int MessageBoxCaptionStr_set(PyObject 
*) { 
16475   SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only."); 
16480 SWIGINTERN PyObject 
*MessageBoxCaptionStr_get(void) { 
16481   PyObject 
*pyobj 
= 0; 
16485     pyobj 
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len()); 
16487     pyobj 
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len()); 
16494 SWIGINTERN PyObject 
*_wrap_new_ColourData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16495   PyObject 
*resultobj 
= 0; 
16496   wxColourData 
*result 
= 0 ; 
16498   if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
; 
16500     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16501     result 
= (wxColourData 
*)new wxColourData(); 
16502     wxPyEndAllowThreads(__tstate
); 
16503     if (PyErr_Occurred()) SWIG_fail
; 
16505   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW 
|  0 ); 
16512 SWIGINTERN PyObject 
*_wrap_delete_ColourData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16513   PyObject 
*resultobj 
= 0; 
16514   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16517   PyObject 
*swig_obj
[1] ; 
16519   if (!args
) SWIG_fail
; 
16520   swig_obj
[0] = args
; 
16521   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN 
|  0 ); 
16522   if (!SWIG_IsOK(res1
)) { 
16523     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");  
16525   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16527     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16530     wxPyEndAllowThreads(__tstate
); 
16531     if (PyErr_Occurred()) SWIG_fail
; 
16533   resultobj 
= SWIG_Py_Void(); 
16540 SWIGINTERN PyObject 
*_wrap_ColourData_GetChooseFull(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16541   PyObject 
*resultobj 
= 0; 
16542   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16546   PyObject 
*swig_obj
[1] ; 
16548   if (!args
) SWIG_fail
; 
16549   swig_obj
[0] = args
; 
16550   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16551   if (!SWIG_IsOK(res1
)) { 
16552     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");  
16554   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16556     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16557     result 
= (bool)(arg1
)->GetChooseFull(); 
16558     wxPyEndAllowThreads(__tstate
); 
16559     if (PyErr_Occurred()) SWIG_fail
; 
16562     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
16570 SWIGINTERN PyObject 
*_wrap_ColourData_GetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16571   PyObject 
*resultobj 
= 0; 
16572   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16576   PyObject 
*swig_obj
[1] ; 
16578   if (!args
) SWIG_fail
; 
16579   swig_obj
[0] = args
; 
16580   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16581   if (!SWIG_IsOK(res1
)) { 
16582     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");  
16584   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16586     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16587     result 
= (arg1
)->GetColour(); 
16588     wxPyEndAllowThreads(__tstate
); 
16589     if (PyErr_Occurred()) SWIG_fail
; 
16591   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
16598 SWIGINTERN PyObject 
*_wrap_ColourData_GetCustomColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16599   PyObject 
*resultobj 
= 0; 
16600   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16607   PyObject 
* obj0 
= 0 ; 
16608   PyObject 
* obj1 
= 0 ; 
16609   char *  kwnames
[] = { 
16610     (char *) "self",(char *) "i", NULL 
 
16613   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16614   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16615   if (!SWIG_IsOK(res1
)) { 
16616     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");  
16618   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16619   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16620   if (!SWIG_IsOK(ecode2
)) { 
16621     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'"); 
16623   arg2 
= static_cast< int >(val2
); 
16625     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16626     result 
= (arg1
)->GetCustomColour(arg2
); 
16627     wxPyEndAllowThreads(__tstate
); 
16628     if (PyErr_Occurred()) SWIG_fail
; 
16630   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
16637 SWIGINTERN PyObject 
*_wrap_ColourData_SetChooseFull(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16638   PyObject 
*resultobj 
= 0; 
16639   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16645   PyObject 
* obj0 
= 0 ; 
16646   PyObject 
* obj1 
= 0 ; 
16647   char *  kwnames
[] = { 
16648     (char *) "self",(char *) "flag", NULL 
 
16651   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16652   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16653   if (!SWIG_IsOK(res1
)) { 
16654     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");  
16656   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16657   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16658   if (!SWIG_IsOK(ecode2
)) { 
16659     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'"); 
16661   arg2 
= static_cast< int >(val2
); 
16663     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16664     (arg1
)->SetChooseFull(arg2
); 
16665     wxPyEndAllowThreads(__tstate
); 
16666     if (PyErr_Occurred()) SWIG_fail
; 
16668   resultobj 
= SWIG_Py_Void(); 
16675 SWIGINTERN PyObject 
*_wrap_ColourData_SetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16676   PyObject 
*resultobj 
= 0; 
16677   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16678   wxColour 
*arg2 
= 0 ; 
16682   PyObject 
* obj0 
= 0 ; 
16683   PyObject 
* obj1 
= 0 ; 
16684   char *  kwnames
[] = { 
16685     (char *) "self",(char *) "colour", NULL 
 
16688   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16689   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16690   if (!SWIG_IsOK(res1
)) { 
16691     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");  
16693   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16696     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
16699     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16700     (arg1
)->SetColour((wxColour 
const &)*arg2
); 
16701     wxPyEndAllowThreads(__tstate
); 
16702     if (PyErr_Occurred()) SWIG_fail
; 
16704   resultobj 
= SWIG_Py_Void(); 
16711 SWIGINTERN PyObject 
*_wrap_ColourData_SetCustomColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16712   PyObject 
*resultobj 
= 0; 
16713   wxColourData 
*arg1 
= (wxColourData 
*) 0 ; 
16715   wxColour 
*arg3 
= 0 ; 
16721   PyObject 
* obj0 
= 0 ; 
16722   PyObject 
* obj1 
= 0 ; 
16723   PyObject 
* obj2 
= 0 ; 
16724   char *  kwnames
[] = { 
16725     (char *) "self",(char *) "i",(char *) "colour", NULL 
 
16728   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16729   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16730   if (!SWIG_IsOK(res1
)) { 
16731     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");  
16733   arg1 
= reinterpret_cast< wxColourData 
* >(argp1
); 
16734   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
16735   if (!SWIG_IsOK(ecode2
)) { 
16736     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'"); 
16738   arg2 
= static_cast< int >(val2
); 
16741     if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
; 
16744     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16745     (arg1
)->SetCustomColour(arg2
,(wxColour 
const &)*arg3
); 
16746     wxPyEndAllowThreads(__tstate
); 
16747     if (PyErr_Occurred()) SWIG_fail
; 
16749   resultobj 
= SWIG_Py_Void(); 
16756 SWIGINTERN PyObject 
*ColourData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16758   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16759   SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
)); 
16760   return SWIG_Py_Void(); 
16763 SWIGINTERN PyObject 
*ColourData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16764   return SWIG_Python_InitShadowInstance(args
); 
16767 SWIGINTERN PyObject 
*_wrap_new_ColourDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16768   PyObject 
*resultobj 
= 0; 
16769   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16770   wxColourData 
*arg2 
= (wxColourData 
*) NULL 
; 
16771   wxColourDialog 
*result 
= 0 ; 
16776   PyObject 
* obj0 
= 0 ; 
16777   PyObject 
* obj1 
= 0 ; 
16778   char *  kwnames
[] = { 
16779     (char *) "parent",(char *) "data", NULL 
 
16782   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
16783   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
16784   if (!SWIG_IsOK(res1
)) { 
16785     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
16787   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
16789     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16790     if (!SWIG_IsOK(res2
)) { 
16791       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");  
16793     arg2 
= reinterpret_cast< wxColourData 
* >(argp2
); 
16796     if (!wxPyCheckForApp()) SWIG_fail
; 
16797     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16798     result 
= (wxColourDialog 
*)new wxColourDialog(arg1
,arg2
); 
16799     wxPyEndAllowThreads(__tstate
); 
16800     if (PyErr_Occurred()) SWIG_fail
; 
16802   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW 
|  0 ); 
16809 SWIGINTERN PyObject 
*_wrap_ColourDialog_GetColourData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16810   PyObject 
*resultobj 
= 0; 
16811   wxColourDialog 
*arg1 
= (wxColourDialog 
*) 0 ; 
16812   wxColourData 
*result 
= 0 ; 
16815   PyObject 
*swig_obj
[1] ; 
16817   if (!args
) SWIG_fail
; 
16818   swig_obj
[0] = args
; 
16819   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 |  0 ); 
16820   if (!SWIG_IsOK(res1
)) { 
16821     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");  
16823   arg1 
= reinterpret_cast< wxColourDialog 
* >(argp1
); 
16825     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16827       wxColourData 
&_result_ref 
= (arg1
)->GetColourData(); 
16828       result 
= (wxColourData 
*) &_result_ref
; 
16830     wxPyEndAllowThreads(__tstate
); 
16831     if (PyErr_Occurred()) SWIG_fail
; 
16833   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 |  0 ); 
16840 SWIGINTERN PyObject 
*ColourDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16842   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
16843   SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
)); 
16844   return SWIG_Py_Void(); 
16847 SWIGINTERN PyObject 
*ColourDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
16848   return SWIG_Python_InitShadowInstance(args
); 
16851 SWIGINTERN PyObject 
*_wrap_GetColourFromUser(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16852   PyObject 
*resultobj 
= 0; 
16853   wxWindow 
*arg1 
= (wxWindow 
*) (wxWindow 
*) NULL 
; 
16854   wxColour 
const &arg2_defvalue 
= wxNullColour 
; 
16855   wxColour 
*arg2 
= (wxColour 
*) &arg2_defvalue 
; 
16856   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16857   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16862   bool temp3 
= false ; 
16863   PyObject 
* obj0 
= 0 ; 
16864   PyObject 
* obj1 
= 0 ; 
16865   PyObject 
* obj2 
= 0 ; 
16866   char *  kwnames
[] = { 
16867     (char *) "parent",(char *) "colInit",(char *) "caption", NULL 
 
16870   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
16872     res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
16873     if (!SWIG_IsOK(res1
)) { 
16874       SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");  
16876     arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
16881       if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
16886       arg3 
= wxString_in_helper(obj2
); 
16887       if (arg3 
== NULL
) SWIG_fail
; 
16892     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16893     result 
= wxGetColourFromUser(arg1
,(wxColour 
const &)*arg2
,(wxString 
const &)*arg3
); 
16894     wxPyEndAllowThreads(__tstate
); 
16895     if (PyErr_Occurred()) SWIG_fail
; 
16897   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
16912 SWIGINTERN PyObject 
*_wrap_new_DirDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
16913   PyObject 
*resultobj 
= 0; 
16914   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
16915   wxString 
const &arg2_defvalue 
= wxPyDirSelectorPromptStr 
; 
16916   wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
16917   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
16918   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
16919   long arg4 
= (long) wxDD_DEFAULT_STYLE 
; 
16920   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
16921   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
16922   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
16923   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
16924   wxString 
const &arg7_defvalue 
= wxPyDirDialogNameStr 
; 
16925   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
16926   wxDirDialog 
*result 
= 0 ; 
16929   bool temp2 
= false ; 
16930   bool temp3 
= false ; 
16935   bool temp7 
= false ; 
16936   PyObject 
* obj0 
= 0 ; 
16937   PyObject 
* obj1 
= 0 ; 
16938   PyObject 
* obj2 
= 0 ; 
16939   PyObject 
* obj3 
= 0 ; 
16940   PyObject 
* obj4 
= 0 ; 
16941   PyObject 
* obj5 
= 0 ; 
16942   PyObject 
* obj6 
= 0 ; 
16943   char *  kwnames
[] = { 
16944     (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL 
 
16947   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
16948   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
16949   if (!SWIG_IsOK(res1
)) { 
16950     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
16952   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
16955       arg2 
= wxString_in_helper(obj1
); 
16956       if (arg2 
== NULL
) SWIG_fail
; 
16962       arg3 
= wxString_in_helper(obj2
); 
16963       if (arg3 
== NULL
) SWIG_fail
; 
16968     ecode4 
= SWIG_AsVal_long(obj3
, &val4
); 
16969     if (!SWIG_IsOK(ecode4
)) { 
16970       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'"); 
16972     arg4 
= static_cast< long >(val4
); 
16977       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
16983       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
16988       arg7 
= wxString_in_helper(obj6
); 
16989       if (arg7 
== NULL
) SWIG_fail
; 
16994     if (!wxPyCheckForApp()) SWIG_fail
; 
16995     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
16996     result 
= (wxDirDialog 
*)new wxDirDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,(wxString 
const &)*arg7
); 
16997     wxPyEndAllowThreads(__tstate
); 
16998     if (PyErr_Occurred()) SWIG_fail
; 
17000   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW 
|  0 ); 
17031 SWIGINTERN PyObject 
*_wrap_DirDialog_GetPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17032   PyObject 
*resultobj 
= 0; 
17033   wxDirDialog 
*arg1 
= (wxDirDialog 
*) 0 ; 
17037   PyObject 
*swig_obj
[1] ; 
17039   if (!args
) SWIG_fail
; 
17040   swig_obj
[0] = args
; 
17041   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 |  0 ); 
17042   if (!SWIG_IsOK(res1
)) { 
17043     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");  
17045   arg1 
= reinterpret_cast< wxDirDialog 
* >(argp1
); 
17047     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17048     result 
= (arg1
)->GetPath(); 
17049     wxPyEndAllowThreads(__tstate
); 
17050     if (PyErr_Occurred()) SWIG_fail
; 
17054     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17056     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17065 SWIGINTERN PyObject 
*_wrap_DirDialog_GetMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17066   PyObject 
*resultobj 
= 0; 
17067   wxDirDialog 
*arg1 
= (wxDirDialog 
*) 0 ; 
17071   PyObject 
*swig_obj
[1] ; 
17073   if (!args
) SWIG_fail
; 
17074   swig_obj
[0] = args
; 
17075   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 |  0 ); 
17076   if (!SWIG_IsOK(res1
)) { 
17077     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");  
17079   arg1 
= reinterpret_cast< wxDirDialog 
* >(argp1
); 
17081     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17082     result 
= (arg1
)->GetMessage(); 
17083     wxPyEndAllowThreads(__tstate
); 
17084     if (PyErr_Occurred()) SWIG_fail
; 
17088     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17090     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17099 SWIGINTERN PyObject 
*_wrap_DirDialog_SetMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17100   PyObject 
*resultobj 
= 0; 
17101   wxDirDialog 
*arg1 
= (wxDirDialog 
*) 0 ; 
17102   wxString 
*arg2 
= 0 ; 
17105   bool temp2 
= false ; 
17106   PyObject 
* obj0 
= 0 ; 
17107   PyObject 
* obj1 
= 0 ; 
17108   char *  kwnames
[] = { 
17109     (char *) "self",(char *) "message", NULL 
 
17112   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17113   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 |  0 ); 
17114   if (!SWIG_IsOK(res1
)) { 
17115     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");  
17117   arg1 
= reinterpret_cast< wxDirDialog 
* >(argp1
); 
17119     arg2 
= wxString_in_helper(obj1
); 
17120     if (arg2 
== NULL
) SWIG_fail
; 
17124     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17125     (arg1
)->SetMessage((wxString 
const &)*arg2
); 
17126     wxPyEndAllowThreads(__tstate
); 
17127     if (PyErr_Occurred()) SWIG_fail
; 
17129   resultobj 
= SWIG_Py_Void(); 
17144 SWIGINTERN PyObject 
*_wrap_DirDialog_SetPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17145   PyObject 
*resultobj 
= 0; 
17146   wxDirDialog 
*arg1 
= (wxDirDialog 
*) 0 ; 
17147   wxString 
*arg2 
= 0 ; 
17150   bool temp2 
= false ; 
17151   PyObject 
* obj0 
= 0 ; 
17152   PyObject 
* obj1 
= 0 ; 
17153   char *  kwnames
[] = { 
17154     (char *) "self",(char *) "path", NULL 
 
17157   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17158   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 |  0 ); 
17159   if (!SWIG_IsOK(res1
)) { 
17160     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");  
17162   arg1 
= reinterpret_cast< wxDirDialog 
* >(argp1
); 
17164     arg2 
= wxString_in_helper(obj1
); 
17165     if (arg2 
== NULL
) SWIG_fail
; 
17169     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17170     (arg1
)->SetPath((wxString 
const &)*arg2
); 
17171     wxPyEndAllowThreads(__tstate
); 
17172     if (PyErr_Occurred()) SWIG_fail
; 
17174   resultobj 
= SWIG_Py_Void(); 
17189 SWIGINTERN PyObject 
*DirDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17191   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
17192   SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
)); 
17193   return SWIG_Py_Void(); 
17196 SWIGINTERN PyObject 
*DirDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17197   return SWIG_Python_InitShadowInstance(args
); 
17200 SWIGINTERN PyObject 
*_wrap_new_FileDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17201   PyObject 
*resultobj 
= 0; 
17202   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
17203   wxString 
const &arg2_defvalue 
= wxPyFileSelectorPromptStr 
; 
17204   wxString 
*arg2 
= (wxString 
*) &arg2_defvalue 
; 
17205   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
17206   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
17207   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
17208   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
17209   wxString 
const &arg5_defvalue 
= wxPyFileSelectorDefaultWildcardStr 
; 
17210   wxString 
*arg5 
= (wxString 
*) &arg5_defvalue 
; 
17211   long arg6 
= (long) wxFD_DEFAULT_STYLE 
; 
17212   wxPoint 
const &arg7_defvalue 
= wxDefaultPosition 
; 
17213   wxPoint 
*arg7 
= (wxPoint 
*) &arg7_defvalue 
; 
17214   wxFileDialog 
*result 
= 0 ; 
17217   bool temp2 
= false ; 
17218   bool temp3 
= false ; 
17219   bool temp4 
= false ; 
17220   bool temp5 
= false ; 
17224   PyObject 
* obj0 
= 0 ; 
17225   PyObject 
* obj1 
= 0 ; 
17226   PyObject 
* obj2 
= 0 ; 
17227   PyObject 
* obj3 
= 0 ; 
17228   PyObject 
* obj4 
= 0 ; 
17229   PyObject 
* obj5 
= 0 ; 
17230   PyObject 
* obj6 
= 0 ; 
17231   char *  kwnames
[] = { 
17232     (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL 
 
17235   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
17236   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
17237   if (!SWIG_IsOK(res1
)) { 
17238     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
17240   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
17243       arg2 
= wxString_in_helper(obj1
); 
17244       if (arg2 
== NULL
) SWIG_fail
; 
17250       arg3 
= wxString_in_helper(obj2
); 
17251       if (arg3 
== NULL
) SWIG_fail
; 
17257       arg4 
= wxString_in_helper(obj3
); 
17258       if (arg4 
== NULL
) SWIG_fail
; 
17264       arg5 
= wxString_in_helper(obj4
); 
17265       if (arg5 
== NULL
) SWIG_fail
; 
17270     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
17271     if (!SWIG_IsOK(ecode6
)) { 
17272       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'"); 
17274     arg6 
= static_cast< long >(val6
); 
17279       if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
; 
17283     if (!wxPyCheckForApp()) SWIG_fail
; 
17284     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17285     result 
= (wxFileDialog 
*)new wxFileDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,(wxString 
const &)*arg5
,arg6
,(wxPoint 
const &)*arg7
); 
17286     wxPyEndAllowThreads(__tstate
); 
17287     if (PyErr_Occurred()) SWIG_fail
; 
17289   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW 
|  0 ); 
17328 SWIGINTERN PyObject 
*_wrap_FileDialog_SetMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17329   PyObject 
*resultobj 
= 0; 
17330   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17331   wxString 
*arg2 
= 0 ; 
17334   bool temp2 
= false ; 
17335   PyObject 
* obj0 
= 0 ; 
17336   PyObject 
* obj1 
= 0 ; 
17337   char *  kwnames
[] = { 
17338     (char *) "self",(char *) "message", NULL 
 
17341   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17342   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17343   if (!SWIG_IsOK(res1
)) { 
17344     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17346   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17348     arg2 
= wxString_in_helper(obj1
); 
17349     if (arg2 
== NULL
) SWIG_fail
; 
17353     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17354     (arg1
)->SetMessage((wxString 
const &)*arg2
); 
17355     wxPyEndAllowThreads(__tstate
); 
17356     if (PyErr_Occurred()) SWIG_fail
; 
17358   resultobj 
= SWIG_Py_Void(); 
17373 SWIGINTERN PyObject 
*_wrap_FileDialog_SetPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17374   PyObject 
*resultobj 
= 0; 
17375   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17376   wxString 
*arg2 
= 0 ; 
17379   bool temp2 
= false ; 
17380   PyObject 
* obj0 
= 0 ; 
17381   PyObject 
* obj1 
= 0 ; 
17382   char *  kwnames
[] = { 
17383     (char *) "self",(char *) "path", NULL 
 
17386   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17387   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17388   if (!SWIG_IsOK(res1
)) { 
17389     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17391   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17393     arg2 
= wxString_in_helper(obj1
); 
17394     if (arg2 
== NULL
) SWIG_fail
; 
17398     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17399     (arg1
)->SetPath((wxString 
const &)*arg2
); 
17400     wxPyEndAllowThreads(__tstate
); 
17401     if (PyErr_Occurred()) SWIG_fail
; 
17403   resultobj 
= SWIG_Py_Void(); 
17418 SWIGINTERN PyObject 
*_wrap_FileDialog_SetDirectory(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17419   PyObject 
*resultobj 
= 0; 
17420   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17421   wxString 
*arg2 
= 0 ; 
17424   bool temp2 
= false ; 
17425   PyObject 
* obj0 
= 0 ; 
17426   PyObject 
* obj1 
= 0 ; 
17427   char *  kwnames
[] = { 
17428     (char *) "self",(char *) "dir", NULL 
 
17431   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17432   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17433   if (!SWIG_IsOK(res1
)) { 
17434     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17436   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17438     arg2 
= wxString_in_helper(obj1
); 
17439     if (arg2 
== NULL
) SWIG_fail
; 
17443     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17444     (arg1
)->SetDirectory((wxString 
const &)*arg2
); 
17445     wxPyEndAllowThreads(__tstate
); 
17446     if (PyErr_Occurred()) SWIG_fail
; 
17448   resultobj 
= SWIG_Py_Void(); 
17463 SWIGINTERN PyObject 
*_wrap_FileDialog_SetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17464   PyObject 
*resultobj 
= 0; 
17465   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17466   wxString 
*arg2 
= 0 ; 
17469   bool temp2 
= false ; 
17470   PyObject 
* obj0 
= 0 ; 
17471   PyObject 
* obj1 
= 0 ; 
17472   char *  kwnames
[] = { 
17473     (char *) "self",(char *) "name", NULL 
 
17476   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17477   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17478   if (!SWIG_IsOK(res1
)) { 
17479     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17481   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17483     arg2 
= wxString_in_helper(obj1
); 
17484     if (arg2 
== NULL
) SWIG_fail
; 
17488     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17489     (arg1
)->SetFilename((wxString 
const &)*arg2
); 
17490     wxPyEndAllowThreads(__tstate
); 
17491     if (PyErr_Occurred()) SWIG_fail
; 
17493   resultobj 
= SWIG_Py_Void(); 
17508 SWIGINTERN PyObject 
*_wrap_FileDialog_SetWildcard(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17509   PyObject 
*resultobj 
= 0; 
17510   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17511   wxString 
*arg2 
= 0 ; 
17514   bool temp2 
= false ; 
17515   PyObject 
* obj0 
= 0 ; 
17516   PyObject 
* obj1 
= 0 ; 
17517   char *  kwnames
[] = { 
17518     (char *) "self",(char *) "wildCard", NULL 
 
17521   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17522   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17523   if (!SWIG_IsOK(res1
)) { 
17524     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17526   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17528     arg2 
= wxString_in_helper(obj1
); 
17529     if (arg2 
== NULL
) SWIG_fail
; 
17533     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17534     (arg1
)->SetWildcard((wxString 
const &)*arg2
); 
17535     wxPyEndAllowThreads(__tstate
); 
17536     if (PyErr_Occurred()) SWIG_fail
; 
17538   resultobj 
= SWIG_Py_Void(); 
17553 SWIGINTERN PyObject 
*_wrap_FileDialog_SetFilterIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17554   PyObject 
*resultobj 
= 0; 
17555   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17561   PyObject 
* obj0 
= 0 ; 
17562   PyObject 
* obj1 
= 0 ; 
17563   char *  kwnames
[] = { 
17564     (char *) "self",(char *) "filterIndex", NULL 
 
17567   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17568   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17569   if (!SWIG_IsOK(res1
)) { 
17570     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17572   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17573   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
17574   if (!SWIG_IsOK(ecode2
)) { 
17575     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'"); 
17577   arg2 
= static_cast< int >(val2
); 
17579     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17580     (arg1
)->SetFilterIndex(arg2
); 
17581     wxPyEndAllowThreads(__tstate
); 
17582     if (PyErr_Occurred()) SWIG_fail
; 
17584   resultobj 
= SWIG_Py_Void(); 
17591 SWIGINTERN PyObject 
*_wrap_FileDialog_GetMessage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17592   PyObject 
*resultobj 
= 0; 
17593   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17597   PyObject 
*swig_obj
[1] ; 
17599   if (!args
) SWIG_fail
; 
17600   swig_obj
[0] = args
; 
17601   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17602   if (!SWIG_IsOK(res1
)) { 
17603     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17605   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17607     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17608     result 
= ((wxFileDialog 
const *)arg1
)->GetMessage(); 
17609     wxPyEndAllowThreads(__tstate
); 
17610     if (PyErr_Occurred()) SWIG_fail
; 
17614     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17616     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17625 SWIGINTERN PyObject 
*_wrap_FileDialog_GetPath(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17626   PyObject 
*resultobj 
= 0; 
17627   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17631   PyObject 
*swig_obj
[1] ; 
17633   if (!args
) SWIG_fail
; 
17634   swig_obj
[0] = args
; 
17635   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17636   if (!SWIG_IsOK(res1
)) { 
17637     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17639   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17641     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17642     result 
= ((wxFileDialog 
const *)arg1
)->GetPath(); 
17643     wxPyEndAllowThreads(__tstate
); 
17644     if (PyErr_Occurred()) SWIG_fail
; 
17648     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17650     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17659 SWIGINTERN PyObject 
*_wrap_FileDialog_GetDirectory(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17660   PyObject 
*resultobj 
= 0; 
17661   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17665   PyObject 
*swig_obj
[1] ; 
17667   if (!args
) SWIG_fail
; 
17668   swig_obj
[0] = args
; 
17669   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17670   if (!SWIG_IsOK(res1
)) { 
17671     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17673   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17675     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17676     result 
= ((wxFileDialog 
const *)arg1
)->GetDirectory(); 
17677     wxPyEndAllowThreads(__tstate
); 
17678     if (PyErr_Occurred()) SWIG_fail
; 
17682     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17684     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17693 SWIGINTERN PyObject 
*_wrap_FileDialog_GetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17694   PyObject 
*resultobj 
= 0; 
17695   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17699   PyObject 
*swig_obj
[1] ; 
17701   if (!args
) SWIG_fail
; 
17702   swig_obj
[0] = args
; 
17703   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17704   if (!SWIG_IsOK(res1
)) { 
17705     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17707   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17709     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17710     result 
= ((wxFileDialog 
const *)arg1
)->GetFilename(); 
17711     wxPyEndAllowThreads(__tstate
); 
17712     if (PyErr_Occurred()) SWIG_fail
; 
17716     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17718     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17727 SWIGINTERN PyObject 
*_wrap_FileDialog_GetWildcard(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17728   PyObject 
*resultobj 
= 0; 
17729   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17733   PyObject 
*swig_obj
[1] ; 
17735   if (!args
) SWIG_fail
; 
17736   swig_obj
[0] = args
; 
17737   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17738   if (!SWIG_IsOK(res1
)) { 
17739     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17741   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17743     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17744     result 
= ((wxFileDialog 
const *)arg1
)->GetWildcard(); 
17745     wxPyEndAllowThreads(__tstate
); 
17746     if (PyErr_Occurred()) SWIG_fail
; 
17750     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
17752     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
17761 SWIGINTERN PyObject 
*_wrap_FileDialog_GetFilterIndex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17762   PyObject 
*resultobj 
= 0; 
17763   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17767   PyObject 
*swig_obj
[1] ; 
17769   if (!args
) SWIG_fail
; 
17770   swig_obj
[0] = args
; 
17771   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17772   if (!SWIG_IsOK(res1
)) { 
17773     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");  
17775   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17777     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17778     result 
= (int)((wxFileDialog 
const *)arg1
)->GetFilterIndex(); 
17779     wxPyEndAllowThreads(__tstate
); 
17780     if (PyErr_Occurred()) SWIG_fail
; 
17782   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
17789 SWIGINTERN PyObject 
*_wrap_FileDialog_GetFilenames(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17790   PyObject 
*resultobj 
= 0; 
17791   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17792   PyObject 
*result 
= 0 ; 
17795   PyObject 
*swig_obj
[1] ; 
17797   if (!args
) SWIG_fail
; 
17798   swig_obj
[0] = args
; 
17799   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17800   if (!SWIG_IsOK(res1
)) { 
17801     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17803   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17805     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17806     result 
= (PyObject 
*)wxFileDialog_GetFilenames(arg1
); 
17807     wxPyEndAllowThreads(__tstate
); 
17808     if (PyErr_Occurred()) SWIG_fail
; 
17810   resultobj 
= result
; 
17817 SWIGINTERN PyObject 
*_wrap_FileDialog_GetPaths(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17818   PyObject 
*resultobj 
= 0; 
17819   wxFileDialog 
*arg1 
= (wxFileDialog 
*) 0 ; 
17820   PyObject 
*result 
= 0 ; 
17823   PyObject 
*swig_obj
[1] ; 
17825   if (!args
) SWIG_fail
; 
17826   swig_obj
[0] = args
; 
17827   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 |  0 ); 
17828   if (!SWIG_IsOK(res1
)) { 
17829     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");  
17831   arg1 
= reinterpret_cast< wxFileDialog 
* >(argp1
); 
17833     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17834     result 
= (PyObject 
*)wxFileDialog_GetPaths(arg1
); 
17835     wxPyEndAllowThreads(__tstate
); 
17836     if (PyErr_Occurred()) SWIG_fail
; 
17838   resultobj 
= result
; 
17845 SWIGINTERN PyObject 
*FileDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17847   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
17848   SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
)); 
17849   return SWIG_Py_Void(); 
17852 SWIGINTERN PyObject 
*FileDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
17853   return SWIG_Python_InitShadowInstance(args
); 
17856 SWIGINTERN PyObject 
*_wrap_new_MultiChoiceDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17857   PyObject 
*resultobj 
= 0; 
17858   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
17859   wxString 
*arg2 
= 0 ; 
17860   wxString 
*arg3 
= 0 ; 
17861   int arg4 
= (int) 0 ; 
17862   wxString 
*arg5 
= (wxString 
*) NULL 
; 
17863   long arg6 
= (long) wxCHOICEDLG_STYLE 
; 
17864   wxPoint 
const &arg7_defvalue 
= wxDefaultPosition 
; 
17865   wxPoint 
*arg7 
= (wxPoint 
*) &arg7_defvalue 
; 
17866   wxMultiChoiceDialog 
*result 
= 0 ; 
17869   bool temp2 
= false ; 
17870   bool temp3 
= false ; 
17874   PyObject 
* obj0 
= 0 ; 
17875   PyObject 
* obj1 
= 0 ; 
17876   PyObject 
* obj2 
= 0 ; 
17877   PyObject 
* obj3 
= 0 ; 
17878   PyObject 
* obj4 
= 0 ; 
17879   PyObject 
* obj5 
= 0 ; 
17880   char *  kwnames
[] = { 
17881     (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL 
 
17884   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
17885   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
17886   if (!SWIG_IsOK(res1
)) { 
17887     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
17889   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
17891     arg2 
= wxString_in_helper(obj1
); 
17892     if (arg2 
== NULL
) SWIG_fail
; 
17896     arg3 
= wxString_in_helper(obj2
); 
17897     if (arg3 
== NULL
) SWIG_fail
; 
17902       arg4 
= PyList_Size(obj3
); 
17903       arg5 
= wxString_LIST_helper(obj3
); 
17904       if (arg5 
== NULL
) SWIG_fail
; 
17908     ecode6 
= SWIG_AsVal_long(obj4
, &val6
); 
17909     if (!SWIG_IsOK(ecode6
)) { 
17910       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'"); 
17912     arg6 
= static_cast< long >(val6
); 
17917       if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
; 
17921     if (!wxPyCheckForApp()) SWIG_fail
; 
17922     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17923     result 
= (wxMultiChoiceDialog 
*)new wxMultiChoiceDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint 
const &)*arg7
); 
17924     wxPyEndAllowThreads(__tstate
); 
17925     if (PyErr_Occurred()) SWIG_fail
; 
17927   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW 
|  0 ); 
17937     if (arg5
) delete [] arg5
; 
17950     if (arg5
) delete [] arg5
; 
17956 SWIGINTERN PyObject 
*_wrap_MultiChoiceDialog_SetSelections(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
17957   PyObject 
*resultobj 
= 0; 
17958   wxMultiChoiceDialog 
*arg1 
= (wxMultiChoiceDialog 
*) 0 ; 
17959   wxArrayInt 
*arg2 
= 0 ; 
17962   bool temp2 
= false ; 
17963   PyObject 
* obj0 
= 0 ; 
17964   PyObject 
* obj1 
= 0 ; 
17965   char *  kwnames
[] = { 
17966     (char *) "self",(char *) "selections", NULL 
 
17969   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
17970   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 |  0 ); 
17971   if (!SWIG_IsOK(res1
)) { 
17972     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");  
17974   arg1 
= reinterpret_cast< wxMultiChoiceDialog 
* >(argp1
); 
17976     if (! PySequence_Check(obj1
)) { 
17977       PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected."); 
17980     arg2 
= new wxArrayInt
; 
17982     int i
, len
=PySequence_Length(obj1
); 
17983     for (i
=0; i
<len
; i
++) { 
17984       PyObject
* item 
= PySequence_GetItem(obj1
, i
); 
17985       PyObject
* number  
= PyNumber_Int(item
); 
17986       arg2
->Add(PyInt_AS_LONG(number
)); 
17992     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
17993     (arg1
)->SetSelections((wxArrayInt 
const &)*arg2
); 
17994     wxPyEndAllowThreads(__tstate
); 
17995     if (PyErr_Occurred()) SWIG_fail
; 
17997   resultobj 
= SWIG_Py_Void(); 
17999     if (temp2
) delete arg2
; 
18004     if (temp2
) delete arg2
; 
18010 SWIGINTERN PyObject 
*_wrap_MultiChoiceDialog_GetSelections(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18011   PyObject 
*resultobj 
= 0; 
18012   wxMultiChoiceDialog 
*arg1 
= (wxMultiChoiceDialog 
*) 0 ; 
18013   PyObject 
*result 
= 0 ; 
18016   PyObject 
*swig_obj
[1] ; 
18018   if (!args
) SWIG_fail
; 
18019   swig_obj
[0] = args
; 
18020   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 |  0 ); 
18021   if (!SWIG_IsOK(res1
)) { 
18022     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");  
18024   arg1 
= reinterpret_cast< wxMultiChoiceDialog 
* >(argp1
); 
18026     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18027     result 
= (PyObject 
*)wxMultiChoiceDialog_GetSelections(arg1
); 
18028     wxPyEndAllowThreads(__tstate
); 
18029     if (PyErr_Occurred()) SWIG_fail
; 
18031   resultobj 
= result
; 
18038 SWIGINTERN PyObject 
*MultiChoiceDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18040   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18041   SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
)); 
18042   return SWIG_Py_Void(); 
18045 SWIGINTERN PyObject 
*MultiChoiceDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18046   return SWIG_Python_InitShadowInstance(args
); 
18049 SWIGINTERN PyObject 
*_wrap_new_SingleChoiceDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18050   PyObject 
*resultobj 
= 0; 
18051   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18052   wxString 
*arg2 
= 0 ; 
18053   wxString 
*arg3 
= 0 ; 
18055   wxString 
*arg5 
= (wxString 
*) 0 ; 
18056   long arg6 
= (long) wxCHOICEDLG_STYLE 
; 
18057   wxPoint 
const &arg7_defvalue 
= wxDefaultPosition 
; 
18058   wxPoint 
*arg7 
= (wxPoint 
*) &arg7_defvalue 
; 
18059   wxSingleChoiceDialog 
*result 
= 0 ; 
18062   bool temp2 
= false ; 
18063   bool temp3 
= false ; 
18067   PyObject 
* obj0 
= 0 ; 
18068   PyObject 
* obj1 
= 0 ; 
18069   PyObject 
* obj2 
= 0 ; 
18070   PyObject 
* obj3 
= 0 ; 
18071   PyObject 
* obj4 
= 0 ; 
18072   PyObject 
* obj5 
= 0 ; 
18073   char *  kwnames
[] = { 
18074     (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL 
 
18077   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
18078   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
18079   if (!SWIG_IsOK(res1
)) { 
18080     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
18082   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
18084     arg2 
= wxString_in_helper(obj1
); 
18085     if (arg2 
== NULL
) SWIG_fail
; 
18089     arg3 
= wxString_in_helper(obj2
); 
18090     if (arg3 
== NULL
) SWIG_fail
; 
18094     arg4 
= PyList_Size(obj3
); 
18095     arg5 
= wxString_LIST_helper(obj3
); 
18096     if (arg5 
== NULL
) SWIG_fail
; 
18099     ecode6 
= SWIG_AsVal_long(obj4
, &val6
); 
18100     if (!SWIG_IsOK(ecode6
)) { 
18101       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'"); 
18103     arg6 
= static_cast< long >(val6
); 
18108       if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
; 
18112     if (!wxPyCheckForApp()) SWIG_fail
; 
18113     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18114     result 
= (wxSingleChoiceDialog 
*)new_wxSingleChoiceDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint 
const &)*arg7
); 
18115     wxPyEndAllowThreads(__tstate
); 
18116     if (PyErr_Occurred()) SWIG_fail
; 
18118   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW 
|  0 ); 
18128     if (arg5
) delete [] arg5
; 
18141     if (arg5
) delete [] arg5
; 
18147 SWIGINTERN PyObject 
*_wrap_SingleChoiceDialog_GetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18148   PyObject 
*resultobj 
= 0; 
18149   wxSingleChoiceDialog 
*arg1 
= (wxSingleChoiceDialog 
*) 0 ; 
18153   PyObject 
*swig_obj
[1] ; 
18155   if (!args
) SWIG_fail
; 
18156   swig_obj
[0] = args
; 
18157   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 |  0 ); 
18158   if (!SWIG_IsOK(res1
)) { 
18159     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");  
18161   arg1 
= reinterpret_cast< wxSingleChoiceDialog 
* >(argp1
); 
18163     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18164     result 
= (int)(arg1
)->GetSelection(); 
18165     wxPyEndAllowThreads(__tstate
); 
18166     if (PyErr_Occurred()) SWIG_fail
; 
18168   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
18175 SWIGINTERN PyObject 
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18176   PyObject 
*resultobj 
= 0; 
18177   wxSingleChoiceDialog 
*arg1 
= (wxSingleChoiceDialog 
*) 0 ; 
18181   PyObject 
*swig_obj
[1] ; 
18183   if (!args
) SWIG_fail
; 
18184   swig_obj
[0] = args
; 
18185   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 |  0 ); 
18186   if (!SWIG_IsOK(res1
)) { 
18187     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");  
18189   arg1 
= reinterpret_cast< wxSingleChoiceDialog 
* >(argp1
); 
18191     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18192     result 
= (arg1
)->GetStringSelection(); 
18193     wxPyEndAllowThreads(__tstate
); 
18194     if (PyErr_Occurred()) SWIG_fail
; 
18198     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
18200     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
18209 SWIGINTERN PyObject 
*_wrap_SingleChoiceDialog_SetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18210   PyObject 
*resultobj 
= 0; 
18211   wxSingleChoiceDialog 
*arg1 
= (wxSingleChoiceDialog 
*) 0 ; 
18217   PyObject 
* obj0 
= 0 ; 
18218   PyObject 
* obj1 
= 0 ; 
18219   char *  kwnames
[] = { 
18220     (char *) "self",(char *) "sel", NULL 
 
18223   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18224   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 |  0 ); 
18225   if (!SWIG_IsOK(res1
)) { 
18226     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");  
18228   arg1 
= reinterpret_cast< wxSingleChoiceDialog 
* >(argp1
); 
18229   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
18230   if (!SWIG_IsOK(ecode2
)) { 
18231     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'"); 
18233   arg2 
= static_cast< int >(val2
); 
18235     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18236     (arg1
)->SetSelection(arg2
); 
18237     wxPyEndAllowThreads(__tstate
); 
18238     if (PyErr_Occurred()) SWIG_fail
; 
18240   resultobj 
= SWIG_Py_Void(); 
18247 SWIGINTERN PyObject 
*SingleChoiceDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18249   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18250   SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
)); 
18251   return SWIG_Py_Void(); 
18254 SWIGINTERN PyObject 
*SingleChoiceDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18255   return SWIG_Python_InitShadowInstance(args
); 
18258 SWIGINTERN PyObject 
*_wrap_new_TextEntryDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18259   PyObject 
*resultobj 
= 0; 
18260   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18261   wxString 
*arg2 
= 0 ; 
18262   wxString 
const &arg3_defvalue 
= wxPyGetTextFromUserPromptStr 
; 
18263   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
18264   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
18265   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
18266   long arg5 
= (long) wxTextEntryDialogStyle 
; 
18267   wxPoint 
const &arg6_defvalue 
= wxDefaultPosition 
; 
18268   wxPoint 
*arg6 
= (wxPoint 
*) &arg6_defvalue 
; 
18269   wxTextEntryDialog 
*result 
= 0 ; 
18272   bool temp2 
= false ; 
18273   bool temp3 
= false ; 
18274   bool temp4 
= false ; 
18278   PyObject 
* obj0 
= 0 ; 
18279   PyObject 
* obj1 
= 0 ; 
18280   PyObject 
* obj2 
= 0 ; 
18281   PyObject 
* obj3 
= 0 ; 
18282   PyObject 
* obj4 
= 0 ; 
18283   PyObject 
* obj5 
= 0 ; 
18284   char *  kwnames
[] = { 
18285     (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL 
 
18288   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
18289   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
18290   if (!SWIG_IsOK(res1
)) { 
18291     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
18293   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
18295     arg2 
= wxString_in_helper(obj1
); 
18296     if (arg2 
== NULL
) SWIG_fail
; 
18301       arg3 
= wxString_in_helper(obj2
); 
18302       if (arg3 
== NULL
) SWIG_fail
; 
18308       arg4 
= wxString_in_helper(obj3
); 
18309       if (arg4 
== NULL
) SWIG_fail
; 
18314     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
18315     if (!SWIG_IsOK(ecode5
)) { 
18316       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'"); 
18318     arg5 
= static_cast< long >(val5
); 
18323       if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
; 
18327     if (!wxPyCheckForApp()) SWIG_fail
; 
18328     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18329     result 
= (wxTextEntryDialog 
*)new wxTextEntryDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,(wxPoint 
const &)*arg6
); 
18330     wxPyEndAllowThreads(__tstate
); 
18331     if (PyErr_Occurred()) SWIG_fail
; 
18333   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW 
|  0 ); 
18364 SWIGINTERN PyObject 
*_wrap_TextEntryDialog_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18365   PyObject 
*resultobj 
= 0; 
18366   wxTextEntryDialog 
*arg1 
= (wxTextEntryDialog 
*) 0 ; 
18370   PyObject 
*swig_obj
[1] ; 
18372   if (!args
) SWIG_fail
; 
18373   swig_obj
[0] = args
; 
18374   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 |  0 ); 
18375   if (!SWIG_IsOK(res1
)) { 
18376     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");  
18378   arg1 
= reinterpret_cast< wxTextEntryDialog 
* >(argp1
); 
18380     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18381     result 
= (arg1
)->GetValue(); 
18382     wxPyEndAllowThreads(__tstate
); 
18383     if (PyErr_Occurred()) SWIG_fail
; 
18387     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
18389     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
18398 SWIGINTERN PyObject 
*_wrap_TextEntryDialog_SetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18399   PyObject 
*resultobj 
= 0; 
18400   wxTextEntryDialog 
*arg1 
= (wxTextEntryDialog 
*) 0 ; 
18401   wxString 
*arg2 
= 0 ; 
18404   bool temp2 
= false ; 
18405   PyObject 
* obj0 
= 0 ; 
18406   PyObject 
* obj1 
= 0 ; 
18407   char *  kwnames
[] = { 
18408     (char *) "self",(char *) "value", NULL 
 
18411   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18412   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 |  0 ); 
18413   if (!SWIG_IsOK(res1
)) { 
18414     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");  
18416   arg1 
= reinterpret_cast< wxTextEntryDialog 
* >(argp1
); 
18418     arg2 
= wxString_in_helper(obj1
); 
18419     if (arg2 
== NULL
) SWIG_fail
; 
18423     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18424     (arg1
)->SetValue((wxString 
const &)*arg2
); 
18425     wxPyEndAllowThreads(__tstate
); 
18426     if (PyErr_Occurred()) SWIG_fail
; 
18428   resultobj 
= SWIG_Py_Void(); 
18443 SWIGINTERN PyObject 
*TextEntryDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18445   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18446   SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
)); 
18447   return SWIG_Py_Void(); 
18450 SWIGINTERN PyObject 
*TextEntryDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18451   return SWIG_Python_InitShadowInstance(args
); 
18454 SWIGINTERN 
int GetPasswordFromUserPromptStr_set(PyObject 
*) { 
18455   SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only."); 
18460 SWIGINTERN PyObject 
*GetPasswordFromUserPromptStr_get(void) { 
18461   PyObject 
*pyobj 
= 0; 
18465     pyobj 
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len()); 
18467     pyobj 
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len()); 
18474 SWIGINTERN PyObject 
*_wrap_new_PasswordEntryDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18475   PyObject 
*resultobj 
= 0; 
18476   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18477   wxString 
*arg2 
= 0 ; 
18478   wxString 
const &arg3_defvalue 
= wxPyGetPasswordFromUserPromptStr 
; 
18479   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
18480   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
18481   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
18482   long arg5 
= (long) wxTextEntryDialogStyle 
; 
18483   wxPoint 
const &arg6_defvalue 
= wxDefaultPosition 
; 
18484   wxPoint 
*arg6 
= (wxPoint 
*) &arg6_defvalue 
; 
18485   wxPasswordEntryDialog 
*result 
= 0 ; 
18488   bool temp2 
= false ; 
18489   bool temp3 
= false ; 
18490   bool temp4 
= false ; 
18494   PyObject 
* obj0 
= 0 ; 
18495   PyObject 
* obj1 
= 0 ; 
18496   PyObject 
* obj2 
= 0 ; 
18497   PyObject 
* obj3 
= 0 ; 
18498   PyObject 
* obj4 
= 0 ; 
18499   PyObject 
* obj5 
= 0 ; 
18500   char *  kwnames
[] = { 
18501     (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL 
 
18504   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
18505   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
18506   if (!SWIG_IsOK(res1
)) { 
18507     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
18509   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
18511     arg2 
= wxString_in_helper(obj1
); 
18512     if (arg2 
== NULL
) SWIG_fail
; 
18517       arg3 
= wxString_in_helper(obj2
); 
18518       if (arg3 
== NULL
) SWIG_fail
; 
18524       arg4 
= wxString_in_helper(obj3
); 
18525       if (arg4 
== NULL
) SWIG_fail
; 
18530     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
18531     if (!SWIG_IsOK(ecode5
)) { 
18532       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'"); 
18534     arg5 
= static_cast< long >(val5
); 
18539       if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
; 
18543     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18544     result 
= (wxPasswordEntryDialog 
*)new wxPasswordEntryDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,(wxPoint 
const &)*arg6
); 
18545     wxPyEndAllowThreads(__tstate
); 
18546     if (PyErr_Occurred()) SWIG_fail
; 
18548   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW 
|  0 ); 
18579 SWIGINTERN PyObject 
*PasswordEntryDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18581   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18582   SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
)); 
18583   return SWIG_Py_Void(); 
18586 SWIGINTERN PyObject 
*PasswordEntryDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18587   return SWIG_Python_InitShadowInstance(args
); 
18590 SWIGINTERN PyObject 
*_wrap_new_NumberEntryDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18591   PyObject 
*resultobj 
= 0; 
18592   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
18593   wxString 
*arg2 
= 0 ; 
18594   wxString 
*arg3 
= 0 ; 
18595   wxString 
*arg4 
= 0 ; 
18599   wxPoint 
const &arg8_defvalue 
= wxDefaultPosition 
; 
18600   wxPoint 
*arg8 
= (wxPoint 
*) &arg8_defvalue 
; 
18601   wxNumberEntryDialog 
*result 
= 0 ; 
18604   bool temp2 
= false ; 
18605   bool temp3 
= false ; 
18606   bool temp4 
= false ; 
18614   PyObject 
* obj0 
= 0 ; 
18615   PyObject 
* obj1 
= 0 ; 
18616   PyObject 
* obj2 
= 0 ; 
18617   PyObject 
* obj3 
= 0 ; 
18618   PyObject 
* obj4 
= 0 ; 
18619   PyObject 
* obj5 
= 0 ; 
18620   PyObject 
* obj6 
= 0 ; 
18621   PyObject 
* obj7 
= 0 ; 
18622   char *  kwnames
[] = { 
18623     (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL 
 
18626   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
18627   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
18628   if (!SWIG_IsOK(res1
)) { 
18629     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
18631   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
18633     arg2 
= wxString_in_helper(obj1
); 
18634     if (arg2 
== NULL
) SWIG_fail
; 
18638     arg3 
= wxString_in_helper(obj2
); 
18639     if (arg3 
== NULL
) SWIG_fail
; 
18643     arg4 
= wxString_in_helper(obj3
); 
18644     if (arg4 
== NULL
) SWIG_fail
; 
18647   ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
18648   if (!SWIG_IsOK(ecode5
)) { 
18649     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'"); 
18651   arg5 
= static_cast< long >(val5
); 
18652   ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
18653   if (!SWIG_IsOK(ecode6
)) { 
18654     SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'"); 
18656   arg6 
= static_cast< long >(val6
); 
18657   ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
18658   if (!SWIG_IsOK(ecode7
)) { 
18659     SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'"); 
18661   arg7 
= static_cast< long >(val7
); 
18665       if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
; 
18669     if (!wxPyCheckForApp()) SWIG_fail
; 
18670     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18671     result 
= (wxNumberEntryDialog 
*)new wxNumberEntryDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,(wxString 
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint 
const &)*arg8
); 
18672     wxPyEndAllowThreads(__tstate
); 
18673     if (PyErr_Occurred()) SWIG_fail
; 
18675   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW 
|  0 ); 
18706 SWIGINTERN PyObject 
*_wrap_NumberEntryDialog_GetValue(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18707   PyObject 
*resultobj 
= 0; 
18708   wxNumberEntryDialog 
*arg1 
= (wxNumberEntryDialog 
*) 0 ; 
18712   PyObject 
*swig_obj
[1] ; 
18714   if (!args
) SWIG_fail
; 
18715   swig_obj
[0] = args
; 
18716   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 |  0 ); 
18717   if (!SWIG_IsOK(res1
)) { 
18718     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");  
18720   arg1 
= reinterpret_cast< wxNumberEntryDialog 
* >(argp1
); 
18722     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18723     result 
= (long)(arg1
)->GetValue(); 
18724     wxPyEndAllowThreads(__tstate
); 
18725     if (PyErr_Occurred()) SWIG_fail
; 
18727   resultobj 
= SWIG_From_long(static_cast< long >(result
)); 
18734 SWIGINTERN PyObject 
*NumberEntryDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18736   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
18737   SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
)); 
18738   return SWIG_Py_Void(); 
18741 SWIGINTERN PyObject 
*NumberEntryDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18742   return SWIG_Python_InitShadowInstance(args
); 
18745 SWIGINTERN PyObject 
*_wrap_new_FontData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18746   PyObject 
*resultobj 
= 0; 
18747   wxFontData 
*result 
= 0 ; 
18749   if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
; 
18751     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18752     result 
= (wxFontData 
*)new wxFontData(); 
18753     wxPyEndAllowThreads(__tstate
); 
18754     if (PyErr_Occurred()) SWIG_fail
; 
18756   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW 
|  0 ); 
18763 SWIGINTERN PyObject 
*_wrap_delete_FontData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18764   PyObject 
*resultobj 
= 0; 
18765   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18768   PyObject 
*swig_obj
[1] ; 
18770   if (!args
) SWIG_fail
; 
18771   swig_obj
[0] = args
; 
18772   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN 
|  0 ); 
18773   if (!SWIG_IsOK(res1
)) { 
18774     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");  
18776   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18778     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18781     wxPyEndAllowThreads(__tstate
); 
18782     if (PyErr_Occurred()) SWIG_fail
; 
18784   resultobj 
= SWIG_Py_Void(); 
18791 SWIGINTERN PyObject 
*_wrap_FontData_EnableEffects(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
18792   PyObject 
*resultobj 
= 0; 
18793   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18799   PyObject 
* obj0 
= 0 ; 
18800   PyObject 
* obj1 
= 0 ; 
18801   char *  kwnames
[] = { 
18802     (char *) "self",(char *) "enable", NULL 
 
18805   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
18806   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18807   if (!SWIG_IsOK(res1
)) { 
18808     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");  
18810   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18811   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
18812   if (!SWIG_IsOK(ecode2
)) { 
18813     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'"); 
18815   arg2 
= static_cast< bool >(val2
); 
18817     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18818     (arg1
)->EnableEffects(arg2
); 
18819     wxPyEndAllowThreads(__tstate
); 
18820     if (PyErr_Occurred()) SWIG_fail
; 
18822   resultobj 
= SWIG_Py_Void(); 
18829 SWIGINTERN PyObject 
*_wrap_FontData_GetAllowSymbols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18830   PyObject 
*resultobj 
= 0; 
18831   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18835   PyObject 
*swig_obj
[1] ; 
18837   if (!args
) SWIG_fail
; 
18838   swig_obj
[0] = args
; 
18839   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18840   if (!SWIG_IsOK(res1
)) { 
18841     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");  
18843   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18845     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18846     result 
= (bool)(arg1
)->GetAllowSymbols(); 
18847     wxPyEndAllowThreads(__tstate
); 
18848     if (PyErr_Occurred()) SWIG_fail
; 
18851     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18859 SWIGINTERN PyObject 
*_wrap_FontData_GetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18860   PyObject 
*resultobj 
= 0; 
18861   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18865   PyObject 
*swig_obj
[1] ; 
18867   if (!args
) SWIG_fail
; 
18868   swig_obj
[0] = args
; 
18869   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18870   if (!SWIG_IsOK(res1
)) { 
18871     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");  
18873   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18875     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18876     result 
= (arg1
)->GetColour(); 
18877     wxPyEndAllowThreads(__tstate
); 
18878     if (PyErr_Occurred()) SWIG_fail
; 
18880   resultobj 
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN 
|  0 ); 
18887 SWIGINTERN PyObject 
*_wrap_FontData_GetChosenFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18888   PyObject 
*resultobj 
= 0; 
18889   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18893   PyObject 
*swig_obj
[1] ; 
18895   if (!args
) SWIG_fail
; 
18896   swig_obj
[0] = args
; 
18897   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18898   if (!SWIG_IsOK(res1
)) { 
18899     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");  
18901   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18903     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18904     result 
= (arg1
)->GetChosenFont(); 
18905     wxPyEndAllowThreads(__tstate
); 
18906     if (PyErr_Occurred()) SWIG_fail
; 
18908   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
18915 SWIGINTERN PyObject 
*_wrap_FontData_GetEnableEffects(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18916   PyObject 
*resultobj 
= 0; 
18917   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18921   PyObject 
*swig_obj
[1] ; 
18923   if (!args
) SWIG_fail
; 
18924   swig_obj
[0] = args
; 
18925   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18926   if (!SWIG_IsOK(res1
)) { 
18927     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");  
18929   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18931     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18932     result 
= (bool)(arg1
)->GetEnableEffects(); 
18933     wxPyEndAllowThreads(__tstate
); 
18934     if (PyErr_Occurred()) SWIG_fail
; 
18937     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
18945 SWIGINTERN PyObject 
*_wrap_FontData_GetInitialFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18946   PyObject 
*resultobj 
= 0; 
18947   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18951   PyObject 
*swig_obj
[1] ; 
18953   if (!args
) SWIG_fail
; 
18954   swig_obj
[0] = args
; 
18955   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18956   if (!SWIG_IsOK(res1
)) { 
18957     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");  
18959   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18961     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18962     result 
= (arg1
)->GetInitialFont(); 
18963     wxPyEndAllowThreads(__tstate
); 
18964     if (PyErr_Occurred()) SWIG_fail
; 
18966   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
18973 SWIGINTERN PyObject 
*_wrap_FontData_GetShowHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
18974   PyObject 
*resultobj 
= 0; 
18975   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
18979   PyObject 
*swig_obj
[1] ; 
18981   if (!args
) SWIG_fail
; 
18982   swig_obj
[0] = args
; 
18983   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
18984   if (!SWIG_IsOK(res1
)) { 
18985     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");  
18987   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
18989     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
18990     result 
= (bool)(arg1
)->GetShowHelp(); 
18991     wxPyEndAllowThreads(__tstate
); 
18992     if (PyErr_Occurred()) SWIG_fail
; 
18995     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19003 SWIGINTERN PyObject 
*_wrap_FontData_SetAllowSymbols(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19004   PyObject 
*resultobj 
= 0; 
19005   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
19011   PyObject 
* obj0 
= 0 ; 
19012   PyObject 
* obj1 
= 0 ; 
19013   char *  kwnames
[] = { 
19014     (char *) "self",(char *) "allowSymbols", NULL 
 
19017   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19018   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
19019   if (!SWIG_IsOK(res1
)) { 
19020     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");  
19022   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
19023   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
19024   if (!SWIG_IsOK(ecode2
)) { 
19025     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'"); 
19027   arg2 
= static_cast< bool >(val2
); 
19029     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19030     (arg1
)->SetAllowSymbols(arg2
); 
19031     wxPyEndAllowThreads(__tstate
); 
19032     if (PyErr_Occurred()) SWIG_fail
; 
19034   resultobj 
= SWIG_Py_Void(); 
19041 SWIGINTERN PyObject 
*_wrap_FontData_SetChosenFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19042   PyObject 
*resultobj 
= 0; 
19043   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
19049   PyObject 
* obj0 
= 0 ; 
19050   PyObject 
* obj1 
= 0 ; 
19051   char *  kwnames
[] = { 
19052     (char *) "self",(char *) "font", NULL 
 
19055   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19056   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
19057   if (!SWIG_IsOK(res1
)) { 
19058     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");  
19060   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
19061   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
19062   if (!SWIG_IsOK(res2
)) { 
19063     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
19066     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
19068   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
19070     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19071     (arg1
)->SetChosenFont((wxFont 
const &)*arg2
); 
19072     wxPyEndAllowThreads(__tstate
); 
19073     if (PyErr_Occurred()) SWIG_fail
; 
19075   resultobj 
= SWIG_Py_Void(); 
19082 SWIGINTERN PyObject 
*_wrap_FontData_SetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19083   PyObject 
*resultobj 
= 0; 
19084   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
19085   wxColour 
*arg2 
= 0 ; 
19089   PyObject 
* obj0 
= 0 ; 
19090   PyObject 
* obj1 
= 0 ; 
19091   char *  kwnames
[] = { 
19092     (char *) "self",(char *) "colour", NULL 
 
19095   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19096   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
19097   if (!SWIG_IsOK(res1
)) { 
19098     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");  
19100   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
19103     if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
; 
19106     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19107     (arg1
)->SetColour((wxColour 
const &)*arg2
); 
19108     wxPyEndAllowThreads(__tstate
); 
19109     if (PyErr_Occurred()) SWIG_fail
; 
19111   resultobj 
= SWIG_Py_Void(); 
19118 SWIGINTERN PyObject 
*_wrap_FontData_SetInitialFont(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19119   PyObject 
*resultobj 
= 0; 
19120   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
19126   PyObject 
* obj0 
= 0 ; 
19127   PyObject 
* obj1 
= 0 ; 
19128   char *  kwnames
[] = { 
19129     (char *) "self",(char *) "font", NULL 
 
19132   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19133   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
19134   if (!SWIG_IsOK(res1
)) { 
19135     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");  
19137   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
19138   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
19139   if (!SWIG_IsOK(res2
)) { 
19140     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
19143     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");  
19145   arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
19147     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19148     (arg1
)->SetInitialFont((wxFont 
const &)*arg2
); 
19149     wxPyEndAllowThreads(__tstate
); 
19150     if (PyErr_Occurred()) SWIG_fail
; 
19152   resultobj 
= SWIG_Py_Void(); 
19159 SWIGINTERN PyObject 
*_wrap_FontData_SetRange(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19160   PyObject 
*resultobj 
= 0; 
19161   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
19170   PyObject 
* obj0 
= 0 ; 
19171   PyObject 
* obj1 
= 0 ; 
19172   PyObject 
* obj2 
= 0 ; 
19173   char *  kwnames
[] = { 
19174     (char *) "self",(char *) "min",(char *) "max", NULL 
 
19177   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19178   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
19179   if (!SWIG_IsOK(res1
)) { 
19180     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");  
19182   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
19183   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19184   if (!SWIG_IsOK(ecode2
)) { 
19185     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'"); 
19187   arg2 
= static_cast< int >(val2
); 
19188   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
19189   if (!SWIG_IsOK(ecode3
)) { 
19190     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'"); 
19192   arg3 
= static_cast< int >(val3
); 
19194     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19195     (arg1
)->SetRange(arg2
,arg3
); 
19196     wxPyEndAllowThreads(__tstate
); 
19197     if (PyErr_Occurred()) SWIG_fail
; 
19199   resultobj 
= SWIG_Py_Void(); 
19206 SWIGINTERN PyObject 
*_wrap_FontData_SetShowHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19207   PyObject 
*resultobj 
= 0; 
19208   wxFontData 
*arg1 
= (wxFontData 
*) 0 ; 
19214   PyObject 
* obj0 
= 0 ; 
19215   PyObject 
* obj1 
= 0 ; 
19216   char *  kwnames
[] = { 
19217     (char *) "self",(char *) "showHelp", NULL 
 
19220   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19221   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 |  0 ); 
19222   if (!SWIG_IsOK(res1
)) { 
19223     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");  
19225   arg1 
= reinterpret_cast< wxFontData 
* >(argp1
); 
19226   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
19227   if (!SWIG_IsOK(ecode2
)) { 
19228     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'"); 
19230   arg2 
= static_cast< bool >(val2
); 
19232     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19233     (arg1
)->SetShowHelp(arg2
); 
19234     wxPyEndAllowThreads(__tstate
); 
19235     if (PyErr_Occurred()) SWIG_fail
; 
19237   resultobj 
= SWIG_Py_Void(); 
19244 SWIGINTERN PyObject 
*FontData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19246   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19247   SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
)); 
19248   return SWIG_Py_Void(); 
19251 SWIGINTERN PyObject 
*FontData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19252   return SWIG_Python_InitShadowInstance(args
); 
19255 SWIGINTERN PyObject 
*_wrap_new_FontDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19256   PyObject 
*resultobj 
= 0; 
19257   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
19258   wxFontData 
*arg2 
= 0 ; 
19259   wxFontDialog 
*result 
= 0 ; 
19264   PyObject 
* obj0 
= 0 ; 
19265   PyObject 
* obj1 
= 0 ; 
19266   char *  kwnames
[] = { 
19267     (char *) "parent",(char *) "data", NULL 
 
19270   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19271   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
19272   if (!SWIG_IsOK(res1
)) { 
19273     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
19275   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
19276   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
,  0  | 0); 
19277   if (!SWIG_IsOK(res2
)) { 
19278     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");  
19281     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");  
19283   arg2 
= reinterpret_cast< wxFontData 
* >(argp2
); 
19285     if (!wxPyCheckForApp()) SWIG_fail
; 
19286     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19287     result 
= (wxFontDialog 
*)new wxFontDialog(arg1
,(wxFontData 
const &)*arg2
); 
19288     wxPyEndAllowThreads(__tstate
); 
19289     if (PyErr_Occurred()) SWIG_fail
; 
19291   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW 
|  0 ); 
19298 SWIGINTERN PyObject 
*_wrap_FontDialog_GetFontData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19299   PyObject 
*resultobj 
= 0; 
19300   wxFontDialog 
*arg1 
= (wxFontDialog 
*) 0 ; 
19301   wxFontData 
*result 
= 0 ; 
19304   PyObject 
*swig_obj
[1] ; 
19306   if (!args
) SWIG_fail
; 
19307   swig_obj
[0] = args
; 
19308   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 |  0 ); 
19309   if (!SWIG_IsOK(res1
)) { 
19310     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");  
19312   arg1 
= reinterpret_cast< wxFontDialog 
* >(argp1
); 
19314     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19316       wxFontData 
&_result_ref 
= (arg1
)->GetFontData(); 
19317       result 
= (wxFontData 
*) &_result_ref
; 
19319     wxPyEndAllowThreads(__tstate
); 
19320     if (PyErr_Occurred()) SWIG_fail
; 
19322   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 |  0 ); 
19329 SWIGINTERN PyObject 
*FontDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19331   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19332   SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
)); 
19333   return SWIG_Py_Void(); 
19336 SWIGINTERN PyObject 
*FontDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19337   return SWIG_Python_InitShadowInstance(args
); 
19340 SWIGINTERN PyObject 
*_wrap_GetFontFromUser(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19341   PyObject 
*resultobj 
= 0; 
19342   wxWindow 
*arg1 
= (wxWindow 
*) NULL 
; 
19343   wxFont 
const &arg2_defvalue 
= wxNullFont 
; 
19344   wxFont 
*arg2 
= (wxFont 
*) &arg2_defvalue 
; 
19345   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
19346   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
19352   bool temp3 
= false ; 
19353   PyObject 
* obj0 
= 0 ; 
19354   PyObject 
* obj1 
= 0 ; 
19355   PyObject 
* obj2 
= 0 ; 
19356   char *  kwnames
[] = { 
19357     (char *) "parent",(char *) "fontInit",(char *) "caption", NULL 
 
19360   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19362     res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
19363     if (!SWIG_IsOK(res1
)) { 
19364       SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");  
19366     arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
19369     res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
,  0  | 0); 
19370     if (!SWIG_IsOK(res2
)) { 
19371       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");  
19374       SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");  
19376     arg2 
= reinterpret_cast< wxFont 
* >(argp2
); 
19380       arg3 
= wxString_in_helper(obj2
); 
19381       if (arg3 
== NULL
) SWIG_fail
; 
19386     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19387     result 
= wxGetFontFromUser(arg1
,(wxFont 
const &)*arg2
,(wxString 
const &)*arg3
); 
19388     wxPyEndAllowThreads(__tstate
); 
19389     if (PyErr_Occurred()) SWIG_fail
; 
19391   resultobj 
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN 
|  0 ); 
19406 SWIGINTERN PyObject 
*_wrap_new_MessageDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19407   PyObject 
*resultobj 
= 0; 
19408   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
19409   wxString 
*arg2 
= 0 ; 
19410   wxString 
const &arg3_defvalue 
= wxPyMessageBoxCaptionStr 
; 
19411   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
19412   long arg4 
= (long) wxOK
|wxCANCEL
|wxCENTRE 
; 
19413   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
19414   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
19415   wxMessageDialog 
*result 
= 0 ; 
19418   bool temp2 
= false ; 
19419   bool temp3 
= false ; 
19423   PyObject 
* obj0 
= 0 ; 
19424   PyObject 
* obj1 
= 0 ; 
19425   PyObject 
* obj2 
= 0 ; 
19426   PyObject 
* obj3 
= 0 ; 
19427   PyObject 
* obj4 
= 0 ; 
19428   char *  kwnames
[] = { 
19429     (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL 
 
19432   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
19433   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
19434   if (!SWIG_IsOK(res1
)) { 
19435     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
19437   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
19439     arg2 
= wxString_in_helper(obj1
); 
19440     if (arg2 
== NULL
) SWIG_fail
; 
19445       arg3 
= wxString_in_helper(obj2
); 
19446       if (arg3 
== NULL
) SWIG_fail
; 
19451     ecode4 
= SWIG_AsVal_long(obj3
, &val4
); 
19452     if (!SWIG_IsOK(ecode4
)) { 
19453       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'"); 
19455     arg4 
= static_cast< long >(val4
); 
19460       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
19464     if (!wxPyCheckForApp()) SWIG_fail
; 
19465     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19466     result 
= (wxMessageDialog 
*)new wxMessageDialog(arg1
,(wxString 
const &)*arg2
,(wxString 
const &)*arg3
,arg4
,(wxPoint 
const &)*arg5
); 
19467     wxPyEndAllowThreads(__tstate
); 
19468     if (PyErr_Occurred()) SWIG_fail
; 
19470   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW 
|  0 ); 
19493 SWIGINTERN PyObject 
*MessageDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19495   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19496   SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
)); 
19497   return SWIG_Py_Void(); 
19500 SWIGINTERN PyObject 
*MessageDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19501   return SWIG_Python_InitShadowInstance(args
); 
19504 SWIGINTERN PyObject 
*_wrap_new_ProgressDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19505   PyObject 
*resultobj 
= 0; 
19506   wxString 
*arg1 
= 0 ; 
19507   wxString 
*arg2 
= 0 ; 
19508   int arg3 
= (int) 100 ; 
19509   wxWindow 
*arg4 
= (wxWindow 
*) NULL 
; 
19510   int arg5 
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL 
; 
19511   wxProgressDialog 
*result 
= 0 ; 
19512   bool temp1 
= false ; 
19513   bool temp2 
= false ; 
19520   PyObject 
* obj0 
= 0 ; 
19521   PyObject 
* obj1 
= 0 ; 
19522   PyObject 
* obj2 
= 0 ; 
19523   PyObject 
* obj3 
= 0 ; 
19524   PyObject 
* obj4 
= 0 ; 
19525   char *  kwnames
[] = { 
19526     (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL 
 
19529   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
19531     arg1 
= wxString_in_helper(obj0
); 
19532     if (arg1 
== NULL
) SWIG_fail
; 
19536     arg2 
= wxString_in_helper(obj1
); 
19537     if (arg2 
== NULL
) SWIG_fail
; 
19541     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
19542     if (!SWIG_IsOK(ecode3
)) { 
19543       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'"); 
19545     arg3 
= static_cast< int >(val3
); 
19548     res4 
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
19549     if (!SWIG_IsOK(res4
)) { 
19550       SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");  
19552     arg4 
= reinterpret_cast< wxWindow 
* >(argp4
); 
19555     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
19556     if (!SWIG_IsOK(ecode5
)) { 
19557       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'"); 
19559     arg5 
= static_cast< int >(val5
); 
19562     if (!wxPyCheckForApp()) SWIG_fail
; 
19563     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19564     result 
= (wxProgressDialog 
*)new wxProgressDialog((wxString 
const &)*arg1
,(wxString 
const &)*arg2
,arg3
,arg4
,arg5
); 
19565     wxPyEndAllowThreads(__tstate
); 
19566     if (PyErr_Occurred()) SWIG_fail
; 
19568   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW 
|  0 ); 
19591 SWIGINTERN PyObject 
*_wrap_ProgressDialog_Update(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19592   PyObject 
*resultobj 
= 0; 
19593   wxProgressDialog 
*arg1 
= (wxProgressDialog 
*) 0 ; 
19595   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
19596   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
19597   bool *arg4 
= (bool *) 0 ; 
19603   bool temp3 
= false ; 
19605   int res4 
= SWIG_TMPOBJ 
; 
19606   PyObject 
* obj0 
= 0 ; 
19607   PyObject 
* obj1 
= 0 ; 
19608   PyObject 
* obj2 
= 0 ; 
19609   char *  kwnames
[] = { 
19610     (char *) "self",(char *) "value",(char *) "newmsg", NULL 
 
19614   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
19615   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 |  0 ); 
19616   if (!SWIG_IsOK(res1
)) { 
19617     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");  
19619   arg1 
= reinterpret_cast< wxProgressDialog 
* >(argp1
); 
19620   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19621   if (!SWIG_IsOK(ecode2
)) { 
19622     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'"); 
19624   arg2 
= static_cast< int >(val2
); 
19627       arg3 
= wxString_in_helper(obj2
); 
19628       if (arg3 
== NULL
) SWIG_fail
; 
19633     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19634     result 
= (bool)(arg1
)->Update(arg2
,(wxString 
const &)*arg3
,arg4
); 
19635     wxPyEndAllowThreads(__tstate
); 
19636     if (PyErr_Occurred()) SWIG_fail
; 
19639     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
19641   if (SWIG_IsTmpObj(res4
)) { 
19642     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
))); 
19644     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
19645     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
)); 
19661 SWIGINTERN PyObject 
*_wrap_ProgressDialog_Resume(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19662   PyObject 
*resultobj 
= 0; 
19663   wxProgressDialog 
*arg1 
= (wxProgressDialog 
*) 0 ; 
19666   PyObject 
*swig_obj
[1] ; 
19668   if (!args
) SWIG_fail
; 
19669   swig_obj
[0] = args
; 
19670   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 |  0 ); 
19671   if (!SWIG_IsOK(res1
)) { 
19672     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");  
19674   arg1 
= reinterpret_cast< wxProgressDialog 
* >(argp1
); 
19676     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19678     wxPyEndAllowThreads(__tstate
); 
19679     if (PyErr_Occurred()) SWIG_fail
; 
19681   resultobj 
= SWIG_Py_Void(); 
19688 SWIGINTERN PyObject 
*ProgressDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19690   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
19691   SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
)); 
19692   return SWIG_Py_Void(); 
19695 SWIGINTERN PyObject 
*ProgressDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19696   return SWIG_Python_InitShadowInstance(args
); 
19699 SWIGINTERN PyObject 
*_wrap_new_FindDialogEvent(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19700   PyObject 
*resultobj 
= 0; 
19701   wxEventType arg1 
= (wxEventType
) wxEVT_NULL 
; 
19702   int arg2 
= (int) 0 ; 
19703   wxFindDialogEvent 
*result 
= 0 ; 
19708   PyObject 
* obj0 
= 0 ; 
19709   PyObject 
* obj1 
= 0 ; 
19710   char *  kwnames
[] = { 
19711     (char *) "commandType",(char *) "id", NULL 
 
19714   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19716     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
19717     if (!SWIG_IsOK(ecode1
)) { 
19718       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'"); 
19720     arg1 
= static_cast< wxEventType 
>(val1
); 
19723     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19724     if (!SWIG_IsOK(ecode2
)) { 
19725       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'"); 
19727     arg2 
= static_cast< int >(val2
); 
19730     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19731     result 
= (wxFindDialogEvent 
*)new wxFindDialogEvent(arg1
,arg2
); 
19732     wxPyEndAllowThreads(__tstate
); 
19733     if (PyErr_Occurred()) SWIG_fail
; 
19735   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW 
|  0 ); 
19742 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19743   PyObject 
*resultobj 
= 0; 
19744   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19748   PyObject 
*swig_obj
[1] ; 
19750   if (!args
) SWIG_fail
; 
19751   swig_obj
[0] = args
; 
19752   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19753   if (!SWIG_IsOK(res1
)) { 
19754     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19756   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19758     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19759     result 
= (int)(arg1
)->GetFlags(); 
19760     wxPyEndAllowThreads(__tstate
); 
19761     if (PyErr_Occurred()) SWIG_fail
; 
19763   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
19770 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_GetFindString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19771   PyObject 
*resultobj 
= 0; 
19772   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19773   wxString 
*result 
= 0 ; 
19776   PyObject 
*swig_obj
[1] ; 
19778   if (!args
) SWIG_fail
; 
19779   swig_obj
[0] = args
; 
19780   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19781   if (!SWIG_IsOK(res1
)) { 
19782     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19784   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19786     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19788       wxString 
const &_result_ref 
= (arg1
)->GetFindString(); 
19789       result 
= (wxString 
*) &_result_ref
; 
19791     wxPyEndAllowThreads(__tstate
); 
19792     if (PyErr_Occurred()) SWIG_fail
; 
19796     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
19798     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
19807 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_GetReplaceString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19808   PyObject 
*resultobj 
= 0; 
19809   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19810   wxString 
*result 
= 0 ; 
19813   PyObject 
*swig_obj
[1] ; 
19815   if (!args
) SWIG_fail
; 
19816   swig_obj
[0] = args
; 
19817   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19818   if (!SWIG_IsOK(res1
)) { 
19819     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19821   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19823     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19825       wxString 
const &_result_ref 
= (arg1
)->GetReplaceString(); 
19826       result 
= (wxString 
*) &_result_ref
; 
19828     wxPyEndAllowThreads(__tstate
); 
19829     if (PyErr_Occurred()) SWIG_fail
; 
19833     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
19835     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
19844 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_GetDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
19845   PyObject 
*resultobj 
= 0; 
19846   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19847   wxFindReplaceDialog 
*result 
= 0 ; 
19850   PyObject 
*swig_obj
[1] ; 
19852   if (!args
) SWIG_fail
; 
19853   swig_obj
[0] = args
; 
19854   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19855   if (!SWIG_IsOK(res1
)) { 
19856     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19858   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19860     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19861     result 
= (wxFindReplaceDialog 
*)(arg1
)->GetDialog(); 
19862     wxPyEndAllowThreads(__tstate
); 
19863     if (PyErr_Occurred()) SWIG_fail
; 
19865   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 |  0 ); 
19872 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19873   PyObject 
*resultobj 
= 0; 
19874   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19880   PyObject 
* obj0 
= 0 ; 
19881   PyObject 
* obj1 
= 0 ; 
19882   char *  kwnames
[] = { 
19883     (char *) "self",(char *) "flags", NULL 
 
19886   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19887   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19888   if (!SWIG_IsOK(res1
)) { 
19889     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19891   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19892   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
19893   if (!SWIG_IsOK(ecode2
)) { 
19894     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
19896   arg2 
= static_cast< int >(val2
); 
19898     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19899     (arg1
)->SetFlags(arg2
); 
19900     wxPyEndAllowThreads(__tstate
); 
19901     if (PyErr_Occurred()) SWIG_fail
; 
19903   resultobj 
= SWIG_Py_Void(); 
19910 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_SetFindString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19911   PyObject 
*resultobj 
= 0; 
19912   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19913   wxString 
*arg2 
= 0 ; 
19916   bool temp2 
= false ; 
19917   PyObject 
* obj0 
= 0 ; 
19918   PyObject 
* obj1 
= 0 ; 
19919   char *  kwnames
[] = { 
19920     (char *) "self",(char *) "str", NULL 
 
19923   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19924   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19925   if (!SWIG_IsOK(res1
)) { 
19926     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19928   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19930     arg2 
= wxString_in_helper(obj1
); 
19931     if (arg2 
== NULL
) SWIG_fail
; 
19935     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19936     (arg1
)->SetFindString((wxString 
const &)*arg2
); 
19937     wxPyEndAllowThreads(__tstate
); 
19938     if (PyErr_Occurred()) SWIG_fail
; 
19940   resultobj 
= SWIG_Py_Void(); 
19955 SWIGINTERN PyObject 
*_wrap_FindDialogEvent_SetReplaceString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
19956   PyObject 
*resultobj 
= 0; 
19957   wxFindDialogEvent 
*arg1 
= (wxFindDialogEvent 
*) 0 ; 
19958   wxString 
*arg2 
= 0 ; 
19961   bool temp2 
= false ; 
19962   PyObject 
* obj0 
= 0 ; 
19963   PyObject 
* obj1 
= 0 ; 
19964   char *  kwnames
[] = { 
19965     (char *) "self",(char *) "str", NULL 
 
19968   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
19969   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 |  0 ); 
19970   if (!SWIG_IsOK(res1
)) { 
19971     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");  
19973   arg1 
= reinterpret_cast< wxFindDialogEvent 
* >(argp1
); 
19975     arg2 
= wxString_in_helper(obj1
); 
19976     if (arg2 
== NULL
) SWIG_fail
; 
19980     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
19981     (arg1
)->SetReplaceString((wxString 
const &)*arg2
); 
19982     wxPyEndAllowThreads(__tstate
); 
19983     if (PyErr_Occurred()) SWIG_fail
; 
19985   resultobj 
= SWIG_Py_Void(); 
20000 SWIGINTERN PyObject 
*FindDialogEvent_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20002   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20003   SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
)); 
20004   return SWIG_Py_Void(); 
20007 SWIGINTERN PyObject 
*FindDialogEvent_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20008   return SWIG_Python_InitShadowInstance(args
); 
20011 SWIGINTERN PyObject 
*_wrap_new_FindReplaceData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20012   PyObject 
*resultobj 
= 0; 
20013   int arg1 
= (int) 0 ; 
20014   wxFindReplaceData 
*result 
= 0 ; 
20017   PyObject 
* obj0 
= 0 ; 
20018   char *  kwnames
[] = { 
20019     (char *) "flags", NULL 
 
20022   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
; 
20024     ecode1 
= SWIG_AsVal_int(obj0
, &val1
); 
20025     if (!SWIG_IsOK(ecode1
)) { 
20026       SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'"); 
20028     arg1 
= static_cast< int >(val1
); 
20031     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20032     result 
= (wxFindReplaceData 
*)new wxFindReplaceData(arg1
); 
20033     wxPyEndAllowThreads(__tstate
); 
20034     if (PyErr_Occurred()) SWIG_fail
; 
20036   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW 
|  0 ); 
20043 SWIGINTERN PyObject 
*_wrap_delete_FindReplaceData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20044   PyObject 
*resultobj 
= 0; 
20045   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
20048   PyObject 
*swig_obj
[1] ; 
20050   if (!args
) SWIG_fail
; 
20051   swig_obj
[0] = args
; 
20052   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN 
|  0 ); 
20053   if (!SWIG_IsOK(res1
)) { 
20054     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
20056   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
20058     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20061     wxPyEndAllowThreads(__tstate
); 
20062     if (PyErr_Occurred()) SWIG_fail
; 
20064   resultobj 
= SWIG_Py_Void(); 
20071 SWIGINTERN PyObject 
*_wrap_FindReplaceData_GetFindString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20072   PyObject 
*resultobj 
= 0; 
20073   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
20074   wxString 
*result 
= 0 ; 
20077   PyObject 
*swig_obj
[1] ; 
20079   if (!args
) SWIG_fail
; 
20080   swig_obj
[0] = args
; 
20081   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20082   if (!SWIG_IsOK(res1
)) { 
20083     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
20085   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
20087     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20089       wxString 
const &_result_ref 
= (arg1
)->GetFindString(); 
20090       result 
= (wxString 
*) &_result_ref
; 
20092     wxPyEndAllowThreads(__tstate
); 
20093     if (PyErr_Occurred()) SWIG_fail
; 
20097     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
20099     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
20108 SWIGINTERN PyObject 
*_wrap_FindReplaceData_GetReplaceString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20109   PyObject 
*resultobj 
= 0; 
20110   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
20111   wxString 
*result 
= 0 ; 
20114   PyObject 
*swig_obj
[1] ; 
20116   if (!args
) SWIG_fail
; 
20117   swig_obj
[0] = args
; 
20118   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20119   if (!SWIG_IsOK(res1
)) { 
20120     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
20122   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
20124     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20126       wxString 
const &_result_ref 
= (arg1
)->GetReplaceString(); 
20127       result 
= (wxString 
*) &_result_ref
; 
20129     wxPyEndAllowThreads(__tstate
); 
20130     if (PyErr_Occurred()) SWIG_fail
; 
20134     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
20136     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
20145 SWIGINTERN PyObject 
*_wrap_FindReplaceData_GetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20146   PyObject 
*resultobj 
= 0; 
20147   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
20151   PyObject 
*swig_obj
[1] ; 
20153   if (!args
) SWIG_fail
; 
20154   swig_obj
[0] = args
; 
20155   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20156   if (!SWIG_IsOK(res1
)) { 
20157     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
20159   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
20161     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20162     result 
= (int)(arg1
)->GetFlags(); 
20163     wxPyEndAllowThreads(__tstate
); 
20164     if (PyErr_Occurred()) SWIG_fail
; 
20166   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
20173 SWIGINTERN PyObject 
*_wrap_FindReplaceData_SetFlags(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20174   PyObject 
*resultobj 
= 0; 
20175   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
20181   PyObject 
* obj0 
= 0 ; 
20182   PyObject 
* obj1 
= 0 ; 
20183   char *  kwnames
[] = { 
20184     (char *) "self",(char *) "flags", NULL 
 
20187   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20188   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20189   if (!SWIG_IsOK(res1
)) { 
20190     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
20192   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
20193   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
20194   if (!SWIG_IsOK(ecode2
)) { 
20195     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'"); 
20197   arg2 
= static_cast< int >(val2
); 
20199     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20200     (arg1
)->SetFlags(arg2
); 
20201     wxPyEndAllowThreads(__tstate
); 
20202     if (PyErr_Occurred()) SWIG_fail
; 
20204   resultobj 
= SWIG_Py_Void(); 
20211 SWIGINTERN PyObject 
*_wrap_FindReplaceData_SetFindString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20212   PyObject 
*resultobj 
= 0; 
20213   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
20214   wxString 
*arg2 
= 0 ; 
20217   bool temp2 
= false ; 
20218   PyObject 
* obj0 
= 0 ; 
20219   PyObject 
* obj1 
= 0 ; 
20220   char *  kwnames
[] = { 
20221     (char *) "self",(char *) "str", NULL 
 
20224   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20225   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20226   if (!SWIG_IsOK(res1
)) { 
20227     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
20229   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
20231     arg2 
= wxString_in_helper(obj1
); 
20232     if (arg2 
== NULL
) SWIG_fail
; 
20236     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20237     (arg1
)->SetFindString((wxString 
const &)*arg2
); 
20238     wxPyEndAllowThreads(__tstate
); 
20239     if (PyErr_Occurred()) SWIG_fail
; 
20241   resultobj 
= SWIG_Py_Void(); 
20256 SWIGINTERN PyObject 
*_wrap_FindReplaceData_SetReplaceString(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20257   PyObject 
*resultobj 
= 0; 
20258   wxFindReplaceData 
*arg1 
= (wxFindReplaceData 
*) 0 ; 
20259   wxString 
*arg2 
= 0 ; 
20262   bool temp2 
= false ; 
20263   PyObject 
* obj0 
= 0 ; 
20264   PyObject 
* obj1 
= 0 ; 
20265   char *  kwnames
[] = { 
20266     (char *) "self",(char *) "str", NULL 
 
20269   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20270   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20271   if (!SWIG_IsOK(res1
)) { 
20272     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");  
20274   arg1 
= reinterpret_cast< wxFindReplaceData 
* >(argp1
); 
20276     arg2 
= wxString_in_helper(obj1
); 
20277     if (arg2 
== NULL
) SWIG_fail
; 
20281     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20282     (arg1
)->SetReplaceString((wxString 
const &)*arg2
); 
20283     wxPyEndAllowThreads(__tstate
); 
20284     if (PyErr_Occurred()) SWIG_fail
; 
20286   resultobj 
= SWIG_Py_Void(); 
20301 SWIGINTERN PyObject 
*FindReplaceData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20303   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20304   SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
)); 
20305   return SWIG_Py_Void(); 
20308 SWIGINTERN PyObject 
*FindReplaceData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20309   return SWIG_Python_InitShadowInstance(args
); 
20312 SWIGINTERN PyObject 
*_wrap_new_FindReplaceDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20313   PyObject 
*resultobj 
= 0; 
20314   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
20315   wxFindReplaceData 
*arg2 
= (wxFindReplaceData 
*) 0 ; 
20316   wxString 
*arg3 
= 0 ; 
20317   int arg4 
= (int) 0 ; 
20318   wxFindReplaceDialog 
*result 
= 0 ; 
20323   bool temp3 
= false ; 
20326   PyObject 
* obj0 
= 0 ; 
20327   PyObject 
* obj1 
= 0 ; 
20328   PyObject 
* obj2 
= 0 ; 
20329   PyObject 
* obj3 
= 0 ; 
20330   char *  kwnames
[] = { 
20331     (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL 
 
20334   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
20335   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20336   if (!SWIG_IsOK(res1
)) { 
20337     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
20339   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
20340   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20341   if (!SWIG_IsOK(res2
)) { 
20342     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");  
20344   arg2 
= reinterpret_cast< wxFindReplaceData 
* >(argp2
); 
20346     arg3 
= wxString_in_helper(obj2
); 
20347     if (arg3 
== NULL
) SWIG_fail
; 
20351     ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
20352     if (!SWIG_IsOK(ecode4
)) { 
20353       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'"); 
20355     arg4 
= static_cast< int >(val4
); 
20358     if (!wxPyCheckForApp()) SWIG_fail
; 
20359     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20360     result 
= (wxFindReplaceDialog 
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString 
const &)*arg3
,arg4
); 
20361     wxPyEndAllowThreads(__tstate
); 
20362     if (PyErr_Occurred()) SWIG_fail
; 
20364   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW 
|  0 ); 
20379 SWIGINTERN PyObject 
*_wrap_new_PreFindReplaceDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20380   PyObject 
*resultobj 
= 0; 
20381   wxFindReplaceDialog 
*result 
= 0 ; 
20383   if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
; 
20385     if (!wxPyCheckForApp()) SWIG_fail
; 
20386     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20387     result 
= (wxFindReplaceDialog 
*)new wxFindReplaceDialog(); 
20388     wxPyEndAllowThreads(__tstate
); 
20389     if (PyErr_Occurred()) SWIG_fail
; 
20391   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN 
|  0 ); 
20398 SWIGINTERN PyObject 
*_wrap_FindReplaceDialog_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20399   PyObject 
*resultobj 
= 0; 
20400   wxFindReplaceDialog 
*arg1 
= (wxFindReplaceDialog 
*) 0 ; 
20401   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
20402   wxFindReplaceData 
*arg3 
= (wxFindReplaceData 
*) 0 ; 
20403   wxString 
*arg4 
= 0 ; 
20404   int arg5 
= (int) 0 ; 
20412   bool temp4 
= false ; 
20415   PyObject 
* obj0 
= 0 ; 
20416   PyObject 
* obj1 
= 0 ; 
20417   PyObject 
* obj2 
= 0 ; 
20418   PyObject 
* obj3 
= 0 ; 
20419   PyObject 
* obj4 
= 0 ; 
20420   char *  kwnames
[] = { 
20421     (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL 
 
20424   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
20425   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 |  0 ); 
20426   if (!SWIG_IsOK(res1
)) { 
20427     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");  
20429   arg1 
= reinterpret_cast< wxFindReplaceDialog 
* >(argp1
); 
20430   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20431   if (!SWIG_IsOK(res2
)) { 
20432     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
20434   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
20435   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20436   if (!SWIG_IsOK(res3
)) { 
20437     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");  
20439   arg3 
= reinterpret_cast< wxFindReplaceData 
* >(argp3
); 
20441     arg4 
= wxString_in_helper(obj3
); 
20442     if (arg4 
== NULL
) SWIG_fail
; 
20446     ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
20447     if (!SWIG_IsOK(ecode5
)) { 
20448       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'"); 
20450     arg5 
= static_cast< int >(val5
); 
20453     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20454     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,arg5
); 
20455     wxPyEndAllowThreads(__tstate
); 
20456     if (PyErr_Occurred()) SWIG_fail
; 
20459     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20475 SWIGINTERN PyObject 
*_wrap_FindReplaceDialog_GetData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20476   PyObject 
*resultobj 
= 0; 
20477   wxFindReplaceDialog 
*arg1 
= (wxFindReplaceDialog 
*) 0 ; 
20478   wxFindReplaceData 
*result 
= 0 ; 
20481   PyObject 
*swig_obj
[1] ; 
20483   if (!args
) SWIG_fail
; 
20484   swig_obj
[0] = args
; 
20485   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 |  0 ); 
20486   if (!SWIG_IsOK(res1
)) { 
20487     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");  
20489   arg1 
= reinterpret_cast< wxFindReplaceDialog 
* >(argp1
); 
20491     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20492     result 
= (wxFindReplaceData 
*)(arg1
)->GetData(); 
20493     wxPyEndAllowThreads(__tstate
); 
20494     if (PyErr_Occurred()) SWIG_fail
; 
20496   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20503 SWIGINTERN PyObject 
*_wrap_FindReplaceDialog_SetData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20504   PyObject 
*resultobj 
= 0; 
20505   wxFindReplaceDialog 
*arg1 
= (wxFindReplaceDialog 
*) 0 ; 
20506   wxFindReplaceData 
*arg2 
= (wxFindReplaceData 
*) 0 ; 
20511   PyObject 
* obj0 
= 0 ; 
20512   PyObject 
* obj1 
= 0 ; 
20513   char *  kwnames
[] = { 
20514     (char *) "self",(char *) "data", NULL 
 
20517   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
20518   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 |  0 ); 
20519   if (!SWIG_IsOK(res1
)) { 
20520     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");  
20522   arg1 
= reinterpret_cast< wxFindReplaceDialog 
* >(argp1
); 
20523   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 |  0 ); 
20524   if (!SWIG_IsOK(res2
)) { 
20525     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");  
20527   arg2 
= reinterpret_cast< wxFindReplaceData 
* >(argp2
); 
20529     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20530     (arg1
)->SetData(arg2
); 
20531     wxPyEndAllowThreads(__tstate
); 
20532     if (PyErr_Occurred()) SWIG_fail
; 
20534   resultobj 
= SWIG_Py_Void(); 
20541 SWIGINTERN PyObject 
*FindReplaceDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20543   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
20544   SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
)); 
20545   return SWIG_Py_Void(); 
20548 SWIGINTERN PyObject 
*FindReplaceDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20549   return SWIG_Python_InitShadowInstance(args
); 
20552 SWIGINTERN PyObject 
*_wrap_new_MDIParentFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20553   PyObject 
*resultobj 
= 0; 
20554   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
20555   int arg2 
= (int) (int)-1 ; 
20556   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
20557   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
20558   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
20559   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
20560   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
20561   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
20562   long arg6 
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL 
; 
20563   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
20564   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
20565   wxMDIParentFrame 
*result 
= 0 ; 
20570   bool temp3 
= false ; 
20575   bool temp7 
= false ; 
20576   PyObject 
* obj0 
= 0 ; 
20577   PyObject 
* obj1 
= 0 ; 
20578   PyObject 
* obj2 
= 0 ; 
20579   PyObject 
* obj3 
= 0 ; 
20580   PyObject 
* obj4 
= 0 ; 
20581   PyObject 
* obj5 
= 0 ; 
20582   PyObject 
* obj6 
= 0 ; 
20583   char *  kwnames
[] = { 
20584     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
20587   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
20588   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20589   if (!SWIG_IsOK(res1
)) { 
20590     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");  
20592   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
20594     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
20595     if (!SWIG_IsOK(ecode2
)) { 
20596       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'"); 
20598     arg2 
= static_cast< int >(val2
); 
20602       arg3 
= wxString_in_helper(obj2
); 
20603       if (arg3 
== NULL
) SWIG_fail
; 
20610       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
20616       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
20620     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
20621     if (!SWIG_IsOK(ecode6
)) { 
20622       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'"); 
20624     arg6 
= static_cast< long >(val6
); 
20628       arg7 
= wxString_in_helper(obj6
); 
20629       if (arg7 
== NULL
) SWIG_fail
; 
20634     if (!wxPyCheckForApp()) SWIG_fail
; 
20635     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20636     result 
= (wxMDIParentFrame 
*)new wxMDIParentFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
20637     wxPyEndAllowThreads(__tstate
); 
20638     if (PyErr_Occurred()) SWIG_fail
; 
20640   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW 
|  0 ); 
20663 SWIGINTERN PyObject 
*_wrap_new_PreMDIParentFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20664   PyObject 
*resultobj 
= 0; 
20665   wxMDIParentFrame 
*result 
= 0 ; 
20667   if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
; 
20669     if (!wxPyCheckForApp()) SWIG_fail
; 
20670     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20671     result 
= (wxMDIParentFrame 
*)new wxMDIParentFrame(); 
20672     wxPyEndAllowThreads(__tstate
); 
20673     if (PyErr_Occurred()) SWIG_fail
; 
20675   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN 
|  0 ); 
20682 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
20683   PyObject 
*resultobj 
= 0; 
20684   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20685   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
20686   int arg3 
= (int) (int)-1 ; 
20687   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
20688   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
20689   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
20690   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
20691   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
20692   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
20693   long arg7 
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL 
; 
20694   wxString 
const &arg8_defvalue 
= wxPyFrameNameStr 
; 
20695   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
20703   bool temp4 
= false ; 
20708   bool temp8 
= false ; 
20709   PyObject 
* obj0 
= 0 ; 
20710   PyObject 
* obj1 
= 0 ; 
20711   PyObject 
* obj2 
= 0 ; 
20712   PyObject 
* obj3 
= 0 ; 
20713   PyObject 
* obj4 
= 0 ; 
20714   PyObject 
* obj5 
= 0 ; 
20715   PyObject 
* obj6 
= 0 ; 
20716   PyObject 
* obj7 
= 0 ; 
20717   char *  kwnames
[] = { 
20718     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
20721   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
20722   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20723   if (!SWIG_IsOK(res1
)) { 
20724     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20726   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20727   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
20728   if (!SWIG_IsOK(res2
)) { 
20729     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");  
20731   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
20733     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
20734     if (!SWIG_IsOK(ecode3
)) { 
20735       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'"); 
20737     arg3 
= static_cast< int >(val3
); 
20741       arg4 
= wxString_in_helper(obj3
); 
20742       if (arg4 
== NULL
) SWIG_fail
; 
20749       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
20755       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
20759     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
20760     if (!SWIG_IsOK(ecode7
)) { 
20761       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'"); 
20763     arg7 
= static_cast< long >(val7
); 
20767       arg8 
= wxString_in_helper(obj7
); 
20768       if (arg8 
== NULL
) SWIG_fail
; 
20773     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20774     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
20775     wxPyEndAllowThreads(__tstate
); 
20776     if (PyErr_Occurred()) SWIG_fail
; 
20779     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
20803 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_ActivateNext(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20804   PyObject 
*resultobj 
= 0; 
20805   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20808   PyObject 
*swig_obj
[1] ; 
20810   if (!args
) SWIG_fail
; 
20811   swig_obj
[0] = args
; 
20812   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20813   if (!SWIG_IsOK(res1
)) { 
20814     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20816   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20818     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20819     (arg1
)->ActivateNext(); 
20820     wxPyEndAllowThreads(__tstate
); 
20821     if (PyErr_Occurred()) SWIG_fail
; 
20823   resultobj 
= SWIG_Py_Void(); 
20830 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_ActivatePrevious(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20831   PyObject 
*resultobj 
= 0; 
20832   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20835   PyObject 
*swig_obj
[1] ; 
20837   if (!args
) SWIG_fail
; 
20838   swig_obj
[0] = args
; 
20839   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20840   if (!SWIG_IsOK(res1
)) { 
20841     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20843   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20845     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20846     (arg1
)->ActivatePrevious(); 
20847     wxPyEndAllowThreads(__tstate
); 
20848     if (PyErr_Occurred()) SWIG_fail
; 
20850   resultobj 
= SWIG_Py_Void(); 
20857 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_ArrangeIcons(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20858   PyObject 
*resultobj 
= 0; 
20859   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20862   PyObject 
*swig_obj
[1] ; 
20864   if (!args
) SWIG_fail
; 
20865   swig_obj
[0] = args
; 
20866   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20867   if (!SWIG_IsOK(res1
)) { 
20868     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20870   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20872     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20873     (arg1
)->ArrangeIcons(); 
20874     wxPyEndAllowThreads(__tstate
); 
20875     if (PyErr_Occurred()) SWIG_fail
; 
20877   resultobj 
= SWIG_Py_Void(); 
20884 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_Cascade(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20885   PyObject 
*resultobj 
= 0; 
20886   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20889   PyObject 
*swig_obj
[1] ; 
20891   if (!args
) SWIG_fail
; 
20892   swig_obj
[0] = args
; 
20893   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20894   if (!SWIG_IsOK(res1
)) { 
20895     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20897   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20899     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20901     wxPyEndAllowThreads(__tstate
); 
20902     if (PyErr_Occurred()) SWIG_fail
; 
20904   resultobj 
= SWIG_Py_Void(); 
20911 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_GetActiveChild(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20912   PyObject 
*resultobj 
= 0; 
20913   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20914   wxMDIChildFrame 
*result 
= 0 ; 
20917   PyObject 
*swig_obj
[1] ; 
20919   if (!args
) SWIG_fail
; 
20920   swig_obj
[0] = args
; 
20921   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20922   if (!SWIG_IsOK(res1
)) { 
20923     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20925   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20927     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20928     result 
= (wxMDIChildFrame 
*)(arg1
)->GetActiveChild(); 
20929     wxPyEndAllowThreads(__tstate
); 
20930     if (PyErr_Occurred()) SWIG_fail
; 
20933     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
20941 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_GetClientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20942   PyObject 
*resultobj 
= 0; 
20943   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20944   wxMDIClientWindow 
*result 
= 0 ; 
20947   PyObject 
*swig_obj
[1] ; 
20949   if (!args
) SWIG_fail
; 
20950   swig_obj
[0] = args
; 
20951   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20952   if (!SWIG_IsOK(res1
)) { 
20953     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20955   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20957     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20958     result 
= (wxMDIClientWindow 
*)(arg1
)->GetClientWindow(); 
20959     wxPyEndAllowThreads(__tstate
); 
20960     if (PyErr_Occurred()) SWIG_fail
; 
20963     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
20971 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_GetToolBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
20972   PyObject 
*resultobj 
= 0; 
20973   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
20974   wxWindow 
*result 
= 0 ; 
20977   PyObject 
*swig_obj
[1] ; 
20979   if (!args
) SWIG_fail
; 
20980   swig_obj
[0] = args
; 
20981   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
20982   if (!SWIG_IsOK(res1
)) { 
20983     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
20985   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
20987     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
20988     result 
= (wxWindow 
*)(arg1
)->GetToolBar(); 
20989     wxPyEndAllowThreads(__tstate
); 
20990     if (PyErr_Occurred()) SWIG_fail
; 
20993     resultobj 
= wxPyMake_wxObject(result
, 0);  
21001 SWIGINTERN PyObject 
*_wrap_MDIParentFrame_Tile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21002   PyObject 
*resultobj 
= 0; 
21003   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
21004   wxOrientation arg2 
= (wxOrientation
) wxHORIZONTAL 
; 
21009   PyObject 
* obj0 
= 0 ; 
21010   PyObject 
* obj1 
= 0 ; 
21011   char *  kwnames
[] = { 
21012     (char *) "self",(char *) "orient", NULL 
 
21015   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21016   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
21017   if (!SWIG_IsOK(res1
)) { 
21018     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
21020   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
21022     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21023     if (!SWIG_IsOK(ecode2
)) { 
21024       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'"); 
21026     arg2 
= static_cast< wxOrientation 
>(val2
); 
21029     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21030     (arg1
)->Tile(arg2
); 
21031     wxPyEndAllowThreads(__tstate
); 
21032     if (PyErr_Occurred()) SWIG_fail
; 
21034   resultobj 
= SWIG_Py_Void(); 
21041 SWIGINTERN PyObject 
*MDIParentFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21043   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
21044   SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
)); 
21045   return SWIG_Py_Void(); 
21048 SWIGINTERN PyObject 
*MDIParentFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21049   return SWIG_Python_InitShadowInstance(args
); 
21052 SWIGINTERN PyObject 
*_wrap_new_MDIChildFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21053   PyObject 
*resultobj 
= 0; 
21054   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
21055   int arg2 
= (int) (int)-1 ; 
21056   wxString 
const &arg3_defvalue 
= wxPyEmptyString 
; 
21057   wxString 
*arg3 
= (wxString 
*) &arg3_defvalue 
; 
21058   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
21059   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
21060   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
21061   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
21062   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
21063   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
21064   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
21065   wxMDIChildFrame 
*result 
= 0 ; 
21070   bool temp3 
= false ; 
21075   bool temp7 
= false ; 
21076   PyObject 
* obj0 
= 0 ; 
21077   PyObject 
* obj1 
= 0 ; 
21078   PyObject 
* obj2 
= 0 ; 
21079   PyObject 
* obj3 
= 0 ; 
21080   PyObject 
* obj4 
= 0 ; 
21081   PyObject 
* obj5 
= 0 ; 
21082   PyObject 
* obj6 
= 0 ; 
21083   char *  kwnames
[] = { 
21084     (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
21087   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
21088   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
21089   if (!SWIG_IsOK(res1
)) { 
21090     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
21092   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
21094     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21095     if (!SWIG_IsOK(ecode2
)) { 
21096       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'"); 
21098     arg2 
= static_cast< int >(val2
); 
21102       arg3 
= wxString_in_helper(obj2
); 
21103       if (arg3 
== NULL
) SWIG_fail
; 
21110       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
21116       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
21120     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
21121     if (!SWIG_IsOK(ecode6
)) { 
21122       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'"); 
21124     arg6 
= static_cast< long >(val6
); 
21128       arg7 
= wxString_in_helper(obj6
); 
21129       if (arg7 
== NULL
) SWIG_fail
; 
21134     if (!wxPyCheckForApp()) SWIG_fail
; 
21135     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21136     result 
= (wxMDIChildFrame 
*)new wxMDIChildFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
21137     wxPyEndAllowThreads(__tstate
); 
21138     if (PyErr_Occurred()) SWIG_fail
; 
21140   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW 
|  0 ); 
21163 SWIGINTERN PyObject 
*_wrap_new_PreMDIChildFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21164   PyObject 
*resultobj 
= 0; 
21165   wxMDIChildFrame 
*result 
= 0 ; 
21167   if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
; 
21169     if (!wxPyCheckForApp()) SWIG_fail
; 
21170     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21171     result 
= (wxMDIChildFrame 
*)new wxMDIChildFrame(); 
21172     wxPyEndAllowThreads(__tstate
); 
21173     if (PyErr_Occurred()) SWIG_fail
; 
21175   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN 
|  0 ); 
21182 SWIGINTERN PyObject 
*_wrap_MDIChildFrame_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21183   PyObject 
*resultobj 
= 0; 
21184   wxMDIChildFrame 
*arg1 
= (wxMDIChildFrame 
*) 0 ; 
21185   wxMDIParentFrame 
*arg2 
= (wxMDIParentFrame 
*) 0 ; 
21186   int arg3 
= (int) (int)-1 ; 
21187   wxString 
const &arg4_defvalue 
= wxPyEmptyString 
; 
21188   wxString 
*arg4 
= (wxString 
*) &arg4_defvalue 
; 
21189   wxPoint 
const &arg5_defvalue 
= wxDefaultPosition 
; 
21190   wxPoint 
*arg5 
= (wxPoint 
*) &arg5_defvalue 
; 
21191   wxSize 
const &arg6_defvalue 
= wxDefaultSize 
; 
21192   wxSize 
*arg6 
= (wxSize 
*) &arg6_defvalue 
; 
21193   long arg7 
= (long) wxDEFAULT_FRAME_STYLE 
; 
21194   wxString 
const &arg8_defvalue 
= wxPyFrameNameStr 
; 
21195   wxString 
*arg8 
= (wxString 
*) &arg8_defvalue 
; 
21203   bool temp4 
= false ; 
21208   bool temp8 
= false ; 
21209   PyObject 
* obj0 
= 0 ; 
21210   PyObject 
* obj1 
= 0 ; 
21211   PyObject 
* obj2 
= 0 ; 
21212   PyObject 
* obj3 
= 0 ; 
21213   PyObject 
* obj4 
= 0 ; 
21214   PyObject 
* obj5 
= 0 ; 
21215   PyObject 
* obj6 
= 0 ; 
21216   PyObject 
* obj7 
= 0 ; 
21217   char *  kwnames
[] = { 
21218     (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
21221   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
; 
21222   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 |  0 ); 
21223   if (!SWIG_IsOK(res1
)) { 
21224     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");  
21226   arg1 
= reinterpret_cast< wxMDIChildFrame 
* >(argp1
); 
21227   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
21228   if (!SWIG_IsOK(res2
)) { 
21229     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");  
21231   arg2 
= reinterpret_cast< wxMDIParentFrame 
* >(argp2
); 
21233     ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21234     if (!SWIG_IsOK(ecode3
)) { 
21235       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'"); 
21237     arg3 
= static_cast< int >(val3
); 
21241       arg4 
= wxString_in_helper(obj3
); 
21242       if (arg4 
== NULL
) SWIG_fail
; 
21249       if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
; 
21255       if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
; 
21259     ecode7 
= SWIG_AsVal_long(obj6
, &val7
); 
21260     if (!SWIG_IsOK(ecode7
)) { 
21261       SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'"); 
21263     arg7 
= static_cast< long >(val7
); 
21267       arg8 
= wxString_in_helper(obj7
); 
21268       if (arg8 
== NULL
) SWIG_fail
; 
21273     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21274     result 
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString 
const &)*arg4
,(wxPoint 
const &)*arg5
,(wxSize 
const &)*arg6
,arg7
,(wxString 
const &)*arg8
); 
21275     wxPyEndAllowThreads(__tstate
); 
21276     if (PyErr_Occurred()) SWIG_fail
; 
21279     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21303 SWIGINTERN PyObject 
*_wrap_MDIChildFrame_Activate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21304   PyObject 
*resultobj 
= 0; 
21305   wxMDIChildFrame 
*arg1 
= (wxMDIChildFrame 
*) 0 ; 
21308   PyObject 
*swig_obj
[1] ; 
21310   if (!args
) SWIG_fail
; 
21311   swig_obj
[0] = args
; 
21312   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 |  0 ); 
21313   if (!SWIG_IsOK(res1
)) { 
21314     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");  
21316   arg1 
= reinterpret_cast< wxMDIChildFrame 
* >(argp1
); 
21318     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21319     (arg1
)->Activate(); 
21320     wxPyEndAllowThreads(__tstate
); 
21321     if (PyErr_Occurred()) SWIG_fail
; 
21323   resultobj 
= SWIG_Py_Void(); 
21330 SWIGINTERN PyObject 
*MDIChildFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21332   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
21333   SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
)); 
21334   return SWIG_Py_Void(); 
21337 SWIGINTERN PyObject 
*MDIChildFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21338   return SWIG_Python_InitShadowInstance(args
); 
21341 SWIGINTERN PyObject 
*_wrap_new_MDIClientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21342   PyObject 
*resultobj 
= 0; 
21343   wxMDIParentFrame 
*arg1 
= (wxMDIParentFrame 
*) 0 ; 
21344   long arg2 
= (long) 0 ; 
21345   wxMDIClientWindow 
*result 
= 0 ; 
21350   PyObject 
* obj0 
= 0 ; 
21351   PyObject 
* obj1 
= 0 ; 
21352   char *  kwnames
[] = { 
21353     (char *) "parent",(char *) "style", NULL 
 
21356   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21357   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
21358   if (!SWIG_IsOK(res1
)) { 
21359     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");  
21361   arg1 
= reinterpret_cast< wxMDIParentFrame 
* >(argp1
); 
21363     ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
21364     if (!SWIG_IsOK(ecode2
)) { 
21365       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'"); 
21367     arg2 
= static_cast< long >(val2
); 
21370     if (!wxPyCheckForApp()) SWIG_fail
; 
21371     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21372     result 
= (wxMDIClientWindow 
*)new wxMDIClientWindow(arg1
,arg2
); 
21373     wxPyEndAllowThreads(__tstate
); 
21374     if (PyErr_Occurred()) SWIG_fail
; 
21376   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW 
|  0 ); 
21383 SWIGINTERN PyObject 
*_wrap_new_PreMDIClientWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21384   PyObject 
*resultobj 
= 0; 
21385   wxMDIClientWindow 
*result 
= 0 ; 
21387   if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
; 
21389     if (!wxPyCheckForApp()) SWIG_fail
; 
21390     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21391     result 
= (wxMDIClientWindow 
*)new wxMDIClientWindow(); 
21392     wxPyEndAllowThreads(__tstate
); 
21393     if (PyErr_Occurred()) SWIG_fail
; 
21395   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN 
|  0 ); 
21402 SWIGINTERN PyObject 
*_wrap_MDIClientWindow_Create(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21403   PyObject 
*resultobj 
= 0; 
21404   wxMDIClientWindow 
*arg1 
= (wxMDIClientWindow 
*) 0 ; 
21405   wxMDIParentFrame 
*arg2 
= (wxMDIParentFrame 
*) 0 ; 
21406   long arg3 
= (long) 0 ; 
21414   PyObject 
* obj0 
= 0 ; 
21415   PyObject 
* obj1 
= 0 ; 
21416   PyObject 
* obj2 
= 0 ; 
21417   char *  kwnames
[] = { 
21418     (char *) "self",(char *) "parent",(char *) "style", NULL 
 
21421   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21422   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 |  0 ); 
21423   if (!SWIG_IsOK(res1
)) { 
21424     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");  
21426   arg1 
= reinterpret_cast< wxMDIClientWindow 
* >(argp1
); 
21427   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 |  0 ); 
21428   if (!SWIG_IsOK(res2
)) { 
21429     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");  
21431   arg2 
= reinterpret_cast< wxMDIParentFrame 
* >(argp2
); 
21433     ecode3 
= SWIG_AsVal_long(obj2
, &val3
); 
21434     if (!SWIG_IsOK(ecode3
)) { 
21435       SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'"); 
21437     arg3 
= static_cast< long >(val3
); 
21440     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21441     result 
= (bool)(arg1
)->Create(arg2
,arg3
); 
21442     wxPyEndAllowThreads(__tstate
); 
21443     if (PyErr_Occurred()) SWIG_fail
; 
21446     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21454 SWIGINTERN PyObject 
*MDIClientWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21456   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
21457   SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
)); 
21458   return SWIG_Py_Void(); 
21461 SWIGINTERN PyObject 
*MDIClientWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21462   return SWIG_Python_InitShadowInstance(args
); 
21465 SWIGINTERN PyObject 
*_wrap_new_PyWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21466   PyObject 
*resultobj 
= 0; 
21467   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
21468   int arg2 
= (int) (int)-1 ; 
21469   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
21470   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
21471   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
21472   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
21473   long arg5 
= (long) 0 ; 
21474   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
21475   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
21476   wxPyWindow 
*result 
= 0 ; 
21485   bool temp6 
= false ; 
21486   PyObject 
* obj0 
= 0 ; 
21487   PyObject 
* obj1 
= 0 ; 
21488   PyObject 
* obj2 
= 0 ; 
21489   PyObject 
* obj3 
= 0 ; 
21490   PyObject 
* obj4 
= 0 ; 
21491   PyObject 
* obj5 
= 0 ; 
21492   char *  kwnames
[] = { 
21493     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
21496   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
21497   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
21498   if (!SWIG_IsOK(res1
)) { 
21499     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
21501   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
21503     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21504     if (!SWIG_IsOK(ecode2
)) { 
21505       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'"); 
21507     arg2 
= static_cast< int >(val2
); 
21512       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
21518       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
21522     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
21523     if (!SWIG_IsOK(ecode5
)) { 
21524       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'"); 
21526     arg5 
= static_cast< long >(val5
); 
21530       arg6 
= wxString_in_helper(obj5
); 
21531       if (arg6 
== NULL
) SWIG_fail
; 
21536     if (!wxPyCheckForApp()) SWIG_fail
; 
21537     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21538     result 
= (wxPyWindow 
*)new wxPyWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
21539     wxPyEndAllowThreads(__tstate
); 
21540     if (PyErr_Occurred()) SWIG_fail
; 
21542   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW 
|  0 ); 
21557 SWIGINTERN PyObject 
*_wrap_new_PrePyWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21558   PyObject 
*resultobj 
= 0; 
21559   wxPyWindow 
*result 
= 0 ; 
21561   if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
; 
21563     if (!wxPyCheckForApp()) SWIG_fail
; 
21564     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21565     result 
= (wxPyWindow 
*)new wxPyWindow(); 
21566     wxPyEndAllowThreads(__tstate
); 
21567     if (PyErr_Occurred()) SWIG_fail
; 
21569   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN 
|  0 ); 
21576 SWIGINTERN PyObject 
*_wrap_PyWindow__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21577   PyObject 
*resultobj 
= 0; 
21578   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21579   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
21580   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
21583   PyObject 
* obj0 
= 0 ; 
21584   PyObject 
* obj1 
= 0 ; 
21585   PyObject 
* obj2 
= 0 ; 
21586   char *  kwnames
[] = { 
21587     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
21590   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21591   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21592   if (!SWIG_IsOK(res1
)) { 
21593     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21595   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21599     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21600     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
21601     wxPyEndAllowThreads(__tstate
); 
21602     if (PyErr_Occurred()) SWIG_fail
; 
21604   resultobj 
= SWIG_Py_Void(); 
21611 SWIGINTERN PyObject 
*_wrap_PyWindow_SetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21612   PyObject 
*resultobj 
= 0; 
21613   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21618   PyObject 
* obj0 
= 0 ; 
21619   PyObject 
* obj1 
= 0 ; 
21620   char *  kwnames
[] = { 
21621     (char *) "self",(char *) "size", NULL 
 
21624   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21625   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21626   if (!SWIG_IsOK(res1
)) { 
21627     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21629   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21632     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
21635     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21636     (arg1
)->SetBestSize((wxSize 
const &)*arg2
); 
21637     wxPyEndAllowThreads(__tstate
); 
21638     if (PyErr_Occurred()) SWIG_fail
; 
21640   resultobj 
= SWIG_Py_Void(); 
21647 SWIGINTERN PyObject 
*_wrap_PyWindow_DoEraseBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21648   PyObject 
*resultobj 
= 0; 
21649   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21650   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
21656   PyObject 
* obj0 
= 0 ; 
21657   PyObject 
* obj1 
= 0 ; 
21658   char *  kwnames
[] = { 
21659     (char *) "self",(char *) "dc", NULL 
 
21662   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
21663   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21664   if (!SWIG_IsOK(res1
)) { 
21665     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21667   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21668   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
21669   if (!SWIG_IsOK(res2
)) { 
21670     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");  
21672   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
21674     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21675     result 
= (bool)(arg1
)->DoEraseBackground(arg2
); 
21676     wxPyEndAllowThreads(__tstate
); 
21677     if (PyErr_Occurred()) SWIG_fail
; 
21680     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
21688 SWIGINTERN PyObject 
*_wrap_PyWindow_DoMoveWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21689   PyObject 
*resultobj 
= 0; 
21690   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21705   PyObject 
* obj0 
= 0 ; 
21706   PyObject 
* obj1 
= 0 ; 
21707   PyObject 
* obj2 
= 0 ; 
21708   PyObject 
* obj3 
= 0 ; 
21709   PyObject 
* obj4 
= 0 ; 
21710   char *  kwnames
[] = { 
21711     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
21714   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
21715   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21716   if (!SWIG_IsOK(res1
)) { 
21717     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21719   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21720   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21721   if (!SWIG_IsOK(ecode2
)) { 
21722     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'"); 
21724   arg2 
= static_cast< int >(val2
); 
21725   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21726   if (!SWIG_IsOK(ecode3
)) { 
21727     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'"); 
21729   arg3 
= static_cast< int >(val3
); 
21730   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
21731   if (!SWIG_IsOK(ecode4
)) { 
21732     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'"); 
21734   arg4 
= static_cast< int >(val4
); 
21735   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
21736   if (!SWIG_IsOK(ecode5
)) { 
21737     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'"); 
21739   arg5 
= static_cast< int >(val5
); 
21741     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21742     (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
); 
21743     wxPyEndAllowThreads(__tstate
); 
21744     if (PyErr_Occurred()) SWIG_fail
; 
21746   resultobj 
= SWIG_Py_Void(); 
21753 SWIGINTERN PyObject 
*_wrap_PyWindow_DoSetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21754   PyObject 
*resultobj 
= 0; 
21755   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21760   int arg6 
= (int) wxSIZE_AUTO 
; 
21773   PyObject 
* obj0 
= 0 ; 
21774   PyObject 
* obj1 
= 0 ; 
21775   PyObject 
* obj2 
= 0 ; 
21776   PyObject 
* obj3 
= 0 ; 
21777   PyObject 
* obj4 
= 0 ; 
21778   PyObject 
* obj5 
= 0 ; 
21779   char *  kwnames
[] = { 
21780     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL 
 
21783   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
21784   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21785   if (!SWIG_IsOK(res1
)) { 
21786     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21788   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21789   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21790   if (!SWIG_IsOK(ecode2
)) { 
21791     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'"); 
21793   arg2 
= static_cast< int >(val2
); 
21794   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21795   if (!SWIG_IsOK(ecode3
)) { 
21796     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'"); 
21798   arg3 
= static_cast< int >(val3
); 
21799   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
21800   if (!SWIG_IsOK(ecode4
)) { 
21801     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'"); 
21803   arg4 
= static_cast< int >(val4
); 
21804   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
21805   if (!SWIG_IsOK(ecode5
)) { 
21806     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'"); 
21808   arg5 
= static_cast< int >(val5
); 
21810     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
21811     if (!SWIG_IsOK(ecode6
)) { 
21812       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'"); 
21814     arg6 
= static_cast< int >(val6
); 
21817     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21818     (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
); 
21819     wxPyEndAllowThreads(__tstate
); 
21820     if (PyErr_Occurred()) SWIG_fail
; 
21822   resultobj 
= SWIG_Py_Void(); 
21829 SWIGINTERN PyObject 
*_wrap_PyWindow_DoSetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21830   PyObject 
*resultobj 
= 0; 
21831   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21840   PyObject 
* obj0 
= 0 ; 
21841   PyObject 
* obj1 
= 0 ; 
21842   PyObject 
* obj2 
= 0 ; 
21843   char *  kwnames
[] = { 
21844     (char *) "self",(char *) "width",(char *) "height", NULL 
 
21847   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21848   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21849   if (!SWIG_IsOK(res1
)) { 
21850     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21852   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21853   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21854   if (!SWIG_IsOK(ecode2
)) { 
21855     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'"); 
21857   arg2 
= static_cast< int >(val2
); 
21858   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21859   if (!SWIG_IsOK(ecode3
)) { 
21860     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'"); 
21862   arg3 
= static_cast< int >(val3
); 
21864     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21865     (arg1
)->DoSetClientSize(arg2
,arg3
); 
21866     wxPyEndAllowThreads(__tstate
); 
21867     if (PyErr_Occurred()) SWIG_fail
; 
21869   resultobj 
= SWIG_Py_Void(); 
21876 SWIGINTERN PyObject 
*_wrap_PyWindow_DoSetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
21877   PyObject 
*resultobj 
= 0; 
21878   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21887   PyObject 
* obj0 
= 0 ; 
21888   PyObject 
* obj1 
= 0 ; 
21889   PyObject 
* obj2 
= 0 ; 
21890   char *  kwnames
[] = { 
21891     (char *) "self",(char *) "x",(char *) "y", NULL 
 
21894   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
21895   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21896   if (!SWIG_IsOK(res1
)) { 
21897     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
21899   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21900   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
21901   if (!SWIG_IsOK(ecode2
)) { 
21902     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'"); 
21904   arg2 
= static_cast< int >(val2
); 
21905   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
21906   if (!SWIG_IsOK(ecode3
)) { 
21907     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'"); 
21909   arg3 
= static_cast< int >(val3
); 
21911     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21912     (arg1
)->DoSetVirtualSize(arg2
,arg3
); 
21913     wxPyEndAllowThreads(__tstate
); 
21914     if (PyErr_Occurred()) SWIG_fail
; 
21916   resultobj 
= SWIG_Py_Void(); 
21923 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21924   PyObject 
*resultobj 
= 0; 
21925   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21926   int *arg2 
= (int *) 0 ; 
21927   int *arg3 
= (int *) 0 ; 
21931   int res2 
= SWIG_TMPOBJ 
; 
21933   int res3 
= SWIG_TMPOBJ 
; 
21934   PyObject 
*swig_obj
[1] ; 
21938   if (!args
) SWIG_fail
; 
21939   swig_obj
[0] = args
; 
21940   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21941   if (!SWIG_IsOK(res1
)) { 
21942     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
21944   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21946     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21947     ((wxPyWindow 
const *)arg1
)->DoGetSize(arg2
,arg3
); 
21948     wxPyEndAllowThreads(__tstate
); 
21949     if (PyErr_Occurred()) SWIG_fail
; 
21951   resultobj 
= SWIG_Py_Void(); 
21952   if (SWIG_IsTmpObj(res2
)) { 
21953     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
21955     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21956     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
21958   if (SWIG_IsTmpObj(res3
)) { 
21959     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
21961     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
21962     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
21970 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
21971   PyObject 
*resultobj 
= 0; 
21972   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
21973   int *arg2 
= (int *) 0 ; 
21974   int *arg3 
= (int *) 0 ; 
21978   int res2 
= SWIG_TMPOBJ 
; 
21980   int res3 
= SWIG_TMPOBJ 
; 
21981   PyObject 
*swig_obj
[1] ; 
21985   if (!args
) SWIG_fail
; 
21986   swig_obj
[0] = args
; 
21987   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
21988   if (!SWIG_IsOK(res1
)) { 
21989     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
21991   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
21993     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
21994     ((wxPyWindow 
const *)arg1
)->DoGetClientSize(arg2
,arg3
); 
21995     wxPyEndAllowThreads(__tstate
); 
21996     if (PyErr_Occurred()) SWIG_fail
; 
21998   resultobj 
= SWIG_Py_Void(); 
21999   if (SWIG_IsTmpObj(res2
)) { 
22000     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
22002     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22003     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
22005   if (SWIG_IsTmpObj(res3
)) { 
22006     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22008     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22009     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22017 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22018   PyObject 
*resultobj 
= 0; 
22019   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
22020   int *arg2 
= (int *) 0 ; 
22021   int *arg3 
= (int *) 0 ; 
22025   int res2 
= SWIG_TMPOBJ 
; 
22027   int res3 
= SWIG_TMPOBJ 
; 
22028   PyObject 
*swig_obj
[1] ; 
22032   if (!args
) SWIG_fail
; 
22033   swig_obj
[0] = args
; 
22034   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
22035   if (!SWIG_IsOK(res1
)) { 
22036     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
22038   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
22040     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22041     ((wxPyWindow 
const *)arg1
)->DoGetPosition(arg2
,arg3
); 
22042     wxPyEndAllowThreads(__tstate
); 
22043     if (PyErr_Occurred()) SWIG_fail
; 
22045   resultobj 
= SWIG_Py_Void(); 
22046   if (SWIG_IsTmpObj(res2
)) { 
22047     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
22049     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22050     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
22052   if (SWIG_IsTmpObj(res3
)) { 
22053     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22055     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22056     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22064 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22065   PyObject 
*resultobj 
= 0; 
22066   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
22070   PyObject 
*swig_obj
[1] ; 
22072   if (!args
) SWIG_fail
; 
22073   swig_obj
[0] = args
; 
22074   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
22075   if (!SWIG_IsOK(res1
)) { 
22076     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
22078   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
22080     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22081     result 
= ((wxPyWindow 
const *)arg1
)->DoGetVirtualSize(); 
22082     wxPyEndAllowThreads(__tstate
); 
22083     if (PyErr_Occurred()) SWIG_fail
; 
22085   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
22092 SWIGINTERN PyObject 
*_wrap_PyWindow_DoGetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22093   PyObject 
*resultobj 
= 0; 
22094   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
22098   PyObject 
*swig_obj
[1] ; 
22100   if (!args
) SWIG_fail
; 
22101   swig_obj
[0] = args
; 
22102   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
22103   if (!SWIG_IsOK(res1
)) { 
22104     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");  
22106   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
22108     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22109     result 
= ((wxPyWindow 
const *)arg1
)->DoGetBestSize(); 
22110     wxPyEndAllowThreads(__tstate
); 
22111     if (PyErr_Occurred()) SWIG_fail
; 
22113   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
22120 SWIGINTERN PyObject 
*_wrap_PyWindow_GetDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22121   PyObject 
*resultobj 
= 0; 
22122   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
22123   SwigValueWrapper
<wxVisualAttributes 
> result
; 
22126   PyObject 
*swig_obj
[1] ; 
22128   if (!args
) SWIG_fail
; 
22129   swig_obj
[0] = args
; 
22130   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
22131   if (!SWIG_IsOK(res1
)) { 
22132     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
22134   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
22136     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22137     result 
= (arg1
)->GetDefaultAttributes(); 
22138     wxPyEndAllowThreads(__tstate
); 
22139     if (PyErr_Occurred()) SWIG_fail
; 
22141   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
22148 SWIGINTERN PyObject 
*_wrap_PyWindow_OnInternalIdle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22149   PyObject 
*resultobj 
= 0; 
22150   wxPyWindow 
*arg1 
= (wxPyWindow 
*) 0 ; 
22153   PyObject 
*swig_obj
[1] ; 
22155   if (!args
) SWIG_fail
; 
22156   swig_obj
[0] = args
; 
22157   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 |  0 ); 
22158   if (!SWIG_IsOK(res1
)) { 
22159     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");  
22161   arg1 
= reinterpret_cast< wxPyWindow 
* >(argp1
); 
22163     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22164     (arg1
)->OnInternalIdle(); 
22165     wxPyEndAllowThreads(__tstate
); 
22166     if (PyErr_Occurred()) SWIG_fail
; 
22168   resultobj 
= SWIG_Py_Void(); 
22175 SWIGINTERN PyObject 
*PyWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22177   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
22178   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
)); 
22179   return SWIG_Py_Void(); 
22182 SWIGINTERN PyObject 
*PyWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22183   return SWIG_Python_InitShadowInstance(args
); 
22186 SWIGINTERN PyObject 
*_wrap_new_PyPanel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22187   PyObject 
*resultobj 
= 0; 
22188   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
22189   int arg2 
= (int) (int)-1 ; 
22190   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
22191   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
22192   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
22193   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
22194   long arg5 
= (long) 0 ; 
22195   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
22196   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
22197   wxPyPanel 
*result 
= 0 ; 
22206   bool temp6 
= false ; 
22207   PyObject 
* obj0 
= 0 ; 
22208   PyObject 
* obj1 
= 0 ; 
22209   PyObject 
* obj2 
= 0 ; 
22210   PyObject 
* obj3 
= 0 ; 
22211   PyObject 
* obj4 
= 0 ; 
22212   PyObject 
* obj5 
= 0 ; 
22213   char *  kwnames
[] = { 
22214     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
22217   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
22218   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
22219   if (!SWIG_IsOK(res1
)) { 
22220     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");  
22222   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
22224     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22225     if (!SWIG_IsOK(ecode2
)) { 
22226       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'"); 
22228     arg2 
= static_cast< int >(val2
); 
22233       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
22239       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
22243     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
22244     if (!SWIG_IsOK(ecode5
)) { 
22245       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'"); 
22247     arg5 
= static_cast< long >(val5
); 
22251       arg6 
= wxString_in_helper(obj5
); 
22252       if (arg6 
== NULL
) SWIG_fail
; 
22257     if (!wxPyCheckForApp()) SWIG_fail
; 
22258     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22259     result 
= (wxPyPanel 
*)new wxPyPanel(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
22260     wxPyEndAllowThreads(__tstate
); 
22261     if (PyErr_Occurred()) SWIG_fail
; 
22263   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW 
|  0 ); 
22278 SWIGINTERN PyObject 
*_wrap_new_PrePyPanel(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22279   PyObject 
*resultobj 
= 0; 
22280   wxPyPanel 
*result 
= 0 ; 
22282   if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
; 
22284     if (!wxPyCheckForApp()) SWIG_fail
; 
22285     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22286     result 
= (wxPyPanel 
*)new wxPyPanel(); 
22287     wxPyEndAllowThreads(__tstate
); 
22288     if (PyErr_Occurred()) SWIG_fail
; 
22290   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN 
|  0 ); 
22297 SWIGINTERN PyObject 
*_wrap_PyPanel__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22298   PyObject 
*resultobj 
= 0; 
22299   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22300   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
22301   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
22304   PyObject 
* obj0 
= 0 ; 
22305   PyObject 
* obj1 
= 0 ; 
22306   PyObject 
* obj2 
= 0 ; 
22307   char *  kwnames
[] = { 
22308     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
22311   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22312   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22313   if (!SWIG_IsOK(res1
)) { 
22314     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22316   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22320     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22321     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
22322     wxPyEndAllowThreads(__tstate
); 
22323     if (PyErr_Occurred()) SWIG_fail
; 
22325   resultobj 
= SWIG_Py_Void(); 
22332 SWIGINTERN PyObject 
*_wrap_PyPanel_SetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22333   PyObject 
*resultobj 
= 0; 
22334   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22339   PyObject 
* obj0 
= 0 ; 
22340   PyObject 
* obj1 
= 0 ; 
22341   char *  kwnames
[] = { 
22342     (char *) "self",(char *) "size", NULL 
 
22345   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22346   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22347   if (!SWIG_IsOK(res1
)) { 
22348     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22350   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22353     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
22356     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22357     (arg1
)->SetBestSize((wxSize 
const &)*arg2
); 
22358     wxPyEndAllowThreads(__tstate
); 
22359     if (PyErr_Occurred()) SWIG_fail
; 
22361   resultobj 
= SWIG_Py_Void(); 
22368 SWIGINTERN PyObject 
*_wrap_PyPanel_DoEraseBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22369   PyObject 
*resultobj 
= 0; 
22370   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22371   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
22377   PyObject 
* obj0 
= 0 ; 
22378   PyObject 
* obj1 
= 0 ; 
22379   char *  kwnames
[] = { 
22380     (char *) "self",(char *) "dc", NULL 
 
22383   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
22384   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22385   if (!SWIG_IsOK(res1
)) { 
22386     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22388   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22389   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
22390   if (!SWIG_IsOK(res2
)) { 
22391     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");  
22393   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
22395     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22396     result 
= (bool)(arg1
)->DoEraseBackground(arg2
); 
22397     wxPyEndAllowThreads(__tstate
); 
22398     if (PyErr_Occurred()) SWIG_fail
; 
22401     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
22409 SWIGINTERN PyObject 
*_wrap_PyPanel_DoMoveWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22410   PyObject 
*resultobj 
= 0; 
22411   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22426   PyObject 
* obj0 
= 0 ; 
22427   PyObject 
* obj1 
= 0 ; 
22428   PyObject 
* obj2 
= 0 ; 
22429   PyObject 
* obj3 
= 0 ; 
22430   PyObject 
* obj4 
= 0 ; 
22431   char *  kwnames
[] = { 
22432     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
22435   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
22436   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22437   if (!SWIG_IsOK(res1
)) { 
22438     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22440   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22441   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22442   if (!SWIG_IsOK(ecode2
)) { 
22443     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'"); 
22445   arg2 
= static_cast< int >(val2
); 
22446   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22447   if (!SWIG_IsOK(ecode3
)) { 
22448     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'"); 
22450   arg3 
= static_cast< int >(val3
); 
22451   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
22452   if (!SWIG_IsOK(ecode4
)) { 
22453     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'"); 
22455   arg4 
= static_cast< int >(val4
); 
22456   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
22457   if (!SWIG_IsOK(ecode5
)) { 
22458     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'"); 
22460   arg5 
= static_cast< int >(val5
); 
22462     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22463     (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
); 
22464     wxPyEndAllowThreads(__tstate
); 
22465     if (PyErr_Occurred()) SWIG_fail
; 
22467   resultobj 
= SWIG_Py_Void(); 
22474 SWIGINTERN PyObject 
*_wrap_PyPanel_DoSetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22475   PyObject 
*resultobj 
= 0; 
22476   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22481   int arg6 
= (int) wxSIZE_AUTO 
; 
22494   PyObject 
* obj0 
= 0 ; 
22495   PyObject 
* obj1 
= 0 ; 
22496   PyObject 
* obj2 
= 0 ; 
22497   PyObject 
* obj3 
= 0 ; 
22498   PyObject 
* obj4 
= 0 ; 
22499   PyObject 
* obj5 
= 0 ; 
22500   char *  kwnames
[] = { 
22501     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL 
 
22504   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
22505   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22506   if (!SWIG_IsOK(res1
)) { 
22507     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22509   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22510   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22511   if (!SWIG_IsOK(ecode2
)) { 
22512     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'"); 
22514   arg2 
= static_cast< int >(val2
); 
22515   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22516   if (!SWIG_IsOK(ecode3
)) { 
22517     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'"); 
22519   arg3 
= static_cast< int >(val3
); 
22520   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
22521   if (!SWIG_IsOK(ecode4
)) { 
22522     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'"); 
22524   arg4 
= static_cast< int >(val4
); 
22525   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
22526   if (!SWIG_IsOK(ecode5
)) { 
22527     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'"); 
22529   arg5 
= static_cast< int >(val5
); 
22531     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
22532     if (!SWIG_IsOK(ecode6
)) { 
22533       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'"); 
22535     arg6 
= static_cast< int >(val6
); 
22538     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22539     (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
); 
22540     wxPyEndAllowThreads(__tstate
); 
22541     if (PyErr_Occurred()) SWIG_fail
; 
22543   resultobj 
= SWIG_Py_Void(); 
22550 SWIGINTERN PyObject 
*_wrap_PyPanel_DoSetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22551   PyObject 
*resultobj 
= 0; 
22552   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22561   PyObject 
* obj0 
= 0 ; 
22562   PyObject 
* obj1 
= 0 ; 
22563   PyObject 
* obj2 
= 0 ; 
22564   char *  kwnames
[] = { 
22565     (char *) "self",(char *) "width",(char *) "height", NULL 
 
22568   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22569   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22570   if (!SWIG_IsOK(res1
)) { 
22571     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22573   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22574   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22575   if (!SWIG_IsOK(ecode2
)) { 
22576     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'"); 
22578   arg2 
= static_cast< int >(val2
); 
22579   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22580   if (!SWIG_IsOK(ecode3
)) { 
22581     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'"); 
22583   arg3 
= static_cast< int >(val3
); 
22585     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22586     (arg1
)->DoSetClientSize(arg2
,arg3
); 
22587     wxPyEndAllowThreads(__tstate
); 
22588     if (PyErr_Occurred()) SWIG_fail
; 
22590   resultobj 
= SWIG_Py_Void(); 
22597 SWIGINTERN PyObject 
*_wrap_PyPanel_DoSetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22598   PyObject 
*resultobj 
= 0; 
22599   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22608   PyObject 
* obj0 
= 0 ; 
22609   PyObject 
* obj1 
= 0 ; 
22610   PyObject 
* obj2 
= 0 ; 
22611   char *  kwnames
[] = { 
22612     (char *) "self",(char *) "x",(char *) "y", NULL 
 
22615   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
22616   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22617   if (!SWIG_IsOK(res1
)) { 
22618     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22620   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22621   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22622   if (!SWIG_IsOK(ecode2
)) { 
22623     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'"); 
22625   arg2 
= static_cast< int >(val2
); 
22626   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
22627   if (!SWIG_IsOK(ecode3
)) { 
22628     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'"); 
22630   arg3 
= static_cast< int >(val3
); 
22632     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22633     (arg1
)->DoSetVirtualSize(arg2
,arg3
); 
22634     wxPyEndAllowThreads(__tstate
); 
22635     if (PyErr_Occurred()) SWIG_fail
; 
22637   resultobj 
= SWIG_Py_Void(); 
22644 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22645   PyObject 
*resultobj 
= 0; 
22646   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22647   int *arg2 
= (int *) 0 ; 
22648   int *arg3 
= (int *) 0 ; 
22652   int res2 
= SWIG_TMPOBJ 
; 
22654   int res3 
= SWIG_TMPOBJ 
; 
22655   PyObject 
*swig_obj
[1] ; 
22659   if (!args
) SWIG_fail
; 
22660   swig_obj
[0] = args
; 
22661   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22662   if (!SWIG_IsOK(res1
)) { 
22663     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22665   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22667     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22668     ((wxPyPanel 
const *)arg1
)->DoGetSize(arg2
,arg3
); 
22669     wxPyEndAllowThreads(__tstate
); 
22670     if (PyErr_Occurred()) SWIG_fail
; 
22672   resultobj 
= SWIG_Py_Void(); 
22673   if (SWIG_IsTmpObj(res2
)) { 
22674     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
22676     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22677     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
22679   if (SWIG_IsTmpObj(res3
)) { 
22680     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22682     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22683     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22691 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22692   PyObject 
*resultobj 
= 0; 
22693   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22694   int *arg2 
= (int *) 0 ; 
22695   int *arg3 
= (int *) 0 ; 
22699   int res2 
= SWIG_TMPOBJ 
; 
22701   int res3 
= SWIG_TMPOBJ 
; 
22702   PyObject 
*swig_obj
[1] ; 
22706   if (!args
) SWIG_fail
; 
22707   swig_obj
[0] = args
; 
22708   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22709   if (!SWIG_IsOK(res1
)) { 
22710     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22712   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22714     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22715     ((wxPyPanel 
const *)arg1
)->DoGetClientSize(arg2
,arg3
); 
22716     wxPyEndAllowThreads(__tstate
); 
22717     if (PyErr_Occurred()) SWIG_fail
; 
22719   resultobj 
= SWIG_Py_Void(); 
22720   if (SWIG_IsTmpObj(res2
)) { 
22721     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
22723     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22724     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
22726   if (SWIG_IsTmpObj(res3
)) { 
22727     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22729     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22730     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22738 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22739   PyObject 
*resultobj 
= 0; 
22740   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22741   int *arg2 
= (int *) 0 ; 
22742   int *arg3 
= (int *) 0 ; 
22746   int res2 
= SWIG_TMPOBJ 
; 
22748   int res3 
= SWIG_TMPOBJ 
; 
22749   PyObject 
*swig_obj
[1] ; 
22753   if (!args
) SWIG_fail
; 
22754   swig_obj
[0] = args
; 
22755   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22756   if (!SWIG_IsOK(res1
)) { 
22757     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22759   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22761     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22762     ((wxPyPanel 
const *)arg1
)->DoGetPosition(arg2
,arg3
); 
22763     wxPyEndAllowThreads(__tstate
); 
22764     if (PyErr_Occurred()) SWIG_fail
; 
22766   resultobj 
= SWIG_Py_Void(); 
22767   if (SWIG_IsTmpObj(res2
)) { 
22768     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
22770     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22771     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
22773   if (SWIG_IsTmpObj(res3
)) { 
22774     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
22776     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
22777     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
22785 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22786   PyObject 
*resultobj 
= 0; 
22787   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22791   PyObject 
*swig_obj
[1] ; 
22793   if (!args
) SWIG_fail
; 
22794   swig_obj
[0] = args
; 
22795   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22796   if (!SWIG_IsOK(res1
)) { 
22797     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22799   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22801     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22802     result 
= ((wxPyPanel 
const *)arg1
)->DoGetVirtualSize(); 
22803     wxPyEndAllowThreads(__tstate
); 
22804     if (PyErr_Occurred()) SWIG_fail
; 
22806   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
22813 SWIGINTERN PyObject 
*_wrap_PyPanel_DoGetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22814   PyObject 
*resultobj 
= 0; 
22815   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22819   PyObject 
*swig_obj
[1] ; 
22821   if (!args
) SWIG_fail
; 
22822   swig_obj
[0] = args
; 
22823   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22824   if (!SWIG_IsOK(res1
)) { 
22825     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");  
22827   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22829     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22830     result 
= ((wxPyPanel 
const *)arg1
)->DoGetBestSize(); 
22831     wxPyEndAllowThreads(__tstate
); 
22832     if (PyErr_Occurred()) SWIG_fail
; 
22834   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
22841 SWIGINTERN PyObject 
*_wrap_PyPanel_GetDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22842   PyObject 
*resultobj 
= 0; 
22843   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22844   SwigValueWrapper
<wxVisualAttributes 
> result
; 
22847   PyObject 
*swig_obj
[1] ; 
22849   if (!args
) SWIG_fail
; 
22850   swig_obj
[0] = args
; 
22851   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22852   if (!SWIG_IsOK(res1
)) { 
22853     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22855   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22857     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22858     result 
= (arg1
)->GetDefaultAttributes(); 
22859     wxPyEndAllowThreads(__tstate
); 
22860     if (PyErr_Occurred()) SWIG_fail
; 
22862   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
22869 SWIGINTERN PyObject 
*_wrap_PyPanel_OnInternalIdle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22870   PyObject 
*resultobj 
= 0; 
22871   wxPyPanel 
*arg1 
= (wxPyPanel 
*) 0 ; 
22874   PyObject 
*swig_obj
[1] ; 
22876   if (!args
) SWIG_fail
; 
22877   swig_obj
[0] = args
; 
22878   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 |  0 ); 
22879   if (!SWIG_IsOK(res1
)) { 
22880     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");  
22882   arg1 
= reinterpret_cast< wxPyPanel 
* >(argp1
); 
22884     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22885     (arg1
)->OnInternalIdle(); 
22886     wxPyEndAllowThreads(__tstate
); 
22887     if (PyErr_Occurred()) SWIG_fail
; 
22889   resultobj 
= SWIG_Py_Void(); 
22896 SWIGINTERN PyObject 
*PyPanel_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22898   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
22899   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
)); 
22900   return SWIG_Py_Void(); 
22903 SWIGINTERN PyObject 
*PyPanel_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
22904   return SWIG_Python_InitShadowInstance(args
); 
22907 SWIGINTERN PyObject 
*_wrap_new_PyScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
22908   PyObject 
*resultobj 
= 0; 
22909   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
22910   int arg2 
= (int) (int)-1 ; 
22911   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
22912   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
22913   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
22914   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
22915   long arg5 
= (long) 0 ; 
22916   wxString 
const &arg6_defvalue 
= wxPyPanelNameStr 
; 
22917   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
22918   wxPyScrolledWindow 
*result 
= 0 ; 
22927   bool temp6 
= false ; 
22928   PyObject 
* obj0 
= 0 ; 
22929   PyObject 
* obj1 
= 0 ; 
22930   PyObject 
* obj2 
= 0 ; 
22931   PyObject 
* obj3 
= 0 ; 
22932   PyObject 
* obj4 
= 0 ; 
22933   PyObject 
* obj5 
= 0 ; 
22934   char *  kwnames
[] = { 
22935     (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
22938   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
22939   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
22940   if (!SWIG_IsOK(res1
)) { 
22941     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");  
22943   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
22945     ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
22946     if (!SWIG_IsOK(ecode2
)) { 
22947       SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'"); 
22949     arg2 
= static_cast< int >(val2
); 
22954       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
22960       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
22964     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
22965     if (!SWIG_IsOK(ecode5
)) { 
22966       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'"); 
22968     arg5 
= static_cast< long >(val5
); 
22972       arg6 
= wxString_in_helper(obj5
); 
22973       if (arg6 
== NULL
) SWIG_fail
; 
22978     if (!wxPyCheckForApp()) SWIG_fail
; 
22979     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
22980     result 
= (wxPyScrolledWindow 
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
22981     wxPyEndAllowThreads(__tstate
); 
22982     if (PyErr_Occurred()) SWIG_fail
; 
22984   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW 
|  0 ); 
22999 SWIGINTERN PyObject 
*_wrap_new_PrePyScrolledWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23000   PyObject 
*resultobj 
= 0; 
23001   wxPyScrolledWindow 
*result 
= 0 ; 
23003   if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
; 
23005     if (!wxPyCheckForApp()) SWIG_fail
; 
23006     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23007     result 
= (wxPyScrolledWindow 
*)new wxPyScrolledWindow(); 
23008     wxPyEndAllowThreads(__tstate
); 
23009     if (PyErr_Occurred()) SWIG_fail
; 
23011   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN 
|  0 ); 
23018 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23019   PyObject 
*resultobj 
= 0; 
23020   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23021   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
23022   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
23025   PyObject 
* obj0 
= 0 ; 
23026   PyObject 
* obj1 
= 0 ; 
23027   PyObject 
* obj2 
= 0 ; 
23028   char *  kwnames
[] = { 
23029     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
23032   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
23033   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23034   if (!SWIG_IsOK(res1
)) { 
23035     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23037   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23041     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23042     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
23043     wxPyEndAllowThreads(__tstate
); 
23044     if (PyErr_Occurred()) SWIG_fail
; 
23046   resultobj 
= SWIG_Py_Void(); 
23053 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_SetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23054   PyObject 
*resultobj 
= 0; 
23055   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23060   PyObject 
* obj0 
= 0 ; 
23061   PyObject 
* obj1 
= 0 ; 
23062   char *  kwnames
[] = { 
23063     (char *) "self",(char *) "size", NULL 
 
23066   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23067   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23068   if (!SWIG_IsOK(res1
)) { 
23069     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23071   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23074     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
23077     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23078     (arg1
)->SetBestSize((wxSize 
const &)*arg2
); 
23079     wxPyEndAllowThreads(__tstate
); 
23080     if (PyErr_Occurred()) SWIG_fail
; 
23082   resultobj 
= SWIG_Py_Void(); 
23089 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23090   PyObject 
*resultobj 
= 0; 
23091   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23092   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
23098   PyObject 
* obj0 
= 0 ; 
23099   PyObject 
* obj1 
= 0 ; 
23100   char *  kwnames
[] = { 
23101     (char *) "self",(char *) "dc", NULL 
 
23104   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
23105   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23106   if (!SWIG_IsOK(res1
)) { 
23107     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23109   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23110   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
23111   if (!SWIG_IsOK(res2
)) { 
23112     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");  
23114   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
23116     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23117     result 
= (bool)(arg1
)->DoEraseBackground(arg2
); 
23118     wxPyEndAllowThreads(__tstate
); 
23119     if (PyErr_Occurred()) SWIG_fail
; 
23122     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23130 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23131   PyObject 
*resultobj 
= 0; 
23132   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23147   PyObject 
* obj0 
= 0 ; 
23148   PyObject 
* obj1 
= 0 ; 
23149   PyObject 
* obj2 
= 0 ; 
23150   PyObject 
* obj3 
= 0 ; 
23151   PyObject 
* obj4 
= 0 ; 
23152   char *  kwnames
[] = { 
23153     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL 
 
23156   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
; 
23157   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23158   if (!SWIG_IsOK(res1
)) { 
23159     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23161   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23162   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
23163   if (!SWIG_IsOK(ecode2
)) { 
23164     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'"); 
23166   arg2 
= static_cast< int >(val2
); 
23167   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
23168   if (!SWIG_IsOK(ecode3
)) { 
23169     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'"); 
23171   arg3 
= static_cast< int >(val3
); 
23172   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
23173   if (!SWIG_IsOK(ecode4
)) { 
23174     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'"); 
23176   arg4 
= static_cast< int >(val4
); 
23177   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
23178   if (!SWIG_IsOK(ecode5
)) { 
23179     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'"); 
23181   arg5 
= static_cast< int >(val5
); 
23183     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23184     (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
); 
23185     wxPyEndAllowThreads(__tstate
); 
23186     if (PyErr_Occurred()) SWIG_fail
; 
23188   resultobj 
= SWIG_Py_Void(); 
23195 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoSetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23196   PyObject 
*resultobj 
= 0; 
23197   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23202   int arg6 
= (int) wxSIZE_AUTO 
; 
23215   PyObject 
* obj0 
= 0 ; 
23216   PyObject 
* obj1 
= 0 ; 
23217   PyObject 
* obj2 
= 0 ; 
23218   PyObject 
* obj3 
= 0 ; 
23219   PyObject 
* obj4 
= 0 ; 
23220   PyObject 
* obj5 
= 0 ; 
23221   char *  kwnames
[] = { 
23222     (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL 
 
23225   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
23226   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23227   if (!SWIG_IsOK(res1
)) { 
23228     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23230   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23231   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
23232   if (!SWIG_IsOK(ecode2
)) { 
23233     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'"); 
23235   arg2 
= static_cast< int >(val2
); 
23236   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
23237   if (!SWIG_IsOK(ecode3
)) { 
23238     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'"); 
23240   arg3 
= static_cast< int >(val3
); 
23241   ecode4 
= SWIG_AsVal_int(obj3
, &val4
); 
23242   if (!SWIG_IsOK(ecode4
)) { 
23243     SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'"); 
23245   arg4 
= static_cast< int >(val4
); 
23246   ecode5 
= SWIG_AsVal_int(obj4
, &val5
); 
23247   if (!SWIG_IsOK(ecode5
)) { 
23248     SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'"); 
23250   arg5 
= static_cast< int >(val5
); 
23252     ecode6 
= SWIG_AsVal_int(obj5
, &val6
); 
23253     if (!SWIG_IsOK(ecode6
)) { 
23254       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'"); 
23256     arg6 
= static_cast< int >(val6
); 
23259     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23260     (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
); 
23261     wxPyEndAllowThreads(__tstate
); 
23262     if (PyErr_Occurred()) SWIG_fail
; 
23264   resultobj 
= SWIG_Py_Void(); 
23271 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23272   PyObject 
*resultobj 
= 0; 
23273   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23282   PyObject 
* obj0 
= 0 ; 
23283   PyObject 
* obj1 
= 0 ; 
23284   PyObject 
* obj2 
= 0 ; 
23285   char *  kwnames
[] = { 
23286     (char *) "self",(char *) "width",(char *) "height", NULL 
 
23289   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
23290   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23291   if (!SWIG_IsOK(res1
)) { 
23292     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23294   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23295   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
23296   if (!SWIG_IsOK(ecode2
)) { 
23297     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'"); 
23299   arg2 
= static_cast< int >(val2
); 
23300   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
23301   if (!SWIG_IsOK(ecode3
)) { 
23302     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'"); 
23304   arg3 
= static_cast< int >(val3
); 
23306     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23307     (arg1
)->DoSetClientSize(arg2
,arg3
); 
23308     wxPyEndAllowThreads(__tstate
); 
23309     if (PyErr_Occurred()) SWIG_fail
; 
23311   resultobj 
= SWIG_Py_Void(); 
23318 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
23319   PyObject 
*resultobj 
= 0; 
23320   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23329   PyObject 
* obj0 
= 0 ; 
23330   PyObject 
* obj1 
= 0 ; 
23331   PyObject 
* obj2 
= 0 ; 
23332   char *  kwnames
[] = { 
23333     (char *) "self",(char *) "x",(char *) "y", NULL 
 
23336   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
23337   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23338   if (!SWIG_IsOK(res1
)) { 
23339     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23341   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23342   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
23343   if (!SWIG_IsOK(ecode2
)) { 
23344     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'"); 
23346   arg2 
= static_cast< int >(val2
); 
23347   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
23348   if (!SWIG_IsOK(ecode3
)) { 
23349     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'"); 
23351   arg3 
= static_cast< int >(val3
); 
23353     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23354     (arg1
)->DoSetVirtualSize(arg2
,arg3
); 
23355     wxPyEndAllowThreads(__tstate
); 
23356     if (PyErr_Occurred()) SWIG_fail
; 
23358   resultobj 
= SWIG_Py_Void(); 
23365 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23366   PyObject 
*resultobj 
= 0; 
23367   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23368   int *arg2 
= (int *) 0 ; 
23369   int *arg3 
= (int *) 0 ; 
23373   int res2 
= SWIG_TMPOBJ 
; 
23375   int res3 
= SWIG_TMPOBJ 
; 
23376   PyObject 
*swig_obj
[1] ; 
23380   if (!args
) SWIG_fail
; 
23381   swig_obj
[0] = args
; 
23382   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23383   if (!SWIG_IsOK(res1
)) { 
23384     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23386   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23388     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23389     ((wxPyScrolledWindow 
const *)arg1
)->DoGetSize(arg2
,arg3
); 
23390     wxPyEndAllowThreads(__tstate
); 
23391     if (PyErr_Occurred()) SWIG_fail
; 
23393   resultobj 
= SWIG_Py_Void(); 
23394   if (SWIG_IsTmpObj(res2
)) { 
23395     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
23397     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23398     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
23400   if (SWIG_IsTmpObj(res3
)) { 
23401     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
23403     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23404     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
23412 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23413   PyObject 
*resultobj 
= 0; 
23414   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23415   int *arg2 
= (int *) 0 ; 
23416   int *arg3 
= (int *) 0 ; 
23420   int res2 
= SWIG_TMPOBJ 
; 
23422   int res3 
= SWIG_TMPOBJ 
; 
23423   PyObject 
*swig_obj
[1] ; 
23427   if (!args
) SWIG_fail
; 
23428   swig_obj
[0] = args
; 
23429   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23430   if (!SWIG_IsOK(res1
)) { 
23431     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23433   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23435     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23436     ((wxPyScrolledWindow 
const *)arg1
)->DoGetClientSize(arg2
,arg3
); 
23437     wxPyEndAllowThreads(__tstate
); 
23438     if (PyErr_Occurred()) SWIG_fail
; 
23440   resultobj 
= SWIG_Py_Void(); 
23441   if (SWIG_IsTmpObj(res2
)) { 
23442     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
23444     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23445     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
23447   if (SWIG_IsTmpObj(res3
)) { 
23448     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
23450     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23451     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
23459 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetPosition(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23460   PyObject 
*resultobj 
= 0; 
23461   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23462   int *arg2 
= (int *) 0 ; 
23463   int *arg3 
= (int *) 0 ; 
23467   int res2 
= SWIG_TMPOBJ 
; 
23469   int res3 
= SWIG_TMPOBJ 
; 
23470   PyObject 
*swig_obj
[1] ; 
23474   if (!args
) SWIG_fail
; 
23475   swig_obj
[0] = args
; 
23476   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23477   if (!SWIG_IsOK(res1
)) { 
23478     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23480   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23482     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23483     ((wxPyScrolledWindow 
const *)arg1
)->DoGetPosition(arg2
,arg3
); 
23484     wxPyEndAllowThreads(__tstate
); 
23485     if (PyErr_Occurred()) SWIG_fail
; 
23487   resultobj 
= SWIG_Py_Void(); 
23488   if (SWIG_IsTmpObj(res2
)) { 
23489     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
23491     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23492     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
23494   if (SWIG_IsTmpObj(res3
)) { 
23495     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
23497     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
23498     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
23506 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23507   PyObject 
*resultobj 
= 0; 
23508   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23512   PyObject 
*swig_obj
[1] ; 
23514   if (!args
) SWIG_fail
; 
23515   swig_obj
[0] = args
; 
23516   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23517   if (!SWIG_IsOK(res1
)) { 
23518     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23520   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23522     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23523     result 
= ((wxPyScrolledWindow 
const *)arg1
)->DoGetVirtualSize(); 
23524     wxPyEndAllowThreads(__tstate
); 
23525     if (PyErr_Occurred()) SWIG_fail
; 
23527   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
23534 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23535   PyObject 
*resultobj 
= 0; 
23536   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23540   PyObject 
*swig_obj
[1] ; 
23542   if (!args
) SWIG_fail
; 
23543   swig_obj
[0] = args
; 
23544   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23545   if (!SWIG_IsOK(res1
)) { 
23546     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");  
23548   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23550     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23551     result 
= ((wxPyScrolledWindow 
const *)arg1
)->DoGetBestSize(); 
23552     wxPyEndAllowThreads(__tstate
); 
23553     if (PyErr_Occurred()) SWIG_fail
; 
23555   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
23562 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23563   PyObject 
*resultobj 
= 0; 
23564   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23565   SwigValueWrapper
<wxVisualAttributes 
> result
; 
23568   PyObject 
*swig_obj
[1] ; 
23570   if (!args
) SWIG_fail
; 
23571   swig_obj
[0] = args
; 
23572   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23573   if (!SWIG_IsOK(res1
)) { 
23574     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23576   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23578     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23579     result 
= (arg1
)->GetDefaultAttributes(); 
23580     wxPyEndAllowThreads(__tstate
); 
23581     if (PyErr_Occurred()) SWIG_fail
; 
23583   resultobj 
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN 
|  0 ); 
23590 SWIGINTERN PyObject 
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23591   PyObject 
*resultobj 
= 0; 
23592   wxPyScrolledWindow 
*arg1 
= (wxPyScrolledWindow 
*) 0 ; 
23595   PyObject 
*swig_obj
[1] ; 
23597   if (!args
) SWIG_fail
; 
23598   swig_obj
[0] = args
; 
23599   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 |  0 ); 
23600   if (!SWIG_IsOK(res1
)) { 
23601     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");  
23603   arg1 
= reinterpret_cast< wxPyScrolledWindow 
* >(argp1
); 
23605     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23606     (arg1
)->OnInternalIdle(); 
23607     wxPyEndAllowThreads(__tstate
); 
23608     if (PyErr_Occurred()) SWIG_fail
; 
23610   resultobj 
= SWIG_Py_Void(); 
23617 SWIGINTERN PyObject 
*PyScrolledWindow_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23619   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
23620   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
)); 
23621   return SWIG_Py_Void(); 
23624 SWIGINTERN PyObject 
*PyScrolledWindow_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23625   return SWIG_Python_InitShadowInstance(args
); 
23628 SWIGINTERN 
int PrintoutTitleStr_set(PyObject 
*) { 
23629   SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only."); 
23634 SWIGINTERN PyObject 
*PrintoutTitleStr_get(void) { 
23635   PyObject 
*pyobj 
= 0; 
23639     pyobj 
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len()); 
23641     pyobj 
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len()); 
23648 SWIGINTERN 
int PreviewCanvasNameStr_set(PyObject 
*) { 
23649   SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only."); 
23654 SWIGINTERN PyObject 
*PreviewCanvasNameStr_get(void) { 
23655   PyObject 
*pyobj 
= 0; 
23659     pyobj 
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len()); 
23661     pyobj 
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len()); 
23668 SWIGINTERN PyObject 
*_wrap_new_PrintData__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**SWIGUNUSEDPARM(swig_obj
)) { 
23669   PyObject 
*resultobj 
= 0; 
23670   wxPrintData 
*result 
= 0 ; 
23672   if ((nobjs 
< 0) || (nobjs 
> 0)) SWIG_fail
; 
23674     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23675     result 
= (wxPrintData 
*)new wxPrintData(); 
23676     wxPyEndAllowThreads(__tstate
); 
23677     if (PyErr_Occurred()) SWIG_fail
; 
23679   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW 
|  0 ); 
23686 SWIGINTERN PyObject 
*_wrap_new_PrintData__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
23687   PyObject 
*resultobj 
= 0; 
23688   wxPrintData 
*arg1 
= 0 ; 
23689   wxPrintData 
*result 
= 0 ; 
23693   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
23694   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
23695   if (!SWIG_IsOK(res1
)) { 
23696     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
23699     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
23701   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23703     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23704     result 
= (wxPrintData 
*)new wxPrintData((wxPrintData 
const &)*arg1
); 
23705     wxPyEndAllowThreads(__tstate
); 
23706     if (PyErr_Occurred()) SWIG_fail
; 
23708   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW 
|  0 ); 
23715 SWIGINTERN PyObject 
*_wrap_new_PrintData(PyObject 
*self
, PyObject 
*args
) { 
23719   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
; 
23722     return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
); 
23725     return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
); 
23729   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'"); 
23734 SWIGINTERN PyObject 
*_wrap_delete_PrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23735   PyObject 
*resultobj 
= 0; 
23736   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23739   PyObject 
*swig_obj
[1] ; 
23741   if (!args
) SWIG_fail
; 
23742   swig_obj
[0] = args
; 
23743   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN 
|  0 ); 
23744   if (!SWIG_IsOK(res1
)) { 
23745     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23747   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23749     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23752     wxPyEndAllowThreads(__tstate
); 
23753     if (PyErr_Occurred()) SWIG_fail
; 
23755   resultobj 
= SWIG_Py_Void(); 
23762 SWIGINTERN PyObject 
*_wrap_PrintData_GetNoCopies(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23763   PyObject 
*resultobj 
= 0; 
23764   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23768   PyObject 
*swig_obj
[1] ; 
23770   if (!args
) SWIG_fail
; 
23771   swig_obj
[0] = args
; 
23772   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23773   if (!SWIG_IsOK(res1
)) { 
23774     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23776   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23778     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23779     result 
= (int)(arg1
)->GetNoCopies(); 
23780     wxPyEndAllowThreads(__tstate
); 
23781     if (PyErr_Occurred()) SWIG_fail
; 
23783   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23790 SWIGINTERN PyObject 
*_wrap_PrintData_GetCollate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23791   PyObject 
*resultobj 
= 0; 
23792   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23796   PyObject 
*swig_obj
[1] ; 
23798   if (!args
) SWIG_fail
; 
23799   swig_obj
[0] = args
; 
23800   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23801   if (!SWIG_IsOK(res1
)) { 
23802     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23804   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23806     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23807     result 
= (bool)(arg1
)->GetCollate(); 
23808     wxPyEndAllowThreads(__tstate
); 
23809     if (PyErr_Occurred()) SWIG_fail
; 
23812     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23820 SWIGINTERN PyObject 
*_wrap_PrintData_GetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23821   PyObject 
*resultobj 
= 0; 
23822   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23826   PyObject 
*swig_obj
[1] ; 
23828   if (!args
) SWIG_fail
; 
23829   swig_obj
[0] = args
; 
23830   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23831   if (!SWIG_IsOK(res1
)) { 
23832     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23834   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23836     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23837     result 
= (int)(arg1
)->GetOrientation(); 
23838     wxPyEndAllowThreads(__tstate
); 
23839     if (PyErr_Occurred()) SWIG_fail
; 
23841   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23848 SWIGINTERN PyObject 
*_wrap_PrintData_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23849   PyObject 
*resultobj 
= 0; 
23850   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23854   PyObject 
*swig_obj
[1] ; 
23856   if (!args
) SWIG_fail
; 
23857   swig_obj
[0] = args
; 
23858   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23859   if (!SWIG_IsOK(res1
)) { 
23860     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23862   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23864     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23865     result 
= (bool)(arg1
)->Ok(); 
23866     wxPyEndAllowThreads(__tstate
); 
23867     if (PyErr_Occurred()) SWIG_fail
; 
23870     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23878 SWIGINTERN PyObject 
*_wrap_PrintData_GetPrinterName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23879   PyObject 
*resultobj 
= 0; 
23880   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23881   wxString 
*result 
= 0 ; 
23884   PyObject 
*swig_obj
[1] ; 
23886   if (!args
) SWIG_fail
; 
23887   swig_obj
[0] = args
; 
23888   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23889   if (!SWIG_IsOK(res1
)) { 
23890     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23892   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23894     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23896       wxString 
const &_result_ref 
= (arg1
)->GetPrinterName(); 
23897       result 
= (wxString 
*) &_result_ref
; 
23899     wxPyEndAllowThreads(__tstate
); 
23900     if (PyErr_Occurred()) SWIG_fail
; 
23904     resultobj 
= PyUnicode_FromWideChar(result
->c_str(), result
->Len()); 
23906     resultobj 
= PyString_FromStringAndSize(result
->c_str(), result
->Len()); 
23915 SWIGINTERN PyObject 
*_wrap_PrintData_GetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23916   PyObject 
*resultobj 
= 0; 
23917   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23921   PyObject 
*swig_obj
[1] ; 
23923   if (!args
) SWIG_fail
; 
23924   swig_obj
[0] = args
; 
23925   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23926   if (!SWIG_IsOK(res1
)) { 
23927     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23929   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23931     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23932     result 
= (bool)(arg1
)->GetColour(); 
23933     wxPyEndAllowThreads(__tstate
); 
23934     if (PyErr_Occurred()) SWIG_fail
; 
23937     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
23945 SWIGINTERN PyObject 
*_wrap_PrintData_GetDuplex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23946   PyObject 
*resultobj 
= 0; 
23947   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23948   wxDuplexMode result
; 
23951   PyObject 
*swig_obj
[1] ; 
23953   if (!args
) SWIG_fail
; 
23954   swig_obj
[0] = args
; 
23955   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23956   if (!SWIG_IsOK(res1
)) { 
23957     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23959   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23961     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23962     result 
= (wxDuplexMode
)(arg1
)->GetDuplex(); 
23963     wxPyEndAllowThreads(__tstate
); 
23964     if (PyErr_Occurred()) SWIG_fail
; 
23966   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
23973 SWIGINTERN PyObject 
*_wrap_PrintData_GetPaperId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
23974   PyObject 
*resultobj 
= 0; 
23975   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
23976   wxPaperSize result
; 
23979   PyObject 
*swig_obj
[1] ; 
23981   if (!args
) SWIG_fail
; 
23982   swig_obj
[0] = args
; 
23983   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
23984   if (!SWIG_IsOK(res1
)) { 
23985     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");  
23987   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
23989     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
23990     result 
= (wxPaperSize
)(arg1
)->GetPaperId(); 
23991     wxPyEndAllowThreads(__tstate
); 
23992     if (PyErr_Occurred()) SWIG_fail
; 
23994   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
24001 SWIGINTERN PyObject 
*_wrap_PrintData_GetPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24002   PyObject 
*resultobj 
= 0; 
24003   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24004   wxSize 
*result 
= 0 ; 
24007   PyObject 
*swig_obj
[1] ; 
24009   if (!args
) SWIG_fail
; 
24010   swig_obj
[0] = args
; 
24011   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24012   if (!SWIG_IsOK(res1
)) { 
24013     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24015   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24017     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24019       wxSize 
const &_result_ref 
= (arg1
)->GetPaperSize(); 
24020       result 
= (wxSize 
*) &_result_ref
; 
24022     wxPyEndAllowThreads(__tstate
); 
24023     if (PyErr_Occurred()) SWIG_fail
; 
24025   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 |  0 ); 
24032 SWIGINTERN PyObject 
*_wrap_PrintData_GetQuality(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24033   PyObject 
*resultobj 
= 0; 
24034   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24038   PyObject 
*swig_obj
[1] ; 
24040   if (!args
) SWIG_fail
; 
24041   swig_obj
[0] = args
; 
24042   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24043   if (!SWIG_IsOK(res1
)) { 
24044     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24046   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24048     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24049     result 
= (int)(arg1
)->GetQuality(); 
24050     wxPyEndAllowThreads(__tstate
); 
24051     if (PyErr_Occurred()) SWIG_fail
; 
24053   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
24060 SWIGINTERN PyObject 
*_wrap_PrintData_GetBin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24061   PyObject 
*resultobj 
= 0; 
24062   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24066   PyObject 
*swig_obj
[1] ; 
24068   if (!args
) SWIG_fail
; 
24069   swig_obj
[0] = args
; 
24070   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24071   if (!SWIG_IsOK(res1
)) { 
24072     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24074   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24076     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24077     result 
= (wxPrintBin
)(arg1
)->GetBin(); 
24078     wxPyEndAllowThreads(__tstate
); 
24079     if (PyErr_Occurred()) SWIG_fail
; 
24081   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
24088 SWIGINTERN PyObject 
*_wrap_PrintData_GetPrintMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24089   PyObject 
*resultobj 
= 0; 
24090   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24091   wxPrintMode result
; 
24094   PyObject 
*swig_obj
[1] ; 
24096   if (!args
) SWIG_fail
; 
24097   swig_obj
[0] = args
; 
24098   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24099   if (!SWIG_IsOK(res1
)) { 
24100     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");  
24102   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24104     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24105     result 
= (wxPrintMode
)((wxPrintData 
const *)arg1
)->GetPrintMode(); 
24106     wxPyEndAllowThreads(__tstate
); 
24107     if (PyErr_Occurred()) SWIG_fail
; 
24109   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
24116 SWIGINTERN PyObject 
*_wrap_PrintData_SetNoCopies(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24117   PyObject 
*resultobj 
= 0; 
24118   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24124   PyObject 
* obj0 
= 0 ; 
24125   PyObject 
* obj1 
= 0 ; 
24126   char *  kwnames
[] = { 
24127     (char *) "self",(char *) "v", NULL 
 
24130   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24131   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24132   if (!SWIG_IsOK(res1
)) { 
24133     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24135   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24136   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24137   if (!SWIG_IsOK(ecode2
)) { 
24138     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'"); 
24140   arg2 
= static_cast< int >(val2
); 
24142     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24143     (arg1
)->SetNoCopies(arg2
); 
24144     wxPyEndAllowThreads(__tstate
); 
24145     if (PyErr_Occurred()) SWIG_fail
; 
24147   resultobj 
= SWIG_Py_Void(); 
24154 SWIGINTERN PyObject 
*_wrap_PrintData_SetCollate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24155   PyObject 
*resultobj 
= 0; 
24156   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24162   PyObject 
* obj0 
= 0 ; 
24163   PyObject 
* obj1 
= 0 ; 
24164   char *  kwnames
[] = { 
24165     (char *) "self",(char *) "flag", NULL 
 
24168   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24169   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24170   if (!SWIG_IsOK(res1
)) { 
24171     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24173   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24174   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24175   if (!SWIG_IsOK(ecode2
)) { 
24176     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'"); 
24178   arg2 
= static_cast< bool >(val2
); 
24180     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24181     (arg1
)->SetCollate(arg2
); 
24182     wxPyEndAllowThreads(__tstate
); 
24183     if (PyErr_Occurred()) SWIG_fail
; 
24185   resultobj 
= SWIG_Py_Void(); 
24192 SWIGINTERN PyObject 
*_wrap_PrintData_SetOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24193   PyObject 
*resultobj 
= 0; 
24194   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24200   PyObject 
* obj0 
= 0 ; 
24201   PyObject 
* obj1 
= 0 ; 
24202   char *  kwnames
[] = { 
24203     (char *) "self",(char *) "orient", NULL 
 
24206   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24207   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24208   if (!SWIG_IsOK(res1
)) { 
24209     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24211   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24212   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24213   if (!SWIG_IsOK(ecode2
)) { 
24214     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'"); 
24216   arg2 
= static_cast< int >(val2
); 
24218     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24219     (arg1
)->SetOrientation(arg2
); 
24220     wxPyEndAllowThreads(__tstate
); 
24221     if (PyErr_Occurred()) SWIG_fail
; 
24223   resultobj 
= SWIG_Py_Void(); 
24230 SWIGINTERN PyObject 
*_wrap_PrintData_SetPrinterName(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24231   PyObject 
*resultobj 
= 0; 
24232   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24233   wxString 
*arg2 
= 0 ; 
24236   bool temp2 
= false ; 
24237   PyObject 
* obj0 
= 0 ; 
24238   PyObject 
* obj1 
= 0 ; 
24239   char *  kwnames
[] = { 
24240     (char *) "self",(char *) "name", NULL 
 
24243   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24244   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24245   if (!SWIG_IsOK(res1
)) { 
24246     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24248   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24250     arg2 
= wxString_in_helper(obj1
); 
24251     if (arg2 
== NULL
) SWIG_fail
; 
24255     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24256     (arg1
)->SetPrinterName((wxString 
const &)*arg2
); 
24257     wxPyEndAllowThreads(__tstate
); 
24258     if (PyErr_Occurred()) SWIG_fail
; 
24260   resultobj 
= SWIG_Py_Void(); 
24275 SWIGINTERN PyObject 
*_wrap_PrintData_SetColour(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24276   PyObject 
*resultobj 
= 0; 
24277   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24283   PyObject 
* obj0 
= 0 ; 
24284   PyObject 
* obj1 
= 0 ; 
24285   char *  kwnames
[] = { 
24286     (char *) "self",(char *) "colour", NULL 
 
24289   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24290   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24291   if (!SWIG_IsOK(res1
)) { 
24292     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24294   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24295   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24296   if (!SWIG_IsOK(ecode2
)) { 
24297     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'"); 
24299   arg2 
= static_cast< bool >(val2
); 
24301     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24302     (arg1
)->SetColour(arg2
); 
24303     wxPyEndAllowThreads(__tstate
); 
24304     if (PyErr_Occurred()) SWIG_fail
; 
24306   resultobj 
= SWIG_Py_Void(); 
24313 SWIGINTERN PyObject 
*_wrap_PrintData_SetDuplex(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24314   PyObject 
*resultobj 
= 0; 
24315   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24316   wxDuplexMode arg2 
; 
24321   PyObject 
* obj0 
= 0 ; 
24322   PyObject 
* obj1 
= 0 ; 
24323   char *  kwnames
[] = { 
24324     (char *) "self",(char *) "duplex", NULL 
 
24327   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24328   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24329   if (!SWIG_IsOK(res1
)) { 
24330     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24332   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24333   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24334   if (!SWIG_IsOK(ecode2
)) { 
24335     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'"); 
24337   arg2 
= static_cast< wxDuplexMode 
>(val2
); 
24339     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24340     (arg1
)->SetDuplex(arg2
); 
24341     wxPyEndAllowThreads(__tstate
); 
24342     if (PyErr_Occurred()) SWIG_fail
; 
24344   resultobj 
= SWIG_Py_Void(); 
24351 SWIGINTERN PyObject 
*_wrap_PrintData_SetPaperId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24352   PyObject 
*resultobj 
= 0; 
24353   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24359   PyObject 
* obj0 
= 0 ; 
24360   PyObject 
* obj1 
= 0 ; 
24361   char *  kwnames
[] = { 
24362     (char *) "self",(char *) "sizeId", NULL 
 
24365   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24366   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24367   if (!SWIG_IsOK(res1
)) { 
24368     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24370   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24371   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24372   if (!SWIG_IsOK(ecode2
)) { 
24373     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'"); 
24375   arg2 
= static_cast< wxPaperSize 
>(val2
); 
24377     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24378     (arg1
)->SetPaperId(arg2
); 
24379     wxPyEndAllowThreads(__tstate
); 
24380     if (PyErr_Occurred()) SWIG_fail
; 
24382   resultobj 
= SWIG_Py_Void(); 
24389 SWIGINTERN PyObject 
*_wrap_PrintData_SetPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24390   PyObject 
*resultobj 
= 0; 
24391   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24396   PyObject 
* obj0 
= 0 ; 
24397   PyObject 
* obj1 
= 0 ; 
24398   char *  kwnames
[] = { 
24399     (char *) "self",(char *) "sz", NULL 
 
24402   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24403   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24404   if (!SWIG_IsOK(res1
)) { 
24405     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24407   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24410     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
24413     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24414     (arg1
)->SetPaperSize((wxSize 
const &)*arg2
); 
24415     wxPyEndAllowThreads(__tstate
); 
24416     if (PyErr_Occurred()) SWIG_fail
; 
24418   resultobj 
= SWIG_Py_Void(); 
24425 SWIGINTERN PyObject 
*_wrap_PrintData_SetQuality(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24426   PyObject 
*resultobj 
= 0; 
24427   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24433   PyObject 
* obj0 
= 0 ; 
24434   PyObject 
* obj1 
= 0 ; 
24435   char *  kwnames
[] = { 
24436     (char *) "self",(char *) "quality", NULL 
 
24439   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24440   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24441   if (!SWIG_IsOK(res1
)) { 
24442     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24444   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24445   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24446   if (!SWIG_IsOK(ecode2
)) { 
24447     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'"); 
24449   arg2 
= static_cast< int >(val2
); 
24451     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24452     (arg1
)->SetQuality(arg2
); 
24453     wxPyEndAllowThreads(__tstate
); 
24454     if (PyErr_Occurred()) SWIG_fail
; 
24456   resultobj 
= SWIG_Py_Void(); 
24463 SWIGINTERN PyObject 
*_wrap_PrintData_SetBin(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24464   PyObject 
*resultobj 
= 0; 
24465   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24471   PyObject 
* obj0 
= 0 ; 
24472   PyObject 
* obj1 
= 0 ; 
24473   char *  kwnames
[] = { 
24474     (char *) "self",(char *) "bin", NULL 
 
24477   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24478   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24479   if (!SWIG_IsOK(res1
)) { 
24480     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24482   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24483   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24484   if (!SWIG_IsOK(ecode2
)) { 
24485     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'"); 
24487   arg2 
= static_cast< wxPrintBin 
>(val2
); 
24489     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24490     (arg1
)->SetBin(arg2
); 
24491     wxPyEndAllowThreads(__tstate
); 
24492     if (PyErr_Occurred()) SWIG_fail
; 
24494   resultobj 
= SWIG_Py_Void(); 
24501 SWIGINTERN PyObject 
*_wrap_PrintData_SetPrintMode(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24502   PyObject 
*resultobj 
= 0; 
24503   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24509   PyObject 
* obj0 
= 0 ; 
24510   PyObject 
* obj1 
= 0 ; 
24511   char *  kwnames
[] = { 
24512     (char *) "self",(char *) "printMode", NULL 
 
24515   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24516   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24517   if (!SWIG_IsOK(res1
)) { 
24518     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24520   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24521   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
24522   if (!SWIG_IsOK(ecode2
)) { 
24523     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'"); 
24525   arg2 
= static_cast< wxPrintMode 
>(val2
); 
24527     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24528     (arg1
)->SetPrintMode(arg2
); 
24529     wxPyEndAllowThreads(__tstate
); 
24530     if (PyErr_Occurred()) SWIG_fail
; 
24532   resultobj 
= SWIG_Py_Void(); 
24539 SWIGINTERN PyObject 
*_wrap_PrintData_GetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24540   PyObject 
*resultobj 
= 0; 
24541   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24545   PyObject 
*swig_obj
[1] ; 
24547   if (!args
) SWIG_fail
; 
24548   swig_obj
[0] = args
; 
24549   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24550   if (!SWIG_IsOK(res1
)) { 
24551     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");  
24553   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24555     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24556     result 
= ((wxPrintData 
const *)arg1
)->GetFilename(); 
24557     wxPyEndAllowThreads(__tstate
); 
24558     if (PyErr_Occurred()) SWIG_fail
; 
24562     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
24564     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
24573 SWIGINTERN PyObject 
*_wrap_PrintData_SetFilename(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24574   PyObject 
*resultobj 
= 0; 
24575   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24576   wxString 
*arg2 
= 0 ; 
24579   bool temp2 
= false ; 
24580   PyObject 
* obj0 
= 0 ; 
24581   PyObject 
* obj1 
= 0 ; 
24582   char *  kwnames
[] = { 
24583     (char *) "self",(char *) "filename", NULL 
 
24586   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24587   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24588   if (!SWIG_IsOK(res1
)) { 
24589     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24591   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24593     arg2 
= wxString_in_helper(obj1
); 
24594     if (arg2 
== NULL
) SWIG_fail
; 
24598     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24599     (arg1
)->SetFilename((wxString 
const &)*arg2
); 
24600     wxPyEndAllowThreads(__tstate
); 
24601     if (PyErr_Occurred()) SWIG_fail
; 
24603   resultobj 
= SWIG_Py_Void(); 
24618 SWIGINTERN PyObject 
*_wrap_PrintData_GetPrivData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24619   PyObject 
*resultobj 
= 0; 
24620   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24621   PyObject 
*result 
= 0 ; 
24624   PyObject 
*swig_obj
[1] ; 
24626   if (!args
) SWIG_fail
; 
24627   swig_obj
[0] = args
; 
24628   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24629   if (!SWIG_IsOK(res1
)) { 
24630     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24632   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24634     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24635     result 
= (PyObject 
*)wxPrintData_GetPrivData(arg1
); 
24636     wxPyEndAllowThreads(__tstate
); 
24637     if (PyErr_Occurred()) SWIG_fail
; 
24639   resultobj 
= result
; 
24646 SWIGINTERN PyObject 
*_wrap_PrintData_SetPrivData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24647   PyObject 
*resultobj 
= 0; 
24648   wxPrintData 
*arg1 
= (wxPrintData 
*) 0 ; 
24649   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
24652   PyObject 
* obj0 
= 0 ; 
24653   PyObject 
* obj1 
= 0 ; 
24654   char *  kwnames
[] = { 
24655     (char *) "self",(char *) "data", NULL 
 
24658   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24659   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
24660   if (!SWIG_IsOK(res1
)) { 
24661     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");  
24663   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24666     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24667     wxPrintData_SetPrivData(arg1
,arg2
); 
24668     wxPyEndAllowThreads(__tstate
); 
24669     if (PyErr_Occurred()) SWIG_fail
; 
24671   resultobj 
= SWIG_Py_Void(); 
24678 SWIGINTERN PyObject 
*PrintData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24680   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
24681   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
)); 
24682   return SWIG_Py_Void(); 
24685 SWIGINTERN PyObject 
*PrintData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24686   return SWIG_Python_InitShadowInstance(args
); 
24689 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**SWIGUNUSEDPARM(swig_obj
)) { 
24690   PyObject 
*resultobj 
= 0; 
24691   wxPageSetupDialogData 
*result 
= 0 ; 
24693   if ((nobjs 
< 0) || (nobjs 
> 0)) SWIG_fail
; 
24695     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24696     result 
= (wxPageSetupDialogData 
*)new wxPageSetupDialogData(); 
24697     wxPyEndAllowThreads(__tstate
); 
24698     if (PyErr_Occurred()) SWIG_fail
; 
24700   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW 
|  0 ); 
24707 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
24708   PyObject 
*resultobj 
= 0; 
24709   wxPageSetupDialogData 
*arg1 
= 0 ; 
24710   wxPageSetupDialogData 
*result 
= 0 ; 
24714   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
24715   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
,  0  | 0); 
24716   if (!SWIG_IsOK(res1
)) { 
24717     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");  
24720     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");  
24722   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24724     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24725     result 
= (wxPageSetupDialogData 
*)new wxPageSetupDialogData((wxPageSetupDialogData 
const &)*arg1
); 
24726     wxPyEndAllowThreads(__tstate
); 
24727     if (PyErr_Occurred()) SWIG_fail
; 
24729   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW 
|  0 ); 
24736 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
24737   PyObject 
*resultobj 
= 0; 
24738   wxPrintData 
*arg1 
= 0 ; 
24739   wxPageSetupDialogData 
*result 
= 0 ; 
24743   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
24744   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
24745   if (!SWIG_IsOK(res1
)) { 
24746     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
24749     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
24751   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
24753     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24754     result 
= (wxPageSetupDialogData 
*)new wxPageSetupDialogData((wxPrintData 
const &)*arg1
); 
24755     wxPyEndAllowThreads(__tstate
); 
24756     if (PyErr_Occurred()) SWIG_fail
; 
24758   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW 
|  0 ); 
24765 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialogData(PyObject 
*self
, PyObject 
*args
) { 
24769   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
; 
24772     return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
); 
24777       int res 
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0); 
24778       _v 
= SWIG_CheckState(res
); 
24780     if (!_v
) goto check_2
; 
24781     return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
); 
24786     return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
); 
24790   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'"); 
24795 SWIGINTERN PyObject 
*_wrap_delete_PageSetupDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
24796   PyObject 
*resultobj 
= 0; 
24797   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24800   PyObject 
*swig_obj
[1] ; 
24802   if (!args
) SWIG_fail
; 
24803   swig_obj
[0] = args
; 
24804   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN 
|  0 ); 
24805   if (!SWIG_IsOK(res1
)) { 
24806     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24808   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24810     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24813     wxPyEndAllowThreads(__tstate
); 
24814     if (PyErr_Occurred()) SWIG_fail
; 
24816   resultobj 
= SWIG_Py_Void(); 
24823 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnableHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24824   PyObject 
*resultobj 
= 0; 
24825   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24831   PyObject 
* obj0 
= 0 ; 
24832   PyObject 
* obj1 
= 0 ; 
24833   char *  kwnames
[] = { 
24834     (char *) "self",(char *) "flag", NULL 
 
24837   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24838   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24839   if (!SWIG_IsOK(res1
)) { 
24840     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24842   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24843   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24844   if (!SWIG_IsOK(ecode2
)) { 
24845     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'"); 
24847   arg2 
= static_cast< bool >(val2
); 
24849     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24850     (arg1
)->EnableHelp(arg2
); 
24851     wxPyEndAllowThreads(__tstate
); 
24852     if (PyErr_Occurred()) SWIG_fail
; 
24854   resultobj 
= SWIG_Py_Void(); 
24861 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnableMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24862   PyObject 
*resultobj 
= 0; 
24863   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24869   PyObject 
* obj0 
= 0 ; 
24870   PyObject 
* obj1 
= 0 ; 
24871   char *  kwnames
[] = { 
24872     (char *) "self",(char *) "flag", NULL 
 
24875   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24876   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24877   if (!SWIG_IsOK(res1
)) { 
24878     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24880   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24881   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24882   if (!SWIG_IsOK(ecode2
)) { 
24883     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'"); 
24885   arg2 
= static_cast< bool >(val2
); 
24887     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24888     (arg1
)->EnableMargins(arg2
); 
24889     wxPyEndAllowThreads(__tstate
); 
24890     if (PyErr_Occurred()) SWIG_fail
; 
24892   resultobj 
= SWIG_Py_Void(); 
24899 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnableOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24900   PyObject 
*resultobj 
= 0; 
24901   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24907   PyObject 
* obj0 
= 0 ; 
24908   PyObject 
* obj1 
= 0 ; 
24909   char *  kwnames
[] = { 
24910     (char *) "self",(char *) "flag", NULL 
 
24913   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24914   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24915   if (!SWIG_IsOK(res1
)) { 
24916     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24918   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24919   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24920   if (!SWIG_IsOK(ecode2
)) { 
24921     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'"); 
24923   arg2 
= static_cast< bool >(val2
); 
24925     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24926     (arg1
)->EnableOrientation(arg2
); 
24927     wxPyEndAllowThreads(__tstate
); 
24928     if (PyErr_Occurred()) SWIG_fail
; 
24930   resultobj 
= SWIG_Py_Void(); 
24937 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnablePaper(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24938   PyObject 
*resultobj 
= 0; 
24939   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24945   PyObject 
* obj0 
= 0 ; 
24946   PyObject 
* obj1 
= 0 ; 
24947   char *  kwnames
[] = { 
24948     (char *) "self",(char *) "flag", NULL 
 
24951   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24952   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24953   if (!SWIG_IsOK(res1
)) { 
24954     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24956   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24957   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24958   if (!SWIG_IsOK(ecode2
)) { 
24959     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'"); 
24961   arg2 
= static_cast< bool >(val2
); 
24963     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
24964     (arg1
)->EnablePaper(arg2
); 
24965     wxPyEndAllowThreads(__tstate
); 
24966     if (PyErr_Occurred()) SWIG_fail
; 
24968   resultobj 
= SWIG_Py_Void(); 
24975 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_EnablePrinter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
24976   PyObject 
*resultobj 
= 0; 
24977   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
24983   PyObject 
* obj0 
= 0 ; 
24984   PyObject 
* obj1 
= 0 ; 
24985   char *  kwnames
[] = { 
24986     (char *) "self",(char *) "flag", NULL 
 
24989   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
24990   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
24991   if (!SWIG_IsOK(res1
)) { 
24992     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
24994   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
24995   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
24996   if (!SWIG_IsOK(ecode2
)) { 
24997     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'"); 
24999   arg2 
= static_cast< bool >(val2
); 
25001     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25002     (arg1
)->EnablePrinter(arg2
); 
25003     wxPyEndAllowThreads(__tstate
); 
25004     if (PyErr_Occurred()) SWIG_fail
; 
25006   resultobj 
= SWIG_Py_Void(); 
25013 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25014   PyObject 
*resultobj 
= 0; 
25015   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25019   PyObject 
*swig_obj
[1] ; 
25021   if (!args
) SWIG_fail
; 
25022   swig_obj
[0] = args
; 
25023   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25024   if (!SWIG_IsOK(res1
)) { 
25025     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25027   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25029     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25030     result 
= (bool)(arg1
)->GetDefaultMinMargins(); 
25031     wxPyEndAllowThreads(__tstate
); 
25032     if (PyErr_Occurred()) SWIG_fail
; 
25035     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25043 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25044   PyObject 
*resultobj 
= 0; 
25045   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25049   PyObject 
*swig_obj
[1] ; 
25051   if (!args
) SWIG_fail
; 
25052   swig_obj
[0] = args
; 
25053   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25054   if (!SWIG_IsOK(res1
)) { 
25055     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25057   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25059     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25060     result 
= (bool)(arg1
)->GetEnableMargins(); 
25061     wxPyEndAllowThreads(__tstate
); 
25062     if (PyErr_Occurred()) SWIG_fail
; 
25065     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25073 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25074   PyObject 
*resultobj 
= 0; 
25075   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25079   PyObject 
*swig_obj
[1] ; 
25081   if (!args
) SWIG_fail
; 
25082   swig_obj
[0] = args
; 
25083   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25084   if (!SWIG_IsOK(res1
)) { 
25085     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25087   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25089     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25090     result 
= (bool)(arg1
)->GetEnableOrientation(); 
25091     wxPyEndAllowThreads(__tstate
); 
25092     if (PyErr_Occurred()) SWIG_fail
; 
25095     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25103 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25104   PyObject 
*resultobj 
= 0; 
25105   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25109   PyObject 
*swig_obj
[1] ; 
25111   if (!args
) SWIG_fail
; 
25112   swig_obj
[0] = args
; 
25113   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25114   if (!SWIG_IsOK(res1
)) { 
25115     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25117   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25119     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25120     result 
= (bool)(arg1
)->GetEnablePaper(); 
25121     wxPyEndAllowThreads(__tstate
); 
25122     if (PyErr_Occurred()) SWIG_fail
; 
25125     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25133 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25134   PyObject 
*resultobj 
= 0; 
25135   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25139   PyObject 
*swig_obj
[1] ; 
25141   if (!args
) SWIG_fail
; 
25142   swig_obj
[0] = args
; 
25143   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25144   if (!SWIG_IsOK(res1
)) { 
25145     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25147   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25149     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25150     result 
= (bool)(arg1
)->GetEnablePrinter(); 
25151     wxPyEndAllowThreads(__tstate
); 
25152     if (PyErr_Occurred()) SWIG_fail
; 
25155     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25163 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25164   PyObject 
*resultobj 
= 0; 
25165   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25169   PyObject 
*swig_obj
[1] ; 
25171   if (!args
) SWIG_fail
; 
25172   swig_obj
[0] = args
; 
25173   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25174   if (!SWIG_IsOK(res1
)) { 
25175     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25177   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25179     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25180     result 
= (bool)(arg1
)->GetEnableHelp(); 
25181     wxPyEndAllowThreads(__tstate
); 
25182     if (PyErr_Occurred()) SWIG_fail
; 
25185     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25193 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25194   PyObject 
*resultobj 
= 0; 
25195   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25199   PyObject 
*swig_obj
[1] ; 
25201   if (!args
) SWIG_fail
; 
25202   swig_obj
[0] = args
; 
25203   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25204   if (!SWIG_IsOK(res1
)) { 
25205     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25207   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25209     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25210     result 
= (bool)(arg1
)->GetDefaultInfo(); 
25211     wxPyEndAllowThreads(__tstate
); 
25212     if (PyErr_Occurred()) SWIG_fail
; 
25215     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25223 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25224   PyObject 
*resultobj 
= 0; 
25225   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25229   PyObject 
*swig_obj
[1] ; 
25231   if (!args
) SWIG_fail
; 
25232   swig_obj
[0] = args
; 
25233   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25234   if (!SWIG_IsOK(res1
)) { 
25235     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25237   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25239     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25240     result 
= (arg1
)->GetMarginTopLeft(); 
25241     wxPyEndAllowThreads(__tstate
); 
25242     if (PyErr_Occurred()) SWIG_fail
; 
25244   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
25251 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25252   PyObject 
*resultobj 
= 0; 
25253   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25257   PyObject 
*swig_obj
[1] ; 
25259   if (!args
) SWIG_fail
; 
25260   swig_obj
[0] = args
; 
25261   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25262   if (!SWIG_IsOK(res1
)) { 
25263     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25265   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25267     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25268     result 
= (arg1
)->GetMarginBottomRight(); 
25269     wxPyEndAllowThreads(__tstate
); 
25270     if (PyErr_Occurred()) SWIG_fail
; 
25272   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
25279 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25280   PyObject 
*resultobj 
= 0; 
25281   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25285   PyObject 
*swig_obj
[1] ; 
25287   if (!args
) SWIG_fail
; 
25288   swig_obj
[0] = args
; 
25289   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25290   if (!SWIG_IsOK(res1
)) { 
25291     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25293   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25295     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25296     result 
= (arg1
)->GetMinMarginTopLeft(); 
25297     wxPyEndAllowThreads(__tstate
); 
25298     if (PyErr_Occurred()) SWIG_fail
; 
25300   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
25307 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25308   PyObject 
*resultobj 
= 0; 
25309   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25313   PyObject 
*swig_obj
[1] ; 
25315   if (!args
) SWIG_fail
; 
25316   swig_obj
[0] = args
; 
25317   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25318   if (!SWIG_IsOK(res1
)) { 
25319     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25321   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25323     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25324     result 
= (arg1
)->GetMinMarginBottomRight(); 
25325     wxPyEndAllowThreads(__tstate
); 
25326     if (PyErr_Occurred()) SWIG_fail
; 
25328   resultobj 
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN 
|  0 ); 
25335 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetPaperId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25336   PyObject 
*resultobj 
= 0; 
25337   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25338   wxPaperSize result
; 
25341   PyObject 
*swig_obj
[1] ; 
25343   if (!args
) SWIG_fail
; 
25344   swig_obj
[0] = args
; 
25345   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25346   if (!SWIG_IsOK(res1
)) { 
25347     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25349   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25351     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25352     result 
= (wxPaperSize
)(arg1
)->GetPaperId(); 
25353     wxPyEndAllowThreads(__tstate
); 
25354     if (PyErr_Occurred()) SWIG_fail
; 
25356   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
25363 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25364   PyObject 
*resultobj 
= 0; 
25365   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25369   PyObject 
*swig_obj
[1] ; 
25371   if (!args
) SWIG_fail
; 
25372   swig_obj
[0] = args
; 
25373   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25374   if (!SWIG_IsOK(res1
)) { 
25375     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25377   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25379     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25380     result 
= (arg1
)->GetPaperSize(); 
25381     wxPyEndAllowThreads(__tstate
); 
25382     if (PyErr_Occurred()) SWIG_fail
; 
25384   resultobj 
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN 
|  0 ); 
25391 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_GetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25392   PyObject 
*resultobj 
= 0; 
25393   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25394   wxPrintData 
*result 
= 0 ; 
25397   PyObject 
*swig_obj
[1] ; 
25399   if (!args
) SWIG_fail
; 
25400   swig_obj
[0] = args
; 
25401   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25402   if (!SWIG_IsOK(res1
)) { 
25403     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25405   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25407     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25409       wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
25410       result 
= (wxPrintData 
*) &_result_ref
; 
25412     wxPyEndAllowThreads(__tstate
); 
25413     if (PyErr_Occurred()) SWIG_fail
; 
25415   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
25422 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25423   PyObject 
*resultobj 
= 0; 
25424   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25428   PyObject 
*swig_obj
[1] ; 
25430   if (!args
) SWIG_fail
; 
25431   swig_obj
[0] = args
; 
25432   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25433   if (!SWIG_IsOK(res1
)) { 
25434     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25436   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25438     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25439     result 
= (bool)(arg1
)->Ok(); 
25440     wxPyEndAllowThreads(__tstate
); 
25441     if (PyErr_Occurred()) SWIG_fail
; 
25444     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
25452 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25453   PyObject 
*resultobj 
= 0; 
25454   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25460   PyObject 
* obj0 
= 0 ; 
25461   PyObject 
* obj1 
= 0 ; 
25462   char *  kwnames
[] = { 
25463     (char *) "self",(char *) "flag", NULL 
 
25466   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25467   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25468   if (!SWIG_IsOK(res1
)) { 
25469     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25471   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25472   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
25473   if (!SWIG_IsOK(ecode2
)) { 
25474     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'"); 
25476   arg2 
= static_cast< bool >(val2
); 
25478     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25479     (arg1
)->SetDefaultInfo(arg2
); 
25480     wxPyEndAllowThreads(__tstate
); 
25481     if (PyErr_Occurred()) SWIG_fail
; 
25483   resultobj 
= SWIG_Py_Void(); 
25490 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25491   PyObject 
*resultobj 
= 0; 
25492   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25498   PyObject 
* obj0 
= 0 ; 
25499   PyObject 
* obj1 
= 0 ; 
25500   char *  kwnames
[] = { 
25501     (char *) "self",(char *) "flag", NULL 
 
25504   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25505   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25506   if (!SWIG_IsOK(res1
)) { 
25507     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25509   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25510   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
25511   if (!SWIG_IsOK(ecode2
)) { 
25512     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'"); 
25514   arg2 
= static_cast< bool >(val2
); 
25516     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25517     (arg1
)->SetDefaultMinMargins(arg2
); 
25518     wxPyEndAllowThreads(__tstate
); 
25519     if (PyErr_Occurred()) SWIG_fail
; 
25521   resultobj 
= SWIG_Py_Void(); 
25528 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25529   PyObject 
*resultobj 
= 0; 
25530   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25531   wxPoint 
*arg2 
= 0 ; 
25535   PyObject 
* obj0 
= 0 ; 
25536   PyObject 
* obj1 
= 0 ; 
25537   char *  kwnames
[] = { 
25538     (char *) "self",(char *) "pt", NULL 
 
25541   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25542   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25543   if (!SWIG_IsOK(res1
)) { 
25544     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25546   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25549     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25552     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25553     (arg1
)->SetMarginTopLeft((wxPoint 
const &)*arg2
); 
25554     wxPyEndAllowThreads(__tstate
); 
25555     if (PyErr_Occurred()) SWIG_fail
; 
25557   resultobj 
= SWIG_Py_Void(); 
25564 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25565   PyObject 
*resultobj 
= 0; 
25566   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25567   wxPoint 
*arg2 
= 0 ; 
25571   PyObject 
* obj0 
= 0 ; 
25572   PyObject 
* obj1 
= 0 ; 
25573   char *  kwnames
[] = { 
25574     (char *) "self",(char *) "pt", NULL 
 
25577   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25578   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25579   if (!SWIG_IsOK(res1
)) { 
25580     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25582   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25585     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25588     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25589     (arg1
)->SetMarginBottomRight((wxPoint 
const &)*arg2
); 
25590     wxPyEndAllowThreads(__tstate
); 
25591     if (PyErr_Occurred()) SWIG_fail
; 
25593   resultobj 
= SWIG_Py_Void(); 
25600 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25601   PyObject 
*resultobj 
= 0; 
25602   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25603   wxPoint 
*arg2 
= 0 ; 
25607   PyObject 
* obj0 
= 0 ; 
25608   PyObject 
* obj1 
= 0 ; 
25609   char *  kwnames
[] = { 
25610     (char *) "self",(char *) "pt", NULL 
 
25613   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25614   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25615   if (!SWIG_IsOK(res1
)) { 
25616     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25618   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25621     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25624     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25625     (arg1
)->SetMinMarginTopLeft((wxPoint 
const &)*arg2
); 
25626     wxPyEndAllowThreads(__tstate
); 
25627     if (PyErr_Occurred()) SWIG_fail
; 
25629   resultobj 
= SWIG_Py_Void(); 
25636 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25637   PyObject 
*resultobj 
= 0; 
25638   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25639   wxPoint 
*arg2 
= 0 ; 
25643   PyObject 
* obj0 
= 0 ; 
25644   PyObject 
* obj1 
= 0 ; 
25645   char *  kwnames
[] = { 
25646     (char *) "self",(char *) "pt", NULL 
 
25649   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25650   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25651   if (!SWIG_IsOK(res1
)) { 
25652     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25654   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25657     if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
; 
25660     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25661     (arg1
)->SetMinMarginBottomRight((wxPoint 
const &)*arg2
); 
25662     wxPyEndAllowThreads(__tstate
); 
25663     if (PyErr_Occurred()) SWIG_fail
; 
25665   resultobj 
= SWIG_Py_Void(); 
25672 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetPaperId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25673   PyObject 
*resultobj 
= 0; 
25674   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25680   PyObject 
* obj0 
= 0 ; 
25681   PyObject 
* obj1 
= 0 ; 
25682   char *  kwnames
[] = { 
25683     (char *) "self",(char *) "id", NULL 
 
25686   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25687   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25688   if (!SWIG_IsOK(res1
)) { 
25689     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25691   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25692   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
25693   if (!SWIG_IsOK(ecode2
)) { 
25694     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'"); 
25696   arg2 
= static_cast< wxPaperSize 
>(val2
); 
25698     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25699     (arg1
)->SetPaperId(arg2
); 
25700     wxPyEndAllowThreads(__tstate
); 
25701     if (PyErr_Occurred()) SWIG_fail
; 
25703   resultobj 
= SWIG_Py_Void(); 
25710 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25711   PyObject 
*resultobj 
= 0; 
25712   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25717   PyObject 
* obj0 
= 0 ; 
25718   PyObject 
* obj1 
= 0 ; 
25719   char *  kwnames
[] = { 
25720     (char *) "self",(char *) "size", NULL 
 
25723   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25724   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25725   if (!SWIG_IsOK(res1
)) { 
25726     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25728   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25731     if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
; 
25734     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25735     (arg1
)->SetPaperSize((wxSize 
const &)*arg2
); 
25736     wxPyEndAllowThreads(__tstate
); 
25737     if (PyErr_Occurred()) SWIG_fail
; 
25739   resultobj 
= SWIG_Py_Void(); 
25746 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_SetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25747   PyObject 
*resultobj 
= 0; 
25748   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25749   wxPrintData 
*arg2 
= 0 ; 
25754   PyObject 
* obj0 
= 0 ; 
25755   PyObject 
* obj1 
= 0 ; 
25756   char *  kwnames
[] = { 
25757     (char *) "self",(char *) "printData", NULL 
 
25760   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25761   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25762   if (!SWIG_IsOK(res1
)) { 
25763     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25765   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25766   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
25767   if (!SWIG_IsOK(res2
)) { 
25768     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
25771     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
25773   arg2 
= reinterpret_cast< wxPrintData 
* >(argp2
); 
25775     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25776     (arg1
)->SetPrintData((wxPrintData 
const &)*arg2
); 
25777     wxPyEndAllowThreads(__tstate
); 
25778     if (PyErr_Occurred()) SWIG_fail
; 
25780   resultobj 
= SWIG_Py_Void(); 
25787 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25788   PyObject 
*resultobj 
= 0; 
25789   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25792   PyObject 
*swig_obj
[1] ; 
25794   if (!args
) SWIG_fail
; 
25795   swig_obj
[0] = args
; 
25796   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25797   if (!SWIG_IsOK(res1
)) { 
25798     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25800   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25802     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25803     (arg1
)->CalculateIdFromPaperSize(); 
25804     wxPyEndAllowThreads(__tstate
); 
25805     if (PyErr_Occurred()) SWIG_fail
; 
25807   resultobj 
= SWIG_Py_Void(); 
25814 SWIGINTERN PyObject 
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25815   PyObject 
*resultobj 
= 0; 
25816   wxPageSetupDialogData 
*arg1 
= (wxPageSetupDialogData 
*) 0 ; 
25819   PyObject 
*swig_obj
[1] ; 
25821   if (!args
) SWIG_fail
; 
25822   swig_obj
[0] = args
; 
25823   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25824   if (!SWIG_IsOK(res1
)) { 
25825     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");  
25827   arg1 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp1
); 
25829     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25830     (arg1
)->CalculatePaperSizeFromId(); 
25831     wxPyEndAllowThreads(__tstate
); 
25832     if (PyErr_Occurred()) SWIG_fail
; 
25834   resultobj 
= SWIG_Py_Void(); 
25841 SWIGINTERN PyObject 
*PageSetupDialogData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25843   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
25844   SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
)); 
25845   return SWIG_Py_Void(); 
25848 SWIGINTERN PyObject 
*PageSetupDialogData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25849   return SWIG_Python_InitShadowInstance(args
); 
25852 SWIGINTERN PyObject 
*_wrap_new_PageSetupDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
25853   PyObject 
*resultobj 
= 0; 
25854   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
25855   wxPageSetupDialogData 
*arg2 
= (wxPageSetupDialogData 
*) NULL 
; 
25856   wxPageSetupDialog 
*result 
= 0 ; 
25861   PyObject 
* obj0 
= 0 ; 
25862   PyObject 
* obj1 
= 0 ; 
25863   char *  kwnames
[] = { 
25864     (char *) "parent",(char *) "data", NULL 
 
25867   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
25868   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
25869   if (!SWIG_IsOK(res1
)) { 
25870     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
25872   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
25874     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25875     if (!SWIG_IsOK(res2
)) { 
25876       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");  
25878     arg2 
= reinterpret_cast< wxPageSetupDialogData 
* >(argp2
); 
25881     if (!wxPyCheckForApp()) SWIG_fail
; 
25882     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25883     result 
= (wxPageSetupDialog 
*)new wxPageSetupDialog(arg1
,arg2
); 
25884     wxPyEndAllowThreads(__tstate
); 
25885     if (PyErr_Occurred()) SWIG_fail
; 
25887   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW 
|  0 ); 
25894 SWIGINTERN PyObject 
*_wrap_delete_PageSetupDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25895   PyObject 
*resultobj 
= 0; 
25896   wxPageSetupDialog 
*arg1 
= (wxPageSetupDialog 
*) 0 ; 
25899   PyObject 
*swig_obj
[1] ; 
25901   if (!args
) SWIG_fail
; 
25902   swig_obj
[0] = args
; 
25903   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN 
|  0 ); 
25904   if (!SWIG_IsOK(res1
)) { 
25905     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");  
25907   arg1 
= reinterpret_cast< wxPageSetupDialog 
* >(argp1
); 
25909     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25912     wxPyEndAllowThreads(__tstate
); 
25913     if (PyErr_Occurred()) SWIG_fail
; 
25915   resultobj 
= SWIG_Py_Void(); 
25922 SWIGINTERN PyObject 
*_wrap_PageSetupDialog_GetPageSetupData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25923   PyObject 
*resultobj 
= 0; 
25924   wxPageSetupDialog 
*arg1 
= (wxPageSetupDialog 
*) 0 ; 
25925   wxPageSetupDialogData 
*result 
= 0 ; 
25928   PyObject 
*swig_obj
[1] ; 
25930   if (!args
) SWIG_fail
; 
25931   swig_obj
[0] = args
; 
25932   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 |  0 ); 
25933   if (!SWIG_IsOK(res1
)) { 
25934     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");  
25936   arg1 
= reinterpret_cast< wxPageSetupDialog 
* >(argp1
); 
25938     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25940       wxPageSetupDialogData 
&_result_ref 
= (arg1
)->GetPageSetupData(); 
25941       result 
= (wxPageSetupDialogData 
*) &_result_ref
; 
25943     wxPyEndAllowThreads(__tstate
); 
25944     if (PyErr_Occurred()) SWIG_fail
; 
25946   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25953 SWIGINTERN PyObject 
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25954   PyObject 
*resultobj 
= 0; 
25955   wxPageSetupDialog 
*arg1 
= (wxPageSetupDialog 
*) 0 ; 
25956   wxPageSetupDialogData 
*result 
= 0 ; 
25959   PyObject 
*swig_obj
[1] ; 
25961   if (!args
) SWIG_fail
; 
25962   swig_obj
[0] = args
; 
25963   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 |  0 ); 
25964   if (!SWIG_IsOK(res1
)) { 
25965     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");  
25967   arg1 
= reinterpret_cast< wxPageSetupDialog 
* >(argp1
); 
25969     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
25971       wxPageSetupDialogData 
&_result_ref 
= (arg1
)->GetPageSetupDialogData(); 
25972       result 
= (wxPageSetupDialogData 
*) &_result_ref
; 
25974     wxPyEndAllowThreads(__tstate
); 
25975     if (PyErr_Occurred()) SWIG_fail
; 
25977   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 |  0 ); 
25984 SWIGINTERN PyObject 
*_wrap_PageSetupDialog_ShowModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
25985   PyObject 
*resultobj 
= 0; 
25986   wxPageSetupDialog 
*arg1 
= (wxPageSetupDialog 
*) 0 ; 
25990   PyObject 
*swig_obj
[1] ; 
25992   if (!args
) SWIG_fail
; 
25993   swig_obj
[0] = args
; 
25994   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 |  0 ); 
25995   if (!SWIG_IsOK(res1
)) { 
25996     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");  
25998   arg1 
= reinterpret_cast< wxPageSetupDialog 
* >(argp1
); 
26000     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26001     result 
= (int)(arg1
)->ShowModal(); 
26002     wxPyEndAllowThreads(__tstate
); 
26003     if (PyErr_Occurred()) SWIG_fail
; 
26005   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
26012 SWIGINTERN PyObject 
*PageSetupDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26014   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
26015   SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
)); 
26016   return SWIG_Py_Void(); 
26019 SWIGINTERN PyObject 
*PageSetupDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26020   return SWIG_Python_InitShadowInstance(args
); 
26023 SWIGINTERN PyObject 
*_wrap_new_PrintDialogData__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**SWIGUNUSEDPARM(swig_obj
)) { 
26024   PyObject 
*resultobj 
= 0; 
26025   wxPrintDialogData 
*result 
= 0 ; 
26027   if ((nobjs 
< 0) || (nobjs 
> 0)) SWIG_fail
; 
26029     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26030     result 
= (wxPrintDialogData 
*)new wxPrintDialogData(); 
26031     wxPyEndAllowThreads(__tstate
); 
26032     if (PyErr_Occurred()) SWIG_fail
; 
26034   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW 
|  0 ); 
26041 SWIGINTERN PyObject 
*_wrap_new_PrintDialogData__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
26042   PyObject 
*resultobj 
= 0; 
26043   wxPrintData 
*arg1 
= 0 ; 
26044   wxPrintDialogData 
*result 
= 0 ; 
26048   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
26049   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
26050   if (!SWIG_IsOK(res1
)) { 
26051     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
26054     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");  
26056   arg1 
= reinterpret_cast< wxPrintData 
* >(argp1
); 
26058     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26059     result 
= (wxPrintDialogData 
*)new wxPrintDialogData((wxPrintData 
const &)*arg1
); 
26060     wxPyEndAllowThreads(__tstate
); 
26061     if (PyErr_Occurred()) SWIG_fail
; 
26063   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW 
|  0 ); 
26070 SWIGINTERN PyObject 
*_wrap_new_PrintDialogData__SWIG_2(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
26071   PyObject 
*resultobj 
= 0; 
26072   wxPrintDialogData 
*arg1 
= 0 ; 
26073   wxPrintDialogData 
*result 
= 0 ; 
26077   if ((nobjs 
< 1) || (nobjs 
> 1)) SWIG_fail
; 
26078   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
,  0  | 0); 
26079   if (!SWIG_IsOK(res1
)) { 
26080     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");  
26083     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");  
26085   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26087     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26088     result 
= (wxPrintDialogData 
*)new wxPrintDialogData((wxPrintDialogData 
const &)*arg1
); 
26089     wxPyEndAllowThreads(__tstate
); 
26090     if (PyErr_Occurred()) SWIG_fail
; 
26092   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW 
|  0 ); 
26099 SWIGINTERN PyObject 
*_wrap_new_PrintDialogData(PyObject 
*self
, PyObject 
*args
) { 
26103   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
; 
26106     return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
); 
26111       int res 
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0); 
26112       _v 
= SWIG_CheckState(res
); 
26114     if (!_v
) goto check_2
; 
26115     return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
); 
26120     return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
); 
26124   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'"); 
26129 SWIGINTERN PyObject 
*_wrap_delete_PrintDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26130   PyObject 
*resultobj 
= 0; 
26131   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26134   PyObject 
*swig_obj
[1] ; 
26136   if (!args
) SWIG_fail
; 
26137   swig_obj
[0] = args
; 
26138   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN 
|  0 ); 
26139   if (!SWIG_IsOK(res1
)) { 
26140     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26142   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26144     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26147     wxPyEndAllowThreads(__tstate
); 
26148     if (PyErr_Occurred()) SWIG_fail
; 
26150   resultobj 
= SWIG_Py_Void(); 
26157 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetFromPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26158   PyObject 
*resultobj 
= 0; 
26159   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26163   PyObject 
*swig_obj
[1] ; 
26165   if (!args
) SWIG_fail
; 
26166   swig_obj
[0] = args
; 
26167   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26168   if (!SWIG_IsOK(res1
)) { 
26169     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26171   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26173     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26174     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetFromPage(); 
26175     wxPyEndAllowThreads(__tstate
); 
26176     if (PyErr_Occurred()) SWIG_fail
; 
26178   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
26185 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetToPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26186   PyObject 
*resultobj 
= 0; 
26187   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26191   PyObject 
*swig_obj
[1] ; 
26193   if (!args
) SWIG_fail
; 
26194   swig_obj
[0] = args
; 
26195   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26196   if (!SWIG_IsOK(res1
)) { 
26197     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26199   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26201     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26202     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetToPage(); 
26203     wxPyEndAllowThreads(__tstate
); 
26204     if (PyErr_Occurred()) SWIG_fail
; 
26206   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
26213 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetMinPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26214   PyObject 
*resultobj 
= 0; 
26215   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26219   PyObject 
*swig_obj
[1] ; 
26221   if (!args
) SWIG_fail
; 
26222   swig_obj
[0] = args
; 
26223   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26224   if (!SWIG_IsOK(res1
)) { 
26225     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26227   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26229     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26230     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetMinPage(); 
26231     wxPyEndAllowThreads(__tstate
); 
26232     if (PyErr_Occurred()) SWIG_fail
; 
26234   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
26241 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetMaxPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26242   PyObject 
*resultobj 
= 0; 
26243   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26247   PyObject 
*swig_obj
[1] ; 
26249   if (!args
) SWIG_fail
; 
26250   swig_obj
[0] = args
; 
26251   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26252   if (!SWIG_IsOK(res1
)) { 
26253     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26255   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26257     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26258     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetMaxPage(); 
26259     wxPyEndAllowThreads(__tstate
); 
26260     if (PyErr_Occurred()) SWIG_fail
; 
26262   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
26269 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetNoCopies(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26270   PyObject 
*resultobj 
= 0; 
26271   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26275   PyObject 
*swig_obj
[1] ; 
26277   if (!args
) SWIG_fail
; 
26278   swig_obj
[0] = args
; 
26279   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26280   if (!SWIG_IsOK(res1
)) { 
26281     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26283   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26285     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26286     result 
= (int)((wxPrintDialogData 
const *)arg1
)->GetNoCopies(); 
26287     wxPyEndAllowThreads(__tstate
); 
26288     if (PyErr_Occurred()) SWIG_fail
; 
26290   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
26297 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetAllPages(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26298   PyObject 
*resultobj 
= 0; 
26299   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26303   PyObject 
*swig_obj
[1] ; 
26305   if (!args
) SWIG_fail
; 
26306   swig_obj
[0] = args
; 
26307   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26308   if (!SWIG_IsOK(res1
)) { 
26309     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26311   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26313     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26314     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetAllPages(); 
26315     wxPyEndAllowThreads(__tstate
); 
26316     if (PyErr_Occurred()) SWIG_fail
; 
26319     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26327 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26328   PyObject 
*resultobj 
= 0; 
26329   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26333   PyObject 
*swig_obj
[1] ; 
26335   if (!args
) SWIG_fail
; 
26336   swig_obj
[0] = args
; 
26337   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26338   if (!SWIG_IsOK(res1
)) { 
26339     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26341   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26343     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26344     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetSelection(); 
26345     wxPyEndAllowThreads(__tstate
); 
26346     if (PyErr_Occurred()) SWIG_fail
; 
26349     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26357 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetCollate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26358   PyObject 
*resultobj 
= 0; 
26359   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26363   PyObject 
*swig_obj
[1] ; 
26365   if (!args
) SWIG_fail
; 
26366   swig_obj
[0] = args
; 
26367   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26368   if (!SWIG_IsOK(res1
)) { 
26369     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26371   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26373     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26374     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetCollate(); 
26375     wxPyEndAllowThreads(__tstate
); 
26376     if (PyErr_Occurred()) SWIG_fail
; 
26379     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26387 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetPrintToFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26388   PyObject 
*resultobj 
= 0; 
26389   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26393   PyObject 
*swig_obj
[1] ; 
26395   if (!args
) SWIG_fail
; 
26396   swig_obj
[0] = args
; 
26397   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26398   if (!SWIG_IsOK(res1
)) { 
26399     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26401   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26403     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26404     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetPrintToFile(); 
26405     wxPyEndAllowThreads(__tstate
); 
26406     if (PyErr_Occurred()) SWIG_fail
; 
26409     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26417 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetFromPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26418   PyObject 
*resultobj 
= 0; 
26419   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26425   PyObject 
* obj0 
= 0 ; 
26426   PyObject 
* obj1 
= 0 ; 
26427   char *  kwnames
[] = { 
26428     (char *) "self",(char *) "v", NULL 
 
26431   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26432   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26433   if (!SWIG_IsOK(res1
)) { 
26434     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26436   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26437   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26438   if (!SWIG_IsOK(ecode2
)) { 
26439     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'"); 
26441   arg2 
= static_cast< int >(val2
); 
26443     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26444     (arg1
)->SetFromPage(arg2
); 
26445     wxPyEndAllowThreads(__tstate
); 
26446     if (PyErr_Occurred()) SWIG_fail
; 
26448   resultobj 
= SWIG_Py_Void(); 
26455 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetToPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26456   PyObject 
*resultobj 
= 0; 
26457   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26463   PyObject 
* obj0 
= 0 ; 
26464   PyObject 
* obj1 
= 0 ; 
26465   char *  kwnames
[] = { 
26466     (char *) "self",(char *) "v", NULL 
 
26469   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26470   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26471   if (!SWIG_IsOK(res1
)) { 
26472     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26474   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26475   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26476   if (!SWIG_IsOK(ecode2
)) { 
26477     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'"); 
26479   arg2 
= static_cast< int >(val2
); 
26481     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26482     (arg1
)->SetToPage(arg2
); 
26483     wxPyEndAllowThreads(__tstate
); 
26484     if (PyErr_Occurred()) SWIG_fail
; 
26486   resultobj 
= SWIG_Py_Void(); 
26493 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetMinPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26494   PyObject 
*resultobj 
= 0; 
26495   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26501   PyObject 
* obj0 
= 0 ; 
26502   PyObject 
* obj1 
= 0 ; 
26503   char *  kwnames
[] = { 
26504     (char *) "self",(char *) "v", NULL 
 
26507   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26508   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26509   if (!SWIG_IsOK(res1
)) { 
26510     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26512   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26513   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26514   if (!SWIG_IsOK(ecode2
)) { 
26515     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'"); 
26517   arg2 
= static_cast< int >(val2
); 
26519     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26520     (arg1
)->SetMinPage(arg2
); 
26521     wxPyEndAllowThreads(__tstate
); 
26522     if (PyErr_Occurred()) SWIG_fail
; 
26524   resultobj 
= SWIG_Py_Void(); 
26531 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetMaxPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26532   PyObject 
*resultobj 
= 0; 
26533   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26539   PyObject 
* obj0 
= 0 ; 
26540   PyObject 
* obj1 
= 0 ; 
26541   char *  kwnames
[] = { 
26542     (char *) "self",(char *) "v", NULL 
 
26545   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26546   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26547   if (!SWIG_IsOK(res1
)) { 
26548     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26550   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26551   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26552   if (!SWIG_IsOK(ecode2
)) { 
26553     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'"); 
26555   arg2 
= static_cast< int >(val2
); 
26557     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26558     (arg1
)->SetMaxPage(arg2
); 
26559     wxPyEndAllowThreads(__tstate
); 
26560     if (PyErr_Occurred()) SWIG_fail
; 
26562   resultobj 
= SWIG_Py_Void(); 
26569 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetNoCopies(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26570   PyObject 
*resultobj 
= 0; 
26571   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26577   PyObject 
* obj0 
= 0 ; 
26578   PyObject 
* obj1 
= 0 ; 
26579   char *  kwnames
[] = { 
26580     (char *) "self",(char *) "v", NULL 
 
26583   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26584   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26585   if (!SWIG_IsOK(res1
)) { 
26586     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26588   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26589   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
26590   if (!SWIG_IsOK(ecode2
)) { 
26591     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'"); 
26593   arg2 
= static_cast< int >(val2
); 
26595     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26596     (arg1
)->SetNoCopies(arg2
); 
26597     wxPyEndAllowThreads(__tstate
); 
26598     if (PyErr_Occurred()) SWIG_fail
; 
26600   resultobj 
= SWIG_Py_Void(); 
26607 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetAllPages(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26608   PyObject 
*resultobj 
= 0; 
26609   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26615   PyObject 
* obj0 
= 0 ; 
26616   PyObject 
* obj1 
= 0 ; 
26617   char *  kwnames
[] = { 
26618     (char *) "self",(char *) "flag", NULL 
 
26621   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26622   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26623   if (!SWIG_IsOK(res1
)) { 
26624     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26626   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26627   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26628   if (!SWIG_IsOK(ecode2
)) { 
26629     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'"); 
26631   arg2 
= static_cast< bool >(val2
); 
26633     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26634     (arg1
)->SetAllPages(arg2
); 
26635     wxPyEndAllowThreads(__tstate
); 
26636     if (PyErr_Occurred()) SWIG_fail
; 
26638   resultobj 
= SWIG_Py_Void(); 
26645 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26646   PyObject 
*resultobj 
= 0; 
26647   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26653   PyObject 
* obj0 
= 0 ; 
26654   PyObject 
* obj1 
= 0 ; 
26655   char *  kwnames
[] = { 
26656     (char *) "self",(char *) "flag", NULL 
 
26659   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26660   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26661   if (!SWIG_IsOK(res1
)) { 
26662     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26664   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26665   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26666   if (!SWIG_IsOK(ecode2
)) { 
26667     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'"); 
26669   arg2 
= static_cast< bool >(val2
); 
26671     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26672     (arg1
)->SetSelection(arg2
); 
26673     wxPyEndAllowThreads(__tstate
); 
26674     if (PyErr_Occurred()) SWIG_fail
; 
26676   resultobj 
= SWIG_Py_Void(); 
26683 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetCollate(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26684   PyObject 
*resultobj 
= 0; 
26685   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26691   PyObject 
* obj0 
= 0 ; 
26692   PyObject 
* obj1 
= 0 ; 
26693   char *  kwnames
[] = { 
26694     (char *) "self",(char *) "flag", NULL 
 
26697   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26698   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26699   if (!SWIG_IsOK(res1
)) { 
26700     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26702   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26703   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26704   if (!SWIG_IsOK(ecode2
)) { 
26705     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'"); 
26707   arg2 
= static_cast< bool >(val2
); 
26709     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26710     (arg1
)->SetCollate(arg2
); 
26711     wxPyEndAllowThreads(__tstate
); 
26712     if (PyErr_Occurred()) SWIG_fail
; 
26714   resultobj 
= SWIG_Py_Void(); 
26721 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetPrintToFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26722   PyObject 
*resultobj 
= 0; 
26723   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26729   PyObject 
* obj0 
= 0 ; 
26730   PyObject 
* obj1 
= 0 ; 
26731   char *  kwnames
[] = { 
26732     (char *) "self",(char *) "flag", NULL 
 
26735   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26736   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26737   if (!SWIG_IsOK(res1
)) { 
26738     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26740   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26741   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26742   if (!SWIG_IsOK(ecode2
)) { 
26743     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'"); 
26745   arg2 
= static_cast< bool >(val2
); 
26747     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26748     (arg1
)->SetPrintToFile(arg2
); 
26749     wxPyEndAllowThreads(__tstate
); 
26750     if (PyErr_Occurred()) SWIG_fail
; 
26752   resultobj 
= SWIG_Py_Void(); 
26759 SWIGINTERN PyObject 
*_wrap_PrintDialogData_EnablePrintToFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26760   PyObject 
*resultobj 
= 0; 
26761   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26767   PyObject 
* obj0 
= 0 ; 
26768   PyObject 
* obj1 
= 0 ; 
26769   char *  kwnames
[] = { 
26770     (char *) "self",(char *) "flag", NULL 
 
26773   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26774   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26775   if (!SWIG_IsOK(res1
)) { 
26776     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26778   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26779   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26780   if (!SWIG_IsOK(ecode2
)) { 
26781     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'"); 
26783   arg2 
= static_cast< bool >(val2
); 
26785     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26786     (arg1
)->EnablePrintToFile(arg2
); 
26787     wxPyEndAllowThreads(__tstate
); 
26788     if (PyErr_Occurred()) SWIG_fail
; 
26790   resultobj 
= SWIG_Py_Void(); 
26797 SWIGINTERN PyObject 
*_wrap_PrintDialogData_EnableSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26798   PyObject 
*resultobj 
= 0; 
26799   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26805   PyObject 
* obj0 
= 0 ; 
26806   PyObject 
* obj1 
= 0 ; 
26807   char *  kwnames
[] = { 
26808     (char *) "self",(char *) "flag", NULL 
 
26811   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26812   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26813   if (!SWIG_IsOK(res1
)) { 
26814     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26816   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26817   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26818   if (!SWIG_IsOK(ecode2
)) { 
26819     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'"); 
26821   arg2 
= static_cast< bool >(val2
); 
26823     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26824     (arg1
)->EnableSelection(arg2
); 
26825     wxPyEndAllowThreads(__tstate
); 
26826     if (PyErr_Occurred()) SWIG_fail
; 
26828   resultobj 
= SWIG_Py_Void(); 
26835 SWIGINTERN PyObject 
*_wrap_PrintDialogData_EnablePageNumbers(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26836   PyObject 
*resultobj 
= 0; 
26837   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26843   PyObject 
* obj0 
= 0 ; 
26844   PyObject 
* obj1 
= 0 ; 
26845   char *  kwnames
[] = { 
26846     (char *) "self",(char *) "flag", NULL 
 
26849   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26850   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26851   if (!SWIG_IsOK(res1
)) { 
26852     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26854   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26855   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26856   if (!SWIG_IsOK(ecode2
)) { 
26857     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'"); 
26859   arg2 
= static_cast< bool >(val2
); 
26861     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26862     (arg1
)->EnablePageNumbers(arg2
); 
26863     wxPyEndAllowThreads(__tstate
); 
26864     if (PyErr_Occurred()) SWIG_fail
; 
26866   resultobj 
= SWIG_Py_Void(); 
26873 SWIGINTERN PyObject 
*_wrap_PrintDialogData_EnableHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
26874   PyObject 
*resultobj 
= 0; 
26875   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26881   PyObject 
* obj0 
= 0 ; 
26882   PyObject 
* obj1 
= 0 ; 
26883   char *  kwnames
[] = { 
26884     (char *) "self",(char *) "flag", NULL 
 
26887   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
26888   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26889   if (!SWIG_IsOK(res1
)) { 
26890     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
26892   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26893   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
26894   if (!SWIG_IsOK(ecode2
)) { 
26895     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'"); 
26897   arg2 
= static_cast< bool >(val2
); 
26899     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26900     (arg1
)->EnableHelp(arg2
); 
26901     wxPyEndAllowThreads(__tstate
); 
26902     if (PyErr_Occurred()) SWIG_fail
; 
26904   resultobj 
= SWIG_Py_Void(); 
26911 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26912   PyObject 
*resultobj 
= 0; 
26913   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26917   PyObject 
*swig_obj
[1] ; 
26919   if (!args
) SWIG_fail
; 
26920   swig_obj
[0] = args
; 
26921   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26922   if (!SWIG_IsOK(res1
)) { 
26923     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26925   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26927     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26928     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetEnablePrintToFile(); 
26929     wxPyEndAllowThreads(__tstate
); 
26930     if (PyErr_Occurred()) SWIG_fail
; 
26933     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26941 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetEnableSelection(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26942   PyObject 
*resultobj 
= 0; 
26943   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26947   PyObject 
*swig_obj
[1] ; 
26949   if (!args
) SWIG_fail
; 
26950   swig_obj
[0] = args
; 
26951   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26952   if (!SWIG_IsOK(res1
)) { 
26953     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26955   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26957     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26958     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetEnableSelection(); 
26959     wxPyEndAllowThreads(__tstate
); 
26960     if (PyErr_Occurred()) SWIG_fail
; 
26963     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
26971 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
26972   PyObject 
*resultobj 
= 0; 
26973   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
26977   PyObject 
*swig_obj
[1] ; 
26979   if (!args
) SWIG_fail
; 
26980   swig_obj
[0] = args
; 
26981   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
26982   if (!SWIG_IsOK(res1
)) { 
26983     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
26985   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
26987     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
26988     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetEnablePageNumbers(); 
26989     wxPyEndAllowThreads(__tstate
); 
26990     if (PyErr_Occurred()) SWIG_fail
; 
26993     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27001 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetEnableHelp(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27002   PyObject 
*resultobj 
= 0; 
27003   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
27007   PyObject 
*swig_obj
[1] ; 
27009   if (!args
) SWIG_fail
; 
27010   swig_obj
[0] = args
; 
27011   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
27012   if (!SWIG_IsOK(res1
)) { 
27013     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
27015   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
27017     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27018     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->GetEnableHelp(); 
27019     wxPyEndAllowThreads(__tstate
); 
27020     if (PyErr_Occurred()) SWIG_fail
; 
27023     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27031 SWIGINTERN PyObject 
*_wrap_PrintDialogData_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27032   PyObject 
*resultobj 
= 0; 
27033   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
27037   PyObject 
*swig_obj
[1] ; 
27039   if (!args
) SWIG_fail
; 
27040   swig_obj
[0] = args
; 
27041   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
27042   if (!SWIG_IsOK(res1
)) { 
27043     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");  
27045   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
27047     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27048     result 
= (bool)((wxPrintDialogData 
const *)arg1
)->Ok(); 
27049     wxPyEndAllowThreads(__tstate
); 
27050     if (PyErr_Occurred()) SWIG_fail
; 
27053     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27061 SWIGINTERN PyObject 
*_wrap_PrintDialogData_GetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27062   PyObject 
*resultobj 
= 0; 
27063   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
27064   wxPrintData 
*result 
= 0 ; 
27067   PyObject 
*swig_obj
[1] ; 
27069   if (!args
) SWIG_fail
; 
27070   swig_obj
[0] = args
; 
27071   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
27072   if (!SWIG_IsOK(res1
)) { 
27073     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
27075   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
27077     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27079       wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
27080       result 
= (wxPrintData 
*) &_result_ref
; 
27082     wxPyEndAllowThreads(__tstate
); 
27083     if (PyErr_Occurred()) SWIG_fail
; 
27085   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
27092 SWIGINTERN PyObject 
*_wrap_PrintDialogData_SetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27093   PyObject 
*resultobj 
= 0; 
27094   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) 0 ; 
27095   wxPrintData 
*arg2 
= 0 ; 
27100   PyObject 
* obj0 
= 0 ; 
27101   PyObject 
* obj1 
= 0 ; 
27102   char *  kwnames
[] = { 
27103     (char *) "self",(char *) "printData", NULL 
 
27106   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27107   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
27108   if (!SWIG_IsOK(res1
)) { 
27109     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
27111   arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
27112   res2 
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
,  0  | 0); 
27113   if (!SWIG_IsOK(res2
)) { 
27114     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
27117     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");  
27119   arg2 
= reinterpret_cast< wxPrintData 
* >(argp2
); 
27121     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27122     (arg1
)->SetPrintData((wxPrintData 
const &)*arg2
); 
27123     wxPyEndAllowThreads(__tstate
); 
27124     if (PyErr_Occurred()) SWIG_fail
; 
27126   resultobj 
= SWIG_Py_Void(); 
27133 SWIGINTERN PyObject 
*PrintDialogData_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27135   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
27136   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
)); 
27137   return SWIG_Py_Void(); 
27140 SWIGINTERN PyObject 
*PrintDialogData_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27141   return SWIG_Python_InitShadowInstance(args
); 
27144 SWIGINTERN PyObject 
*_wrap_new_PrintDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27145   PyObject 
*resultobj 
= 0; 
27146   wxWindow 
*arg1 
= (wxWindow 
*) 0 ; 
27147   wxPrintDialogData 
*arg2 
= (wxPrintDialogData 
*) NULL 
; 
27148   wxPrintDialog 
*result 
= 0 ; 
27153   PyObject 
* obj0 
= 0 ; 
27154   PyObject 
* obj1 
= 0 ; 
27155   char *  kwnames
[] = { 
27156     (char *) "parent",(char *) "data", NULL 
 
27159   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27160   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27161   if (!SWIG_IsOK(res1
)) { 
27162     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");  
27164   arg1 
= reinterpret_cast< wxWindow 
* >(argp1
); 
27166     res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
27167     if (!SWIG_IsOK(res2
)) { 
27168       SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");  
27170     arg2 
= reinterpret_cast< wxPrintDialogData 
* >(argp2
); 
27173     if (!wxPyCheckForApp()) SWIG_fail
; 
27174     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27175     result 
= (wxPrintDialog 
*)new wxPrintDialog(arg1
,arg2
); 
27176     wxPyEndAllowThreads(__tstate
); 
27177     if (PyErr_Occurred()) SWIG_fail
; 
27179   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW 
|  0 ); 
27186 SWIGINTERN PyObject 
*_wrap_delete_PrintDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27187   PyObject 
*resultobj 
= 0; 
27188   wxPrintDialog 
*arg1 
= (wxPrintDialog 
*) 0 ; 
27191   PyObject 
*swig_obj
[1] ; 
27193   if (!args
) SWIG_fail
; 
27194   swig_obj
[0] = args
; 
27195   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN 
|  0 ); 
27196   if (!SWIG_IsOK(res1
)) { 
27197     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");  
27199   arg1 
= reinterpret_cast< wxPrintDialog 
* >(argp1
); 
27201     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27204     wxPyEndAllowThreads(__tstate
); 
27205     if (PyErr_Occurred()) SWIG_fail
; 
27207   resultobj 
= SWIG_Py_Void(); 
27214 SWIGINTERN PyObject 
*_wrap_PrintDialog_ShowModal(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27215   PyObject 
*resultobj 
= 0; 
27216   wxPrintDialog 
*arg1 
= (wxPrintDialog 
*) 0 ; 
27220   PyObject 
*swig_obj
[1] ; 
27222   if (!args
) SWIG_fail
; 
27223   swig_obj
[0] = args
; 
27224   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 |  0 ); 
27225   if (!SWIG_IsOK(res1
)) { 
27226     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");  
27228   arg1 
= reinterpret_cast< wxPrintDialog 
* >(argp1
); 
27230     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27231     result 
= (int)(arg1
)->ShowModal(); 
27232     wxPyEndAllowThreads(__tstate
); 
27233     if (PyErr_Occurred()) SWIG_fail
; 
27235   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
27242 SWIGINTERN PyObject 
*_wrap_PrintDialog_GetPrintDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27243   PyObject 
*resultobj 
= 0; 
27244   wxPrintDialog 
*arg1 
= (wxPrintDialog 
*) 0 ; 
27245   wxPrintDialogData 
*result 
= 0 ; 
27248   PyObject 
*swig_obj
[1] ; 
27250   if (!args
) SWIG_fail
; 
27251   swig_obj
[0] = args
; 
27252   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 |  0 ); 
27253   if (!SWIG_IsOK(res1
)) { 
27254     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");  
27256   arg1 
= reinterpret_cast< wxPrintDialog 
* >(argp1
); 
27258     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27260       wxPrintDialogData 
&_result_ref 
= (arg1
)->GetPrintDialogData(); 
27261       result 
= (wxPrintDialogData 
*) &_result_ref
; 
27263     wxPyEndAllowThreads(__tstate
); 
27264     if (PyErr_Occurred()) SWIG_fail
; 
27266   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
27273 SWIGINTERN PyObject 
*_wrap_PrintDialog_GetPrintData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27274   PyObject 
*resultobj 
= 0; 
27275   wxPrintDialog 
*arg1 
= (wxPrintDialog 
*) 0 ; 
27276   wxPrintData 
*result 
= 0 ; 
27279   PyObject 
*swig_obj
[1] ; 
27281   if (!args
) SWIG_fail
; 
27282   swig_obj
[0] = args
; 
27283   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 |  0 ); 
27284   if (!SWIG_IsOK(res1
)) { 
27285     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");  
27287   arg1 
= reinterpret_cast< wxPrintDialog 
* >(argp1
); 
27289     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27291       wxPrintData 
&_result_ref 
= (arg1
)->GetPrintData(); 
27292       result 
= (wxPrintData 
*) &_result_ref
; 
27294     wxPyEndAllowThreads(__tstate
); 
27295     if (PyErr_Occurred()) SWIG_fail
; 
27297   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
27304 SWIGINTERN PyObject 
*_wrap_PrintDialog_GetPrintDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27305   PyObject 
*resultobj 
= 0; 
27306   wxPrintDialog 
*arg1 
= (wxPrintDialog 
*) 0 ; 
27310   PyObject 
*swig_obj
[1] ; 
27312   if (!args
) SWIG_fail
; 
27313   swig_obj
[0] = args
; 
27314   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 |  0 ); 
27315   if (!SWIG_IsOK(res1
)) { 
27316     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");  
27318   arg1 
= reinterpret_cast< wxPrintDialog 
* >(argp1
); 
27320     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27321     result 
= (wxDC 
*)(arg1
)->GetPrintDC(); 
27322     wxPyEndAllowThreads(__tstate
); 
27323     if (PyErr_Occurred()) SWIG_fail
; 
27326     resultobj 
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);  
27334 SWIGINTERN PyObject 
*PrintDialog_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27336   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
27337   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
)); 
27338   return SWIG_Py_Void(); 
27341 SWIGINTERN PyObject 
*PrintDialog_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27342   return SWIG_Python_InitShadowInstance(args
); 
27345 SWIGINTERN PyObject 
*_wrap_new_Printer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27346   PyObject 
*resultobj 
= 0; 
27347   wxPrintDialogData 
*arg1 
= (wxPrintDialogData 
*) NULL 
; 
27348   wxPrinter 
*result 
= 0 ; 
27351   PyObject 
* obj0 
= 0 ; 
27352   char *  kwnames
[] = { 
27353     (char *) "data", NULL 
 
27356   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
; 
27358     res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
27359     if (!SWIG_IsOK(res1
)) { 
27360       SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");  
27362     arg1 
= reinterpret_cast< wxPrintDialogData 
* >(argp1
); 
27365     if (!wxPyCheckForApp()) SWIG_fail
; 
27366     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27367     result 
= (wxPrinter 
*)new wxPrinter(arg1
); 
27368     wxPyEndAllowThreads(__tstate
); 
27369     if (PyErr_Occurred()) SWIG_fail
; 
27371   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW 
|  0 ); 
27378 SWIGINTERN PyObject 
*_wrap_delete_Printer(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27379   PyObject 
*resultobj 
= 0; 
27380   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27383   PyObject 
*swig_obj
[1] ; 
27385   if (!args
) SWIG_fail
; 
27386   swig_obj
[0] = args
; 
27387   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN 
|  0 ); 
27388   if (!SWIG_IsOK(res1
)) { 
27389     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27391   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27393     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27396     wxPyEndAllowThreads(__tstate
); 
27397     if (PyErr_Occurred()) SWIG_fail
; 
27399   resultobj 
= SWIG_Py_Void(); 
27406 SWIGINTERN PyObject 
*_wrap_Printer_CreateAbortWindow(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27407   PyObject 
*resultobj 
= 0; 
27408   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27409   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27410   wxPyPrintout 
*arg3 
= (wxPyPrintout 
*) 0 ; 
27411   wxWindow 
*result 
= 0 ; 
27418   PyObject 
* obj0 
= 0 ; 
27419   PyObject 
* obj1 
= 0 ; 
27420   PyObject 
* obj2 
= 0 ; 
27421   char *  kwnames
[] = { 
27422     (char *) "self",(char *) "parent",(char *) "printout", NULL 
 
27425   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27426   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27427   if (!SWIG_IsOK(res1
)) { 
27428     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27430   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27431   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27432   if (!SWIG_IsOK(res2
)) { 
27433     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");  
27435   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27436   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27437   if (!SWIG_IsOK(res3
)) { 
27438     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");  
27440   arg3 
= reinterpret_cast< wxPyPrintout 
* >(argp3
); 
27442     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27443     result 
= (wxWindow 
*)(arg1
)->CreateAbortWindow(arg2
,arg3
); 
27444     wxPyEndAllowThreads(__tstate
); 
27445     if (PyErr_Occurred()) SWIG_fail
; 
27448     resultobj 
= wxPyMake_wxObject(result
, 0);  
27456 SWIGINTERN PyObject 
*_wrap_Printer_ReportError(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27457   PyObject 
*resultobj 
= 0; 
27458   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27459   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27460   wxPyPrintout 
*arg3 
= (wxPyPrintout 
*) 0 ; 
27461   wxString 
*arg4 
= 0 ; 
27468   bool temp4 
= false ; 
27469   PyObject 
* obj0 
= 0 ; 
27470   PyObject 
* obj1 
= 0 ; 
27471   PyObject 
* obj2 
= 0 ; 
27472   PyObject 
* obj3 
= 0 ; 
27473   char *  kwnames
[] = { 
27474     (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL 
 
27477   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
27478   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27479   if (!SWIG_IsOK(res1
)) { 
27480     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27482   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27483   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27484   if (!SWIG_IsOK(res2
)) { 
27485     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");  
27487   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27488   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27489   if (!SWIG_IsOK(res3
)) { 
27490     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");  
27492   arg3 
= reinterpret_cast< wxPyPrintout 
* >(argp3
); 
27494     arg4 
= wxString_in_helper(obj3
); 
27495     if (arg4 
== NULL
) SWIG_fail
; 
27499     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27500     (arg1
)->ReportError(arg2
,arg3
,(wxString 
const &)*arg4
); 
27501     wxPyEndAllowThreads(__tstate
); 
27502     if (PyErr_Occurred()) SWIG_fail
; 
27504   resultobj 
= SWIG_Py_Void(); 
27519 SWIGINTERN PyObject 
*_wrap_Printer_Setup(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27520   PyObject 
*resultobj 
= 0; 
27521   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27522   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27528   PyObject 
* obj0 
= 0 ; 
27529   PyObject 
* obj1 
= 0 ; 
27530   char *  kwnames
[] = { 
27531     (char *) "self",(char *) "parent", NULL 
 
27534   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27535   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27536   if (!SWIG_IsOK(res1
)) { 
27537     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27539   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27540   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27541   if (!SWIG_IsOK(res2
)) { 
27542     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");  
27544   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27546     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27547     result 
= (bool)(arg1
)->Setup(arg2
); 
27548     wxPyEndAllowThreads(__tstate
); 
27549     if (PyErr_Occurred()) SWIG_fail
; 
27552     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27560 SWIGINTERN PyObject 
*_wrap_Printer_Print(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27561   PyObject 
*resultobj 
= 0; 
27562   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27563   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27564   wxPyPrintout 
*arg3 
= (wxPyPrintout 
*) 0 ; 
27565   bool arg4 
= (bool) true ; 
27575   PyObject 
* obj0 
= 0 ; 
27576   PyObject 
* obj1 
= 0 ; 
27577   PyObject 
* obj2 
= 0 ; 
27578   PyObject 
* obj3 
= 0 ; 
27579   char *  kwnames
[] = { 
27580     (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL 
 
27583   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
; 
27584   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27585   if (!SWIG_IsOK(res1
)) { 
27586     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27588   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27589   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27590   if (!SWIG_IsOK(res2
)) { 
27591     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");  
27593   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27594   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27595   if (!SWIG_IsOK(res3
)) { 
27596     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");  
27598   arg3 
= reinterpret_cast< wxPyPrintout 
* >(argp3
); 
27600     ecode4 
= SWIG_AsVal_bool(obj3
, &val4
); 
27601     if (!SWIG_IsOK(ecode4
)) { 
27602       SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'"); 
27604     arg4 
= static_cast< bool >(val4
); 
27607     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27608     result 
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
); 
27609     wxPyEndAllowThreads(__tstate
); 
27610     if (PyErr_Occurred()) SWIG_fail
; 
27613     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27621 SWIGINTERN PyObject 
*_wrap_Printer_PrintDialog(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27622   PyObject 
*resultobj 
= 0; 
27623   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27624   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
27630   PyObject 
* obj0 
= 0 ; 
27631   PyObject 
* obj1 
= 0 ; 
27632   char *  kwnames
[] = { 
27633     (char *) "self",(char *) "parent", NULL 
 
27636   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27637   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27638   if (!SWIG_IsOK(res1
)) { 
27639     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27641   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27642   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
27643   if (!SWIG_IsOK(res2
)) { 
27644     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");  
27646   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
27648     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27649     result 
= (wxDC 
*)(arg1
)->PrintDialog(arg2
); 
27650     wxPyEndAllowThreads(__tstate
); 
27651     if (PyErr_Occurred()) SWIG_fail
; 
27654     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
27662 SWIGINTERN PyObject 
*_wrap_Printer_GetPrintDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27663   PyObject 
*resultobj 
= 0; 
27664   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27665   wxPrintDialogData 
*result 
= 0 ; 
27668   PyObject 
*swig_obj
[1] ; 
27670   if (!args
) SWIG_fail
; 
27671   swig_obj
[0] = args
; 
27672   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27673   if (!SWIG_IsOK(res1
)) { 
27674     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");  
27676   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27678     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27680       wxPrintDialogData 
&_result_ref 
= ((wxPrinter 
const *)arg1
)->GetPrintDialogData(); 
27681       result 
= (wxPrintDialogData 
*) &_result_ref
; 
27683     wxPyEndAllowThreads(__tstate
); 
27684     if (PyErr_Occurred()) SWIG_fail
; 
27686   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
27693 SWIGINTERN PyObject 
*_wrap_Printer_GetAbort(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27694   PyObject 
*resultobj 
= 0; 
27695   wxPrinter 
*arg1 
= (wxPrinter 
*) 0 ; 
27699   PyObject 
*swig_obj
[1] ; 
27701   if (!args
) SWIG_fail
; 
27702   swig_obj
[0] = args
; 
27703   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 |  0 ); 
27704   if (!SWIG_IsOK(res1
)) { 
27705     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");  
27707   arg1 
= reinterpret_cast< wxPrinter 
* >(argp1
); 
27709     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27710     result 
= (bool)(arg1
)->GetAbort(); 
27711     wxPyEndAllowThreads(__tstate
); 
27712     if (PyErr_Occurred()) SWIG_fail
; 
27715     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
27723 SWIGINTERN PyObject 
*_wrap_Printer_GetLastError(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27724   PyObject 
*resultobj 
= 0; 
27725   wxPrinterError result
; 
27727   if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
; 
27729     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27730     result 
= (wxPrinterError
)wxPrinter::GetLastError(); 
27731     wxPyEndAllowThreads(__tstate
); 
27732     if (PyErr_Occurred()) SWIG_fail
; 
27734   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
27741 SWIGINTERN PyObject 
*Printer_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27743   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
27744   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
)); 
27745   return SWIG_Py_Void(); 
27748 SWIGINTERN PyObject 
*Printer_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27749   return SWIG_Python_InitShadowInstance(args
); 
27752 SWIGINTERN PyObject 
*_wrap_new_Printout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27753   PyObject 
*resultobj 
= 0; 
27754   wxString 
const &arg1_defvalue 
= wxPyPrintoutTitleStr 
; 
27755   wxString 
*arg1 
= (wxString 
*) &arg1_defvalue 
; 
27756   wxPyPrintout 
*result 
= 0 ; 
27757   bool temp1 
= false ; 
27758   PyObject 
* obj0 
= 0 ; 
27759   char *  kwnames
[] = { 
27760     (char *) "title", NULL 
 
27763   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
; 
27766       arg1 
= wxString_in_helper(obj0
); 
27767       if (arg1 
== NULL
) SWIG_fail
; 
27772     if (!wxPyCheckForApp()) SWIG_fail
; 
27773     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27774     result 
= (wxPyPrintout 
*)new wxPyPrintout((wxString 
const &)*arg1
); 
27775     wxPyEndAllowThreads(__tstate
); 
27776     if (PyErr_Occurred()) SWIG_fail
; 
27778   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW 
|  0 ); 
27793 SWIGINTERN PyObject 
*_wrap_delete_Printout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27794   PyObject 
*resultobj 
= 0; 
27795   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27798   PyObject 
*swig_obj
[1] ; 
27800   if (!args
) SWIG_fail
; 
27801   swig_obj
[0] = args
; 
27802   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
27803   if (!SWIG_IsOK(res1
)) { 
27804     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27806   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27808     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27811     wxPyEndAllowThreads(__tstate
); 
27812     if (PyErr_Occurred()) SWIG_fail
; 
27814   resultobj 
= SWIG_Py_Void(); 
27821 SWIGINTERN PyObject 
*_wrap_Printout__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27822   PyObject 
*resultobj 
= 0; 
27823   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27824   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
27825   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
27828   PyObject 
* obj0 
= 0 ; 
27829   PyObject 
* obj1 
= 0 ; 
27830   PyObject 
* obj2 
= 0 ; 
27831   char *  kwnames
[] = { 
27832     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
27835   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27836   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27837   if (!SWIG_IsOK(res1
)) { 
27838     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27840   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27844     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27845     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
27846     wxPyEndAllowThreads(__tstate
); 
27847     if (PyErr_Occurred()) SWIG_fail
; 
27849   resultobj 
= SWIG_Py_Void(); 
27856 SWIGINTERN PyObject 
*_wrap_Printout_GetTitle(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27857   PyObject 
*resultobj 
= 0; 
27858   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27862   PyObject 
*swig_obj
[1] ; 
27864   if (!args
) SWIG_fail
; 
27865   swig_obj
[0] = args
; 
27866   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27867   if (!SWIG_IsOK(res1
)) { 
27868     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");  
27870   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27872     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27873     result 
= ((wxPyPrintout 
const *)arg1
)->GetTitle(); 
27874     wxPyEndAllowThreads(__tstate
); 
27875     if (PyErr_Occurred()) SWIG_fail
; 
27879     resultobj 
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len()); 
27881     resultobj 
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len()); 
27890 SWIGINTERN PyObject 
*_wrap_Printout_GetDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
27891   PyObject 
*resultobj 
= 0; 
27892   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27896   PyObject 
*swig_obj
[1] ; 
27898   if (!args
) SWIG_fail
; 
27899   swig_obj
[0] = args
; 
27900   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27901   if (!SWIG_IsOK(res1
)) { 
27902     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27904   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27906     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27907     result 
= (wxDC 
*)(arg1
)->GetDC(); 
27908     wxPyEndAllowThreads(__tstate
); 
27909     if (PyErr_Occurred()) SWIG_fail
; 
27912     resultobj 
= wxPyMake_wxObject(result
, (bool)0);  
27920 SWIGINTERN PyObject 
*_wrap_Printout_SetDC(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27921   PyObject 
*resultobj 
= 0; 
27922   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27923   wxDC 
*arg2 
= (wxDC 
*) 0 ; 
27928   PyObject 
* obj0 
= 0 ; 
27929   PyObject 
* obj1 
= 0 ; 
27930   char *  kwnames
[] = { 
27931     (char *) "self",(char *) "dc", NULL 
 
27934   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
27935   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27936   if (!SWIG_IsOK(res1
)) { 
27937     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27939   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27940   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 |  0 ); 
27941   if (!SWIG_IsOK(res2
)) { 
27942     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");  
27944   arg2 
= reinterpret_cast< wxDC 
* >(argp2
); 
27946     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27947     (arg1
)->SetDC(arg2
); 
27948     wxPyEndAllowThreads(__tstate
); 
27949     if (PyErr_Occurred()) SWIG_fail
; 
27951   resultobj 
= SWIG_Py_Void(); 
27958 SWIGINTERN PyObject 
*_wrap_Printout_SetPageSizePixels(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
27959   PyObject 
*resultobj 
= 0; 
27960   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
27969   PyObject 
* obj0 
= 0 ; 
27970   PyObject 
* obj1 
= 0 ; 
27971   PyObject 
* obj2 
= 0 ; 
27972   char *  kwnames
[] = { 
27973     (char *) "self",(char *) "w",(char *) "h", NULL 
 
27976   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
27977   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
27978   if (!SWIG_IsOK(res1
)) { 
27979     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
27981   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
27982   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
27983   if (!SWIG_IsOK(ecode2
)) { 
27984     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'"); 
27986   arg2 
= static_cast< int >(val2
); 
27987   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
27988   if (!SWIG_IsOK(ecode3
)) { 
27989     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'"); 
27991   arg3 
= static_cast< int >(val3
); 
27993     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
27994     (arg1
)->SetPageSizePixels(arg2
,arg3
); 
27995     wxPyEndAllowThreads(__tstate
); 
27996     if (PyErr_Occurred()) SWIG_fail
; 
27998   resultobj 
= SWIG_Py_Void(); 
28005 SWIGINTERN PyObject 
*_wrap_Printout_GetPageSizePixels(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28006   PyObject 
*resultobj 
= 0; 
28007   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28008   int *arg2 
= (int *) 0 ; 
28009   int *arg3 
= (int *) 0 ; 
28013   int res2 
= SWIG_TMPOBJ 
; 
28015   int res3 
= SWIG_TMPOBJ 
; 
28016   PyObject 
*swig_obj
[1] ; 
28020   if (!args
) SWIG_fail
; 
28021   swig_obj
[0] = args
; 
28022   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28023   if (!SWIG_IsOK(res1
)) { 
28024     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28026   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28028     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28029     (arg1
)->GetPageSizePixels(arg2
,arg3
); 
28030     wxPyEndAllowThreads(__tstate
); 
28031     if (PyErr_Occurred()) SWIG_fail
; 
28033   resultobj 
= SWIG_Py_Void(); 
28034   if (SWIG_IsTmpObj(res2
)) { 
28035     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
28037     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28038     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
28040   if (SWIG_IsTmpObj(res3
)) { 
28041     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
28043     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28044     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
28052 SWIGINTERN PyObject 
*_wrap_Printout_SetPageSizeMM(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28053   PyObject 
*resultobj 
= 0; 
28054   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28063   PyObject 
* obj0 
= 0 ; 
28064   PyObject 
* obj1 
= 0 ; 
28065   PyObject 
* obj2 
= 0 ; 
28066   char *  kwnames
[] = { 
28067     (char *) "self",(char *) "w",(char *) "h", NULL 
 
28070   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
28071   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28072   if (!SWIG_IsOK(res1
)) { 
28073     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28075   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28076   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28077   if (!SWIG_IsOK(ecode2
)) { 
28078     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'"); 
28080   arg2 
= static_cast< int >(val2
); 
28081   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
28082   if (!SWIG_IsOK(ecode3
)) { 
28083     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'"); 
28085   arg3 
= static_cast< int >(val3
); 
28087     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28088     (arg1
)->SetPageSizeMM(arg2
,arg3
); 
28089     wxPyEndAllowThreads(__tstate
); 
28090     if (PyErr_Occurred()) SWIG_fail
; 
28092   resultobj 
= SWIG_Py_Void(); 
28099 SWIGINTERN PyObject 
*_wrap_Printout_GetPageSizeMM(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28100   PyObject 
*resultobj 
= 0; 
28101   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28102   int *arg2 
= (int *) 0 ; 
28103   int *arg3 
= (int *) 0 ; 
28107   int res2 
= SWIG_TMPOBJ 
; 
28109   int res3 
= SWIG_TMPOBJ 
; 
28110   PyObject 
*swig_obj
[1] ; 
28114   if (!args
) SWIG_fail
; 
28115   swig_obj
[0] = args
; 
28116   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28117   if (!SWIG_IsOK(res1
)) { 
28118     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28120   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28122     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28123     (arg1
)->GetPageSizeMM(arg2
,arg3
); 
28124     wxPyEndAllowThreads(__tstate
); 
28125     if (PyErr_Occurred()) SWIG_fail
; 
28127   resultobj 
= SWIG_Py_Void(); 
28128   if (SWIG_IsTmpObj(res2
)) { 
28129     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
28131     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28132     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
28134   if (SWIG_IsTmpObj(res3
)) { 
28135     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
28137     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28138     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
28146 SWIGINTERN PyObject 
*_wrap_Printout_SetPPIScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28147   PyObject 
*resultobj 
= 0; 
28148   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28157   PyObject 
* obj0 
= 0 ; 
28158   PyObject 
* obj1 
= 0 ; 
28159   PyObject 
* obj2 
= 0 ; 
28160   char *  kwnames
[] = { 
28161     (char *) "self",(char *) "x",(char *) "y", NULL 
 
28164   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
28165   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28166   if (!SWIG_IsOK(res1
)) { 
28167     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28169   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28170   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28171   if (!SWIG_IsOK(ecode2
)) { 
28172     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'"); 
28174   arg2 
= static_cast< int >(val2
); 
28175   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
28176   if (!SWIG_IsOK(ecode3
)) { 
28177     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'"); 
28179   arg3 
= static_cast< int >(val3
); 
28181     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28182     (arg1
)->SetPPIScreen(arg2
,arg3
); 
28183     wxPyEndAllowThreads(__tstate
); 
28184     if (PyErr_Occurred()) SWIG_fail
; 
28186   resultobj 
= SWIG_Py_Void(); 
28193 SWIGINTERN PyObject 
*_wrap_Printout_GetPPIScreen(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28194   PyObject 
*resultobj 
= 0; 
28195   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28196   int *arg2 
= (int *) 0 ; 
28197   int *arg3 
= (int *) 0 ; 
28201   int res2 
= SWIG_TMPOBJ 
; 
28203   int res3 
= SWIG_TMPOBJ 
; 
28204   PyObject 
*swig_obj
[1] ; 
28208   if (!args
) SWIG_fail
; 
28209   swig_obj
[0] = args
; 
28210   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28211   if (!SWIG_IsOK(res1
)) { 
28212     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28214   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28216     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28217     (arg1
)->GetPPIScreen(arg2
,arg3
); 
28218     wxPyEndAllowThreads(__tstate
); 
28219     if (PyErr_Occurred()) SWIG_fail
; 
28221   resultobj 
= SWIG_Py_Void(); 
28222   if (SWIG_IsTmpObj(res2
)) { 
28223     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
28225     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28226     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
28228   if (SWIG_IsTmpObj(res3
)) { 
28229     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
28231     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28232     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
28240 SWIGINTERN PyObject 
*_wrap_Printout_SetPPIPrinter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28241   PyObject 
*resultobj 
= 0; 
28242   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28251   PyObject 
* obj0 
= 0 ; 
28252   PyObject 
* obj1 
= 0 ; 
28253   PyObject 
* obj2 
= 0 ; 
28254   char *  kwnames
[] = { 
28255     (char *) "self",(char *) "x",(char *) "y", NULL 
 
28258   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
28259   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28260   if (!SWIG_IsOK(res1
)) { 
28261     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28263   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28264   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28265   if (!SWIG_IsOK(ecode2
)) { 
28266     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'"); 
28268   arg2 
= static_cast< int >(val2
); 
28269   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
28270   if (!SWIG_IsOK(ecode3
)) { 
28271     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'"); 
28273   arg3 
= static_cast< int >(val3
); 
28275     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28276     (arg1
)->SetPPIPrinter(arg2
,arg3
); 
28277     wxPyEndAllowThreads(__tstate
); 
28278     if (PyErr_Occurred()) SWIG_fail
; 
28280   resultobj 
= SWIG_Py_Void(); 
28287 SWIGINTERN PyObject 
*_wrap_Printout_GetPPIPrinter(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28288   PyObject 
*resultobj 
= 0; 
28289   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28290   int *arg2 
= (int *) 0 ; 
28291   int *arg3 
= (int *) 0 ; 
28295   int res2 
= SWIG_TMPOBJ 
; 
28297   int res3 
= SWIG_TMPOBJ 
; 
28298   PyObject 
*swig_obj
[1] ; 
28302   if (!args
) SWIG_fail
; 
28303   swig_obj
[0] = args
; 
28304   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28305   if (!SWIG_IsOK(res1
)) { 
28306     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28308   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28310     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28311     (arg1
)->GetPPIPrinter(arg2
,arg3
); 
28312     wxPyEndAllowThreads(__tstate
); 
28313     if (PyErr_Occurred()) SWIG_fail
; 
28315   resultobj 
= SWIG_Py_Void(); 
28316   if (SWIG_IsTmpObj(res2
)) { 
28317     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
28319     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28320     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
28322   if (SWIG_IsTmpObj(res3
)) { 
28323     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
28325     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28326     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
28334 SWIGINTERN PyObject 
*_wrap_Printout_IsPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28335   PyObject 
*resultobj 
= 0; 
28336   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28340   PyObject 
*swig_obj
[1] ; 
28342   if (!args
) SWIG_fail
; 
28343   swig_obj
[0] = args
; 
28344   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28345   if (!SWIG_IsOK(res1
)) { 
28346     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28348   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28350     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28351     result 
= (bool)(arg1
)->IsPreview(); 
28352     wxPyEndAllowThreads(__tstate
); 
28353     if (PyErr_Occurred()) SWIG_fail
; 
28356     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28364 SWIGINTERN PyObject 
*_wrap_Printout_SetIsPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28365   PyObject 
*resultobj 
= 0; 
28366   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28372   PyObject 
* obj0 
= 0 ; 
28373   PyObject 
* obj1 
= 0 ; 
28374   char *  kwnames
[] = { 
28375     (char *) "self",(char *) "p", NULL 
 
28378   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28379   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28380   if (!SWIG_IsOK(res1
)) { 
28381     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28383   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28384   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
28385   if (!SWIG_IsOK(ecode2
)) { 
28386     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'"); 
28388   arg2 
= static_cast< bool >(val2
); 
28390     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28391     (arg1
)->SetIsPreview(arg2
); 
28392     wxPyEndAllowThreads(__tstate
); 
28393     if (PyErr_Occurred()) SWIG_fail
; 
28395   resultobj 
= SWIG_Py_Void(); 
28402 SWIGINTERN PyObject 
*_wrap_Printout_OnBeginDocument(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28403   PyObject 
*resultobj 
= 0; 
28404   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28414   PyObject 
* obj0 
= 0 ; 
28415   PyObject 
* obj1 
= 0 ; 
28416   PyObject 
* obj2 
= 0 ; 
28417   char *  kwnames
[] = { 
28418     (char *) "self",(char *) "startPage",(char *) "endPage", NULL 
 
28421   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
28422   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28423   if (!SWIG_IsOK(res1
)) { 
28424     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28426   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28427   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28428   if (!SWIG_IsOK(ecode2
)) { 
28429     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'"); 
28431   arg2 
= static_cast< int >(val2
); 
28432   ecode3 
= SWIG_AsVal_int(obj2
, &val3
); 
28433   if (!SWIG_IsOK(ecode3
)) { 
28434     SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'"); 
28436   arg3 
= static_cast< int >(val3
); 
28438     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28439     result 
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
); 
28440     wxPyEndAllowThreads(__tstate
); 
28441     if (PyErr_Occurred()) SWIG_fail
; 
28444     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28452 SWIGINTERN PyObject 
*_wrap_Printout_OnEndDocument(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28453   PyObject 
*resultobj 
= 0; 
28454   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28457   PyObject 
*swig_obj
[1] ; 
28459   if (!args
) SWIG_fail
; 
28460   swig_obj
[0] = args
; 
28461   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28462   if (!SWIG_IsOK(res1
)) { 
28463     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28465   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28467     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28468     (arg1
)->OnEndDocument(); 
28469     wxPyEndAllowThreads(__tstate
); 
28470     if (PyErr_Occurred()) SWIG_fail
; 
28472   resultobj 
= SWIG_Py_Void(); 
28479 SWIGINTERN PyObject 
*_wrap_Printout_OnBeginPrinting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28480   PyObject 
*resultobj 
= 0; 
28481   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28484   PyObject 
*swig_obj
[1] ; 
28486   if (!args
) SWIG_fail
; 
28487   swig_obj
[0] = args
; 
28488   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28489   if (!SWIG_IsOK(res1
)) { 
28490     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28492   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28494     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28495     (arg1
)->OnBeginPrinting(); 
28496     wxPyEndAllowThreads(__tstate
); 
28497     if (PyErr_Occurred()) SWIG_fail
; 
28499   resultobj 
= SWIG_Py_Void(); 
28506 SWIGINTERN PyObject 
*_wrap_Printout_OnEndPrinting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28507   PyObject 
*resultobj 
= 0; 
28508   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28511   PyObject 
*swig_obj
[1] ; 
28513   if (!args
) SWIG_fail
; 
28514   swig_obj
[0] = args
; 
28515   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28516   if (!SWIG_IsOK(res1
)) { 
28517     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28519   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28521     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28522     (arg1
)->OnEndPrinting(); 
28523     wxPyEndAllowThreads(__tstate
); 
28524     if (PyErr_Occurred()) SWIG_fail
; 
28526   resultobj 
= SWIG_Py_Void(); 
28533 SWIGINTERN PyObject 
*_wrap_Printout_OnPreparePrinting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28534   PyObject 
*resultobj 
= 0; 
28535   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28538   PyObject 
*swig_obj
[1] ; 
28540   if (!args
) SWIG_fail
; 
28541   swig_obj
[0] = args
; 
28542   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28543   if (!SWIG_IsOK(res1
)) { 
28544     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28546   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28548     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28549     (arg1
)->OnPreparePrinting(); 
28550     wxPyEndAllowThreads(__tstate
); 
28551     if (PyErr_Occurred()) SWIG_fail
; 
28553   resultobj 
= SWIG_Py_Void(); 
28560 SWIGINTERN PyObject 
*_wrap_Printout_HasPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28561   PyObject 
*resultobj 
= 0; 
28562   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28569   PyObject 
* obj0 
= 0 ; 
28570   PyObject 
* obj1 
= 0 ; 
28571   char *  kwnames
[] = { 
28572     (char *) "self",(char *) "page", NULL 
 
28575   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
28576   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28577   if (!SWIG_IsOK(res1
)) { 
28578     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28580   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28581   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
28582   if (!SWIG_IsOK(ecode2
)) { 
28583     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'"); 
28585   arg2 
= static_cast< int >(val2
); 
28587     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28588     result 
= (bool)(arg1
)->HasPage(arg2
); 
28589     wxPyEndAllowThreads(__tstate
); 
28590     if (PyErr_Occurred()) SWIG_fail
; 
28593     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
28601 SWIGINTERN PyObject 
*_wrap_Printout_GetPageInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28602   PyObject 
*resultobj 
= 0; 
28603   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
28604   int *arg2 
= (int *) 0 ; 
28605   int *arg3 
= (int *) 0 ; 
28606   int *arg4 
= (int *) 0 ; 
28607   int *arg5 
= (int *) 0 ; 
28611   int res2 
= SWIG_TMPOBJ 
; 
28613   int res3 
= SWIG_TMPOBJ 
; 
28615   int res4 
= SWIG_TMPOBJ 
; 
28617   int res5 
= SWIG_TMPOBJ 
; 
28618   PyObject 
*swig_obj
[1] ; 
28624   if (!args
) SWIG_fail
; 
28625   swig_obj
[0] = args
; 
28626   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 |  0 ); 
28627   if (!SWIG_IsOK(res1
)) { 
28628     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");  
28630   arg1 
= reinterpret_cast< wxPyPrintout 
* >(argp1
); 
28632     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28633     (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
); 
28634     wxPyEndAllowThreads(__tstate
); 
28635     if (PyErr_Occurred()) SWIG_fail
; 
28637   resultobj 
= SWIG_Py_Void(); 
28638   if (SWIG_IsTmpObj(res2
)) { 
28639     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
))); 
28641     int new_flags 
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28642     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
)); 
28644   if (SWIG_IsTmpObj(res3
)) { 
28645     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
))); 
28647     int new_flags 
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28648     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
)); 
28650   if (SWIG_IsTmpObj(res4
)) { 
28651     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
))); 
28653     int new_flags 
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28654     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
)); 
28656   if (SWIG_IsTmpObj(res5
)) { 
28657     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
))); 
28659     int new_flags 
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN 
|  0 ) :  0 ; 
28660     resultobj 
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
)); 
28668 SWIGINTERN PyObject 
*Printout_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28670   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28671   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
)); 
28672   return SWIG_Py_Void(); 
28675 SWIGINTERN PyObject 
*Printout_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28676   return SWIG_Python_InitShadowInstance(args
); 
28679 SWIGINTERN PyObject 
*_wrap_new_PreviewCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28680   PyObject 
*resultobj 
= 0; 
28681   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
28682   wxWindow 
*arg2 
= (wxWindow 
*) 0 ; 
28683   wxPoint 
const &arg3_defvalue 
= wxDefaultPosition 
; 
28684   wxPoint 
*arg3 
= (wxPoint 
*) &arg3_defvalue 
; 
28685   wxSize 
const &arg4_defvalue 
= wxDefaultSize 
; 
28686   wxSize 
*arg4 
= (wxSize 
*) &arg4_defvalue 
; 
28687   long arg5 
= (long) 0 ; 
28688   wxString 
const &arg6_defvalue 
= wxPyPreviewCanvasNameStr 
; 
28689   wxString 
*arg6 
= (wxString 
*) &arg6_defvalue 
; 
28690   wxPreviewCanvas 
*result 
= 0 ; 
28699   bool temp6 
= false ; 
28700   PyObject 
* obj0 
= 0 ; 
28701   PyObject 
* obj1 
= 0 ; 
28702   PyObject 
* obj2 
= 0 ; 
28703   PyObject 
* obj3 
= 0 ; 
28704   PyObject 
* obj4 
= 0 ; 
28705   PyObject 
* obj5 
= 0 ; 
28706   char *  kwnames
[] = { 
28707     (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
28710   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
; 
28711   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
28712   if (!SWIG_IsOK(res1
)) { 
28713     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
28715   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
28716   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
28717   if (!SWIG_IsOK(res2
)) { 
28718     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");  
28720   arg2 
= reinterpret_cast< wxWindow 
* >(argp2
); 
28724       if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
; 
28730       if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
; 
28734     ecode5 
= SWIG_AsVal_long(obj4
, &val5
); 
28735     if (!SWIG_IsOK(ecode5
)) { 
28736       SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'"); 
28738     arg5 
= static_cast< long >(val5
); 
28742       arg6 
= wxString_in_helper(obj5
); 
28743       if (arg6 
== NULL
) SWIG_fail
; 
28748     if (!wxPyCheckForApp()) SWIG_fail
; 
28749     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28750     result 
= (wxPreviewCanvas 
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint 
const &)*arg3
,(wxSize 
const &)*arg4
,arg5
,(wxString 
const &)*arg6
); 
28751     wxPyEndAllowThreads(__tstate
); 
28752     if (PyErr_Occurred()) SWIG_fail
; 
28754   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW 
|  0 ); 
28769 SWIGINTERN PyObject 
*PreviewCanvas_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28771   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28772   SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
)); 
28773   return SWIG_Py_Void(); 
28776 SWIGINTERN PyObject 
*PreviewCanvas_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28777   return SWIG_Python_InitShadowInstance(args
); 
28780 SWIGINTERN PyObject 
*_wrap_new_PreviewFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
28781   PyObject 
*resultobj 
= 0; 
28782   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
28783   wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
28784   wxString 
*arg3 
= 0 ; 
28785   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
28786   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
28787   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
28788   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
28789   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
28790   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
28791   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
28792   wxPreviewFrame 
*result 
= 0 ; 
28796   bool temp3 
= false ; 
28801   bool temp7 
= false ; 
28802   PyObject 
* obj0 
= 0 ; 
28803   PyObject 
* obj1 
= 0 ; 
28804   PyObject 
* obj2 
= 0 ; 
28805   PyObject 
* obj3 
= 0 ; 
28806   PyObject 
* obj4 
= 0 ; 
28807   PyObject 
* obj5 
= 0 ; 
28808   PyObject 
* obj6 
= 0 ; 
28809   char *  kwnames
[] = { 
28810     (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
28813   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
28814   res1 
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN 
|  0 ); 
28815   if (!SWIG_IsOK(res1
)) { 
28816     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'"); 
28818   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
28819   if (!SWIG_IsOK(res2
)) { 
28820     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");  
28822   arg2 
= reinterpret_cast< wxFrame 
* >(argp2
); 
28824     arg3 
= wxString_in_helper(obj2
); 
28825     if (arg3 
== NULL
) SWIG_fail
; 
28831       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
28837       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
28841     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
28842     if (!SWIG_IsOK(ecode6
)) { 
28843       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'"); 
28845     arg6 
= static_cast< long >(val6
); 
28849       arg7 
= wxString_in_helper(obj6
); 
28850       if (arg7 
== NULL
) SWIG_fail
; 
28855     if (!wxPyCheckForApp()) SWIG_fail
; 
28856     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28857     result 
= (wxPreviewFrame 
*)new wxPreviewFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
28858     wxPyEndAllowThreads(__tstate
); 
28859     if (PyErr_Occurred()) SWIG_fail
; 
28861   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW 
|  0 ); 
28884 SWIGINTERN PyObject 
*_wrap_PreviewFrame_Initialize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28885   PyObject 
*resultobj 
= 0; 
28886   wxPreviewFrame 
*arg1 
= (wxPreviewFrame 
*) 0 ; 
28889   PyObject 
*swig_obj
[1] ; 
28891   if (!args
) SWIG_fail
; 
28892   swig_obj
[0] = args
; 
28893   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 |  0 ); 
28894   if (!SWIG_IsOK(res1
)) { 
28895     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");  
28897   arg1 
= reinterpret_cast< wxPreviewFrame 
* >(argp1
); 
28899     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28900     (arg1
)->Initialize(); 
28901     wxPyEndAllowThreads(__tstate
); 
28902     if (PyErr_Occurred()) SWIG_fail
; 
28904   resultobj 
= SWIG_Py_Void(); 
28911 SWIGINTERN PyObject 
*_wrap_PreviewFrame_CreateControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28912   PyObject 
*resultobj 
= 0; 
28913   wxPreviewFrame 
*arg1 
= (wxPreviewFrame 
*) 0 ; 
28916   PyObject 
*swig_obj
[1] ; 
28918   if (!args
) SWIG_fail
; 
28919   swig_obj
[0] = args
; 
28920   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 |  0 ); 
28921   if (!SWIG_IsOK(res1
)) { 
28922     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");  
28924   arg1 
= reinterpret_cast< wxPreviewFrame 
* >(argp1
); 
28926     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28927     (arg1
)->CreateControlBar(); 
28928     wxPyEndAllowThreads(__tstate
); 
28929     if (PyErr_Occurred()) SWIG_fail
; 
28931   resultobj 
= SWIG_Py_Void(); 
28938 SWIGINTERN PyObject 
*_wrap_PreviewFrame_CreateCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28939   PyObject 
*resultobj 
= 0; 
28940   wxPreviewFrame 
*arg1 
= (wxPreviewFrame 
*) 0 ; 
28943   PyObject 
*swig_obj
[1] ; 
28945   if (!args
) SWIG_fail
; 
28946   swig_obj
[0] = args
; 
28947   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 |  0 ); 
28948   if (!SWIG_IsOK(res1
)) { 
28949     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");  
28951   arg1 
= reinterpret_cast< wxPreviewFrame 
* >(argp1
); 
28953     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28954     (arg1
)->CreateCanvas(); 
28955     wxPyEndAllowThreads(__tstate
); 
28956     if (PyErr_Occurred()) SWIG_fail
; 
28958   resultobj 
= SWIG_Py_Void(); 
28965 SWIGINTERN PyObject 
*_wrap_PreviewFrame_GetControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28966   PyObject 
*resultobj 
= 0; 
28967   wxPreviewFrame 
*arg1 
= (wxPreviewFrame 
*) 0 ; 
28968   wxPreviewControlBar 
*result 
= 0 ; 
28971   PyObject 
*swig_obj
[1] ; 
28973   if (!args
) SWIG_fail
; 
28974   swig_obj
[0] = args
; 
28975   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 |  0 ); 
28976   if (!SWIG_IsOK(res1
)) { 
28977     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");  
28979   arg1 
= reinterpret_cast< wxPreviewFrame 
* >(argp1
); 
28981     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
28982     result 
= (wxPreviewControlBar 
*)((wxPreviewFrame 
const *)arg1
)->GetControlBar(); 
28983     wxPyEndAllowThreads(__tstate
); 
28984     if (PyErr_Occurred()) SWIG_fail
; 
28986   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
28993 SWIGINTERN PyObject 
*PreviewFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
28995   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
28996   SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
)); 
28997   return SWIG_Py_Void(); 
29000 SWIGINTERN PyObject 
*PreviewFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29001   return SWIG_Python_InitShadowInstance(args
); 
29004 SWIGINTERN PyObject 
*_wrap_new_PreviewControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29005   PyObject 
*resultobj 
= 0; 
29006   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29008   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
29009   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
29010   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
29011   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
29012   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
29013   long arg6 
= (long) wxTAB_TRAVERSAL 
; 
29014   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
29015   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
29016   wxPreviewControlBar 
*result 
= 0 ; 
29027   bool temp7 
= false ; 
29028   PyObject 
* obj0 
= 0 ; 
29029   PyObject 
* obj1 
= 0 ; 
29030   PyObject 
* obj2 
= 0 ; 
29031   PyObject 
* obj3 
= 0 ; 
29032   PyObject 
* obj4 
= 0 ; 
29033   PyObject 
* obj5 
= 0 ; 
29034   PyObject 
* obj6 
= 0 ; 
29035   char *  kwnames
[] = { 
29036     (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
29039   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
29040   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29041   if (!SWIG_IsOK(res1
)) { 
29042     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29044   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29045   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
29046   if (!SWIG_IsOK(ecode2
)) { 
29047     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'"); 
29049   arg2 
= static_cast< long >(val2
); 
29050   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
29051   if (!SWIG_IsOK(res3
)) { 
29052     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");  
29054   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
29058       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
29064       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
29068     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
29069     if (!SWIG_IsOK(ecode6
)) { 
29070       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'"); 
29072     arg6 
= static_cast< long >(val6
); 
29076       arg7 
= wxString_in_helper(obj6
); 
29077       if (arg7 
== NULL
) SWIG_fail
; 
29082     if (!wxPyCheckForApp()) SWIG_fail
; 
29083     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29084     result 
= (wxPreviewControlBar 
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
29085     wxPyEndAllowThreads(__tstate
); 
29086     if (PyErr_Occurred()) SWIG_fail
; 
29088   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW 
|  0 ); 
29103 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_GetZoomControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29104   PyObject 
*resultobj 
= 0; 
29105   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29109   PyObject 
*swig_obj
[1] ; 
29111   if (!args
) SWIG_fail
; 
29112   swig_obj
[0] = args
; 
29113   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29114   if (!SWIG_IsOK(res1
)) { 
29115     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29117   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29119     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29120     result 
= (int)(arg1
)->GetZoomControl(); 
29121     wxPyEndAllowThreads(__tstate
); 
29122     if (PyErr_Occurred()) SWIG_fail
; 
29124   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
29131 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_SetZoomControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29132   PyObject 
*resultobj 
= 0; 
29133   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29139   PyObject 
* obj0 
= 0 ; 
29140   PyObject 
* obj1 
= 0 ; 
29141   char *  kwnames
[] = { 
29142     (char *) "self",(char *) "zoom", NULL 
 
29145   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29146   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29147   if (!SWIG_IsOK(res1
)) { 
29148     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29150   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29151   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
29152   if (!SWIG_IsOK(ecode2
)) { 
29153     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'"); 
29155   arg2 
= static_cast< int >(val2
); 
29157     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29158     (arg1
)->SetZoomControl(arg2
); 
29159     wxPyEndAllowThreads(__tstate
); 
29160     if (PyErr_Occurred()) SWIG_fail
; 
29162   resultobj 
= SWIG_Py_Void(); 
29169 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_GetPrintPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29170   PyObject 
*resultobj 
= 0; 
29171   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29172   wxPrintPreview 
*result 
= 0 ; 
29175   PyObject 
*swig_obj
[1] ; 
29177   if (!args
) SWIG_fail
; 
29178   swig_obj
[0] = args
; 
29179   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29180   if (!SWIG_IsOK(res1
)) { 
29181     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29183   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29185     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29186     result 
= (wxPrintPreview 
*)(arg1
)->GetPrintPreview(); 
29187     wxPyEndAllowThreads(__tstate
); 
29188     if (PyErr_Occurred()) SWIG_fail
; 
29190   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29197 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnNext(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29198   PyObject 
*resultobj 
= 0; 
29199   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29202   PyObject 
*swig_obj
[1] ; 
29204   if (!args
) SWIG_fail
; 
29205   swig_obj
[0] = args
; 
29206   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29207   if (!SWIG_IsOK(res1
)) { 
29208     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29210   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29212     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29214     wxPyEndAllowThreads(__tstate
); 
29215     if (PyErr_Occurred()) SWIG_fail
; 
29217   resultobj 
= SWIG_Py_Void(); 
29224 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnPrevious(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29225   PyObject 
*resultobj 
= 0; 
29226   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29229   PyObject 
*swig_obj
[1] ; 
29231   if (!args
) SWIG_fail
; 
29232   swig_obj
[0] = args
; 
29233   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29234   if (!SWIG_IsOK(res1
)) { 
29235     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29237   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29239     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29240     (arg1
)->OnPrevious(); 
29241     wxPyEndAllowThreads(__tstate
); 
29242     if (PyErr_Occurred()) SWIG_fail
; 
29244   resultobj 
= SWIG_Py_Void(); 
29251 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnFirst(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29252   PyObject 
*resultobj 
= 0; 
29253   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29256   PyObject 
*swig_obj
[1] ; 
29258   if (!args
) SWIG_fail
; 
29259   swig_obj
[0] = args
; 
29260   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29261   if (!SWIG_IsOK(res1
)) { 
29262     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29264   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29266     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29268     wxPyEndAllowThreads(__tstate
); 
29269     if (PyErr_Occurred()) SWIG_fail
; 
29271   resultobj 
= SWIG_Py_Void(); 
29278 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnLast(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29279   PyObject 
*resultobj 
= 0; 
29280   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29283   PyObject 
*swig_obj
[1] ; 
29285   if (!args
) SWIG_fail
; 
29286   swig_obj
[0] = args
; 
29287   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29288   if (!SWIG_IsOK(res1
)) { 
29289     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29291   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29293     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29295     wxPyEndAllowThreads(__tstate
); 
29296     if (PyErr_Occurred()) SWIG_fail
; 
29298   resultobj 
= SWIG_Py_Void(); 
29305 SWIGINTERN PyObject 
*_wrap_PreviewControlBar_OnGoto(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29306   PyObject 
*resultobj 
= 0; 
29307   wxPreviewControlBar 
*arg1 
= (wxPreviewControlBar 
*) 0 ; 
29310   PyObject 
*swig_obj
[1] ; 
29312   if (!args
) SWIG_fail
; 
29313   swig_obj
[0] = args
; 
29314   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
29315   if (!SWIG_IsOK(res1
)) { 
29316     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");  
29318   arg1 
= reinterpret_cast< wxPreviewControlBar 
* >(argp1
); 
29320     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29322     wxPyEndAllowThreads(__tstate
); 
29323     if (PyErr_Occurred()) SWIG_fail
; 
29325   resultobj 
= SWIG_Py_Void(); 
29332 SWIGINTERN PyObject 
*PreviewControlBar_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29334   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
29335   SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
)); 
29336   return SWIG_Py_Void(); 
29339 SWIGINTERN PyObject 
*PreviewControlBar_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29340   return SWIG_Python_InitShadowInstance(args
); 
29343 SWIGINTERN PyObject 
*_wrap_new_PrintPreview__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
29344   PyObject 
*resultobj 
= 0; 
29345   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
29346   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
29347   wxPrintDialogData 
*arg3 
= (wxPrintDialogData 
*) NULL 
; 
29348   wxPrintPreview 
*result 
= 0 ; 
29354   if ((nobjs 
< 2) || (nobjs 
> 3)) SWIG_fail
; 
29355   res1 
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29356   if (!SWIG_IsOK(res1
)) { 
29357     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'"); 
29359   res2 
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29360   if (!SWIG_IsOK(res2
)) { 
29361     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
29364     res3 
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
29365     if (!SWIG_IsOK(res3
)) { 
29366       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");  
29368     arg3 
= reinterpret_cast< wxPrintDialogData 
* >(argp3
); 
29371     if (!wxPyCheckForApp()) SWIG_fail
; 
29372     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29373     result 
= (wxPrintPreview 
*)new wxPrintPreview(arg1
,arg2
,arg3
); 
29374     wxPyEndAllowThreads(__tstate
); 
29375     if (PyErr_Occurred()) SWIG_fail
; 
29377   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW 
|  0 ); 
29384 SWIGINTERN PyObject 
*_wrap_new_PrintPreview__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
29385   PyObject 
*resultobj 
= 0; 
29386   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
29387   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
29388   wxPrintData 
*arg3 
= (wxPrintData 
*) 0 ; 
29389   wxPrintPreview 
*result 
= 0 ; 
29395   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
29396   res1 
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29397   if (!SWIG_IsOK(res1
)) { 
29398     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'"); 
29400   res2 
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29401   if (!SWIG_IsOK(res2
)) { 
29402     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
29404   res3 
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
29405   if (!SWIG_IsOK(res3
)) { 
29406     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");  
29408   arg3 
= reinterpret_cast< wxPrintData 
* >(argp3
); 
29410     if (!wxPyCheckForApp()) SWIG_fail
; 
29411     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29412     result 
= (wxPrintPreview 
*)new wxPrintPreview(arg1
,arg2
,arg3
); 
29413     wxPyEndAllowThreads(__tstate
); 
29414     if (PyErr_Occurred()) SWIG_fail
; 
29416   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW 
|  0 ); 
29423 SWIGINTERN PyObject 
*_wrap_new_PrintPreview(PyObject 
*self
, PyObject 
*args
) { 
29427   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
; 
29429   if ((argc 
>= 2) && (argc 
<= 3)) { 
29434         int res 
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0); 
29435         _v 
= SWIG_CheckState(res
); 
29437       if (!_v
) goto check_1
; 
29439     return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
); 
29444     return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
); 
29448   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'"); 
29453 SWIGINTERN PyObject 
*_wrap_delete_PrintPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29454   PyObject 
*resultobj 
= 0; 
29455   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29458   PyObject 
*swig_obj
[1] ; 
29460   if (!args
) SWIG_fail
; 
29461   swig_obj
[0] = args
; 
29462   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN 
|  0 ); 
29463   if (!SWIG_IsOK(res1
)) { 
29464     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29466   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29468     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29471     wxPyEndAllowThreads(__tstate
); 
29472     if (PyErr_Occurred()) SWIG_fail
; 
29474   resultobj 
= SWIG_Py_Void(); 
29481 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetCurrentPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29482   PyObject 
*resultobj 
= 0; 
29483   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29490   PyObject 
* obj0 
= 0 ; 
29491   PyObject 
* obj1 
= 0 ; 
29492   char *  kwnames
[] = { 
29493     (char *) "self",(char *) "pageNum", NULL 
 
29496   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29497   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29498   if (!SWIG_IsOK(res1
)) { 
29499     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29501   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29502   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
29503   if (!SWIG_IsOK(ecode2
)) { 
29504     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'"); 
29506   arg2 
= static_cast< int >(val2
); 
29508     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29509     result 
= (bool)(arg1
)->SetCurrentPage(arg2
); 
29510     wxPyEndAllowThreads(__tstate
); 
29511     if (PyErr_Occurred()) SWIG_fail
; 
29514     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29522 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetCurrentPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29523   PyObject 
*resultobj 
= 0; 
29524   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29528   PyObject 
*swig_obj
[1] ; 
29530   if (!args
) SWIG_fail
; 
29531   swig_obj
[0] = args
; 
29532   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29533   if (!SWIG_IsOK(res1
)) { 
29534     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29536   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29538     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29539     result 
= (int)(arg1
)->GetCurrentPage(); 
29540     wxPyEndAllowThreads(__tstate
); 
29541     if (PyErr_Occurred()) SWIG_fail
; 
29543   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
29550 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetPrintout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29551   PyObject 
*resultobj 
= 0; 
29552   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29553   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
29557   PyObject 
* obj0 
= 0 ; 
29558   PyObject 
* obj1 
= 0 ; 
29559   char *  kwnames
[] = { 
29560     (char *) "self",(char *) "printout", NULL 
 
29563   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29564   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29565   if (!SWIG_IsOK(res1
)) { 
29566     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29568   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29569   res2 
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
29570   if (!SWIG_IsOK(res2
)) { 
29571     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
29574     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29575     (arg1
)->SetPrintout(arg2
); 
29576     wxPyEndAllowThreads(__tstate
); 
29577     if (PyErr_Occurred()) SWIG_fail
; 
29579   resultobj 
= SWIG_Py_Void(); 
29586 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetPrintout(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29587   PyObject 
*resultobj 
= 0; 
29588   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29589   wxPyPrintout 
*result 
= 0 ; 
29592   PyObject 
*swig_obj
[1] ; 
29594   if (!args
) SWIG_fail
; 
29595   swig_obj
[0] = args
; 
29596   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29597   if (!SWIG_IsOK(res1
)) { 
29598     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29600   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29602     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29603     result 
= (wxPyPrintout 
*)(arg1
)->GetPrintout(); 
29604     wxPyEndAllowThreads(__tstate
); 
29605     if (PyErr_Occurred()) SWIG_fail
; 
29608     resultobj 
= wxPyMake_wxObject(result
, 0);  
29616 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29617   PyObject 
*resultobj 
= 0; 
29618   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29619   wxPyPrintout 
*result 
= 0 ; 
29622   PyObject 
*swig_obj
[1] ; 
29624   if (!args
) SWIG_fail
; 
29625   swig_obj
[0] = args
; 
29626   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29627   if (!SWIG_IsOK(res1
)) { 
29628     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29630   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29632     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29633     result 
= (wxPyPrintout 
*)(arg1
)->GetPrintoutForPrinting(); 
29634     wxPyEndAllowThreads(__tstate
); 
29635     if (PyErr_Occurred()) SWIG_fail
; 
29638     resultobj 
= wxPyMake_wxObject(result
, 0);  
29646 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29647   PyObject 
*resultobj 
= 0; 
29648   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29649   wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
29654   PyObject 
* obj0 
= 0 ; 
29655   PyObject 
* obj1 
= 0 ; 
29656   char *  kwnames
[] = { 
29657     (char *) "self",(char *) "frame", NULL 
 
29660   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) 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_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29665   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29666   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
29667   if (!SWIG_IsOK(res2
)) { 
29668     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");  
29670   arg2 
= reinterpret_cast< wxFrame 
* >(argp2
); 
29672     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29673     (arg1
)->SetFrame(arg2
); 
29674     wxPyEndAllowThreads(__tstate
); 
29675     if (PyErr_Occurred()) SWIG_fail
; 
29677   resultobj 
= SWIG_Py_Void(); 
29684 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29685   PyObject 
*resultobj 
= 0; 
29686   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29687   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
29692   PyObject 
* obj0 
= 0 ; 
29693   PyObject 
* obj1 
= 0 ; 
29694   char *  kwnames
[] = { 
29695     (char *) "self",(char *) "canvas", NULL 
 
29698   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29699   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29700   if (!SWIG_IsOK(res1
)) { 
29701     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29703   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29704   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29705   if (!SWIG_IsOK(res2
)) { 
29706     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
29708   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
29710     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29711     (arg1
)->SetCanvas(arg2
); 
29712     wxPyEndAllowThreads(__tstate
); 
29713     if (PyErr_Occurred()) SWIG_fail
; 
29715   resultobj 
= SWIG_Py_Void(); 
29722 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29723   PyObject 
*resultobj 
= 0; 
29724   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29725   wxFrame 
*result 
= 0 ; 
29728   PyObject 
*swig_obj
[1] ; 
29730   if (!args
) SWIG_fail
; 
29731   swig_obj
[0] = args
; 
29732   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29733   if (!SWIG_IsOK(res1
)) { 
29734     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29736   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29738     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29739     result 
= (wxFrame 
*)(arg1
)->GetFrame(); 
29740     wxPyEndAllowThreads(__tstate
); 
29741     if (PyErr_Occurred()) SWIG_fail
; 
29744     resultobj 
= wxPyMake_wxObject(result
, 0);  
29752 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29753   PyObject 
*resultobj 
= 0; 
29754   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29755   wxPreviewCanvas 
*result 
= 0 ; 
29758   PyObject 
*swig_obj
[1] ; 
29760   if (!args
) SWIG_fail
; 
29761   swig_obj
[0] = args
; 
29762   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29763   if (!SWIG_IsOK(res1
)) { 
29764     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29766   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29768     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29769     result 
= (wxPreviewCanvas 
*)(arg1
)->GetCanvas(); 
29770     wxPyEndAllowThreads(__tstate
); 
29771     if (PyErr_Occurred()) SWIG_fail
; 
29773   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29780 SWIGINTERN PyObject 
*_wrap_PrintPreview_PaintPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29781   PyObject 
*resultobj 
= 0; 
29782   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29783   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
29792   PyObject 
* obj0 
= 0 ; 
29793   PyObject 
* obj1 
= 0 ; 
29794   PyObject 
* obj2 
= 0 ; 
29795   char *  kwnames
[] = { 
29796     (char *) "self",(char *) "canvas",(char *) "dc", NULL 
 
29799   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
29800   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29801   if (!SWIG_IsOK(res1
)) { 
29802     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29804   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29805   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29806   if (!SWIG_IsOK(res2
)) { 
29807     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
29809   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
29810   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
29811   if (!SWIG_IsOK(res3
)) { 
29812     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");  
29815     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");  
29817   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
29819     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29820     result 
= (bool)(arg1
)->PaintPage(arg2
,*arg3
); 
29821     wxPyEndAllowThreads(__tstate
); 
29822     if (PyErr_Occurred()) SWIG_fail
; 
29825     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29833 SWIGINTERN PyObject 
*_wrap_PrintPreview_DrawBlankPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29834   PyObject 
*resultobj 
= 0; 
29835   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29836   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
29845   PyObject 
* obj0 
= 0 ; 
29846   PyObject 
* obj1 
= 0 ; 
29847   PyObject 
* obj2 
= 0 ; 
29848   char *  kwnames
[] = { 
29849     (char *) "self",(char *) "canvas",(char *) "dc", NULL 
 
29852   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
29853   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29854   if (!SWIG_IsOK(res1
)) { 
29855     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29857   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29858   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29859   if (!SWIG_IsOK(res2
)) { 
29860     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
29862   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
29863   res3 
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
,  0 ); 
29864   if (!SWIG_IsOK(res3
)) { 
29865     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");  
29868     SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");  
29870   arg3 
= reinterpret_cast< wxDC 
* >(argp3
); 
29872     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29873     result 
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
); 
29874     wxPyEndAllowThreads(__tstate
); 
29875     if (PyErr_Occurred()) SWIG_fail
; 
29878     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29886 SWIGINTERN PyObject 
*_wrap_PrintPreview_RenderPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29887   PyObject 
*resultobj 
= 0; 
29888   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29895   PyObject 
* obj0 
= 0 ; 
29896   PyObject 
* obj1 
= 0 ; 
29897   char *  kwnames
[] = { 
29898     (char *) "self",(char *) "pageNum", NULL 
 
29901   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29902   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29903   if (!SWIG_IsOK(res1
)) { 
29904     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29906   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29907   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
29908   if (!SWIG_IsOK(ecode2
)) { 
29909     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'"); 
29911   arg2 
= static_cast< int >(val2
); 
29913     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29914     result 
= (bool)(arg1
)->RenderPage(arg2
); 
29915     wxPyEndAllowThreads(__tstate
); 
29916     if (PyErr_Occurred()) SWIG_fail
; 
29919     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
29927 SWIGINTERN PyObject 
*_wrap_PrintPreview_AdjustScrollbars(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29928   PyObject 
*resultobj 
= 0; 
29929   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29930   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
29935   PyObject 
* obj0 
= 0 ; 
29936   PyObject 
* obj1 
= 0 ; 
29937   char *  kwnames
[] = { 
29938     (char *) "self",(char *) "canvas", NULL 
 
29941   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
29942   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29943   if (!SWIG_IsOK(res1
)) { 
29944     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29946   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29947   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
29948   if (!SWIG_IsOK(res2
)) { 
29949     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
29951   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
29953     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29954     (arg1
)->AdjustScrollbars(arg2
); 
29955     wxPyEndAllowThreads(__tstate
); 
29956     if (PyErr_Occurred()) SWIG_fail
; 
29958   resultobj 
= SWIG_Py_Void(); 
29965 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetPrintDialogData(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
29966   PyObject 
*resultobj 
= 0; 
29967   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
29968   wxPrintDialogData 
*result 
= 0 ; 
29971   PyObject 
*swig_obj
[1] ; 
29973   if (!args
) SWIG_fail
; 
29974   swig_obj
[0] = args
; 
29975   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
29976   if (!SWIG_IsOK(res1
)) { 
29977     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
29979   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
29981     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
29983       wxPrintDialogData 
&_result_ref 
= (arg1
)->GetPrintDialogData(); 
29984       result 
= (wxPrintDialogData 
*) &_result_ref
; 
29986     wxPyEndAllowThreads(__tstate
); 
29987     if (PyErr_Occurred()) SWIG_fail
; 
29989   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
29996 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetZoom(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
29997   PyObject 
*resultobj 
= 0; 
29998   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30004   PyObject 
* obj0 
= 0 ; 
30005   PyObject 
* obj1 
= 0 ; 
30006   char *  kwnames
[] = { 
30007     (char *) "self",(char *) "percent", NULL 
 
30010   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30011   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30012   if (!SWIG_IsOK(res1
)) { 
30013     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30015   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30016   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
30017   if (!SWIG_IsOK(ecode2
)) { 
30018     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'"); 
30020   arg2 
= static_cast< int >(val2
); 
30022     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30023     (arg1
)->SetZoom(arg2
); 
30024     wxPyEndAllowThreads(__tstate
); 
30025     if (PyErr_Occurred()) SWIG_fail
; 
30027   resultobj 
= SWIG_Py_Void(); 
30034 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetZoom(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30035   PyObject 
*resultobj 
= 0; 
30036   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30040   PyObject 
*swig_obj
[1] ; 
30042   if (!args
) SWIG_fail
; 
30043   swig_obj
[0] = args
; 
30044   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30045   if (!SWIG_IsOK(res1
)) { 
30046     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30048   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30050     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30051     result 
= (int)(arg1
)->GetZoom(); 
30052     wxPyEndAllowThreads(__tstate
); 
30053     if (PyErr_Occurred()) SWIG_fail
; 
30055   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
30062 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetMaxPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30063   PyObject 
*resultobj 
= 0; 
30064   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30068   PyObject 
*swig_obj
[1] ; 
30070   if (!args
) SWIG_fail
; 
30071   swig_obj
[0] = args
; 
30072   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30073   if (!SWIG_IsOK(res1
)) { 
30074     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30076   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30078     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30079     result 
= (int)(arg1
)->GetMaxPage(); 
30080     wxPyEndAllowThreads(__tstate
); 
30081     if (PyErr_Occurred()) SWIG_fail
; 
30083   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
30090 SWIGINTERN PyObject 
*_wrap_PrintPreview_GetMinPage(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30091   PyObject 
*resultobj 
= 0; 
30092   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30096   PyObject 
*swig_obj
[1] ; 
30098   if (!args
) SWIG_fail
; 
30099   swig_obj
[0] = args
; 
30100   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30101   if (!SWIG_IsOK(res1
)) { 
30102     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30104   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30106     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30107     result 
= (int)(arg1
)->GetMinPage(); 
30108     wxPyEndAllowThreads(__tstate
); 
30109     if (PyErr_Occurred()) SWIG_fail
; 
30111   resultobj 
= SWIG_From_int(static_cast< int >(result
)); 
30118 SWIGINTERN PyObject 
*_wrap_PrintPreview_Ok(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30119   PyObject 
*resultobj 
= 0; 
30120   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30124   PyObject 
*swig_obj
[1] ; 
30126   if (!args
) SWIG_fail
; 
30127   swig_obj
[0] = args
; 
30128   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30129   if (!SWIG_IsOK(res1
)) { 
30130     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30132   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30134     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30135     result 
= (bool)(arg1
)->Ok(); 
30136     wxPyEndAllowThreads(__tstate
); 
30137     if (PyErr_Occurred()) SWIG_fail
; 
30140     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30148 SWIGINTERN PyObject 
*_wrap_PrintPreview_SetOk(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30149   PyObject 
*resultobj 
= 0; 
30150   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30156   PyObject 
* obj0 
= 0 ; 
30157   PyObject 
* obj1 
= 0 ; 
30158   char *  kwnames
[] = { 
30159     (char *) "self",(char *) "ok", NULL 
 
30162   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30163   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30164   if (!SWIG_IsOK(res1
)) { 
30165     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30167   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30168   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
30169   if (!SWIG_IsOK(ecode2
)) { 
30170     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'"); 
30172   arg2 
= static_cast< bool >(val2
); 
30174     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30175     (arg1
)->SetOk(arg2
); 
30176     wxPyEndAllowThreads(__tstate
); 
30177     if (PyErr_Occurred()) SWIG_fail
; 
30179   resultobj 
= SWIG_Py_Void(); 
30186 SWIGINTERN PyObject 
*_wrap_PrintPreview_Print(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30187   PyObject 
*resultobj 
= 0; 
30188   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30195   PyObject 
* obj0 
= 0 ; 
30196   PyObject 
* obj1 
= 0 ; 
30197   char *  kwnames
[] = { 
30198     (char *) "self",(char *) "interactive", NULL 
 
30201   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30202   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30203   if (!SWIG_IsOK(res1
)) { 
30204     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30206   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30207   ecode2 
= SWIG_AsVal_bool(obj1
, &val2
); 
30208   if (!SWIG_IsOK(ecode2
)) { 
30209     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'"); 
30211   arg2 
= static_cast< bool >(val2
); 
30213     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30214     result 
= (bool)(arg1
)->Print(arg2
); 
30215     wxPyEndAllowThreads(__tstate
); 
30216     if (PyErr_Occurred()) SWIG_fail
; 
30219     resultobj 
= result 
? Py_True 
: Py_False
; Py_INCREF(resultobj
); 
30227 SWIGINTERN PyObject 
*_wrap_PrintPreview_DetermineScaling(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30228   PyObject 
*resultobj 
= 0; 
30229   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30232   PyObject 
*swig_obj
[1] ; 
30234   if (!args
) SWIG_fail
; 
30235   swig_obj
[0] = args
; 
30236   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30237   if (!SWIG_IsOK(res1
)) { 
30238     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30240   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30242     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30243     (arg1
)->DetermineScaling(); 
30244     wxPyEndAllowThreads(__tstate
); 
30245     if (PyErr_Occurred()) SWIG_fail
; 
30247   resultobj 
= SWIG_Py_Void(); 
30254 SWIGINTERN PyObject 
*PrintPreview_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30256   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
30257   SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
)); 
30258   return SWIG_Py_Void(); 
30261 SWIGINTERN PyObject 
*PrintPreview_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30262   return SWIG_Python_InitShadowInstance(args
); 
30265 SWIGINTERN PyObject 
*_wrap_new_PyPrintPreview__SWIG_0(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
30266   PyObject 
*resultobj 
= 0; 
30267   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
30268   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
30269   wxPrintDialogData 
*arg3 
= (wxPrintDialogData 
*) NULL 
; 
30270   wxPyPrintPreview 
*result 
= 0 ; 
30276   if ((nobjs 
< 2) || (nobjs 
> 3)) SWIG_fail
; 
30277   res1 
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
30278   if (!SWIG_IsOK(res1
)) { 
30279     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'"); 
30281   res2 
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
30282   if (!SWIG_IsOK(res2
)) { 
30283     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
30286     res3 
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 |  0 ); 
30287     if (!SWIG_IsOK(res3
)) { 
30288       SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");  
30290     arg3 
= reinterpret_cast< wxPrintDialogData 
* >(argp3
); 
30293     if (!wxPyCheckForApp()) SWIG_fail
; 
30294     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30295     result 
= (wxPyPrintPreview 
*)new wxPyPrintPreview(arg1
,arg2
,arg3
); 
30296     wxPyEndAllowThreads(__tstate
); 
30297     if (PyErr_Occurred()) SWIG_fail
; 
30299   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW 
|  0 ); 
30306 SWIGINTERN PyObject 
*_wrap_new_PyPrintPreview__SWIG_1(PyObject 
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject 
**swig_obj
) { 
30307   PyObject 
*resultobj 
= 0; 
30308   wxPyPrintout 
*arg1 
= (wxPyPrintout 
*) 0 ; 
30309   wxPyPrintout 
*arg2 
= (wxPyPrintout 
*) 0 ; 
30310   wxPrintData 
*arg3 
= (wxPrintData 
*) 0 ; 
30311   wxPyPrintPreview 
*result 
= 0 ; 
30317   if ((nobjs 
< 3) || (nobjs 
> 3)) SWIG_fail
; 
30318   res1 
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
30319   if (!SWIG_IsOK(res1
)) { 
30320     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'"); 
30322   res2 
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN 
|  0 ); 
30323   if (!SWIG_IsOK(res2
)) { 
30324     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'"); 
30326   res3 
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 |  0 ); 
30327   if (!SWIG_IsOK(res3
)) { 
30328     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");  
30330   arg3 
= reinterpret_cast< wxPrintData 
* >(argp3
); 
30332     if (!wxPyCheckForApp()) SWIG_fail
; 
30333     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30334     result 
= (wxPyPrintPreview 
*)new wxPyPrintPreview(arg1
,arg2
,arg3
); 
30335     wxPyEndAllowThreads(__tstate
); 
30336     if (PyErr_Occurred()) SWIG_fail
; 
30338   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW 
|  0 ); 
30345 SWIGINTERN PyObject 
*_wrap_new_PyPrintPreview(PyObject 
*self
, PyObject 
*args
) { 
30349   if (!(argc 
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
; 
30351   if ((argc 
>= 2) && (argc 
<= 3)) { 
30356         int res 
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0); 
30357         _v 
= SWIG_CheckState(res
); 
30359       if (!_v
) goto check_1
; 
30361     return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
); 
30366     return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
); 
30370   SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'"); 
30375 SWIGINTERN PyObject 
*_wrap_PyPrintPreview__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30376   PyObject 
*resultobj 
= 0; 
30377   wxPyPrintPreview 
*arg1 
= (wxPyPrintPreview 
*) 0 ; 
30378   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
30379   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
30382   PyObject 
* obj0 
= 0 ; 
30383   PyObject 
* obj1 
= 0 ; 
30384   PyObject 
* obj2 
= 0 ; 
30385   char *  kwnames
[] = { 
30386     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
30389   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
30390   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 |  0 ); 
30391   if (!SWIG_IsOK(res1
)) { 
30392     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");  
30394   arg1 
= reinterpret_cast< wxPyPrintPreview 
* >(argp1
); 
30398     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30399     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
30400     wxPyEndAllowThreads(__tstate
); 
30401     if (PyErr_Occurred()) SWIG_fail
; 
30403   resultobj 
= SWIG_Py_Void(); 
30410 SWIGINTERN PyObject 
*PyPrintPreview_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30412   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
30413   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
)); 
30414   return SWIG_Py_Void(); 
30417 SWIGINTERN PyObject 
*PyPrintPreview_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30418   return SWIG_Python_InitShadowInstance(args
); 
30421 SWIGINTERN PyObject 
*_wrap_new_PyPreviewFrame(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30422   PyObject 
*resultobj 
= 0; 
30423   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30424   wxFrame 
*arg2 
= (wxFrame 
*) 0 ; 
30425   wxString 
*arg3 
= 0 ; 
30426   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
30427   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
30428   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
30429   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
30430   long arg6 
= (long) wxDEFAULT_FRAME_STYLE 
; 
30431   wxString 
const &arg7_defvalue 
= wxPyFrameNameStr 
; 
30432   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
30433   wxPyPreviewFrame 
*result 
= 0 ; 
30438   bool temp3 
= false ; 
30443   bool temp7 
= false ; 
30444   PyObject 
* obj0 
= 0 ; 
30445   PyObject 
* obj1 
= 0 ; 
30446   PyObject 
* obj2 
= 0 ; 
30447   PyObject 
* obj3 
= 0 ; 
30448   PyObject 
* obj4 
= 0 ; 
30449   PyObject 
* obj5 
= 0 ; 
30450   PyObject 
* obj6 
= 0 ; 
30451   char *  kwnames
[] = { 
30452     (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
30455   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
30456   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30457   if (!SWIG_IsOK(res1
)) { 
30458     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30460   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30461   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 |  0 ); 
30462   if (!SWIG_IsOK(res2
)) { 
30463     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");  
30465   arg2 
= reinterpret_cast< wxFrame 
* >(argp2
); 
30467     arg3 
= wxString_in_helper(obj2
); 
30468     if (arg3 
== NULL
) SWIG_fail
; 
30474       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
30480       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
30484     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
30485     if (!SWIG_IsOK(ecode6
)) { 
30486       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'"); 
30488     arg6 
= static_cast< long >(val6
); 
30492       arg7 
= wxString_in_helper(obj6
); 
30493       if (arg7 
== NULL
) SWIG_fail
; 
30498     if (!wxPyCheckForApp()) SWIG_fail
; 
30499     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30500     result 
= (wxPyPreviewFrame 
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString 
const &)*arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
30501     wxPyEndAllowThreads(__tstate
); 
30502     if (PyErr_Occurred()) SWIG_fail
; 
30504   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW 
|  0 ); 
30527 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30528   PyObject 
*resultobj 
= 0; 
30529   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30530   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
30531   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
30534   PyObject 
* obj0 
= 0 ; 
30535   PyObject 
* obj1 
= 0 ; 
30536   PyObject 
* obj2 
= 0 ; 
30537   char *  kwnames
[] = { 
30538     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
30541   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
30542   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30543   if (!SWIG_IsOK(res1
)) { 
30544     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30546   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30550     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30551     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
30552     wxPyEndAllowThreads(__tstate
); 
30553     if (PyErr_Occurred()) SWIG_fail
; 
30555   resultobj 
= SWIG_Py_Void(); 
30562 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30563   PyObject 
*resultobj 
= 0; 
30564   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30565   wxPreviewCanvas 
*arg2 
= (wxPreviewCanvas 
*) 0 ; 
30570   PyObject 
* obj0 
= 0 ; 
30571   PyObject 
* obj1 
= 0 ; 
30572   char *  kwnames
[] = { 
30573     (char *) "self",(char *) "canvas", NULL 
 
30576   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30577   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30578   if (!SWIG_IsOK(res1
)) { 
30579     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30581   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30582   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 |  0 ); 
30583   if (!SWIG_IsOK(res2
)) { 
30584     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");  
30586   arg2 
= reinterpret_cast< wxPreviewCanvas 
* >(argp2
); 
30588     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30589     (arg1
)->SetPreviewCanvas(arg2
); 
30590     wxPyEndAllowThreads(__tstate
); 
30591     if (PyErr_Occurred()) SWIG_fail
; 
30593   resultobj 
= SWIG_Py_Void(); 
30600 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_SetControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30601   PyObject 
*resultobj 
= 0; 
30602   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30603   wxPreviewControlBar 
*arg2 
= (wxPreviewControlBar 
*) 0 ; 
30608   PyObject 
* obj0 
= 0 ; 
30609   PyObject 
* obj1 
= 0 ; 
30610   char *  kwnames
[] = { 
30611     (char *) "self",(char *) "bar", NULL 
 
30614   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30615   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30616   if (!SWIG_IsOK(res1
)) { 
30617     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30619   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30620   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 |  0 ); 
30621   if (!SWIG_IsOK(res2
)) { 
30622     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");  
30624   arg2 
= reinterpret_cast< wxPreviewControlBar 
* >(argp2
); 
30626     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30627     (arg1
)->SetControlBar(arg2
); 
30628     wxPyEndAllowThreads(__tstate
); 
30629     if (PyErr_Occurred()) SWIG_fail
; 
30631   resultobj 
= SWIG_Py_Void(); 
30638 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_Initialize(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30639   PyObject 
*resultobj 
= 0; 
30640   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30643   PyObject 
*swig_obj
[1] ; 
30645   if (!args
) SWIG_fail
; 
30646   swig_obj
[0] = args
; 
30647   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30648   if (!SWIG_IsOK(res1
)) { 
30649     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30651   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30653     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30654     (arg1
)->Initialize(); 
30655     wxPyEndAllowThreads(__tstate
); 
30656     if (PyErr_Occurred()) SWIG_fail
; 
30658   resultobj 
= SWIG_Py_Void(); 
30665 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_CreateCanvas(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30666   PyObject 
*resultobj 
= 0; 
30667   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30670   PyObject 
*swig_obj
[1] ; 
30672   if (!args
) SWIG_fail
; 
30673   swig_obj
[0] = args
; 
30674   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30675   if (!SWIG_IsOK(res1
)) { 
30676     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30678   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30680     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30681     (arg1
)->CreateCanvas(); 
30682     wxPyEndAllowThreads(__tstate
); 
30683     if (PyErr_Occurred()) SWIG_fail
; 
30685   resultobj 
= SWIG_Py_Void(); 
30692 SWIGINTERN PyObject 
*_wrap_PyPreviewFrame_CreateControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30693   PyObject 
*resultobj 
= 0; 
30694   wxPyPreviewFrame 
*arg1 
= (wxPyPreviewFrame 
*) 0 ; 
30697   PyObject 
*swig_obj
[1] ; 
30699   if (!args
) SWIG_fail
; 
30700   swig_obj
[0] = args
; 
30701   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 |  0 ); 
30702   if (!SWIG_IsOK(res1
)) { 
30703     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");  
30705   arg1 
= reinterpret_cast< wxPyPreviewFrame 
* >(argp1
); 
30707     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30708     (arg1
)->CreateControlBar(); 
30709     wxPyEndAllowThreads(__tstate
); 
30710     if (PyErr_Occurred()) SWIG_fail
; 
30712   resultobj 
= SWIG_Py_Void(); 
30719 SWIGINTERN PyObject 
*PyPreviewFrame_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30721   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
30722   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
)); 
30723   return SWIG_Py_Void(); 
30726 SWIGINTERN PyObject 
*PyPreviewFrame_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30727   return SWIG_Python_InitShadowInstance(args
); 
30730 SWIGINTERN PyObject 
*_wrap_new_PyPreviewControlBar(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30731   PyObject 
*resultobj 
= 0; 
30732   wxPrintPreview 
*arg1 
= (wxPrintPreview 
*) 0 ; 
30734   wxWindow 
*arg3 
= (wxWindow 
*) 0 ; 
30735   wxPoint 
const &arg4_defvalue 
= wxDefaultPosition 
; 
30736   wxPoint 
*arg4 
= (wxPoint 
*) &arg4_defvalue 
; 
30737   wxSize 
const &arg5_defvalue 
= wxDefaultSize 
; 
30738   wxSize 
*arg5 
= (wxSize 
*) &arg5_defvalue 
; 
30739   long arg6 
= (long) 0 ; 
30740   wxString 
const &arg7_defvalue 
= wxPyPanelNameStr 
; 
30741   wxString 
*arg7 
= (wxString 
*) &arg7_defvalue 
; 
30742   wxPyPreviewControlBar 
*result 
= 0 ; 
30753   bool temp7 
= false ; 
30754   PyObject 
* obj0 
= 0 ; 
30755   PyObject 
* obj1 
= 0 ; 
30756   PyObject 
* obj2 
= 0 ; 
30757   PyObject 
* obj3 
= 0 ; 
30758   PyObject 
* obj4 
= 0 ; 
30759   PyObject 
* obj5 
= 0 ; 
30760   PyObject 
* obj6 
= 0 ; 
30761   char *  kwnames
[] = { 
30762     (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL 
 
30765   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
; 
30766   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30767   if (!SWIG_IsOK(res1
)) { 
30768     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");  
30770   arg1 
= reinterpret_cast< wxPrintPreview 
* >(argp1
); 
30771   ecode2 
= SWIG_AsVal_long(obj1
, &val2
); 
30772   if (!SWIG_IsOK(ecode2
)) { 
30773     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'"); 
30775   arg2 
= static_cast< long >(val2
); 
30776   res3 
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 |  0 ); 
30777   if (!SWIG_IsOK(res3
)) { 
30778     SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");  
30780   arg3 
= reinterpret_cast< wxWindow 
* >(argp3
); 
30784       if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
; 
30790       if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
; 
30794     ecode6 
= SWIG_AsVal_long(obj5
, &val6
); 
30795     if (!SWIG_IsOK(ecode6
)) { 
30796       SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'"); 
30798     arg6 
= static_cast< long >(val6
); 
30802       arg7 
= wxString_in_helper(obj6
); 
30803       if (arg7 
== NULL
) SWIG_fail
; 
30808     if (!wxPyCheckForApp()) SWIG_fail
; 
30809     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30810     result 
= (wxPyPreviewControlBar 
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint 
const &)*arg4
,(wxSize 
const &)*arg5
,arg6
,(wxString 
const &)*arg7
); 
30811     wxPyEndAllowThreads(__tstate
); 
30812     if (PyErr_Occurred()) SWIG_fail
; 
30814   resultobj 
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW 
|  0 ); 
30829 SWIGINTERN PyObject 
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30830   PyObject 
*resultobj 
= 0; 
30831   wxPyPreviewControlBar 
*arg1 
= (wxPyPreviewControlBar 
*) 0 ; 
30832   PyObject 
*arg2 
= (PyObject 
*) 0 ; 
30833   PyObject 
*arg3 
= (PyObject 
*) 0 ; 
30836   PyObject 
* obj0 
= 0 ; 
30837   PyObject 
* obj1 
= 0 ; 
30838   PyObject 
* obj2 
= 0 ; 
30839   char *  kwnames
[] = { 
30840     (char *) "self",(char *) "self",(char *) "_class", NULL 
 
30843   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
; 
30844   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 |  0 ); 
30845   if (!SWIG_IsOK(res1
)) { 
30846     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");  
30848   arg1 
= reinterpret_cast< wxPyPreviewControlBar 
* >(argp1
); 
30852     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30853     (arg1
)->_setCallbackInfo(arg2
,arg3
); 
30854     wxPyEndAllowThreads(__tstate
); 
30855     if (PyErr_Occurred()) SWIG_fail
; 
30857   resultobj 
= SWIG_Py_Void(); 
30864 SWIGINTERN PyObject 
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30865   PyObject 
*resultobj 
= 0; 
30866   wxPyPreviewControlBar 
*arg1 
= (wxPyPreviewControlBar 
*) 0 ; 
30867   wxPrintPreview 
*arg2 
= (wxPrintPreview 
*) 0 ; 
30872   PyObject 
* obj0 
= 0 ; 
30873   PyObject 
* obj1 
= 0 ; 
30874   char *  kwnames
[] = { 
30875     (char *) "self",(char *) "preview", NULL 
 
30878   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30879   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 |  0 ); 
30880   if (!SWIG_IsOK(res1
)) { 
30881     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");  
30883   arg1 
= reinterpret_cast< wxPyPreviewControlBar 
* >(argp1
); 
30884   res2 
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 |  0 ); 
30885   if (!SWIG_IsOK(res2
)) { 
30886     SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");  
30888   arg2 
= reinterpret_cast< wxPrintPreview 
* >(argp2
); 
30890     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30891     (arg1
)->SetPrintPreview(arg2
); 
30892     wxPyEndAllowThreads(__tstate
); 
30893     if (PyErr_Occurred()) SWIG_fail
; 
30895   resultobj 
= SWIG_Py_Void(); 
30902 SWIGINTERN PyObject 
*_wrap_PyPreviewControlBar_CreateButtons(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30903   PyObject 
*resultobj 
= 0; 
30904   wxPyPreviewControlBar 
*arg1 
= (wxPyPreviewControlBar 
*) 0 ; 
30907   PyObject 
*swig_obj
[1] ; 
30909   if (!args
) SWIG_fail
; 
30910   swig_obj
[0] = args
; 
30911   res1 
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 |  0 ); 
30912   if (!SWIG_IsOK(res1
)) { 
30913     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");  
30915   arg1 
= reinterpret_cast< wxPyPreviewControlBar 
* >(argp1
); 
30917     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30918     (arg1
)->CreateButtons(); 
30919     wxPyEndAllowThreads(__tstate
); 
30920     if (PyErr_Occurred()) SWIG_fail
; 
30922   resultobj 
= SWIG_Py_Void(); 
30929 SWIGINTERN PyObject 
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
, PyObject 
*kwargs
) { 
30930   PyObject 
*resultobj 
= 0; 
30931   wxPyPreviewControlBar 
*arg1 
= (wxPyPreviewControlBar 
*) 0 ; 
30937   PyObject 
* obj0 
= 0 ; 
30938   PyObject 
* obj1 
= 0 ; 
30939   char *  kwnames
[] = { 
30940     (char *) "self",(char *) "zoom", NULL 
 
30943   if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
; 
30944   res1 
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 |  0 ); 
30945   if (!SWIG_IsOK(res1
)) { 
30946     SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");  
30948   arg1 
= reinterpret_cast< wxPyPreviewControlBar 
* >(argp1
); 
30949   ecode2 
= SWIG_AsVal_int(obj1
, &val2
); 
30950   if (!SWIG_IsOK(ecode2
)) { 
30951     SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'"); 
30953   arg2 
= static_cast< int >(val2
); 
30955     PyThreadState
* __tstate 
= wxPyBeginAllowThreads(); 
30956     (arg1
)->SetZoomControl(arg2
); 
30957     wxPyEndAllowThreads(__tstate
); 
30958     if (PyErr_Occurred()) SWIG_fail
; 
30960   resultobj 
= SWIG_Py_Void(); 
30967 SWIGINTERN PyObject 
*PyPreviewControlBar_swigregister(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30969   if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
; 
30970   SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
)); 
30971   return SWIG_Py_Void(); 
30974 SWIGINTERN PyObject 
*PyPreviewControlBar_swiginit(PyObject 
*SWIGUNUSEDPARM(self
), PyObject 
*args
) { 
30975   return SWIG_Python_InitShadowInstance(args
); 
30978 static PyMethodDef SwigMethods
[] = { 
30979          { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30980          { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
}, 
30981          { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30982          { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
}, 
30983          { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30984          { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
}, 
30985          { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
}, 
30986          { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30987          { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
}, 
30988          { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30989          { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30990          { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30991          { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30992          { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30993          { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30994          { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
}, 
30995          { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30996          { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
}, 
30997          { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
30998          { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
}, 
30999          { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
}, 
31000          { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
}, 
31001          { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
}, 
31002          { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
}, 
31003          { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31004          { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31005          { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
}, 
31006          { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31007          { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31008          { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
}, 
31009          { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
}, 
31010          { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31011          { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
}, 
31012          { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31013          { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
}, 
31014          { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
}, 
31015          { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
}, 
31016          { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
}, 
31017          { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31018          { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31019          { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31020          { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
}, 
31021          { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31022          { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
}, 
31023          { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31024          { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31025          { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
}, 
31026          { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31027          { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
}, 
31028          { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31029          { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31030          { (char *)"TopLevelWindow_SetTransparent", (PyCFunction
) _wrap_TopLevelWindow_SetTransparent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31031          { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction
)_wrap_TopLevelWindow_CanSetTransparent
, METH_O
, NULL
}, 
31032          { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
}, 
31033          { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31034          { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31035          { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
}, 
31036          { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
}, 
31037          { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31038          { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
}, 
31039          { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31040          { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
}, 
31041          { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31042          { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
}, 
31043          { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31044          { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31045          { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
}, 
31046          { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31047          { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31048          { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31049          { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31050          { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31051          { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31052          { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
}, 
31053          { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31054          { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
}, 
31055          { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31056          { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31057          { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31058          { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31059          { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
}, 
31060          { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
}, 
31061          { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31062          { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
}, 
31063          { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31064          { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31065          { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
}, 
31066          { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31067          { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
}, 
31068          { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31069          { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
}, 
31070          { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31071          { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31072          { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31073          { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
}, 
31074          { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
}, 
31075          { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31076          { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31077          { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
}, 
31078          { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
}, 
31079          { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31080          { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
}, 
31081          { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31082          { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
}, 
31083          { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
}, 
31084          { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31085          { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31086          { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
}, 
31087          { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
}, 
31088          { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
}, 
31089          { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31090          { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
}, 
31091          { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
}, 
31092          { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
}, 
31093          { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
}, 
31094          { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
}, 
31095          { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31096          { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
}, 
31097          { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31098          { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31099          { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
}, 
31100          { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31101          { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31102          { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31103          { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31104          { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31105          { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31106          { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31107          { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31108          { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
}, 
31109          { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
}, 
31110          { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31111          { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
}, 
31112          { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
}, 
31113          { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31114          { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
}, 
31115          { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31116          { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
}, 
31117          { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
}, 
31118          { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31119          { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
}, 
31120          { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31121          { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31122          { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31123          { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31124          { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31125          { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
}, 
31126          { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
}, 
31127          { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31128          { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31129          { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
}, 
31130          { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
}, 
31131          { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31132          { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
}, 
31133          { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31134          { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
}, 
31135          { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31136          { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
}, 
31137          { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31138          { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
}, 
31139          { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31140          { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
}, 
31141          { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31142          { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
}, 
31143          { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
}, 
31144          { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31145          { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31146          { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
}, 
31147          { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
}, 
31148          { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
}, 
31149          { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
}, 
31150          { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
}, 
31151          { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
}, 
31152          { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31153          { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
}, 
31154          { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31155          { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31156          { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31157          { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31158          { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31159          { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31160          { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31161          { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
}, 
31162          { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31163          { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
}, 
31164          { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31165          { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31166          { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
}, 
31167          { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
}, 
31168          { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31169          { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31170          { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
}, 
31171          { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
}, 
31172          { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31173          { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
}, 
31174          { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
}, 
31175          { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
}, 
31176          { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31177          { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31178          { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
}, 
31179          { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31180          { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
}, 
31181          { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31182          { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
}, 
31183          { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
}, 
31184          { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
}, 
31185          { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31186          { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31187          { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
}, 
31188          { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31189          { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
}, 
31190          { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31191          { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
}, 
31192          { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31193          { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
}, 
31194          { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31195          { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
}, 
31196          { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
}, 
31197          { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
}, 
31198          { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31199          { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31200          { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
}, 
31201          { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31202          { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
}, 
31203          { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
}, 
31204          { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
}, 
31205          { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31206          { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
}, 
31207          { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31208          { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
}, 
31209          { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
}, 
31210          { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31211          { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31212          { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31213          { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
}, 
31214          { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
}, 
31215          { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
}, 
31216          { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
}, 
31217          { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31218          { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31219          { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31220          { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
}, 
31221          { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
}, 
31222          { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31223          { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
}, 
31224          { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31225          { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31226          { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
}, 
31227          { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
}, 
31228          { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31229          { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
}, 
31230          { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31231          { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31232          { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
}, 
31233          { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
}, 
31234          { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
}, 
31235          { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31236          { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31237          { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
}, 
31238          { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
}, 
31239          { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
}, 
31240          { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31241          { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
}, 
31242          { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31243          { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31244          { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31245          { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31246          { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31247          { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31248          { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31249          { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31250          { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
}, 
31251          { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
}, 
31252          { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
}, 
31253          { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
}, 
31254          { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31255          { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
}, 
31256          { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
}, 
31257          { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31258          { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31259          { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
}, 
31260          { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
}, 
31261          { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31262          { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
}, 
31263          { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31264          { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31265          { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
}, 
31266          { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
}, 
31267          { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
}, 
31268          { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31269          { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31270          { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
}, 
31271          { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
}, 
31272          { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31273          { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
}, 
31274          { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
}, 
31275          { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31276          { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
}, 
31277          { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31278          { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31279          { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31280          { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31281          { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
}, 
31282          { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
}, 
31283          { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31284          { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31285          { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31286          { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31287          { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31288          { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
}, 
31289          { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
}, 
31290          { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31291          { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
}, 
31292          { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31293          { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31294          { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31295          { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
}, 
31296          { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31297          { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
}, 
31298          { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
}, 
31299          { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
}, 
31300          { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
}, 
31301          { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31302          { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
}, 
31303          { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
}, 
31304          { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
}, 
31305          { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31306          { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
}, 
31307          { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31308          { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
}, 
31309          { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
}, 
31310          { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31311          { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
}, 
31312          { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
}, 
31313          { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
}, 
31314          { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
}, 
31315          { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
}, 
31316          { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
}, 
31317          { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31318          { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31319          { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31320          { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31321          { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
}, 
31322          { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
}, 
31323          { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31324          { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
}, 
31325          { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
}, 
31326          { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
}, 
31327          { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31328          { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31329          { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
}, 
31330          { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
}, 
31331          { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31332          { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31333          { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
}, 
31334          { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
}, 
31335          { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31336          { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31337          { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31338          { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31339          { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31340          { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31341          { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31342          { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
}, 
31343          { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
}, 
31344          { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
}, 
31345          { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
}, 
31346          { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
}, 
31347          { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
}, 
31348          { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
}, 
31349          { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
}, 
31350          { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
}, 
31351          { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
}, 
31352          { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31353          { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31354          { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
}, 
31355          { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
}, 
31356          { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
}, 
31357          { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31358          { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
}, 
31359          { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
}, 
31360          { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31361          { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
}, 
31362          { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
}, 
31363          { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31364          { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
}, 
31365          { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31366          { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
}, 
31367          { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
}, 
31368          { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31369          { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
}, 
31370          { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
}, 
31371          { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31372          { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
}, 
31373          { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
}, 
31374          { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
}, 
31375          { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
}, 
31376          { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
}, 
31377          { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31378          { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
}, 
31379          { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
}, 
31380          { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
}, 
31381          { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
}, 
31382          { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
}, 
31383          { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
}, 
31384          { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31385          { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31386          { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31387          { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31388          { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31389          { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31390          { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
}, 
31391          { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
}, 
31392          { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31393          { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
}, 
31394          { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
}, 
31395          { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
}, 
31396          { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31397          { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31398          { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
}, 
31399          { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
}, 
31400          { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31401          { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31402          { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
}, 
31403          { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
}, 
31404          { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
}, 
31405          { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31406          { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
}, 
31407          { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
}, 
31408          { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
}, 
31409          { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
}, 
31410          { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31411          { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31412          { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31413          { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
}, 
31414          { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
}, 
31415          { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31416          { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
}, 
31417          { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
}, 
31418          { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
}, 
31419          { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
}, 
31420          { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31421          { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31422          { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31423          { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
}, 
31424          { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
}, 
31425          { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31426          { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
}, 
31427          { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31428          { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
}, 
31429          { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31430          { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
}, 
31431          { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
}, 
31432          { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31433          { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
}, 
31434          { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31435          { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
}, 
31436          { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
}, 
31437          { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
}, 
31438          { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
}, 
31439          { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
}, 
31440          { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
}, 
31441          { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
}, 
31442          { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31443          { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
}, 
31444          { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
}, 
31445          { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31446          { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
}, 
31447          { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31448          { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
}, 
31449          { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
}, 
31450          { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
}, 
31451          { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31452          { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
}, 
31453          { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31454          { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
}, 
31455          { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
}, 
31456          { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31457          { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
}, 
31458          { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31459          { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31460          { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31461          { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31462          { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31463          { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31464          { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31465          { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
}, 
31466          { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
}, 
31467          { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
}, 
31468          { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
}, 
31469          { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
}, 
31470          { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
}, 
31471          { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
}, 
31472          { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
}, 
31473          { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
}, 
31474          { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31475          { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
}, 
31476          { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31477          { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31478          { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31479          { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31480          { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31481          { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31482          { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31483          { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
}, 
31484          { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
}, 
31485          { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
}, 
31486          { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
}, 
31487          { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
}, 
31488          { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
}, 
31489          { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
}, 
31490          { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
}, 
31491          { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
}, 
31492          { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31493          { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
}, 
31494          { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31495          { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31496          { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31497          { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31498          { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31499          { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31500          { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31501          { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
}, 
31502          { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
}, 
31503          { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
}, 
31504          { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
}, 
31505          { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
}, 
31506          { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
}, 
31507          { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
}, 
31508          { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
}, 
31509          { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
}, 
31510          { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
}, 
31511          { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
}, 
31512          { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
}, 
31513          { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
}, 
31514          { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
}, 
31515          { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
}, 
31516          { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
}, 
31517          { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
}, 
31518          { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
}, 
31519          { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
}, 
31520          { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
}, 
31521          { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
}, 
31522          { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
}, 
31523          { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
}, 
31524          { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31525          { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31526          { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31527          { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31528          { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31529          { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31530          { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31531          { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31532          { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31533          { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31534          { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31535          { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
}, 
31536          { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31537          { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
}, 
31538          { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31539          { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
}, 
31540          { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
}, 
31541          { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
}, 
31542          { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
}, 
31543          { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31544          { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31545          { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31546          { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31547          { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31548          { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
}, 
31549          { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
}, 
31550          { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
}, 
31551          { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
}, 
31552          { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
}, 
31553          { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
}, 
31554          { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
}, 
31555          { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
}, 
31556          { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
}, 
31557          { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
}, 
31558          { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
}, 
31559          { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
}, 
31560          { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
}, 
31561          { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
}, 
31562          { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
}, 
31563          { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31564          { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31565          { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31566          { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31567          { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31568          { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31569          { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31570          { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31571          { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31572          { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
}, 
31573          { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
}, 
31574          { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
}, 
31575          { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
}, 
31576          { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31577          { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
}, 
31578          { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
}, 
31579          { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
}, 
31580          { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
}, 
31581          { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
}, 
31582          { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
}, 
31583          { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
}, 
31584          { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
}, 
31585          { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
}, 
31586          { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
}, 
31587          { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
}, 
31588          { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
}, 
31589          { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
}, 
31590          { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
}, 
31591          { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
}, 
31592          { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
}, 
31593          { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
}, 
31594          { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31595          { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31596          { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31597          { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31598          { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31599          { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31600          { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31601          { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31602          { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31603          { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31604          { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31605          { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31606          { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31607          { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
}, 
31608          { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
}, 
31609          { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
}, 
31610          { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
}, 
31611          { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
}, 
31612          { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
}, 
31613          { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31614          { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
}, 
31615          { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
}, 
31616          { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31617          { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
}, 
31618          { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
}, 
31619          { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
}, 
31620          { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
}, 
31621          { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
}, 
31622          { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
}, 
31623          { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
}, 
31624          { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31625          { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
}, 
31626          { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31627          { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31628          { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31629          { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31630          { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31631          { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
}, 
31632          { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
}, 
31633          { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
}, 
31634          { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
}, 
31635          { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
}, 
31636          { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31637          { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
}, 
31638          { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31639          { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
}, 
31640          { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
}, 
31641          { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31642          { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31643          { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
}, 
31644          { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31645          { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
}, 
31646          { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31647          { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
}, 
31648          { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31649          { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
}, 
31650          { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
}, 
31651          { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31652          { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31653          { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
}, 
31654          { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
}, 
31655          { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
}, 
31656          { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
}, 
31657          { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31658          { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
}, 
31659          { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
}, 
31660          { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
}, 
31661          { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31662          { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
}, 
31663          { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
}, 
31664          { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31665          { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
}, 
31666          { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
}, 
31667          { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
}, 
31668          { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
}, 
31669          { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
}, 
31670          { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
}, 
31671          { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31672          { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
}, 
31673          { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31674          { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
}, 
31675          { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
}, 
31676          { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
}, 
31677          { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
}, 
31678          { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
}, 
31679          { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
}, 
31680          { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
}, 
31681          { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
}, 
31682          { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
}, 
31683          { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
}, 
31684          { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31685          { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
}, 
31686          { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31687          { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
}, 
31688          { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
}, 
31689          { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31690          { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31691          { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
}, 
31692          { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
}, 
31693          { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31694          { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31695          { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31696          { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31697          { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
}, 
31698          { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31699          { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
}, 
31700          { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
}, 
31701          { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
}, 
31702          { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
}, 
31703          { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31704          { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31705          { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
}, 
31706          { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
}, 
31707          { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
}, 
31708          { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
}, 
31709          { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31710          { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
}, 
31711          { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
}, 
31712          { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31713          { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31714          { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31715          { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31716          { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
}, 
31717          { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
}, 
31718          { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
}, 
31719          { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
}, 
31720          { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
}, 
31721          { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31722          { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31723          { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31724          { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
}, 
31725          { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS 
| METH_KEYWORDS
, NULL
}, 
31726          { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
}, 
31727          { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
}, 
31728          { NULL
, NULL
, 0, NULL 
} 
31732 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ 
31734 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) { 
31735     return (void *)((wxPreviewFrame 
*)  ((wxPyPreviewFrame 
*) x
)); 
31737 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) { 
31738     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
31740 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) { 
31741     return (void *)((wxEvent 
*)  ((wxMenuEvent 
*) x
)); 
31743 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) { 
31744     return (void *)((wxEvent 
*)  ((wxCloseEvent 
*) x
)); 
31746 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) { 
31747     return (void *)((wxEvent 
*)  ((wxMouseEvent 
*) x
)); 
31749 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) { 
31750     return (void *)((wxEvent 
*)  ((wxEraseEvent 
*) x
)); 
31752 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) { 
31753     return (void *)((wxEvent 
*)  ((wxSetCursorEvent 
*) x
)); 
31755 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) { 
31756     return (void *)((wxEvent 
*) (wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
31758 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) { 
31759     return (void *)((wxEvent 
*)  ((wxInitDialogEvent 
*) x
)); 
31761 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) { 
31762     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
31764 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) { 
31765     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
31767 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) { 
31768     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
31770 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) { 
31771     return (void *)((wxEvent 
*)  ((wxMouseCaptureLostEvent 
*) x
)); 
31773 static void *_p_wxPyEventTo_p_wxEvent(void *x
) { 
31774     return (void *)((wxEvent 
*)  ((wxPyEvent 
*) x
)); 
31776 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) { 
31777     return (void *)((wxEvent 
*)  ((wxCalculateLayoutEvent 
*) x
)); 
31779 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) { 
31780     return (void *)((wxEvent 
*)  ((wxIdleEvent 
*) x
)); 
31782 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) { 
31783     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
31785 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) { 
31786     return (void *)((wxEvent 
*)  ((wxQueryNewPaletteEvent 
*) x
)); 
31788 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) { 
31789     return (void *)((wxEvent 
*)  ((wxMaximizeEvent 
*) x
)); 
31791 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) { 
31792     return (void *)((wxEvent 
*)  ((wxIconizeEvent 
*) x
)); 
31794 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) { 
31795     return (void *)((wxEvent 
*)  ((wxActivateEvent 
*) x
)); 
31797 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) { 
31798     return (void *)((wxEvent 
*)  ((wxSizeEvent 
*) x
)); 
31800 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) { 
31801     return (void *)((wxEvent 
*)  ((wxMoveEvent 
*) x
)); 
31803 static void *_p_wxDateEventTo_p_wxEvent(void *x
) { 
31804     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
31806 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) { 
31807     return (void *)((wxEvent 
*)  ((wxPaintEvent 
*) x
)); 
31809 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) { 
31810     return (void *)((wxEvent 
*)  ((wxNcPaintEvent 
*) x
)); 
31812 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) { 
31813     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
31815 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) { 
31816     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
31818 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) { 
31819     return (void *)((wxEvent 
*)  ((wxPaletteChangedEvent 
*) x
)); 
31821 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) { 
31822     return (void *)((wxEvent 
*)  ((wxDisplayChangedEvent 
*) x
)); 
31824 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) { 
31825     return (void *)((wxEvent 
*)  ((wxMouseCaptureChangedEvent 
*) x
)); 
31827 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) { 
31828     return (void *)((wxEvent 
*)  ((wxSysColourChangedEvent 
*) x
)); 
31830 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) { 
31831     return (void *)((wxEvent 
*)  ((wxDropFilesEvent 
*) x
)); 
31833 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) { 
31834     return (void *)((wxEvent 
*)  ((wxFocusEvent 
*) x
)); 
31836 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) { 
31837     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
31839 static void *_p_wxSashEventTo_p_wxEvent(void *x
) { 
31840     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
31842 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) { 
31843     return (void *)((wxEvent 
*)  ((wxQueryLayoutInfoEvent 
*) x
)); 
31845 static void *_p_wxShowEventTo_p_wxEvent(void *x
) { 
31846     return (void *)((wxEvent 
*)  ((wxShowEvent 
*) x
)); 
31848 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) { 
31849     return (void *)((wxEvent 
*)  ((wxCommandEvent 
*) x
)); 
31851 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) { 
31852     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
31854 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) { 
31855     return (void *)((wxEvent 
*) (wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
31857 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) { 
31858     return (void *)((wxEvent 
*)  ((wxNavigationKeyEvent 
*) x
)); 
31860 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) { 
31861     return (void *)((wxEvent 
*)  ((wxKeyEvent 
*) x
)); 
31863 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) { 
31864     return (void *)((wxEvent 
*)  ((wxScrollWinEvent 
*) x
)); 
31866 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) { 
31867     return (void *)((wxEvent 
*)  ((wxTaskBarIconEvent 
*) x
)); 
31869 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) { 
31870     return (void *)((wxNotifyEvent 
*)  ((wxSplitterEvent 
*) x
)); 
31872 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) { 
31873     return (void *)((wxTextEntryDialog 
*)  ((wxPasswordEntryDialog 
*) x
)); 
31875 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) { 
31876     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
31878 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) { 
31879     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
31881 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) { 
31882     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
31884 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) { 
31885     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMenuBar 
*) x
)); 
31887 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) { 
31888     return (void *)((wxEvtHandler 
*)  ((wxValidator 
*) x
)); 
31890 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) { 
31891     return (void *)((wxEvtHandler 
*) (wxValidator 
*) ((wxPyValidator 
*) x
)); 
31893 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) { 
31894     return (void *)((wxEvtHandler 
*)  ((wxMenu 
*) x
)); 
31896 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) { 
31897     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
31899 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) { 
31900     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
31902 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) { 
31903     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
31905 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) { 
31906     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
31908 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) { 
31909     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
31911 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) { 
31912     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
31914 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) { 
31915     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
31917 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) { 
31918     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
31920 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) { 
31921     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
31923 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) { 
31924     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPanel 
*) x
)); 
31926 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) { 
31927     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxStatusBar 
*) x
)); 
31929 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) { 
31930     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
31932 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) { 
31933     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
31935 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) { 
31936     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
31938 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) { 
31939     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPopupWindow 
*) x
)); 
31941 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) { 
31942     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
31944 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) { 
31945     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSashWindow 
*) x
)); 
31947 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) { 
31948     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
31950 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) { 
31951     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
31953 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) { 
31954     return (void *)((wxEvtHandler 
*)  ((wxWindow 
*) x
)); 
31956 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) { 
31957     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
31959 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) { 
31960     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
31962 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) { 
31963     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
31965 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) { 
31966     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
31968 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) { 
31969     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxControl 
*) x
)); 
31971 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) { 
31972     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
31974 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) { 
31975     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
31977 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) { 
31978     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
31980 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) { 
31981     return (void *)((wxEvtHandler 
*)  ((wxPyApp 
*) x
)); 
31983 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) { 
31984     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
31986 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) { 
31987     return (void *)((wxEvtHandler 
*) (wxWindow 
*) ((wxPyWindow 
*) x
)); 
31989 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) { 
31990     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
31992 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) { 
31993     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
31995 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) { 
31996     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
31998 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
31999     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
32001 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) { 
32002     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
32004 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) { 
32005     return (void *)((wxEvtHandler 
*)  ((wxPyTaskBarIcon 
*) x
)); 
32007 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) { 
32008     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
32010 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) { 
32011     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
32013 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) { 
32014     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
32016 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) { 
32017     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
32019 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) { 
32020     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
32022 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) { 
32023     return (void *)((wxEvtHandler 
*) (wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
32025 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) { 
32026     return (void *)((wxPyVListBox 
*)  ((wxPyHtmlListBox 
*) x
)); 
32028 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) { 
32029     return (void *)((wxFrame 
*)  ((wxMDIChildFrame 
*) x
)); 
32031 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) { 
32032     return (void *)((wxFrame 
*)  ((wxProgressDialog 
*) x
)); 
32034 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) { 
32035     return (void *)((wxFrame 
*)  ((wxPreviewFrame 
*) x
)); 
32037 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) { 
32038     return (void *)((wxFrame 
*) (wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
32040 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) { 
32041     return (void *)((wxFrame 
*)  ((wxMiniFrame 
*) x
)); 
32043 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) { 
32044     return (void *)((wxFrame 
*)  ((wxSplashScreen 
*) x
)); 
32046 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) { 
32047     return (void *)((wxFrame 
*)  ((wxMDIParentFrame 
*) x
)); 
32049 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) { 
32050     return (void *)((wxObject 
*)  ((wxLayoutConstraints 
*) x
)); 
32052 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) { 
32053     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryLayoutInfoEvent 
*) x
)); 
32055 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) { 
32056     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
32058 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) { 
32059     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
32061 static void *_p_wxSizerItemTo_p_wxObject(void *x
) { 
32062     return (void *)((wxObject 
*)  ((wxSizerItem 
*) x
)); 
32064 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) { 
32065     return (void *)((wxObject 
*) (wxSizerItem 
*) ((wxGBSizerItem 
*) x
)); 
32067 static void *_p_wxScrollEventTo_p_wxObject(void *x
) { 
32068     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxScrollEvent 
*) x
)); 
32070 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) { 
32071     return (void *)((wxObject 
*)  ((wxIndividualLayoutConstraint 
*) x
)); 
32073 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) { 
32074     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStaticBoxSizer 
*) x
)); 
32076 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) { 
32077     return (void *)((wxObject 
*) (wxSizer 
*) ((wxBoxSizer 
*) x
)); 
32079 static void *_p_wxSizerTo_p_wxObject(void *x
) { 
32080     return (void *)((wxObject 
*)  ((wxSizer 
*) x
)); 
32082 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) { 
32083     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*)(wxFlexGridSizer 
*) ((wxGridBagSizer 
*) x
)); 
32085 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) { 
32086     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxUpdateUIEvent 
*) x
)); 
32088 static void *_p_wxPyPanelTo_p_wxObject(void *x
) { 
32089     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyPanel 
*) x
)); 
32091 static void *_p_wxEventTo_p_wxObject(void *x
) { 
32092     return (void *)((wxObject 
*)  ((wxEvent 
*) x
)); 
32094 static void *_p_wxFontDataTo_p_wxObject(void *x
) { 
32095     return (void *)((wxObject 
*)  ((wxFontData 
*) x
)); 
32097 static void *_p_wxPrintDataTo_p_wxObject(void *x
) { 
32098     return (void *)((wxObject 
*)  ((wxPrintData 
*) x
)); 
32100 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) { 
32101     return (void *)((wxObject 
*) (wxSizer 
*)(wxGridSizer 
*) ((wxFlexGridSizer 
*) x
)); 
32103 static void *_p_wxGridSizerTo_p_wxObject(void *x
) { 
32104     return (void *)((wxObject 
*) (wxSizer 
*) ((wxGridSizer 
*) x
)); 
32106 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) { 
32107     return (void *)((wxObject 
*) (wxEvent 
*) ((wxInitDialogEvent 
*) x
)); 
32109 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) { 
32110     return (void *)((wxObject 
*)  ((wxLayoutAlgorithm 
*) x
)); 
32112 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) { 
32113     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyTaskBarIcon 
*) x
)); 
32115 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) { 
32116     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxFindDialogEvent 
*) x
)); 
32118 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) { 
32119     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxClipboardTextEvent 
*) x
)); 
32121 static void *_p_wxPaintEventTo_p_wxObject(void *x
) { 
32122     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaintEvent 
*) x
)); 
32124 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) { 
32125     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNcPaintEvent 
*) x
)); 
32127 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) { 
32128     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPaletteChangedEvent 
*) x
)); 
32130 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) { 
32131     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDisplayChangedEvent 
*) x
)); 
32133 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) { 
32134     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureChangedEvent 
*) x
)); 
32136 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) { 
32137     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSysColourChangedEvent 
*) x
)); 
32139 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) { 
32140     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
32142 static void *_p_wxControlTo_p_wxObject(void *x
) { 
32143     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxControl 
*) x
)); 
32145 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) { 
32146     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSetCursorEvent 
*) x
)); 
32148 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) { 
32149     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*)(wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
32151 static void *_p_wxFSFileTo_p_wxObject(void *x
) { 
32152     return (void *)((wxObject 
*)  ((wxFSFile 
*) x
)); 
32154 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) { 
32155     return (void *)((wxObject 
*)  ((wxFindReplaceData 
*) x
)); 
32157 static void *_p_wxPySizerTo_p_wxObject(void *x
) { 
32158     return (void *)((wxObject 
*) (wxSizer 
*) ((wxPySizer 
*) x
)); 
32160 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) { 
32161     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
32163 static void *_p_wxColourDataTo_p_wxObject(void *x
) { 
32164     return (void *)((wxObject 
*)  ((wxColourData 
*) x
)); 
32166 static void *_p_wxPyEventTo_p_wxObject(void *x
) { 
32167     return (void *)((wxObject 
*) (wxEvent 
*) ((wxPyEvent 
*) x
)); 
32169 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) { 
32170     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxNotifyEvent 
*) x
)); 
32172 static void *_p_wxPyWindowTo_p_wxObject(void *x
) { 
32173     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPyWindow 
*) x
)); 
32175 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) { 
32176     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
32178 static void *_p_wxFileDialogTo_p_wxObject(void *x
) { 
32179     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
32181 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) { 
32182     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
32184 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) { 
32185     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
32187 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) { 
32188     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
32190 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) { 
32191     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
32193 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) { 
32194     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
32196 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) { 
32197     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
32199 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) { 
32200     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
32202 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) { 
32203     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
32205 static void *_p_wxShowEventTo_p_wxObject(void *x
) { 
32206     return (void *)((wxObject 
*) (wxEvent 
*) ((wxShowEvent 
*) x
)); 
32208 static void *_p_wxPrinterTo_p_wxObject(void *x
) { 
32209     return (void *)((wxObject 
*)  ((wxPrinter 
*) x
)); 
32211 static void *_p_wxMenuItemTo_p_wxObject(void *x
) { 
32212     return (void *)((wxObject 
*)  ((wxMenuItem 
*) x
)); 
32214 static void *_p_wxDateEventTo_p_wxObject(void *x
) { 
32215     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxDateEvent 
*) x
)); 
32217 static void *_p_wxIdleEventTo_p_wxObject(void *x
) { 
32218     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIdleEvent 
*) x
)); 
32220 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) { 
32221     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowCreateEvent 
*) x
)); 
32223 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) { 
32224     return (void *)((wxObject 
*) (wxEvent 
*) ((wxQueryNewPaletteEvent 
*) x
)); 
32226 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) { 
32227     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMaximizeEvent 
*) x
)); 
32229 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) { 
32230     return (void *)((wxObject 
*) (wxEvent 
*) ((wxIconizeEvent 
*) x
)); 
32232 static void *_p_wxSizeEventTo_p_wxObject(void *x
) { 
32233     return (void *)((wxObject 
*) (wxEvent 
*) ((wxSizeEvent 
*) x
)); 
32235 static void *_p_wxMoveEventTo_p_wxObject(void *x
) { 
32236     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMoveEvent 
*) x
)); 
32238 static void *_p_wxActivateEventTo_p_wxObject(void *x
) { 
32239     return (void *)((wxObject 
*) (wxEvent 
*) ((wxActivateEvent 
*) x
)); 
32241 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) { 
32242     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNMHandler 
*) x
)); 
32244 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) { 
32245     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxJPEGHandler 
*) x
)); 
32247 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) { 
32248     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPCXHandler 
*) x
)); 
32250 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) { 
32251     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxGIFHandler 
*) x
)); 
32253 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) { 
32254     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPNGHandler 
*) x
)); 
32256 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) { 
32257     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*)(wxCURHandler 
*) ((wxANIHandler 
*) x
)); 
32259 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) { 
32260     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*)(wxICOHandler 
*) ((wxCURHandler 
*) x
)); 
32262 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) { 
32263     return (void *)((wxObject 
*) (wxImageHandler 
*)(wxBMPHandler 
*) ((wxICOHandler 
*) x
)); 
32265 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) { 
32266     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxBMPHandler 
*) x
)); 
32268 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) { 
32269     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxPyImageHandler 
*) x
)); 
32271 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) { 
32272     return (void *)((wxObject 
*)  ((wxImageHandler 
*) x
)); 
32274 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) { 
32275     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxXPMHandler 
*) x
)); 
32277 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) { 
32278     return (void *)((wxObject 
*) (wxImageHandler 
*) ((wxTIFFHandler 
*) x
)); 
32280 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) { 
32281     return (void *)((wxObject 
*)  ((wxEvtHandler 
*) x
)); 
32283 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) { 
32284     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseCaptureLostEvent 
*) x
)); 
32286 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) { 
32287     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCalculateLayoutEvent 
*) x
)); 
32289 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) { 
32290     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
32292 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) { 
32293     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
32295 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) { 
32296     return (void *)((wxObject 
*) (wxSizer 
*)(wxBoxSizer 
*) ((wxStdDialogButtonSizer 
*) x
)); 
32298 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) { 
32299     return (void *)((wxObject 
*)  ((wxAcceleratorTable 
*) x
)); 
32301 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) { 
32302     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
32304 static void *_p_wxImageTo_p_wxObject(void *x
) { 
32305     return (void *)((wxObject 
*)  ((wxImage 
*) x
)); 
32307 static void *_p_wxFrameTo_p_wxObject(void *x
) { 
32308     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
32310 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) { 
32311     return (void *)((wxObject 
*)  ((wxPyPrintout 
*) x
)); 
32313 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) { 
32314     return (void *)((wxObject 
*) (wxEvent 
*) ((wxScrollWinEvent 
*) x
)); 
32316 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) { 
32317     return (void *)((wxObject 
*) (wxEvent 
*) ((wxTaskBarIconEvent 
*) x
)); 
32319 static void *_p_wxStatusBarTo_p_wxObject(void *x
) { 
32320     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxStatusBar 
*) x
)); 
32322 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) { 
32323     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
32325 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) { 
32326     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxWindowDestroyEvent 
*) x
)); 
32328 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) { 
32329     return (void *)((wxObject 
*) (wxEvent 
*) ((wxNavigationKeyEvent 
*) x
)); 
32331 static void *_p_wxKeyEventTo_p_wxObject(void *x
) { 
32332     return (void *)((wxObject 
*) (wxEvent 
*) ((wxKeyEvent 
*) x
)); 
32334 static void *_p_wxWindowTo_p_wxObject(void *x
) { 
32335     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxWindow 
*) x
)); 
32337 static void *_p_wxMenuTo_p_wxObject(void *x
) { 
32338     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxMenu 
*) x
)); 
32340 static void *_p_wxMenuBarTo_p_wxObject(void *x
) { 
32341     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMenuBar 
*) x
)); 
32343 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) { 
32344     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
32346 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) { 
32347     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxTopLevelWindow 
*) x
)); 
32349 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) { 
32350     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplashScreenWindow 
*) x
)); 
32352 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) { 
32353     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSplitterWindow 
*) x
)); 
32355 static void *_p_wxSashWindowTo_p_wxObject(void *x
) { 
32356     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxSashWindow 
*) x
)); 
32358 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) { 
32359     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
32361 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) { 
32362     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPopupWindow 
*) x
)); 
32364 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) { 
32365     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
32367 static void *_p_wxTipWindowTo_p_wxObject(void *x
) { 
32368     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
32370 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) { 
32371     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
32373 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) { 
32374     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxMDIClientWindow 
*) x
)); 
32376 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) { 
32377     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
32379 static void *_p_wxSashEventTo_p_wxObject(void *x
) { 
32380     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxSashEvent 
*) x
)); 
32382 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) { 
32383     return (void *)((wxObject 
*)  ((wxPrintPreview 
*) x
)); 
32385 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) { 
32386     return (void *)((wxObject 
*) (wxPrintPreview 
*) ((wxPyPrintPreview 
*) x
)); 
32388 static void *_p_wxPanelTo_p_wxObject(void *x
) { 
32389     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*) ((wxPanel 
*) x
)); 
32391 static void *_p_wxDialogTo_p_wxObject(void *x
) { 
32392     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
32394 static void *_p_wxColourDialogTo_p_wxObject(void *x
) { 
32395     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
32397 static void *_p_wxDirDialogTo_p_wxObject(void *x
) { 
32398     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
32400 static void *_p_wxFontDialogTo_p_wxObject(void *x
) { 
32401     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
32403 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) { 
32404     return (void *)((wxObject 
*)  ((wxPageSetupDialog 
*) x
)); 
32406 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) { 
32407     return (void *)((wxObject 
*)  ((wxPrintDialog 
*) x
)); 
32409 static void *_p_wxFileSystemTo_p_wxObject(void *x
) { 
32410     return (void *)((wxObject 
*)  ((wxFileSystem 
*) x
)); 
32412 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) { 
32413     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxContextMenuEvent 
*) x
)); 
32415 static void *_p_wxMenuEventTo_p_wxObject(void *x
) { 
32416     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMenuEvent 
*) x
)); 
32418 static void *_p_wxPyAppTo_p_wxObject(void *x
) { 
32419     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxPyApp 
*) x
)); 
32421 static void *_p_wxCloseEventTo_p_wxObject(void *x
) { 
32422     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCloseEvent 
*) x
)); 
32424 static void *_p_wxMouseEventTo_p_wxObject(void *x
) { 
32425     return (void *)((wxObject 
*) (wxEvent 
*) ((wxMouseEvent 
*) x
)); 
32427 static void *_p_wxEraseEventTo_p_wxObject(void *x
) { 
32428     return (void *)((wxObject 
*) (wxEvent 
*) ((wxEraseEvent 
*) x
)); 
32430 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) { 
32431     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxPyCommandEvent 
*) x
)); 
32433 static void *_p_wxCommandEventTo_p_wxObject(void *x
) { 
32434     return (void *)((wxObject 
*) (wxEvent 
*) ((wxCommandEvent 
*) x
)); 
32436 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) { 
32437     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
32439 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) { 
32440     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
32442 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) { 
32443     return (void *)((wxObject 
*) (wxEvent 
*) ((wxDropFilesEvent 
*) x
)); 
32445 static void *_p_wxFocusEventTo_p_wxObject(void *x
) { 
32446     return (void *)((wxObject 
*) (wxEvent 
*) ((wxFocusEvent 
*) x
)); 
32448 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) { 
32449     return (void *)((wxObject 
*) (wxEvent 
*)(wxCommandEvent 
*) ((wxChildFocusEvent 
*) x
)); 
32451 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) { 
32452     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxWindow 
*)(wxControl 
*) ((wxControlWithItems 
*) x
)); 
32454 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) { 
32455     return (void *)((wxObject 
*)  ((wxPageSetupDialogData 
*) x
)); 
32457 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) { 
32458     return (void *)((wxObject 
*)  ((wxPrintDialogData 
*) x
)); 
32460 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) { 
32461     return (void *)((wxObject 
*) (wxEvtHandler 
*)(wxValidator 
*) ((wxPyValidator 
*) x
)); 
32463 static void *_p_wxValidatorTo_p_wxObject(void *x
) { 
32464     return (void *)((wxObject 
*) (wxEvtHandler 
*) ((wxValidator 
*) x
)); 
32466 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) { 
32467     return (void *)((wxPyVScrolledWindow 
*)  ((wxPyVListBox 
*) x
)); 
32469 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) { 
32470     return (void *)((wxPyVScrolledWindow 
*) (wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
32472 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) { 
32473     return (void *)((wxPyPopupTransientWindow 
*)  ((wxTipWindow 
*) x
)); 
32475 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) { 
32476     return (void *)((wxPopupWindow 
*)  ((wxPyPopupTransientWindow 
*) x
)); 
32478 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) { 
32479     return (void *)((wxPopupWindow 
*) (wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
32481 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) { 
32482     return (void *)((wxSashWindow 
*)  ((wxSashLayoutWindow 
*) x
)); 
32484 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) { 
32485     return (void *)((wxTopLevelWindow 
*)  ((wxFrame 
*) x
)); 
32487 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) { 
32488     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxMiniFrame 
*) x
)); 
32490 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) { 
32491     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxFontDialog 
*) x
)); 
32493 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) { 
32494     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxDirDialog 
*) x
)); 
32496 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) { 
32497     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxColourDialog 
*) x
)); 
32499 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) { 
32500     return (void *)((wxTopLevelWindow 
*)  ((wxDialog 
*) x
)); 
32502 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) { 
32503     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxSplashScreen 
*) x
)); 
32505 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) { 
32506     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
32508 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) { 
32509     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
32511 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) { 
32512     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxMessageDialog 
*) x
)); 
32514 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) { 
32515     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
32517 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) { 
32518     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
32520 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) { 
32521     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
32523 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) { 
32524     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
32526 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) { 
32527     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
32529 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) { 
32530     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxFileDialog 
*) x
)); 
32532 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) { 
32533     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxProgressDialog 
*) x
)); 
32535 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) { 
32536     return (void *)((wxTopLevelWindow 
*) (wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
32538 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) { 
32539     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
32541 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) { 
32542     return (void *)((wxTopLevelWindow 
*) (wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
32544 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) { 
32545     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxSplashScreen 
*) x
)); 
32547 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) { 
32548     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMiniFrame 
*) x
)); 
32550 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) { 
32551     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyPanel 
*) x
)); 
32553 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) { 
32554     return (void *)((wxWindow 
*)  ((wxMenuBar 
*) x
)); 
32556 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) { 
32557     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFindReplaceDialog 
*) x
)); 
32559 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) { 
32560     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxProgressDialog 
*) x
)); 
32562 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) { 
32563     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMessageDialog 
*) x
)); 
32565 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) { 
32566     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxNumberEntryDialog 
*) x
)); 
32568 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) { 
32569     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*)(wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
32571 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) { 
32572     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxTextEntryDialog 
*) x
)); 
32574 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) { 
32575     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxSingleChoiceDialog 
*) x
)); 
32577 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) { 
32578     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxMultiChoiceDialog 
*) x
)); 
32580 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) { 
32581     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFileDialog 
*) x
)); 
32583 static void *_p_wxPanelTo_p_wxWindow(void *x
) { 
32584     return (void *)((wxWindow 
*)  ((wxPanel 
*) x
)); 
32586 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) { 
32587     return (void *)((wxWindow 
*)  ((wxStatusBar 
*) x
)); 
32589 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) { 
32590     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPyVScrolledWindow 
*) x
)); 
32592 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) { 
32593     return (void *)((wxWindow 
*) (wxPopupWindow 
*)(wxPyPopupTransientWindow 
*) ((wxTipWindow 
*) x
)); 
32595 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) { 
32596     return (void *)((wxWindow 
*) (wxPopupWindow 
*) ((wxPyPopupTransientWindow 
*) x
)); 
32598 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) { 
32599     return (void *)((wxWindow 
*)  ((wxPopupWindow 
*) x
)); 
32601 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) { 
32602     return (void *)((wxWindow 
*) (wxSashWindow 
*) ((wxSashLayoutWindow 
*) x
)); 
32604 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) { 
32605     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxScrolledWindow 
*) x
)); 
32607 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) { 
32608     return (void *)((wxWindow 
*)  ((wxTopLevelWindow 
*) x
)); 
32610 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) { 
32611     return (void *)((wxWindow 
*)  ((wxSplashScreenWindow 
*) x
)); 
32613 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) { 
32614     return (void *)((wxWindow 
*)  ((wxSplitterWindow 
*) x
)); 
32616 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) { 
32617     return (void *)((wxWindow 
*)  ((wxSashWindow 
*) x
)); 
32619 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) { 
32620     return (void *)((wxWindow 
*)  ((wxMDIClientWindow 
*) x
)); 
32622 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) { 
32623     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
32625 static void *_p_wxControlTo_p_wxWindow(void *x
) { 
32626     return (void *)((wxWindow 
*)  ((wxControl 
*) x
)); 
32628 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) { 
32629     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxPreviewFrame 
*) x
)); 
32631 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) { 
32632     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*)(wxPreviewFrame 
*) ((wxPyPreviewFrame 
*) x
)); 
32634 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) { 
32635     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIChildFrame 
*) x
)); 
32637 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) { 
32638     return (void *)((wxWindow 
*) (wxControl 
*) ((wxControlWithItems 
*) x
)); 
32640 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) { 
32641     return (void *)((wxWindow 
*)  ((wxPyWindow 
*) x
)); 
32643 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) { 
32644     return (void *)((wxWindow 
*) (wxPanel 
*)(wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
32646 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) { 
32647     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
32649 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) { 
32650     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
32652 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) { 
32653     return (void *)((wxWindow 
*) (wxPanel 
*) ((wxPreviewControlBar 
*) x
)); 
32655 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) { 
32656     return (void *)((wxWindow 
*) (wxPanel 
*)(wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
32658 static void *_p_wxFrameTo_p_wxWindow(void *x
) { 
32659     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxFrame 
*) x
)); 
32661 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) { 
32662     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxFontDialog 
*) x
)); 
32664 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) { 
32665     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxDirDialog 
*) x
)); 
32667 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) { 
32668     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxDialog 
*) ((wxColourDialog 
*) x
)); 
32670 static void *_p_wxDialogTo_p_wxWindow(void *x
) { 
32671     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*) ((wxDialog 
*) x
)); 
32673 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) { 
32674     return (void *)((wxWindow 
*) (wxTopLevelWindow 
*)(wxFrame 
*) ((wxMDIParentFrame 
*) x
)); 
32676 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) { 
32677     return (void *)((wxScrolledWindow 
*)  ((wxPyScrolledWindow 
*) x
)); 
32679 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) { 
32680     return (void *)((wxScrolledWindow 
*)  ((wxPreviewCanvas 
*) x
)); 
32682 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) { 
32683     return (void *)((wxPrintPreview 
*)  ((wxPyPrintPreview 
*) x
)); 
32685 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) { 
32686     return (void *)((wxDialog 
*)  ((wxColourDialog 
*) x
)); 
32688 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) { 
32689     return (void *)((wxDialog 
*)  ((wxDirDialog 
*) x
)); 
32691 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) { 
32692     return (void *)((wxDialog 
*)  ((wxFontDialog 
*) x
)); 
32694 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) { 
32695     return (void *)((wxDialog 
*)  ((wxFileDialog 
*) x
)); 
32697 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) { 
32698     return (void *)((wxDialog 
*)  ((wxMultiChoiceDialog 
*) x
)); 
32700 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) { 
32701     return (void *)((wxDialog 
*)  ((wxSingleChoiceDialog 
*) x
)); 
32703 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) { 
32704     return (void *)((wxDialog 
*)  ((wxTextEntryDialog 
*) x
)); 
32706 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) { 
32707     return (void *)((wxDialog 
*) (wxTextEntryDialog 
*) ((wxPasswordEntryDialog 
*) x
)); 
32709 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) { 
32710     return (void *)((wxDialog 
*)  ((wxNumberEntryDialog 
*) x
)); 
32712 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) { 
32713     return (void *)((wxDialog 
*)  ((wxMessageDialog 
*) x
)); 
32715 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) { 
32716     return (void *)((wxDialog 
*)  ((wxFindReplaceDialog 
*) x
)); 
32718 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) { 
32719     return (void *)((wxPanel 
*)  ((wxScrolledWindow 
*) x
)); 
32721 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) { 
32722     return (void *)((wxPanel 
*)  ((wxPyVScrolledWindow 
*) x
)); 
32724 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) { 
32725     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPyScrolledWindow 
*) x
)); 
32727 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) { 
32728     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*) ((wxPyVListBox 
*) x
)); 
32730 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) { 
32731     return (void *)((wxPanel 
*) (wxPyVScrolledWindow 
*)(wxPyVListBox 
*) ((wxPyHtmlListBox 
*) x
)); 
32733 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) { 
32734     return (void *)((wxPanel 
*)  ((wxPyPanel 
*) x
)); 
32736 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) { 
32737     return (void *)((wxPanel 
*) (wxScrolledWindow 
*) ((wxPreviewCanvas 
*) x
)); 
32739 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) { 
32740     return (void *)((wxPanel 
*)  ((wxPreviewControlBar 
*) x
)); 
32742 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) { 
32743     return (void *)((wxPanel 
*) (wxPreviewControlBar 
*) ((wxPyPreviewControlBar 
*) x
)); 
32745 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) { 
32746     return (void *)((wxCommandEvent 
*)  ((wxChildFocusEvent 
*) x
)); 
32748 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) { 
32749     return (void *)((wxCommandEvent 
*)  ((wxScrollEvent 
*) x
)); 
32751 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) { 
32752     return (void *)((wxCommandEvent 
*)  ((wxWindowCreateEvent 
*) x
)); 
32754 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) { 
32755     return (void *)((wxCommandEvent 
*)  ((wxDateEvent 
*) x
)); 
32757 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) { 
32758     return (void *)((wxCommandEvent 
*)  ((wxUpdateUIEvent 
*) x
)); 
32760 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) { 
32761     return (void *)((wxCommandEvent 
*)  ((wxClipboardTextEvent 
*) x
)); 
32763 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) { 
32764     return (void *)((wxCommandEvent 
*)  ((wxFindDialogEvent 
*) x
)); 
32766 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) { 
32767     return (void *)((wxCommandEvent 
*)  ((wxWindowDestroyEvent 
*) x
)); 
32769 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) { 
32770     return (void *)((wxCommandEvent 
*)  ((wxContextMenuEvent 
*) x
)); 
32772 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) { 
32773     return (void *)((wxCommandEvent 
*) (wxNotifyEvent 
*) ((wxSplitterEvent 
*) x
)); 
32775 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) { 
32776     return (void *)((wxCommandEvent 
*)  ((wxNotifyEvent 
*) x
)); 
32778 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) { 
32779     return (void *)((wxCommandEvent 
*)  ((wxPyCommandEvent 
*) x
)); 
32781 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) { 
32782     return (void *)((wxCommandEvent 
*)  ((wxSashEvent 
*) x
)); 
32784 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) { 
32785     return (void *)((wxPreviewControlBar 
*)  ((wxPyPreviewControlBar 
*) x
)); 
32787 static swig_type_info _swigt__p_bool 
= {"_p_bool", "bool *", 0, 0, (void*)0, 0}; 
32788 static swig_type_info _swigt__p_char 
= {"_p_char", "char *", 0, 0, (void*)0, 0}; 
32789 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}; 
32790 static swig_type_info _swigt__p_int 
= {"_p_int", "int *", 0, 0, (void*)0, 0}; 
32791 static swig_type_info _swigt__p_unsigned_char 
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; 
32792 static swig_type_info _swigt__p_unsigned_int 
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; 
32793 static swig_type_info _swigt__p_unsigned_long 
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; 
32794 static swig_type_info _swigt__p_wxArrayInt 
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0}; 
32795 static swig_type_info _swigt__p_wxBitmap 
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; 
32796 static swig_type_info _swigt__p_wxCalculateLayoutEvent 
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0}; 
32797 static swig_type_info _swigt__p_wxColour 
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; 
32798 static swig_type_info _swigt__p_wxColourData 
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0}; 
32799 static swig_type_info _swigt__p_wxColourDialog 
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0}; 
32800 static swig_type_info _swigt__p_wxCommandEvent 
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; 
32801 static swig_type_info _swigt__p_wxWindowDestroyEvent 
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; 
32802 static swig_type_info _swigt__p_wxClipboardTextEvent 
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; 
32803 static swig_type_info _swigt__p_wxScrollEvent 
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; 
32804 static swig_type_info _swigt__p_wxPyCommandEvent 
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; 
32805 static swig_type_info _swigt__p_wxContextMenuEvent 
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; 
32806 static swig_type_info _swigt__p_wxChildFocusEvent 
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; 
32807 static swig_type_info _swigt__p_wxWindowCreateEvent 
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; 
32808 static swig_type_info _swigt__p_wxDateEvent 
= {"_p_wxDateEvent", 0, 0, 0, 0, 0}; 
32809 static swig_type_info _swigt__p_wxUpdateUIEvent 
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; 
32810 static swig_type_info _swigt__p_wxDC 
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0}; 
32811 static swig_type_info _swigt__p_wxDialog 
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0}; 
32812 static swig_type_info _swigt__p_wxDirDialog 
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0}; 
32813 static swig_type_info _swigt__p_wxDuplexMode 
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; 
32814 static swig_type_info _swigt__p_wxEvent 
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; 
32815 static swig_type_info _swigt__p_wxMenuEvent 
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; 
32816 static swig_type_info _swigt__p_wxCloseEvent 
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; 
32817 static swig_type_info _swigt__p_wxMouseEvent 
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; 
32818 static swig_type_info _swigt__p_wxEraseEvent 
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; 
32819 static swig_type_info _swigt__p_wxSetCursorEvent 
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; 
32820 static swig_type_info _swigt__p_wxInitDialogEvent 
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; 
32821 static swig_type_info _swigt__p_wxPyEvent 
= {"_p_wxPyEvent", 0, 0, 0, 0, 0}; 
32822 static swig_type_info _swigt__p_wxMouseCaptureLostEvent 
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; 
32823 static swig_type_info _swigt__p_wxIdleEvent 
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; 
32824 static swig_type_info _swigt__p_wxQueryNewPaletteEvent 
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; 
32825 static swig_type_info _swigt__p_wxMaximizeEvent 
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; 
32826 static swig_type_info _swigt__p_wxIconizeEvent 
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; 
32827 static swig_type_info _swigt__p_wxActivateEvent 
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; 
32828 static swig_type_info _swigt__p_wxSizeEvent 
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; 
32829 static swig_type_info _swigt__p_wxMoveEvent 
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; 
32830 static swig_type_info _swigt__p_wxPaintEvent 
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; 
32831 static swig_type_info _swigt__p_wxNcPaintEvent 
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; 
32832 static swig_type_info _swigt__p_wxPaletteChangedEvent 
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; 
32833 static swig_type_info _swigt__p_wxDisplayChangedEvent 
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; 
32834 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent 
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; 
32835 static swig_type_info _swigt__p_wxSysColourChangedEvent 
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; 
32836 static swig_type_info _swigt__p_wxDropFilesEvent 
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; 
32837 static swig_type_info _swigt__p_wxFocusEvent 
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; 
32838 static swig_type_info _swigt__p_wxShowEvent 
= {"_p_wxShowEvent", 0, 0, 0, 0, 0}; 
32839 static swig_type_info _swigt__p_wxNavigationKeyEvent 
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; 
32840 static swig_type_info _swigt__p_wxKeyEvent 
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; 
32841 static swig_type_info _swigt__p_wxEvtHandler 
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; 
32842 static swig_type_info _swigt__p_wxValidator 
= {"_p_wxValidator", 0, 0, 0, 0, 0}; 
32843 static swig_type_info _swigt__p_wxPyValidator 
= {"_p_wxPyValidator", 0, 0, 0, 0, 0}; 
32844 static swig_type_info _swigt__p_wxControl 
= {"_p_wxControl", 0, 0, 0, 0, 0}; 
32845 static swig_type_info _swigt__p_wxPyApp 
= {"_p_wxPyApp", 0, 0, 0, 0, 0}; 
32846 static swig_type_info _swigt__p_wxControlWithItems 
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; 
32847 static swig_type_info _swigt__p_wxFileDialog 
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0}; 
32848 static swig_type_info _swigt__p_wxFileSystem 
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0}; 
32849 static swig_type_info _swigt__p_wxFindDialogEvent 
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0}; 
32850 static swig_type_info _swigt__p_wxFindReplaceData 
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0}; 
32851 static swig_type_info _swigt__p_wxFindReplaceDialog 
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0}; 
32852 static swig_type_info _swigt__p_wxFont 
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; 
32853 static swig_type_info _swigt__p_wxFontData 
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0}; 
32854 static swig_type_info _swigt__p_wxFontDialog 
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0}; 
32855 static swig_type_info _swigt__p_wxFrame 
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0}; 
32856 static swig_type_info _swigt__p_wxHtmlLinkInfo 
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0}; 
32857 static swig_type_info _swigt__p_wxIcon 
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0}; 
32858 static swig_type_info _swigt__p_wxIconBundle 
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0}; 
32859 static swig_type_info _swigt__p_wxLayoutAlgorithm 
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0}; 
32860 static swig_type_info _swigt__p_wxMDIChildFrame 
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0}; 
32861 static swig_type_info _swigt__p_wxMDIClientWindow 
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0}; 
32862 static swig_type_info _swigt__p_wxMDIParentFrame 
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0}; 
32863 static swig_type_info _swigt__p_wxMenu 
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0}; 
32864 static swig_type_info _swigt__p_wxMenuBar 
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0}; 
32865 static swig_type_info _swigt__p_wxMessageDialog 
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0}; 
32866 static swig_type_info _swigt__p_wxMiniFrame 
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0}; 
32867 static swig_type_info _swigt__p_wxMultiChoiceDialog 
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0}; 
32868 static swig_type_info _swigt__p_wxNotifyEvent 
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0}; 
32869 static swig_type_info _swigt__p_wxNumberEntryDialog 
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0}; 
32870 static swig_type_info _swigt__p_wxObject 
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; 
32871 static swig_type_info _swigt__p_wxLayoutConstraints 
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; 
32872 static swig_type_info _swigt__p_wxSizerItem 
= {"_p_wxSizerItem", 0, 0, 0, 0, 0}; 
32873 static swig_type_info _swigt__p_wxGBSizerItem 
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; 
32874 static swig_type_info _swigt__p_wxIndividualLayoutConstraint 
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; 
32875 static swig_type_info _swigt__p_wxStaticBoxSizer 
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; 
32876 static swig_type_info _swigt__p_wxBoxSizer 
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; 
32877 static swig_type_info _swigt__p_wxSizer 
= {"_p_wxSizer", 0, 0, 0, 0, 0}; 
32878 static swig_type_info _swigt__p_wxGridBagSizer 
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; 
32879 static swig_type_info _swigt__p_wxGridSizer 
= {"_p_wxGridSizer", 0, 0, 0, 0, 0}; 
32880 static swig_type_info _swigt__p_wxFlexGridSizer 
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; 
32881 static swig_type_info _swigt__p_wxFSFile 
= {"_p_wxFSFile", 0, 0, 0, 0, 0}; 
32882 static swig_type_info _swigt__p_wxPySizer 
= {"_p_wxPySizer", 0, 0, 0, 0, 0}; 
32883 static swig_type_info _swigt__p_wxMenuItem 
= {"_p_wxMenuItem", 0, 0, 0, 0, 0}; 
32884 static swig_type_info _swigt__p_wxBMPHandler 
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; 
32885 static swig_type_info _swigt__p_wxICOHandler 
= {"_p_wxICOHandler", 0, 0, 0, 0, 0}; 
32886 static swig_type_info _swigt__p_wxCURHandler 
= {"_p_wxCURHandler", 0, 0, 0, 0, 0}; 
32887 static swig_type_info _swigt__p_wxANIHandler 
= {"_p_wxANIHandler", 0, 0, 0, 0, 0}; 
32888 static swig_type_info _swigt__p_wxPNGHandler 
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; 
32889 static swig_type_info _swigt__p_wxGIFHandler 
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; 
32890 static swig_type_info _swigt__p_wxPCXHandler 
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; 
32891 static swig_type_info _swigt__p_wxJPEGHandler 
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; 
32892 static swig_type_info _swigt__p_wxPNMHandler 
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; 
32893 static swig_type_info _swigt__p_wxPyImageHandler 
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; 
32894 static swig_type_info _swigt__p_wxImageHandler 
= {"_p_wxImageHandler", 0, 0, 0, 0, 0}; 
32895 static swig_type_info _swigt__p_wxXPMHandler 
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; 
32896 static swig_type_info _swigt__p_wxTIFFHandler 
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; 
32897 static swig_type_info _swigt__p_wxAcceleratorTable 
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; 
32898 static swig_type_info _swigt__p_wxImage 
= {"_p_wxImage", 0, 0, 0, 0, 0}; 
32899 static swig_type_info _swigt__p_wxPageSetupDialog 
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0}; 
32900 static swig_type_info _swigt__p_wxPageSetupDialogData 
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0}; 
32901 static swig_type_info _swigt__p_wxPanel 
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; 
32902 static swig_type_info _swigt__p_wxPaperSize 
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; 
32903 static swig_type_info _swigt__p_wxPasswordEntryDialog 
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0}; 
32904 static swig_type_info _swigt__p_wxPoint 
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0}; 
32905 static swig_type_info _swigt__p_wxPopupWindow 
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0}; 
32906 static swig_type_info _swigt__p_wxPreviewCanvas 
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0}; 
32907 static swig_type_info _swigt__p_wxPreviewControlBar 
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0}; 
32908 static swig_type_info _swigt__p_wxPreviewFrame 
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0}; 
32909 static swig_type_info _swigt__p_wxPrintData 
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0}; 
32910 static swig_type_info _swigt__p_wxPrintDialog 
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0}; 
32911 static swig_type_info _swigt__p_wxPrintDialogData 
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0}; 
32912 static swig_type_info _swigt__p_wxPrintPreview 
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0}; 
32913 static swig_type_info _swigt__p_wxPrinter 
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0}; 
32914 static swig_type_info _swigt__p_wxProgressDialog 
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0}; 
32915 static swig_type_info _swigt__p_wxPyHtmlListBox 
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0}; 
32916 static swig_type_info _swigt__p_wxPyPanel 
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0}; 
32917 static swig_type_info _swigt__p_wxPyPopupTransientWindow 
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0}; 
32918 static swig_type_info _swigt__p_wxPyPreviewControlBar 
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0}; 
32919 static swig_type_info _swigt__p_wxPyPreviewFrame 
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0}; 
32920 static swig_type_info _swigt__p_wxPyPrintPreview 
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0}; 
32921 static swig_type_info _swigt__p_wxPyPrintout 
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0}; 
32922 static swig_type_info _swigt__p_wxPyScrolledWindow 
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0}; 
32923 static swig_type_info _swigt__p_wxPyTaskBarIcon 
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0}; 
32924 static swig_type_info _swigt__p_wxPyVListBox 
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0}; 
32925 static swig_type_info _swigt__p_wxPyVScrolledWindow 
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0}; 
32926 static swig_type_info _swigt__p_wxPyWindow 
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0}; 
32927 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent 
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0}; 
32928 static swig_type_info _swigt__p_wxRect 
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0}; 
32929 static swig_type_info _swigt__p_wxRegion 
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0}; 
32930 static swig_type_info _swigt__p_wxSashEvent 
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0}; 
32931 static swig_type_info _swigt__p_wxSashLayoutWindow 
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0}; 
32932 static swig_type_info _swigt__p_wxSashWindow 
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0}; 
32933 static swig_type_info _swigt__p_wxScrollWinEvent 
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0}; 
32934 static swig_type_info _swigt__p_wxScrolledWindow 
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; 
32935 static swig_type_info _swigt__p_wxSingleChoiceDialog 
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0}; 
32936 static swig_type_info _swigt__p_wxSize 
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0}; 
32937 static swig_type_info _swigt__p_wxSplashScreen 
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0}; 
32938 static swig_type_info _swigt__p_wxSplashScreenWindow 
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0}; 
32939 static swig_type_info _swigt__p_wxSplitterEvent 
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0}; 
32940 static swig_type_info _swigt__p_wxSplitterWindow 
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0}; 
32941 static swig_type_info _swigt__p_wxStatusBar 
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0}; 
32942 static swig_type_info _swigt__p_wxStdDialogButtonSizer 
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0}; 
32943 static swig_type_info _swigt__p_wxString 
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0}; 
32944 static swig_type_info _swigt__p_wxTaskBarIcon 
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0}; 
32945 static swig_type_info _swigt__p_wxTaskBarIconEvent 
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0}; 
32946 static swig_type_info _swigt__p_wxTextEntryDialog 
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0}; 
32947 static swig_type_info _swigt__p_wxTipWindow 
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0}; 
32948 static swig_type_info _swigt__p_wxToolBar 
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0}; 
32949 static swig_type_info _swigt__p_wxTopLevelWindow 
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0}; 
32950 static swig_type_info _swigt__p_wxVisualAttributes 
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0}; 
32951 static swig_type_info _swigt__p_wxWindow 
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; 
32953 static swig_type_info 
*swig_type_initial
[] = { 
32956   &_swigt__p_form_ops_t
, 
32958   &_swigt__p_unsigned_char
, 
32959   &_swigt__p_unsigned_int
, 
32960   &_swigt__p_unsigned_long
, 
32961   &_swigt__p_wxANIHandler
, 
32962   &_swigt__p_wxAcceleratorTable
, 
32963   &_swigt__p_wxActivateEvent
, 
32964   &_swigt__p_wxArrayInt
, 
32965   &_swigt__p_wxBMPHandler
, 
32966   &_swigt__p_wxBitmap
, 
32967   &_swigt__p_wxBoxSizer
, 
32968   &_swigt__p_wxCURHandler
, 
32969   &_swigt__p_wxCalculateLayoutEvent
, 
32970   &_swigt__p_wxChildFocusEvent
, 
32971   &_swigt__p_wxClipboardTextEvent
, 
32972   &_swigt__p_wxCloseEvent
, 
32973   &_swigt__p_wxColour
, 
32974   &_swigt__p_wxColourData
, 
32975   &_swigt__p_wxColourDialog
, 
32976   &_swigt__p_wxCommandEvent
, 
32977   &_swigt__p_wxContextMenuEvent
, 
32978   &_swigt__p_wxControl
, 
32979   &_swigt__p_wxControlWithItems
, 
32981   &_swigt__p_wxDateEvent
, 
32982   &_swigt__p_wxDialog
, 
32983   &_swigt__p_wxDirDialog
, 
32984   &_swigt__p_wxDisplayChangedEvent
, 
32985   &_swigt__p_wxDropFilesEvent
, 
32986   &_swigt__p_wxDuplexMode
, 
32987   &_swigt__p_wxEraseEvent
, 
32988   &_swigt__p_wxEvent
, 
32989   &_swigt__p_wxEvtHandler
, 
32990   &_swigt__p_wxFSFile
, 
32991   &_swigt__p_wxFileDialog
, 
32992   &_swigt__p_wxFileSystem
, 
32993   &_swigt__p_wxFindDialogEvent
, 
32994   &_swigt__p_wxFindReplaceData
, 
32995   &_swigt__p_wxFindReplaceDialog
, 
32996   &_swigt__p_wxFlexGridSizer
, 
32997   &_swigt__p_wxFocusEvent
, 
32999   &_swigt__p_wxFontData
, 
33000   &_swigt__p_wxFontDialog
, 
33001   &_swigt__p_wxFrame
, 
33002   &_swigt__p_wxGBSizerItem
, 
33003   &_swigt__p_wxGIFHandler
, 
33004   &_swigt__p_wxGridBagSizer
, 
33005   &_swigt__p_wxGridSizer
, 
33006   &_swigt__p_wxHtmlLinkInfo
, 
33007   &_swigt__p_wxICOHandler
, 
33009   &_swigt__p_wxIconBundle
, 
33010   &_swigt__p_wxIconizeEvent
, 
33011   &_swigt__p_wxIdleEvent
, 
33012   &_swigt__p_wxImage
, 
33013   &_swigt__p_wxImageHandler
, 
33014   &_swigt__p_wxIndividualLayoutConstraint
, 
33015   &_swigt__p_wxInitDialogEvent
, 
33016   &_swigt__p_wxJPEGHandler
, 
33017   &_swigt__p_wxKeyEvent
, 
33018   &_swigt__p_wxLayoutAlgorithm
, 
33019   &_swigt__p_wxLayoutConstraints
, 
33020   &_swigt__p_wxMDIChildFrame
, 
33021   &_swigt__p_wxMDIClientWindow
, 
33022   &_swigt__p_wxMDIParentFrame
, 
33023   &_swigt__p_wxMaximizeEvent
, 
33025   &_swigt__p_wxMenuBar
, 
33026   &_swigt__p_wxMenuEvent
, 
33027   &_swigt__p_wxMenuItem
, 
33028   &_swigt__p_wxMessageDialog
, 
33029   &_swigt__p_wxMiniFrame
, 
33030   &_swigt__p_wxMouseCaptureChangedEvent
, 
33031   &_swigt__p_wxMouseCaptureLostEvent
, 
33032   &_swigt__p_wxMouseEvent
, 
33033   &_swigt__p_wxMoveEvent
, 
33034   &_swigt__p_wxMultiChoiceDialog
, 
33035   &_swigt__p_wxNavigationKeyEvent
, 
33036   &_swigt__p_wxNcPaintEvent
, 
33037   &_swigt__p_wxNotifyEvent
, 
33038   &_swigt__p_wxNumberEntryDialog
, 
33039   &_swigt__p_wxObject
, 
33040   &_swigt__p_wxPCXHandler
, 
33041   &_swigt__p_wxPNGHandler
, 
33042   &_swigt__p_wxPNMHandler
, 
33043   &_swigt__p_wxPageSetupDialog
, 
33044   &_swigt__p_wxPageSetupDialogData
, 
33045   &_swigt__p_wxPaintEvent
, 
33046   &_swigt__p_wxPaletteChangedEvent
, 
33047   &_swigt__p_wxPanel
, 
33048   &_swigt__p_wxPaperSize
, 
33049   &_swigt__p_wxPasswordEntryDialog
, 
33050   &_swigt__p_wxPoint
, 
33051   &_swigt__p_wxPopupWindow
, 
33052   &_swigt__p_wxPreviewCanvas
, 
33053   &_swigt__p_wxPreviewControlBar
, 
33054   &_swigt__p_wxPreviewFrame
, 
33055   &_swigt__p_wxPrintData
, 
33056   &_swigt__p_wxPrintDialog
, 
33057   &_swigt__p_wxPrintDialogData
, 
33058   &_swigt__p_wxPrintPreview
, 
33059   &_swigt__p_wxPrinter
, 
33060   &_swigt__p_wxProgressDialog
, 
33061   &_swigt__p_wxPyApp
, 
33062   &_swigt__p_wxPyCommandEvent
, 
33063   &_swigt__p_wxPyEvent
, 
33064   &_swigt__p_wxPyHtmlListBox
, 
33065   &_swigt__p_wxPyImageHandler
, 
33066   &_swigt__p_wxPyPanel
, 
33067   &_swigt__p_wxPyPopupTransientWindow
, 
33068   &_swigt__p_wxPyPreviewControlBar
, 
33069   &_swigt__p_wxPyPreviewFrame
, 
33070   &_swigt__p_wxPyPrintPreview
, 
33071   &_swigt__p_wxPyPrintout
, 
33072   &_swigt__p_wxPyScrolledWindow
, 
33073   &_swigt__p_wxPySizer
, 
33074   &_swigt__p_wxPyTaskBarIcon
, 
33075   &_swigt__p_wxPyVListBox
, 
33076   &_swigt__p_wxPyVScrolledWindow
, 
33077   &_swigt__p_wxPyValidator
, 
33078   &_swigt__p_wxPyWindow
, 
33079   &_swigt__p_wxQueryLayoutInfoEvent
, 
33080   &_swigt__p_wxQueryNewPaletteEvent
, 
33082   &_swigt__p_wxRegion
, 
33083   &_swigt__p_wxSashEvent
, 
33084   &_swigt__p_wxSashLayoutWindow
, 
33085   &_swigt__p_wxSashWindow
, 
33086   &_swigt__p_wxScrollEvent
, 
33087   &_swigt__p_wxScrollWinEvent
, 
33088   &_swigt__p_wxScrolledWindow
, 
33089   &_swigt__p_wxSetCursorEvent
, 
33090   &_swigt__p_wxShowEvent
, 
33091   &_swigt__p_wxSingleChoiceDialog
, 
33093   &_swigt__p_wxSizeEvent
, 
33094   &_swigt__p_wxSizer
, 
33095   &_swigt__p_wxSizerItem
, 
33096   &_swigt__p_wxSplashScreen
, 
33097   &_swigt__p_wxSplashScreenWindow
, 
33098   &_swigt__p_wxSplitterEvent
, 
33099   &_swigt__p_wxSplitterWindow
, 
33100   &_swigt__p_wxStaticBoxSizer
, 
33101   &_swigt__p_wxStatusBar
, 
33102   &_swigt__p_wxStdDialogButtonSizer
, 
33103   &_swigt__p_wxString
, 
33104   &_swigt__p_wxSysColourChangedEvent
, 
33105   &_swigt__p_wxTIFFHandler
, 
33106   &_swigt__p_wxTaskBarIcon
, 
33107   &_swigt__p_wxTaskBarIconEvent
, 
33108   &_swigt__p_wxTextEntryDialog
, 
33109   &_swigt__p_wxTipWindow
, 
33110   &_swigt__p_wxToolBar
, 
33111   &_swigt__p_wxTopLevelWindow
, 
33112   &_swigt__p_wxUpdateUIEvent
, 
33113   &_swigt__p_wxValidator
, 
33114   &_swigt__p_wxVisualAttributes
, 
33115   &_swigt__p_wxWindow
, 
33116   &_swigt__p_wxWindowCreateEvent
, 
33117   &_swigt__p_wxWindowDestroyEvent
, 
33118   &_swigt__p_wxXPMHandler
, 
33121 static swig_cast_info _swigc__p_bool
[] = {  {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}}; 
33122 static swig_cast_info _swigc__p_char
[] = {  {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}}; 
33123 static swig_cast_info _swigc__p_form_ops_t
[] = {  {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}}; 
33124 static swig_cast_info _swigc__p_int
[] = {  {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}}; 
33125 static swig_cast_info _swigc__p_unsigned_char
[] = {  {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}}; 
33126 static swig_cast_info _swigc__p_unsigned_int
[] = {  {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}}; 
33127 static swig_cast_info _swigc__p_unsigned_long
[] = {  {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}}; 
33128 static swig_cast_info _swigc__p_wxArrayInt
[] = {  {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}}; 
33129 static swig_cast_info _swigc__p_wxBitmap
[] = {  {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}}; 
33130 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = {  {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33131 static swig_cast_info _swigc__p_wxColour
[] = {  {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}}; 
33132 static swig_cast_info _swigc__p_wxColourData
[] = {  {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}}; 
33133 static swig_cast_info _swigc__p_wxColourDialog
[] = {  {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33134 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33135 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33136 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33137 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33138 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33139 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33140 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33141 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33142 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33143 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}}; 
33144 static swig_cast_info _swigc__p_wxDC
[] = {  {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}}; 
33145 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}}; 
33146 static swig_cast_info _swigc__p_wxDirDialog
[] = {  {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33147 static swig_cast_info _swigc__p_wxDuplexMode
[] = {  {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}}; 
33148 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33149 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33150 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33151 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33152 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33153 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33154 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33155 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33156 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33157 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33158 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33159 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33160 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33161 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33162 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33163 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33164 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33165 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33166 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33167 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33168 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33169 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33170 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33171 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33172 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33173 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33174 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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxEvent
, 0, 0, 0},  {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0},  {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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}}; 
33175 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
33176 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}}; 
33177 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}}; 
33178 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}}; 
33179 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}}; 
33180 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}}; 
33181 static swig_cast_info _swigc__p_wxFileDialog
[] = {  {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33182 static swig_cast_info _swigc__p_wxFileSystem
[] = {  {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}}; 
33183 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = {  {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33184 static swig_cast_info _swigc__p_wxFindReplaceData
[] = {  {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}}; 
33185 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = {  {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33186 static swig_cast_info _swigc__p_wxFont
[] = {  {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}}; 
33187 static swig_cast_info _swigc__p_wxFontData
[] = {  {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}}; 
33188 static swig_cast_info _swigc__p_wxFontDialog
[] = {  {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33189 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}}; 
33190 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = {  {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}}; 
33191 static swig_cast_info _swigc__p_wxIcon
[] = {  {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
33192 static swig_cast_info _swigc__p_wxIconBundle
[] = {  {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}}; 
33193 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = {  {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}}; 
33194 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = {  {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
33195 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = {  {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
33196 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = {  {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
33197 static swig_cast_info _swigc__p_wxMenu
[] = {  {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}}; 
33198 static swig_cast_info _swigc__p_wxMenuBar
[] = {  {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}}; 
33199 static swig_cast_info _swigc__p_wxMessageDialog
[] = {  {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33200 static swig_cast_info _swigc__p_wxMiniFrame
[] = {  {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
33201 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = {  {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33202 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}}; 
33203 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = {  {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33204 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}}; 
33205 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
33206 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}}; 
33207 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}}; 
33208 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33209 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33210 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33211 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33212 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33213 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33214 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}}; 
33215 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33216 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}}; 
33217 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33218 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33219 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33220 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33221 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33222 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33223 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33224 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33225 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33226 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33227 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33228 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33229 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}}; 
33230 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}}; 
33231 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}}; 
33232 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_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0},  {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0},  {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0},  {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0},  {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0},  {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_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_wxActivateEvent
, _p_wxActivateEventTo_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_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_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_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0},  {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_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}}; 
33233 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = {  {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33234 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = {  {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
33235 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}}; 
33236 static swig_cast_info _swigc__p_wxPaperSize
[] = {  {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}}; 
33237 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = {  {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33238 static swig_cast_info _swigc__p_wxPoint
[] = {  {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}}; 
33239 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}}; 
33240 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = {  {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}}; 
33241 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}}; 
33242 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}}; 
33243 static swig_cast_info _swigc__p_wxPrintData
[] = {  {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}}; 
33244 static swig_cast_info _swigc__p_wxPrintDialog
[] = {  {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33245 static swig_cast_info _swigc__p_wxPrintDialogData
[] = {  {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}}; 
33246 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}}; 
33247 static swig_cast_info _swigc__p_wxPrinter
[] = {  {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}}; 
33248 static swig_cast_info _swigc__p_wxProgressDialog
[] = {  {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33249 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = {  {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}}; 
33250 static swig_cast_info _swigc__p_wxPyPanel
[] = {  {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}}; 
33251 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}}; 
33252 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = {  {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}}; 
33253 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = {  {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}}; 
33254 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = {  {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}}; 
33255 static swig_cast_info _swigc__p_wxPyPrintout
[] = {  {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}}; 
33256 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = {  {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
33257 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = {  {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
33258 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}}; 
33259 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}}; 
33260 static swig_cast_info _swigc__p_wxPyWindow
[] = {  {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
33261 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = {  {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33262 static swig_cast_info _swigc__p_wxRect
[] = {  {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}}; 
33263 static swig_cast_info _swigc__p_wxRegion
[] = {  {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}}; 
33264 static swig_cast_info _swigc__p_wxSashEvent
[] = {  {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33265 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = {  {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
33266 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}}; 
33267 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {  {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33268 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}}; 
33269 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = {  {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}}; 
33270 static swig_cast_info _swigc__p_wxSize
[] = {  {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}}; 
33271 static swig_cast_info _swigc__p_wxSplashScreen
[] = {  {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}}; 
33272 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = {  {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
33273 static swig_cast_info _swigc__p_wxSplitterEvent
[] = {  {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33274 static swig_cast_info _swigc__p_wxSplitterWindow
[] = {  {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
33275 static swig_cast_info _swigc__p_wxStatusBar
[] = {  {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}}; 
33276 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {  {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}}; 
33277 static swig_cast_info _swigc__p_wxString
[] = {  {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}}; 
33278 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = {  {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}}; 
33279 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = {  {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}}; 
33280 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}}; 
33281 static swig_cast_info _swigc__p_wxTipWindow
[] = {  {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}}; 
33282 static swig_cast_info _swigc__p_wxToolBar
[] = {  {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}}; 
33283 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}}; 
33284 static swig_cast_info _swigc__p_wxVisualAttributes
[] = {  {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}}; 
33285 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}}; 
33287 static swig_cast_info 
*swig_cast_initial
[] = { 
33290   _swigc__p_form_ops_t
, 
33292   _swigc__p_unsigned_char
, 
33293   _swigc__p_unsigned_int
, 
33294   _swigc__p_unsigned_long
, 
33295   _swigc__p_wxANIHandler
, 
33296   _swigc__p_wxAcceleratorTable
, 
33297   _swigc__p_wxActivateEvent
, 
33298   _swigc__p_wxArrayInt
, 
33299   _swigc__p_wxBMPHandler
, 
33300   _swigc__p_wxBitmap
, 
33301   _swigc__p_wxBoxSizer
, 
33302   _swigc__p_wxCURHandler
, 
33303   _swigc__p_wxCalculateLayoutEvent
, 
33304   _swigc__p_wxChildFocusEvent
, 
33305   _swigc__p_wxClipboardTextEvent
, 
33306   _swigc__p_wxCloseEvent
, 
33307   _swigc__p_wxColour
, 
33308   _swigc__p_wxColourData
, 
33309   _swigc__p_wxColourDialog
, 
33310   _swigc__p_wxCommandEvent
, 
33311   _swigc__p_wxContextMenuEvent
, 
33312   _swigc__p_wxControl
, 
33313   _swigc__p_wxControlWithItems
, 
33315   _swigc__p_wxDateEvent
, 
33316   _swigc__p_wxDialog
, 
33317   _swigc__p_wxDirDialog
, 
33318   _swigc__p_wxDisplayChangedEvent
, 
33319   _swigc__p_wxDropFilesEvent
, 
33320   _swigc__p_wxDuplexMode
, 
33321   _swigc__p_wxEraseEvent
, 
33323   _swigc__p_wxEvtHandler
, 
33324   _swigc__p_wxFSFile
, 
33325   _swigc__p_wxFileDialog
, 
33326   _swigc__p_wxFileSystem
, 
33327   _swigc__p_wxFindDialogEvent
, 
33328   _swigc__p_wxFindReplaceData
, 
33329   _swigc__p_wxFindReplaceDialog
, 
33330   _swigc__p_wxFlexGridSizer
, 
33331   _swigc__p_wxFocusEvent
, 
33333   _swigc__p_wxFontData
, 
33334   _swigc__p_wxFontDialog
, 
33336   _swigc__p_wxGBSizerItem
, 
33337   _swigc__p_wxGIFHandler
, 
33338   _swigc__p_wxGridBagSizer
, 
33339   _swigc__p_wxGridSizer
, 
33340   _swigc__p_wxHtmlLinkInfo
, 
33341   _swigc__p_wxICOHandler
, 
33343   _swigc__p_wxIconBundle
, 
33344   _swigc__p_wxIconizeEvent
, 
33345   _swigc__p_wxIdleEvent
, 
33347   _swigc__p_wxImageHandler
, 
33348   _swigc__p_wxIndividualLayoutConstraint
, 
33349   _swigc__p_wxInitDialogEvent
, 
33350   _swigc__p_wxJPEGHandler
, 
33351   _swigc__p_wxKeyEvent
, 
33352   _swigc__p_wxLayoutAlgorithm
, 
33353   _swigc__p_wxLayoutConstraints
, 
33354   _swigc__p_wxMDIChildFrame
, 
33355   _swigc__p_wxMDIClientWindow
, 
33356   _swigc__p_wxMDIParentFrame
, 
33357   _swigc__p_wxMaximizeEvent
, 
33359   _swigc__p_wxMenuBar
, 
33360   _swigc__p_wxMenuEvent
, 
33361   _swigc__p_wxMenuItem
, 
33362   _swigc__p_wxMessageDialog
, 
33363   _swigc__p_wxMiniFrame
, 
33364   _swigc__p_wxMouseCaptureChangedEvent
, 
33365   _swigc__p_wxMouseCaptureLostEvent
, 
33366   _swigc__p_wxMouseEvent
, 
33367   _swigc__p_wxMoveEvent
, 
33368   _swigc__p_wxMultiChoiceDialog
, 
33369   _swigc__p_wxNavigationKeyEvent
, 
33370   _swigc__p_wxNcPaintEvent
, 
33371   _swigc__p_wxNotifyEvent
, 
33372   _swigc__p_wxNumberEntryDialog
, 
33373   _swigc__p_wxObject
, 
33374   _swigc__p_wxPCXHandler
, 
33375   _swigc__p_wxPNGHandler
, 
33376   _swigc__p_wxPNMHandler
, 
33377   _swigc__p_wxPageSetupDialog
, 
33378   _swigc__p_wxPageSetupDialogData
, 
33379   _swigc__p_wxPaintEvent
, 
33380   _swigc__p_wxPaletteChangedEvent
, 
33382   _swigc__p_wxPaperSize
, 
33383   _swigc__p_wxPasswordEntryDialog
, 
33385   _swigc__p_wxPopupWindow
, 
33386   _swigc__p_wxPreviewCanvas
, 
33387   _swigc__p_wxPreviewControlBar
, 
33388   _swigc__p_wxPreviewFrame
, 
33389   _swigc__p_wxPrintData
, 
33390   _swigc__p_wxPrintDialog
, 
33391   _swigc__p_wxPrintDialogData
, 
33392   _swigc__p_wxPrintPreview
, 
33393   _swigc__p_wxPrinter
, 
33394   _swigc__p_wxProgressDialog
, 
33396   _swigc__p_wxPyCommandEvent
, 
33397   _swigc__p_wxPyEvent
, 
33398   _swigc__p_wxPyHtmlListBox
, 
33399   _swigc__p_wxPyImageHandler
, 
33400   _swigc__p_wxPyPanel
, 
33401   _swigc__p_wxPyPopupTransientWindow
, 
33402   _swigc__p_wxPyPreviewControlBar
, 
33403   _swigc__p_wxPyPreviewFrame
, 
33404   _swigc__p_wxPyPrintPreview
, 
33405   _swigc__p_wxPyPrintout
, 
33406   _swigc__p_wxPyScrolledWindow
, 
33407   _swigc__p_wxPySizer
, 
33408   _swigc__p_wxPyTaskBarIcon
, 
33409   _swigc__p_wxPyVListBox
, 
33410   _swigc__p_wxPyVScrolledWindow
, 
33411   _swigc__p_wxPyValidator
, 
33412   _swigc__p_wxPyWindow
, 
33413   _swigc__p_wxQueryLayoutInfoEvent
, 
33414   _swigc__p_wxQueryNewPaletteEvent
, 
33416   _swigc__p_wxRegion
, 
33417   _swigc__p_wxSashEvent
, 
33418   _swigc__p_wxSashLayoutWindow
, 
33419   _swigc__p_wxSashWindow
, 
33420   _swigc__p_wxScrollEvent
, 
33421   _swigc__p_wxScrollWinEvent
, 
33422   _swigc__p_wxScrolledWindow
, 
33423   _swigc__p_wxSetCursorEvent
, 
33424   _swigc__p_wxShowEvent
, 
33425   _swigc__p_wxSingleChoiceDialog
, 
33427   _swigc__p_wxSizeEvent
, 
33429   _swigc__p_wxSizerItem
, 
33430   _swigc__p_wxSplashScreen
, 
33431   _swigc__p_wxSplashScreenWindow
, 
33432   _swigc__p_wxSplitterEvent
, 
33433   _swigc__p_wxSplitterWindow
, 
33434   _swigc__p_wxStaticBoxSizer
, 
33435   _swigc__p_wxStatusBar
, 
33436   _swigc__p_wxStdDialogButtonSizer
, 
33437   _swigc__p_wxString
, 
33438   _swigc__p_wxSysColourChangedEvent
, 
33439   _swigc__p_wxTIFFHandler
, 
33440   _swigc__p_wxTaskBarIcon
, 
33441   _swigc__p_wxTaskBarIconEvent
, 
33442   _swigc__p_wxTextEntryDialog
, 
33443   _swigc__p_wxTipWindow
, 
33444   _swigc__p_wxToolBar
, 
33445   _swigc__p_wxTopLevelWindow
, 
33446   _swigc__p_wxUpdateUIEvent
, 
33447   _swigc__p_wxValidator
, 
33448   _swigc__p_wxVisualAttributes
, 
33449   _swigc__p_wxWindow
, 
33450   _swigc__p_wxWindowCreateEvent
, 
33451   _swigc__p_wxWindowDestroyEvent
, 
33452   _swigc__p_wxXPMHandler
, 
33456 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ 
33458 static swig_const_info swig_const_table
[] = { 
33459 {0, 0, 0, 0.0, 0, 0}}; 
33464 /* ----------------------------------------------------------------------------- 
33465  * Type initialization: 
33466  * This problem is tough by the requirement that no dynamic  
33467  * memory is used. Also, since swig_type_info structures store pointers to  
33468  * swig_cast_info structures and swig_cast_info structures store pointers back 
33469  * to swig_type_info structures, we need some lookup code at initialization.  
33470  * The idea is that swig generates all the structures that are needed.  
33471  * The runtime then collects these partially filled structures.  
33472  * The SWIG_InitializeModule function takes these initial arrays out of  
33473  * swig_module, and does all the lookup, filling in the swig_module.types 
33474  * array with the correct data and linking the correct swig_cast_info 
33475  * structures together. 
33477  * The generated swig_type_info structures are assigned staticly to an initial  
33478  * array. We just loop though that array, and handle each type individually. 
33479  * First we lookup if this type has been already loaded, and if so, use the 
33480  * loaded structure instead of the generated one. Then we have to fill in the 
33481  * cast linked list. The cast data is initially stored in something like a 
33482  * two-dimensional array. Each row corresponds to a type (there are the same 
33483  * number of rows as there are in the swig_type_initial array). Each entry in 
33484  * a column is one of the swig_cast_info structures for that type. 
33485  * The cast_initial array is actually an array of arrays, because each row has 
33486  * a variable number of columns. So to actually build the cast linked list, 
33487  * we find the array of casts associated with the type, and loop through it  
33488  * adding the casts to the list. The one last trick we need to do is making 
33489  * sure the type pointer in the swig_cast_info struct is correct. 
33491  * First off, we lookup the cast->type name to see if it is already loaded.  
33492  * There are three cases to handle: 
33493  *  1) If the cast->type has already been loaded AND the type we are adding 
33494  *     casting info to has not been loaded (it is in this module), THEN we 
33495  *     replace the cast->type pointer with the type pointer that has already 
33497  *  2) If BOTH types (the one we are adding casting info to, and the  
33498  *     cast->type) are loaded, THEN the cast info has already been loaded by 
33499  *     the previous module so we just ignore it. 
33500  *  3) Finally, if cast->type has not already been loaded, then we add that 
33501  *     swig_cast_info to the linked list (because the cast->type) pointer will 
33503  * ----------------------------------------------------------------------------- */ 
33513 #define SWIGRUNTIME_DEBUG 
33517 SWIG_InitializeModule(void *clientdata
) { 
33519   swig_module_info 
*module_head
; 
33520   static int init_run 
= 0; 
33522   clientdata 
= clientdata
; 
33524   if (init_run
) return; 
33527   /* Initialize the swig_module */ 
33528   swig_module
.type_initial 
= swig_type_initial
; 
33529   swig_module
.cast_initial 
= swig_cast_initial
; 
33531   /* Try and load any already created modules */ 
33532   module_head 
= SWIG_GetModule(clientdata
); 
33534     swig_module
.next 
= module_head
->next
; 
33535     module_head
->next 
= &swig_module
; 
33537     /* This is the first module loaded */ 
33538     swig_module
.next 
= &swig_module
; 
33539     SWIG_SetModule(clientdata
, &swig_module
); 
33542   /* Now work on filling in swig_module.types */ 
33543 #ifdef SWIGRUNTIME_DEBUG 
33544   printf("SWIG_InitializeModule: size %d\n", swig_module
.size
); 
33546   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
33547     swig_type_info 
*type 
= 0; 
33548     swig_type_info 
*ret
; 
33549     swig_cast_info 
*cast
; 
33551 #ifdef SWIGRUNTIME_DEBUG 
33552     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
33555     /* if there is another module already loaded */ 
33556     if (swig_module
.next 
!= &swig_module
) { 
33557       type 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
); 
33560       /* Overwrite clientdata field */ 
33561 #ifdef SWIGRUNTIME_DEBUG 
33562       printf("SWIG_InitializeModule: found type %s\n", type
->name
); 
33564       if (swig_module
.type_initial
[i
]->clientdata
) { 
33565         type
->clientdata 
= swig_module
.type_initial
[i
]->clientdata
; 
33566 #ifdef SWIGRUNTIME_DEBUG 
33567         printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
); 
33571       type 
= swig_module
.type_initial
[i
]; 
33574     /* Insert casting types */ 
33575     cast 
= swig_module
.cast_initial
[i
]; 
33576     while (cast
->type
) { 
33577       /* Don't need to add information already in the list */ 
33579 #ifdef SWIGRUNTIME_DEBUG 
33580       printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
); 
33582       if (swig_module
.next 
!= &swig_module
) { 
33583         ret 
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
); 
33584 #ifdef SWIGRUNTIME_DEBUG 
33585         if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
); 
33589         if (type 
== swig_module
.type_initial
[i
]) { 
33590 #ifdef SWIGRUNTIME_DEBUG 
33591           printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
); 
33596           /* Check for casting already in the list */ 
33597           swig_cast_info 
*ocast 
= SWIG_TypeCheck(ret
->name
, type
); 
33598 #ifdef SWIGRUNTIME_DEBUG 
33599           if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
); 
33601           if (!ocast
) ret 
= 0; 
33606 #ifdef SWIGRUNTIME_DEBUG 
33607         printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
); 
33610           type
->cast
->prev 
= cast
; 
33611           cast
->next 
= type
->cast
; 
33617     /* Set entry in modules->types array equal to the type */ 
33618     swig_module
.types
[i
] = type
; 
33620   swig_module
.types
[i
] = 0; 
33622 #ifdef SWIGRUNTIME_DEBUG 
33623   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
33624   for (i 
= 0; i 
< swig_module
.size
; ++i
) { 
33626     swig_cast_info 
*cast 
= swig_module
.cast_initial
[i
]; 
33627     printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
); 
33628     while (cast
->type
) { 
33629       printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
); 
33633     printf("---- Total casts: %d\n",j
); 
33635   printf("**** SWIG_InitializeModule: Cast List ******\n"); 
33639 /* This function will propagate the clientdata field of type to 
33640 * any new swig_type_info structures that have been added into the list 
33641 * of equivalent types.  It is like calling 
33642 * SWIG_TypeClientData(type, clientdata) a second time. 
33645 SWIG_PropagateClientData(void) { 
33647   swig_cast_info 
*equiv
; 
33648   static int init_run 
= 0; 
33650   if (init_run
) return; 
33653   for (i 
= 0; i 
< swig_module
.size
; i
++) { 
33654     if (swig_module
.types
[i
]->clientdata
) { 
33655       equiv 
= swig_module
.types
[i
]->cast
; 
33657         if (!equiv
->converter
) { 
33658           if (equiv
->type 
&& !equiv
->type
->clientdata
) 
33659           SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
); 
33661         equiv 
= equiv
->next
; 
33681   /* Python-specific SWIG API */ 
33682 #define SWIG_newvarlink()                             SWIG_Python_newvarlink() 
33683 #define SWIG_addvarlink(p, name, get_attr, set_attr)  SWIG_Python_addvarlink(p, name, get_attr, set_attr) 
33684 #define SWIG_InstallConstants(d, constants)           SWIG_Python_InstallConstants(d, constants) 
33686   /* ----------------------------------------------------------------------------- 
33687    * global variable support code. 
33688    * ----------------------------------------------------------------------------- */ 
33690   typedef struct swig_globalvar 
{ 
33691     char       *name
;                  /* Name of global variable */ 
33692     PyObject 
*(*get_attr
)(void);       /* Return the current value */ 
33693     int       (*set_attr
)(PyObject 
*); /* Set the value */ 
33694     struct swig_globalvar 
*next
; 
33697   typedef struct swig_varlinkobject 
{ 
33699     swig_globalvar 
*vars
; 
33700   } swig_varlinkobject
; 
33702   SWIGINTERN PyObject 
* 
33703   swig_varlink_repr(swig_varlinkobject 
*SWIGUNUSEDPARM(v
)) { 
33704     return PyString_FromString("<Swig global variables>"); 
33707   SWIGINTERN PyObject 
* 
33708   swig_varlink_str(swig_varlinkobject 
*v
) { 
33709     PyObject 
*str 
= PyString_FromString("("); 
33710     swig_globalvar  
*var
; 
33711     for (var 
= v
->vars
; var
; var
=var
->next
) { 
33712       PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
)); 
33713       if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", ")); 
33715     PyString_ConcatAndDel(&str
,PyString_FromString(")")); 
33720   swig_varlink_print(swig_varlinkobject 
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) { 
33721     PyObject 
*str 
= swig_varlink_str(v
); 
33722     fprintf(fp
,"Swig global variables "); 
33723     fprintf(fp
,"%s\n", PyString_AsString(str
)); 
33729   swig_varlink_dealloc(swig_varlinkobject 
*v
) { 
33730     swig_globalvar 
*var 
= v
->vars
; 
33732       swig_globalvar 
*n 
= var
->next
; 
33739   SWIGINTERN PyObject 
* 
33740   swig_varlink_getattr(swig_varlinkobject 
*v
, char *n
) { 
33741     PyObject 
*res 
= NULL
; 
33742     swig_globalvar 
*var 
= v
->vars
; 
33744       if (strcmp(var
->name
,n
) == 0) { 
33745         res 
= (*var
->get_attr
)(); 
33750     if (res 
== NULL 
&& !PyErr_Occurred()) { 
33751       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
33757   swig_varlink_setattr(swig_varlinkobject 
*v
, char *n
, PyObject 
*p
) { 
33759     swig_globalvar 
*var 
= v
->vars
; 
33761       if (strcmp(var
->name
,n
) == 0) { 
33762         res 
= (*var
->set_attr
)(p
); 
33767     if (res 
== 1 && !PyErr_Occurred()) { 
33768       PyErr_SetString(PyExc_NameError
,"Unknown C global variable"); 
33773   SWIGINTERN PyTypeObject
* 
33774   swig_varlink_type(void) { 
33775     static char varlink__doc__
[] = "Swig var link object"; 
33776     static PyTypeObject varlink_type
; 
33777     static int type_init 
= 0;   
33779       const PyTypeObject tmp
 
33781         PyObject_HEAD_INIT(NULL
) 
33782         0,                                  /* Number of items in variable part (ob_size) */ 
33783         (char *)"swigvarlink",              /* Type name (tp_name) */ 
33784         sizeof(swig_varlinkobject
),         /* Basic size (tp_basicsize) */ 
33785         0,                                  /* Itemsize (tp_itemsize) */ 
33786         (destructor
) swig_varlink_dealloc
,   /* Deallocator (tp_dealloc) */  
33787         (printfunc
) swig_varlink_print
,     /* Print (tp_print) */ 
33788         (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */ 
33789         (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */ 
33790         0,                                  /* tp_compare */ 
33791         (reprfunc
) swig_varlink_repr
,       /* tp_repr */ 
33792         0,                                  /* tp_as_number */ 
33793         0,                                  /* tp_as_sequence */ 
33794         0,                                  /* tp_as_mapping */ 
33797         (reprfunc
)swig_varlink_str
,        /* tp_str */ 
33798         0,                                  /* tp_getattro */ 
33799         0,                                  /* tp_setattro */ 
33800         0,                                  /* tp_as_buffer */ 
33802         varlink__doc__
,                     /* tp_doc */ 
33803         0,                                  /* tp_traverse */ 
33805         0,                                  /* tp_richcompare */ 
33806         0,                                  /* tp_weaklistoffset */ 
33807 #if PY_VERSION_HEX >= 0x02020000 
33808         0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ 
33810 #if PY_VERSION_HEX >= 0x02030000 
33813 #ifdef COUNT_ALLOCS 
33814         0,0,0,0                             /* tp_alloc -> tp_next */ 
33817       varlink_type 
= tmp
; 
33818       varlink_type
.ob_type 
= &PyType_Type
; 
33821     return &varlink_type
; 
33824   /* Create a variable linking object for use later */ 
33825   SWIGINTERN PyObject 
* 
33826   SWIG_Python_newvarlink(void) { 
33827     swig_varlinkobject 
*result 
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type()); 
33831     return ((PyObject
*) result
); 
33835   SWIG_Python_addvarlink(PyObject 
*p
, char *name
, PyObject 
*(*get_attr
)(void), int (*set_attr
)(PyObject 
*p
)) { 
33836     swig_varlinkobject 
*v 
= (swig_varlinkobject 
*) p
; 
33837     swig_globalvar 
*gv 
= (swig_globalvar 
*) malloc(sizeof(swig_globalvar
)); 
33839       size_t size 
= strlen(name
)+1; 
33840       gv
->name 
= (char *)malloc(size
); 
33842         strncpy(gv
->name
,name
,size
); 
33843         gv
->get_attr 
= get_attr
; 
33844         gv
->set_attr 
= set_attr
; 
33845         gv
->next 
= v
->vars
; 
33851   SWIGINTERN PyObject 
* 
33853     static PyObject 
*_SWIG_globals 
= 0;  
33854     if (!_SWIG_globals
) _SWIG_globals 
= SWIG_newvarlink();   
33855     return _SWIG_globals
; 
33858   /* ----------------------------------------------------------------------------- 
33859    * constants/methods manipulation 
33860    * ----------------------------------------------------------------------------- */ 
33862   /* Install Constants */ 
33864   SWIG_Python_InstallConstants(PyObject 
*d
, swig_const_info constants
[]) { 
33867     for (i 
= 0; constants
[i
].type
; ++i
) { 
33868       switch(constants
[i
].type
) { 
33869       case SWIG_PY_POINTER
: 
33870         obj 
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0); 
33872       case SWIG_PY_BINARY
: 
33873         obj 
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
)); 
33880         PyDict_SetItemString(d
, constants
[i
].name
, obj
); 
33886   /* -----------------------------------------------------------------------------*/ 
33887   /* Fix SwigMethods to carry the callback ptrs when needed */ 
33888   /* -----------------------------------------------------------------------------*/ 
33891   SWIG_Python_FixMethods(PyMethodDef 
*methods
, 
33892     swig_const_info 
*const_table
, 
33893     swig_type_info 
**types
, 
33894     swig_type_info 
**types_initial
) { 
33896     for (i 
= 0; methods
[i
].ml_name
; ++i
) { 
33897       const char *c 
= methods
[i
].ml_doc
; 
33898       if (c 
&& (c 
= strstr(c
, "swig_ptr: "))) { 
33900         swig_const_info 
*ci 
= 0; 
33901         const char *name 
= c 
+ 10; 
33902         for (j 
= 0; const_table
[j
].type
; ++j
) { 
33903           if (strncmp(const_table
[j
].name
, name
,  
33904               strlen(const_table
[j
].name
)) == 0) { 
33905             ci 
= &(const_table
[j
]); 
33910           size_t shift 
= (ci
->ptype
) - types
; 
33911           swig_type_info 
*ty 
= types_initial
[shift
]; 
33912           size_t ldoc 
= (c 
- methods
[i
].ml_doc
); 
33913           size_t lptr 
= strlen(ty
->name
)+2*sizeof(void*)+2; 
33914           char *ndoc 
= (char*)malloc(ldoc 
+ lptr 
+ 10); 
33917             void *ptr 
= (ci
->type 
== SWIG_PY_POINTER
) ? ci
->pvalue 
: 0; 
33919               strncpy(buff
, methods
[i
].ml_doc
, ldoc
); 
33921               strncpy(buff
, "swig_ptr: ", 10); 
33923               SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
); 
33924               methods
[i
].ml_doc 
= ndoc
; 
33936 /* -----------------------------------------------------------------------------* 
33937  *  Partial Init method 
33938  * -----------------------------------------------------------------------------*/ 
33943 SWIGEXPORT 
void SWIG_init(void) { 
33946   /* Fix SwigMethods to carry the callback ptrs when needed */ 
33947   SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
); 
33949   m 
= Py_InitModule((char *) SWIG_name
, SwigMethods
); 
33950   d 
= PyModule_GetDict(m
); 
33952   SWIG_InitializeModule(0); 
33953   SWIG_InstallConstants(d
,swig_const_table
); 
33956   PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals()); 
33957   SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
); 
33958   SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
); 
33959   SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
); 
33960   SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
); 
33961   SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
))); 
33962   SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
))); 
33963   SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
))); 
33964   SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
))); 
33965   SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
))); 
33966   SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
))); 
33967   SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
))); 
33968   SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
))); 
33969   SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
))); 
33970   SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
))); 
33971   SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
))); 
33972   SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
))); 
33973   SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
))); 
33974   SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
))); 
33975   SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
))); 
33976   SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
))); 
33977   SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
))); 
33978   SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
))); 
33979   SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
))); 
33980   SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
))); 
33981   SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
))); 
33982   SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
))); 
33983   SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
))); 
33984   SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
))); 
33985   SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
))); 
33986   SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
))); 
33987   SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
))); 
33988   SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
))); 
33989   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
))); 
33990   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
))); 
33991   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
))); 
33992   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
))); 
33993   SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
))); 
33994   SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
))); 
33995   SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
))); 
33996   SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
))); 
33997   SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
))); 
33998   SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
))); 
33999   SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
))); 
34000   SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
))); 
34001   SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
))); 
34002   SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
))); 
34003   SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
))); 
34004   SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
))); 
34005   SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
))); 
34006   SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
))); 
34007   SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
); 
34008   SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
))); 
34009   SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
))); 
34010   SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
))); 
34011   SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
))); 
34012   SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
))); 
34013   SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
))); 
34014   SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
))); 
34015   SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
))); 
34016   SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
))); 
34017   SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
))); 
34018   SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
))); 
34019   SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
))); 
34020   SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
))); 
34021   SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
))); 
34022   PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
)); 
34023   PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
)); 
34024   PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
)); 
34025   PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
)); 
34026   SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
); 
34027   SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
); 
34028   SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
))); 
34029   SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
))); 
34030   SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
))); 
34031   SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
))); 
34032   SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
))); 
34033   SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
))); 
34034   SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
))); 
34035   SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
))); 
34036   SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
))); 
34037   SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
))); 
34038   SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
))); 
34039   SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
))); 
34040   SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
))); 
34041   SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
))); 
34042   SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
))); 
34043   PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
)); 
34044   SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
))); 
34045   SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
))); 
34046   SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
))); 
34047   SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
))); 
34048   SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
))); 
34049   SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
))); 
34050   SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
))); 
34051   SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
))); 
34052   SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
))); 
34053   SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
))); 
34054   SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
))); 
34055   PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
)); 
34056   PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
)); 
34057   SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
); 
34059   // Map renamed classes back to their common name for OOR 
34060   wxPyPtrTypeMap_Add("wxHtmlListBox",     "wxPyHtmlListBox"); 
34061   wxPyPtrTypeMap_Add("wxVListBox",        "wxPyVListBox"); 
34062   wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); 
34064   PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
)); 
34065   PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
)); 
34066   PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
)); 
34067   PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
)); 
34068   PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
)); 
34069   PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
)); 
34070   PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
)); 
34071   SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
); 
34072   SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
); 
34073   SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
); 
34074   SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
); 
34075   SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
); 
34076   SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
); 
34077   SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
))); 
34078   SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
))); 
34079   SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
))); 
34080   SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
))); 
34081   SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
))); 
34082   SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
))); 
34083   SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
))); 
34084   SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
))); 
34085   SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
))); 
34086   SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
))); 
34087   SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
))); 
34088   SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
))); 
34089   SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
))); 
34090   SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
))); 
34091   SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
))); 
34092   SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
))); 
34093   SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
))); 
34094   SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
))); 
34095   SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
))); 
34096   SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
))); 
34097   SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
); 
34098   SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
))); 
34099   SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
))); 
34100   SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
))); 
34101   SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
))); 
34102   SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
))); 
34103   SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
))); 
34104   SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
))); 
34105   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
)); 
34106   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
)); 
34107   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
)); 
34108   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
)); 
34109   PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
)); 
34110   SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001))); 
34111   SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001))); 
34112   SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002))); 
34113   SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003))); 
34114   SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004))); 
34115   SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005))); 
34116   SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006))); 
34117   SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100))); 
34118   SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600))); 
34119   SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
); 
34120   SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
); 
34121   SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
))); 
34122   SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
))); 
34123   SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
))); 
34124   SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
))); 
34125   SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
))); 
34126   SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
))); 
34127   SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
))); 
34128   SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
))); 
34129   SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
))); 
34130   SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
))); 
34131   SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
))); 
34132   SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
))); 
34133   SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
))); 
34134   SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
))); 
34135   SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
))); 
34136   SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
))); 
34137   SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
))); 
34138   SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
))); 
34139   SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
))); 
34140   SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
))); 
34141   SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
))); 
34142   SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
))); 
34143   SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
))); 
34144   SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
))); 
34145   SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
))); 
34146   SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
))); 
34147   SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
))); 
34148   SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
))); 
34149   SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
))); 
34150   SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
))); 
34151   SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
))); 
34152   SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
))); 
34153   SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
))); 
34154   SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
))); 
34155   SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
))); 
34156   SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
))); 
34157   SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
))); 
34158   SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
))); 
34159   SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
))); 
34161   wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");